/* Abhilakshay Educational and Welfare Society - Recreated Styles */

:root {
  --primary: #9FDA40;       /* Bright Lime Green #9FDA40 */
  --primary-dark: #7CB82F;
  --secondary: #F1C40F;     /* Golden Yellow */
  --accent: #F39C12;
  --light-green: #F0F9E0;
  --dark: #2C3E50;
  --light: #FFFFFF;
  --bg-soft: #F8FCF9;
  --gray: #5D6D7E;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --radius: 12px;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: auto;
  height: 52px;
  max-width: 56px;
  border-radius: 0;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
  position: relative;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: #1e8449;
}

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

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

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: rgba(159, 218, 64, 0.30),
              url('../images/hero-children.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* Causes / Services Grid */
.causes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.cause-card {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.cause-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

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

.cause-card-body {
  padding: 24px;
}

.cause-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.cause-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* About preview */
.about-preview {
  background: var(--light);
}

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

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 16px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-item .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-item .label {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 4px;
}

/* CTA */
.cta {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 70px 20px;
}

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

.cta p {
  font-size: 1.15rem;
  margin-bottom: 28px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.footer p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer ul {
  list-style: none;
}

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

.footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.socials a:hover {
  background: var(--primary);
  color: var(--white);
}

/* Page header */
.page-header {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Content pages */
.content-section {
  padding: 60px 0;
}

.content-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.content-box h2 {
  font-size: 1.6rem;
  margin: 30px 0 15px;
  color: var(--primary);
}

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

.content-box p, .content-box li {
  margin-bottom: 12px;
  color: #444;
}

.content-box ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

/* Donate specific */
.bank-details {
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px;
  margin: 24px 0;
}

.bank-details h3 {
  margin-bottom: 16px;
  color: var(--dark);
}

.bank-details p {
  margin-bottom: 8px;
}

.bank-details strong {
  color: var(--primary);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-card .icon {
  width: 60px;
  height: 60px;
  background: rgba(230, 126, 34, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--primary);
}

.contact-card h3 {
  margin-bottom: 10px;
}

/* Numbers section */
.numbers {
  background: var(--light);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.number-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.number-card .num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.number-card .label {
  margin-top: 8px;
  color: var(--gray);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 16px;
  }
  .nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* Slider */
.slider {
  position: relative;
  overflow: hidden;
  height: 480px;
  border-radius: 0;
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(159, 218, 64, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
}
.slide-content h2 {
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 2px #000, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
  -webkit-text-stroke: 0.5px rgba(0,0,0,0.4);
  font-size: 2.4rem;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.slide-content p {
  text-shadow: 0 1px 6px rgba(0,0,0,0.85), 0 0 2px #000, 1px 1px 0 rgba(0,0,0,0.5);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 20px;
}
.slider-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
}
.slider-dot.active {
  background: var(--secondary);
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--primary);
  z-index: 10;
}
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

/* Partners */
.partners-grid, .csr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
}
.partner-logo, .csr-logo {
  background: white;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.partner-logo:hover, .csr-logo:hover {
  transform: translateY(-3px);
}

/* Projects */
.project-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
}
.project-card img {
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}
.project-body {
  padding: 32px;
}
.project-body h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

/* SDG Grid */
.sdg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.sdg-card {
  border-radius: var(--radius);
  padding: 24px;
  color: white;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.sdg-card:hover {
  transform: translateY(-4px);
}
.sdg-card .sdg-num {
  font-size: 2rem;
  font-weight: 800;
  opacity: 0.9;
}
.sdg-card h3 {
  font-size: 1.15rem;
  margin: 8px 0 12px;
}
.sdg-card p {
  font-size: 0.9rem;
  opacity: 0.95;
  flex-grow: 1;
}
.sdg-card a {
  color: white;
  font-weight: 600;
  text-decoration: underline;
  margin-top: 12px;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: none;
}
.blog-card img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}
.blog-card-body {
  padding: 22px;
}
.blog-meta {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.blog-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* SEO / Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 768px) {
  .project-card {
    grid-template-columns: 1fr;
  }
  .slider {
    height: 380px;
  }
  .slide-content h2 {
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 2px #000, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
  -webkit-text-stroke: 0.5px rgba(0,0,0,0.4);
    font-size: 1.6rem;
  }
}

/* Logo grids - real images */
.partners-grid, .csr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  align-items: center;
}
.partner-logo, .csr-logo {
  background: white;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.partner-logo:hover, .csr-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.partner-logo img, .csr-logo img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Logo carousel (4 visible) */
.logo-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -10px;
}
.logo-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 20px;
}
.logo-slide {
  flex: 0 0 calc(25% - 15px);
  min-width: calc(25% - 15px);
}
.logo-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  font-size: 0.9rem;
}
.logo-carousel-btn.prev { left: 0; }
.logo-carousel-btn.next { right: 0; }

/* SDG color strip above footer */
.sdg-strip {
  height: 8px;
  background: linear-gradient(to right,
    #E5243B 0%, #E5243B 5.88%,
    #DDA63A 5.88%, #DDA63A 11.76%,
    #4C9F38 11.76%, #4C9F38 17.65%,
    #C5192D 17.65%, #C5192D 23.53%,
    #FF3A21 23.53%, #FF3A21 29.41%,
    #26BDE2 29.41%, #26BDE2 35.29%,
    #FCC30B 35.29%, #FCC30B 41.18%,
    #A21942 41.18%, #A21942 47.06%,
    #FD6925 47.06%, #FD6925 52.94%,
    #DD1367 52.94%, #DD1367 58.82%,
    #FD9D24 58.82%, #FD9D24 64.71%,
    #BF8B2E 64.71%, #BF8B2E 70.59%,
    #3F7E44 70.59%, #3F7E44 76.47%,
    #0A97D9 76.47%, #0A97D9 82.35%,
    #56C02B 82.35%, #56C02B 88.24%,
    #00689D 88.24%, #00689D 94.12%,
    #19486A 94.12%, #19486A 100%
  );
}

@media (max-width: 992px) {
  .logo-slide {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
  }
}
@media (max-width: 600px) {
  .logo-slide {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
}

/* Blinking Donate button */
@keyframes flagWave {
  0% { transform: scale(1) rotate(0deg); box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.7); border-color: #F1C40F; }
  25% { transform: scale(1.03) rotate(-1deg); box-shadow: 0 0 0 6px rgba(241, 196, 15, 0.25); }
  50% { transform: scale(1.05) rotate(1deg); box-shadow: 0 0 0 10px rgba(241, 196, 15, 0); border-color: #FFD700; }
  75% { transform: scale(1.03) rotate(-0.5deg); box-shadow: 0 0 0 4px rgba(241, 196, 15, 0.2); }
  100% { transform: scale(1) rotate(0deg); box-shadow: 0 0 0 0 rgba(241, 196, 15, 0); border-color: #F1C40F; }
}
.btn-blink {
  animation: flagWave 2s ease-in-out infinite;
  border: 2px solid #F1C40F !important;
  position: relative;
}

/* Forms */
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(159, 218, 64, 0.25);
}

/* Cause cards clickable */
.cause-card a {
  display: block;
  color: inherit;
}
.cause-card a:hover h3 {
  color: var(--primary);
}

/* Logo carousel improvements */
.logo-carousel {
  position: relative;
  overflow: hidden;
  padding: 10px 40px;
}
.logo-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}
.logo-item {
  flex: 0 0 calc(25% - 15px);
  min-width: calc(25% - 15px);
}
.logo-item .partner-logo,
.logo-item .csr-logo {
  height: 120px;
}
@media (max-width: 900px) {
  .logo-item { flex: 0 0 calc(33.33% - 14px); min-width: calc(33.33% - 14px); }
}
@media (max-width: 600px) {
  .logo-item { flex: 0 0 calc(50% - 10px); min-width: calc(50% - 10px); }
}

/* FAQ Accordion (closed by default) */
.faq-list {
  margin-top: 20px;
}
.faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: #fafafa;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-question:hover {
  background: #f0f0f0;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s;
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  color: var(--gray);
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 20px 16px;
}

.logo-carousel-btn {
  z-index: 20;
  pointer-events: auto;
}
.logo-carousel {
  z-index: 5;
  position: relative;
}

/* Mobile: 2 columns for What We Do and Blog */
@media (max-width: 768px) {
  .causes-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .cause-card img {
    height: 120px;
  }
  .cause-card-body {
    padding: 12px;
  }
  .cause-card h3 {
    font-size: 0.95rem;
  }
  .cause-card p {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .blog-card img {
    height: 110px;
  }
  .blog-card-body {
    padding: 12px;
  }
  .blog-card h3 {
    font-size: 0.95rem;
  }
  .blog-card p {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .nav {
    gap: 12px;
  }
  .logo-text {
    font-size: 0.95rem;
  }
}
@media (max-width: 480px) {
  .causes-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ===== Carousel text readability: dark border + strong shadow ===== */
.slide-content h2 {
  color: #fff !important;
  text-shadow:
    0 0 3px #000,
    0 0 6px #000,
    0 2px 10px rgba(0,0,0,0.95),
    2px 2px 0 #000,
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000 !important;
  -webkit-text-stroke: 1px rgba(0,0,0,0.85);
  border: none;
}
.slide-content p {
  color: #fff !important;
  text-shadow:
    0 0 2px #000,
    0 1px 6px rgba(0,0,0,0.85),
    1px 1px 0 rgba(0,0,0,0.8) !important;
}

/* Slim border on What We Do + Blog cards */
.cause-card,
.blog-card {
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.cause-card:hover,
.blog-card:hover {
  border-color: var(--primary);
}

/* Slim yellow border on Donate Online buttons + flag-style animation */
.btn-blink,
a.btn-blink,
.btn.btn-blink {
  border: 2px solid #F1C40F !important;
  box-shadow: 0 0 0 1px rgba(241,196,15,0.4);
  position: relative;
  overflow: hidden;
  animation: flagBlink 2s ease-in-out infinite;
}
@keyframes flagBlink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 2px #F1C40F, 0 4px 12px rgba(241,196,15,0.35);
    border-color: #F1C40F;
  }
  50% {
    opacity: 0.75;
    box-shadow: 0 0 0 4px rgba(241,196,15,0.6), 0 4px 18px rgba(241,196,15,0.5);
    border-color: #FFD700;
  }
}

/* SDG strip under header */
.header-sdg-strip {
  height: 6px;
  width: 100%;
  background: linear-gradient(to right,
    #E5243B 0%, #E5243B 5.88%,
    #DDA63A 5.88%, #DDA63A 11.76%,
    #4C9F38 11.76%, #4C9F38 17.65%,
    #C5192D 17.65%, #C5192D 23.53%,
    #FF3A21 23.53%, #FF3A21 29.41%,
    #26BDE2 29.41%, #26BDE2 35.29%,
    #FCC30B 35.29%, #FCC30B 41.18%,
    #A21942 41.18%, #A21942 47.06%,
    #FD6925 47.06%, #FD6925 52.94%,
    #DD1367 52.94%, #DD1367 58.82%,
    #FD9D24 58.82%, #FD9D24 64.71%,
    #BF8B2E 64.71%, #BF8B2E 70.59%,
    #3F7E44 70.59%, #3F7E44 76.47%,
    #0A97D9 76.47%, #0A97D9 82.35%,
    #56C02B 82.35%, #56C02B 88.24%,
    #00689D 88.24%, #00689D 94.12%,
    #19486A 94.12%, #19486A 100%
  );
}
@media (max-width: 768px) {
  .header-sdg-strip {
    height: 4px;
  }
  .sdg-strip {
    height: 5px;
  }
}

/* Animate Impact in Numbers */
.number-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: numberPop 0.6s ease-out both;
}
.number-card:nth-child(1) { animation-delay: 0.1s; }
.number-card:nth-child(2) { animation-delay: 0.2s; }
.number-card:nth-child(3) { animation-delay: 0.3s; }
.number-card:nth-child(4) { animation-delay: 0.4s; }
.number-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.number-card .num {
  transition: color 0.3s, transform 0.3s;
}
.number-card:hover .num {
  color: var(--primary-dark);
  transform: scale(1.08);
}
@keyframes numberPop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Ensure sticky header works with strip */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ===== Latest design refinements ===== */

/* Carousel text: dark border + strong shadow */
.slide-content h2 {
  color: #fff !important;
  text-shadow:
    0 0 2px #000,
    0 0 4px #000,
    0 2px 8px rgba(0,0,0,0.9),
    1px 1px 0 #111,
    -1px -1px 0 #111,
    1px -1px 0 #111,
    -1px 1px 0 #111 !important;
  -webkit-text-stroke: 0.6px rgba(0,0,0,0.7);
}
.slide-content p {
  color: #fff !important;
  text-shadow:
    0 0 2px #000,
    0 1px 6px rgba(0,0,0,0.85),
    1px 1px 0 #222 !important;
}

/* SDG-style slim multi-color border on What We Do & Blog cards */
.cause-card,
.blog-card {
  border: 2px solid transparent;
  border-image: linear-gradient(90deg,
    #E5243B, #DDA63A, #4C9F38, #C5192D, #FF3A21,
    #26BDE2, #FCC30B, #A21942, #FD6925, #DD1367,
    #FD9D24, #BF8B2E, #3F7E44, #0A97D9, #56C02B,
    #00689D, #19486A) 1;
  border-radius: 0; /* border-image doesn't like radius well */
}
.cause-card,
.blog-card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* All buttons: rectangular with slight round corners */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-lg,
.nav .btn,
a.btn {
  border-radius: 6px !important;
}

/* Slim yellow border on Donate Online buttons */
.btn-blink,
a.btn-blink {
  border: 2px solid #F1C40F !important;
  box-shadow: 0 0 0 1px rgba(241,196,15,0.4);
}

/* Flag-type yellow animation every 2s */
@keyframes flagWave {
  0%   { transform: scale(1) rotate(0deg); box-shadow: 0 0 0 0 rgba(241,196,15,0.5); border-color: #F1C40F; }
  25%  { transform: scale(1.03) rotate(-1deg); box-shadow: 0 0 12px 2px rgba(241,196,15,0.45); border-color: #FFD700; }
  50%  { transform: scale(1.05) rotate(1deg); box-shadow: 0 0 18px 4px rgba(241,196,15,0.35); border-color: #F1C40F; }
  75%  { transform: scale(1.03) rotate(-0.5deg); box-shadow: 0 0 12px 2px rgba(241,196,15,0.45); border-color: #FFD700; }
  100% { transform: scale(1) rotate(0deg); box-shadow: 0 0 0 0 rgba(241,196,15,0.5); border-color: #F1C40F; }
}
.btn-blink {
  animation: flagWave 2s ease-in-out infinite !important;
}

/* Sticky SDG strip under header */
.header-sdg-strip {
  height: 6px;
  width: 100%;
  background: linear-gradient(to right,
    #E5243B 0%, #E5243B 5.88%,
    #DDA63A 5.88%, #DDA63A 11.76%,
    #4C9F38 11.76%, #4C9F38 17.65%,
    #C5192D 17.65%, #C5192D 23.53%,
    #FF3A21 23.53%, #FF3A21 29.41%,
    #26BDE2 29.41%, #26BDE2 35.29%,
    #FCC30B 35.29%, #FCC30B 41.18%,
    #A21942 41.18%, #A21942 47.06%,
    #FD6925 47.06%, #FD6925 52.94%,
    #DD1367 52.94%, #DD1367 58.82%,
    #FD9D24 58.82%, #FD9D24 64.71%,
    #BF8B2E 64.71%, #BF8B2E 70.59%,
    #3F7E44 70.59%, #3F7E44 76.47%,
    #0A97D9 76.47%, #0A97D9 82.35%,
    #56C02B 82.35%, #56C02B 88.24%,
    #00689D 88.24%, #00689D 94.12%,
    #19486A 94.12%, #19486A 100%
  );
  position: sticky;
  top: 0;
  z-index: 999;
}
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
/* On mobile reduce strip height */
@media (max-width: 768px) {
  .header-sdg-strip {
    height: 4px;
  }
  .sdg-strip {
    height: 5px;
  }
}

/* Number counting animation support */
.number-card .num {
  font-variant-numeric: tabular-nums;
}

/* Sticky header + SDG strip under menu */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.header-sdg-strip {
  position: sticky;
  top: var(--header-height, 70px);
  z-index: 999;
  height: 6px;
  width: 100%;
}
@media (max-width: 768px) {
  .header-sdg-strip {
    height: 3px;
  }
  .sdg-strip {
    height: 4px;
  }
  .btn {
    border-radius: 5px;
    padding: 9px 16px;
    font-size: 0.9rem;
  }
}

/* Header contains SDG strip at bottom - stays sticky together */
.header {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.header-inner {
  padding: 12px 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.header .header-sdg-strip {
  height: 6px;
  width: 100%;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .header .header-sdg-strip {
    height: 3px;
  }
}

.number-card .num {
  transition: none;
}

.slide-content h2 {
  text-shadow: 0 2px 8px rgba(0,0,0,0.85), 0 0 20px rgba(0,0,0,0.5);
  border: none !important;
  -webkit-text-stroke: 0;
}
.slide-content p {
  text-shadow: 0 1px 6px rgba(0,0,0,0.8), 0 0 12px rgba(0,0,0,0.4);
  border: none !important;
}

.number-card .num {
  font-variant-numeric: tabular-nums;
}


/* === FORCE FIXES (highest priority) === */
.slide-content h2,
.slide-content p {
  -webkit-text-stroke: 0 !important;
  border: none !important;
  outline: none !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,0.8) !important;
  color: #fff !important;
}
.slide-overlay {
  background: rgba(159, 218, 64, 0.30) !important;
}

/* Cards - no borders */
.cause-card,
.blog-card,
.cause-card a,
.blog-card a {
  border: none !important;
  outline: none !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}
.cause-card:hover,
.blog-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12) !important;
}

/* Header sticky only for nav bar content - strip outside */
.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}
/* Strip under header must NOT be sticky */
.header-sdg-strip {
  position: static !important;
  height: 6px !important;
  width: 100% !important;
  display: block !important;
}
@media (max-width: 768px) {
  .header-sdg-strip,
  .sdg-strip {
    height: 4px !important;
  }
}

/* Buttons rectangular */
.btn,
a.btn,
.nav .btn {
  border-radius: 6px !important;
}

/* Bank detail rows with copy button */
.bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}
.bank-row:last-child {
  border-bottom: none;
}
.bank-row p {
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.copy-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.copy-btn.copied {
  background: #27AE60;
}
.copy-btn i {
  font-size: 0.9rem;
}
@media (max-width: 500px) {
  .bank-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .copy-btn {
    align-self: flex-end;
  }
}

/* Logo - original shape, not round */
.logo img,
header .logo img,
a.logo img {
  border-radius: 0 !important;
  object-fit: contain !important;
  width: auto !important;
  height: 52px !important;
  max-width: 60px !important;
  background: transparent !important;
}
@media (max-width: 600px) {
  .logo img,
  header .logo img {
    height: 42px !important;
    max-width: 48px !important;
  }
}

/* Project gallery slideshow */
.project-card-with-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: none;
  padding: 0;
}
.project-gallery {
  position: relative;
  overflow: hidden;
  background: #111;
  min-height: 280px;
  border-radius: 12px 0 0 12px;
}
.project-gallery-track {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}
.project-gallery-track img {
  width: 100%;
  min-width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.pg-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: none;
  background: rgba(159,218,64,0.95);
  color: #111;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pg-btn.prev { left: 10px; }
.pg-btn.next { right: 10px; }
.pg-dots {
  position: absolute;
  bottom: 12px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.pg-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.pg-dots span.active { background: var(--primary); }

.project-card-with-gallery .project-body {
  padding: 24px 28px 28px 0;
}

/* Mission Vision */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mv-card {
  background: #fff;
  border: none;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.mv-icon {
  width: 56px; height: 56px;
  background: var(--primary);
  color: #111;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.mv-card h2 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

/* Certificates */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.cert-card {
  background: #fff;
  border: none;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.cert-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.cert-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cert-card p { color: var(--gray); font-size: 0.9rem; margin-bottom: 16px; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* Gallery page */
.gallery-slideshow { max-width: 900px; margin: 0 auto 32px; }
.gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}
.gallery-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.gal-thumb {
  flex-shrink: 0;
  width: 90px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: none;
}
.gal-thumb.active { border-color: var(--primary); }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #eee;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tablet same as mobile */
@media (max-width: 1024px) {
  .project-card-with-gallery {
    grid-template-columns: 1fr;
  }
  .project-gallery { border-radius: 12px 12px 0 0; }
  .project-card-with-gallery .project-body { padding: 20px; }
  .project-gallery-track img { height: 240px; }
  .mv-grid { grid-template-columns: 1fr; }
  .causes-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .gallery-main img { height: 280px; }
  .nav { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .gallery-main img { height: 220px; }
  .certs-grid { grid-template-columns: 1fr; }
}

/* Projects section - equal aligned slider + text */
.project-card-with-gallery {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 !important;
  align-items: stretch !important;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.project-card-with-gallery .project-gallery {
  border-radius: 0 !important;
  min-height: 100%;
  height: 100%;
}
.project-card-with-gallery .project-gallery-track,
.project-card-with-gallery .project-gallery-track img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.project-card-with-gallery .project-body {
  padding: 28px 32px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1rem;
  line-height: 1.65;
}
.project-card-with-gallery .project-body h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.project-card-with-gallery .project-body p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}
@media (max-width: 1024px) {
  .project-card-with-gallery {
    grid-template-columns: 1fr !important;
  }
  .project-card-with-gallery .project-gallery-track img {
    min-height: 240px;
    height: 240px;
  }
}

/* Certificates page - Bal Raksha style */
.certs-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--gray);
  line-height: 1.7;
}
.certs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.cert-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  flex-wrap: wrap;
}
.cert-row-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}
.cert-row-icon {
  width: 52px;
  height: 52px;
  background: #f5f9eb;
  color: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.cert-row h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}
.cert-row p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray);
}
.cert-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cert-actions .btn {
  padding: 8px 18px;
  font-size: 0.9rem;
}

/* Uniform What We Do cards */
.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cause-card {
  background: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cause-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.cause-card img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  display: block !important;
  flex-shrink: 0;
}
.cause-card-body {
  padding: 18px 20px 22px !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cause-card h3 {
  font-size: 1.1rem !important;
  margin: 0 0 8px !important;
}
.cause-card p {
  font-size: 0.9rem !important;
  color: var(--gray) !important;
  margin: 0 !important;
  flex: 1;
}
@media (max-width: 1024px) {
  .causes-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }
  .cause-card img { height: 140px !important; }
}
@media (max-width: 480px) {
  .causes-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .cause-card img { height: 120px !important; }
  .cause-card h3 { font-size: 0.95rem !important; }
  .cause-card p { font-size: 0.8rem !important; }
}

/* Footer social icons always visible */
.socials {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 14px !important;
}
.socials a {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
  border-radius: 50% !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  transition: background 0.2s !important;
}
.socials a:hover {
  background: var(--primary) !important;
  color: #111 !important;
}
.footer {
  color: #ccc;
}
.footer a { color: #ddd; }
.footer h4 { color: #fff; }
@media (max-width: 600px) {
  .socials a {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
}

/* ========== MOBILE / TABLET FINAL OVERRIDES ========== */

/* Reduce section spacing sitewide on mobile+tablet */
@media (max-width: 1024px) {
  .section {
    padding: 36px 0 !important;
  }
  .section-header {
    margin-bottom: 20px !important;
  }
  .page-header {
    padding: 28px 0 !important;
  }
  .page-header h1 {
    font-size: 1.5rem !important;
  }

  /* Wide fit - less side padding */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }

  /* Content boxes full width, less boxed look */
  .content-box {
    padding: 16px 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    max-width: 100% !important;
  }

  /* Hide main hero carousel arrows on mobile & tablet */
  .slider-btn,
  .slider .slider-btn,
  .slider-btn.prev,
  .slider-btn.next {
    display: none !important;
  }

  /* Footer: single column stack - one after another */
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    text-align: left !important;
  }
  .footer-grid > div {
    width: 100% !important;
    max-width: 100% !important;
  }
  .footer {
    padding: 32px 0 20px !important;
  }
  .footer-bottom {
    text-align: center !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
  }
  .socials {
    justify-content: flex-start !important;
  }

  /* Cards tighter */
  .cause-card img {
    height: 130px !important;
  }
  .blog-card img {
    height: 120px !important;
  }

  /* Project card stack */
  .project-card-with-gallery {
    grid-template-columns: 1fr !important;
  }

  /* Bank copy rows - button beside text, not below stacked awkwardly */
  .bank-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    padding: 10px 0 !important;
  }
  .bank-row p {
    margin: 0 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }
  .bank-row .copy-btn {
    flex-shrink: 0 !important;
    align-self: center !important;
    padding: 6px 10px !important;
    font-size: 0.8rem !important;
  }

  /* Numbers grid 2x2 */
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* Partner/logo carousels */
  .logo-carousel-btn {
    width: 32px !important;
    height: 32px !important;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 28px 0 !important;
  }
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .slide-content h2 {
    font-size: 1.35rem !important;
  }
  .slide-content p {
    font-size: 0.9rem !important;
  }
  .bank-row {
    flex-direction: row !important;
    align-items: flex-start !important;
  }
  .bank-row p {
    font-size: 0.85rem !important;
  }
  .bank-row .copy-btn {
    margin-top: 2px !important;
  }
  /* Forms full width */
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 1024px) {
  .bank-details {
    padding: 12px 0 !important;
    margin: 16px 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  /* Ensure slider dots still visible when arrows hidden */
  .slider-dots {
    display: flex !important;
    bottom: 12px !important;
  }
  .mv-grid {
    grid-template-columns: 1fr !important;
  }
  .certs-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
