/* ===================================
   HOME PAGE STYLES
   =================================== */

/* Impact Image Styles */
.impact-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}

/* Hero Section */
.modern-hero {
    margin-top: 80px;
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.92), rgba(33, 150, 243, 0.85));
}

.hero-content-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 5rem 2rem;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-arrow {
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.3s;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.hero-trust {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-text {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Hero Stats */
.hero-stats-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.impact-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s;
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-5px);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.impact-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #fbbf24;
    line-height: 1;
}

.impact-label {
    display: block;
    color: white;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.85rem;
    z-index: 2;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.hero-slide-dots {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.hero-slide-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.hero-slide-dots .dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: #0f4c81;
}

/* ===================================
   NEW IMPACT SECTION WITH SLIDESHOWS
   =================================== */

.impact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.impact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.impact-card-slideshow {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-card-slideshow:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.slideshow-container .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow-container .slide.active {
  opacity: 1;
}

.slideshow-container .slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slide-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.slide-dots .dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

.impact-card-content {
  padding: 28px 24px;
}

.impact-card-content .impact-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.impact-card-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.impact-card-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Read More Button */
.read-more-btn {
  background: linear-gradient(135deg, #0f4c81, #2196F3);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.2);
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 76, 129, 0.3);
  background: linear-gradient(135deg, #2196F3, #0f4c81);
}

.read-more-btn .btn-icon {
  transition: transform 0.3s ease;
  font-size: 16px;
}

.read-more-btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ===================================
   MODAL STYLES
   =================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: 24px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: none;
}

.modal.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  display: block;
}

.modal-header {
  background: linear-gradient(135deg, #0f4c81 0%, #2196F3 100%);
  padding: 32px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-icon {
  font-size: 48px;
  line-height: 1;
  animation: modalIconPop 0.5s ease;
}

@keyframes modalIconPop {
  0% { transform: scale(0) rotate(-180deg); }
  50% { transform: scale(1.2) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.modal-header h2 {
  color: white;
  font-size: 28px;
  margin: 0;
  flex: 1;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
  padding: 0;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
  border-color: white;
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  max-height: calc(90vh - 120px);
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #0f4c81;
  border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #2196F3;
}

.modal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  border-radius: 16px;
  border: 2px solid #e0f2fe;
}

.modal-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #0f4c81, #2196F3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-body h3 {
  color: #0f4c81;
  font-size: 22px;
  margin-top: 28px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-body h3::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 2px;
}

.modal-body p {
  color: #334155;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.modal-body ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.modal-body ul li {
  padding: 12px 0 12px 32px;
  position: relative;
  color: #334155;
  font-size: 16px;
  line-height: 1.6;
  border-bottom: 1px solid #e2e8f0;
}

.modal-body ul li:last-child {
  border-bottom: none;
}

.modal-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #fbbf24;
  font-weight: bold;
  font-size: 20px;
}

.modal-body ul li strong {
  color: #0f4c81;
  font-weight: 700;
}

.impact-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.impact-area {
  background: white;
  border: 2px solid #e0f2fe;
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.impact-area:hover {
  border-color: #2196F3;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(33, 150, 243, 0.15);
}

.area-icon {
  font-size: 32px;
  line-height: 1;
}

.area-text {
  font-size: 14px;
  font-weight: 600;
  color: #0f4c81;
}

/* Dark Mode Modal Styles */
:root.dark .modal {
  background: #1e293b;
}

:root.dark .modal-body {
  color: #e2e8f0;
}

:root.dark .modal-stats {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-color: #334155;
}

:root.dark .stat-label {
  color: #94a3b8;
}

:root.dark .modal-body h3 {
  color: #60a5fa;
}

:root.dark .modal-body p,
:root.dark .modal-body ul li {
  color: #cbd5e1;
  border-color: #334155;
}

:root.dark .modal-body ul li strong {
  color: #60a5fa;
}

:root.dark .impact-area {
  background: #0f172a;
  border-color: #334155;
}

:root.dark .impact-area:hover {
  border-color: #60a5fa;
}

:root.dark .area-text {
  color: #60a5fa;
}

:root.dark .read-more-btn {
  background: linear-gradient(135deg, #2196F3, #60a5fa);
}

:root.dark .read-more-btn:hover {
  background: linear-gradient(135deg, #60a5fa, #2196F3);
}

/* Modal Responsive */
@media (max-width: 768px) {
  .modal {
    max-width: 95%;
    border-radius: 16px;
  }

  .modal-header {
    padding: 24px 20px;
    flex-wrap: wrap;
  }

  .modal-header h2 {
    font-size: 22px;
    width: 100%;
    margin-top: 12px;
  }

  .modal-icon {
    font-size: 40px;
  }

  .modal-body {
    padding: 24px 20px;
  }

  .modal-stats {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .stat-number {
    font-size: 28px;
  }

  .modal-body h3 {
    font-size: 18px;
  }

  .modal-body p,
  .modal-body ul li {
    font-size: 15px;
  }

  .impact-areas {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .modal-overlay {
    padding: 10px;
  }

  .modal-header {
    padding: 20px 16px;
  }

  .modal-header h2 {
    font-size: 20px;
  }

  .modal-body {
    padding: 20px 16px;
  }

  .read-more-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Services Preview */
.services-preview {
    padding: 5rem 2rem;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-preview-card {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s;
    text-align: center;
}

.service-preview-card:hover {
    border-color: #fbbf24;
    background: white;
    box-shadow: 0 15px 35px rgba(15, 76, 129, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.service-preview-card h3 {
    color: #0f4c81;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-preview-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #0f4c81;
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    gap: 1rem;
}

.section-cta {
    text-align: center;
}

/* Featured Projects */
.featured-projects {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    position: relative;
}

.projects-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 4rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #0f4c81;
    color: #0f4c81;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background: #0f4c81;
    color: white;
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.projects-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.project-card {
    min-width: 400px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
}

.project-tag {
    background: rgba(251, 191, 36, 0.95);
    color: #0f4c81;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: #0f4c81;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-link {
    color: #0f4c81;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.project-link:hover {
    color: #2196F3;
}

/* Testimonials */
.testimonials-section {
    padding: 5rem 2rem;
    background: white;
}

.testimonials-wrapper {
    max-width: 900px;
    margin: 0 auto 2rem;
    position: relative;
    min-height: 300px;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s;
    padding: 3rem;
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    border-radius: 20px;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
    pointer-events: auto;
}

.quote-icon {
    font-size: 4rem;
    color: #fbbf24;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.2rem;
    color: #334155;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.author-name {
    font-weight: 700;
    color: #0f4c81;
    font-size: 1.1rem;
}

.author-org {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.testimonial-dots .dot.active {
    background: #0f4c81;
    width: 30px;
    border-radius: 6px;
}

/* Partners Section */
.partners-section {
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.partners-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f4c81 0%, #1e40af 50%, #2196F3 100%);
    z-index: 0;
}

.partners-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.partners-section .container {
    position: relative;
    z-index: 1;
}

.partners-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.partners-carousel-wrapper {
    position: relative;
    margin: 3rem 0;
}

.partners-carousel {
    overflow: hidden;
    padding: 2rem 4rem;
}

.partner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(251, 191, 36, 0.5);
    color: #0f4c81;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.partner-nav:hover {
    background: #fbbf24;
    color: white;
    border-color: #fbbf24;
    transform: translateY(-50%) scale(1.1);
}

.partner-nav.prev {
    left: 0;
}

.partner-nav.next {
    right: 0;
}

.partners-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

.partner-card-mini {
    min-width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    flex-shrink: 0;
}

.partner-card-mini:hover {
    background: white;
    border-color: #fbbf24;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.partner-logo-mini {
    margin-bottom: 1.5rem;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}

.partner-card-mini:hover .logo-circle {
    transform: rotate(360deg) scale(1.1);
}

.logo-circle.agra {
    background: linear-gradient(135deg, #0f4c81, #2196F3);
}

.logo-circle.aceli {
    background: linear-gradient(135deg, #059669, #10b981);
}

.logo-circle.usadf {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.logo-circle.minagri {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.logo-circle.naeb {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.logo-circle.rab {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.logo-circle.rti {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.partner-card-mini h4 {
    color: #0f4c81;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    min-height: 2.8rem;
}

.partner-card-mini p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.partners-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.partner-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.partner-indicator.active {
    background: #fbbf24;
    width: 30px;
    border-radius: 6px;
}

.partner-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

.partners-cta {
    text-align: center;
    padding-top: 3rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.partners-cta-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.partners-cta .btn-primary {
    background: #fbbf24;
    color: #0f4c81;
    border-color: #fbbf24;
}

.partners-cta .btn-primary:hover {
    background: #f59e0b;
    border-color: #f59e0b;
}

/* CTA Banner */
.cta-banner-section {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #0f4c81 50%, #1e293b 100%);
    z-index: 0;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(33, 150, 243, 0.15) 0%, transparent 50%);
    opacity: 0.8;
}

.cta-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    top: -100px;
    left: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #2196F3, #60a5fa);
    bottom: -50px;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    top: 50%;
    right: -30px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.cta-content-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-icon {
    margin-bottom: 2rem;
}

.icon-circle {
    width: 100px;
    height: 100px;
    background: rgba(251, 191, 36, 0.2);
    border: 3px solid #fbbf24;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(251, 191, 36, 0);
    }
}

.cta-text h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-cta-primary {
    background: #fbbf24;
    color: #0f4c81;
    border: 2px solid #fbbf24;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.btn-cta-primary:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
}

.btn-cta-primary .btn-icon {
    transition: transform 0.3s;
}

.btn-cta-primary:hover .btn-icon {
    transform: translateX(5px);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1rem;
}

.feature-icon {
    width: 28px;
    height: 28px;
    background: rgba(251, 191, 36, 0.3);
    border: 2px solid #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fbbf24;
}

/* Dark Mode */
:root.dark .impact-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

:root.dark .impact-card-slideshow {
    background: #2d2d2d;
}

:root.dark .impact-card-content h3 {
    color: #f5f5f5;
}

:root.dark .impact-card-content p {
    color: #aaa;
}

:root.dark .featured-projects {
    background: #0f172a;
}

:root.dark .services-preview,
:root.dark .testimonials-section {
    background: #1e293b;
}

:root.dark .partners-background {
    background: linear-gradient(135deg, #1e293b 0%, #0f4c81 50%, #1e40af 100%);
}

:root.dark .partner-card-mini {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(51, 65, 85, 0.5);
}

:root.dark .partner-card-mini:hover {
    background: #0f172a;
    border-color: #fbbf24;
}

:root.dark .partner-card-mini h4 {
    color: #60a5fa;
}

:root.dark .partner-card-mini p {
    color: #cbd5e1;
}

:root.dark .service-preview-card,
:root.dark .project-card,
:root.dark .testimonial-card {
    background: #0f172a;
    border-color: #334155;
}

:root.dark .service-preview-card h3,
:root.dark .project-content h3 {
    color: #60a5fa;
}

:root.dark .service-preview-card p,
:root.dark .project-content p,
:root.dark .testimonial-text {
    color: #cbd5e1;
}

:root.dark .carousel-nav {
    background: #1e293b;
    border-color: #60a5fa;
    color: #60a5fa;
}

:root.dark .partners-cta {
    border-top-color: rgba(255, 255, 255, 0.1);
}

:root.dark .cta-background {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f4c81 100%);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .modern-hero {
        margin-top: 70px;
        min-height: auto;
    }

    .hero-content-grid {
        padding: 3rem 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-stats-container {
        flex-direction: row;
        overflow-x: auto;
    }

    .impact-card {
        min-width: 200px;
    }

    .impact-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .slideshow-container {
        height: 200px;
    }

    .impact-card-content {
        padding: 24px 20px;
    }

    .impact-card-content h3 {
        font-size: 18px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-carousel {
        padding: 0;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .project-card {
        min-width: 300px;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .partners-carousel {
        padding: 2rem 3rem;
    }

    .partner-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .partner-card-mini {
        min-width: 240px;
        padding: 1.5rem 1rem;
    }

    .logo-circle {
        width: 70px;
        height: 70px;
    }

    .logo-text {
        font-size: 1.1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .impact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-large {
        width: 100%;
        text-align: center;
    }

    .partners-carousel {
        padding: 2rem 2.5rem;
    }

    .partner-card-mini {
        min-width: 200px;
    }

    .partner-card-mini h4 {
        font-size: 0.95rem;
        min-height: auto;
    }

    .cta-text h2 {
        font-size: 2.2rem;
    }

    .cta-text p {
        font-size: 1.1rem;
    }

    .cta-features {
        gap: 2rem;
    }

    .cta-feature {
        font-size: 0.95rem;
    }
}