@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(30, 30, 46, 0.7);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
}

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow: auto;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

/* Navigation */
.nav {
  position: fixed;
  width: 100%;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 0;
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.logo-img
{
    height: 50px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo-img:hover {
    transform: scale(1.05);
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 1rem;
  position: relative;
  overflow: hidden;
  font-weight: 500;
  border-radius: 8px;
}

.nav-links a:hover {
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hero Section */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--background);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ab4cee' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}
  
.hero-content {
    max-width: 1000px;
    animation: sketch 1s ease-in-out;
    display: flex;
    align-items: center;
    gap: 5rem;
  }
  
  .hero-content > div:first-child {
    flex-shrink: 0;
  }
  
  .hero-content img.head-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  
  .hero-content img.head-icon:hover {
    transform: scale(1.05);
  }
  
  .hero-content > div:last-child {
    flex: 1;
  }
  

.hero-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.icon {
  font-size: 2rem;
  text-shadow: 0 0 10px rgba(155, 135, 245, 0.5);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  font-family: 'Inter', sans-serif;
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

/* Projects Section */
.projects {
  padding: 5rem 0;
  background: rgba(10, 10, 10, 0.5);
}
.support{
  padding: 5rem 0;
  background: rgba(26, 26, 46, 0.5);
}

.projects h2, .support h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
  border-color: var(--primary);
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 31, 44, 0.9), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

/* About Section */
.about {
  color: #fff;
  padding: 5rem 0;
  position: relative;
  background-color: var(--background);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ab4cee' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}

.about-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--ochre);
  text-shadow: 0 0 10px rgba(155, 135, 245, 0.5);
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(10px);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.25);
  border-color: var(--primary);
}

.value-card h3 {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

/* Footer */
.footer {
  padding: 2rem 0;
  text-align: center;
  background: rgba(10, 10, 10, 0.9);
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(10px);
}

/* Utility Classes */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
}

/* Animations */
@keyframes sketch {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .values {
    grid-template-columns: 1fr;
  }
}

/* Hamburger Menu (CSS updates) */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 30px;
    height: 24px;
  }
  
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--ochre);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  /* Animation for Hamburger Menu */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Mobile Navigation (updated styles) */
  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: flex;
      transform: scale(1.5);
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      right: 0;
      background: rgba(15, 18, 25, 0.9);
      width: 100%;
      border-top: 1px solid rgba(155, 135, 245, 0.1);
      z-index: 1000;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .nav-links li {
      padding: 1rem;
      text-align: center;
    }
  }
  /* Hamburger Menu (CSS updates) */
.menu-toggle {
    display: none; /* Hidden by default */
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    z-index: 1001; /* Ensure it's clickable above other content */
  }
  
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--ochre);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  /* Animation for Hamburger Menu */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Mobile Navigation (updated styles) */
  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: flex; /* Show hamburger on mobile */
    }
  
    .nav-links {
      display: none; /* Hide navigation links on mobile */
      flex-direction: column;
      position: absolute;
      top: 100%;
      right: 0;
      background: rgba(10, 10, 10, 0.95);
      backdrop-filter: blur(10px);
      width: 100%;
      border-top: 1px solid rgba(99, 102, 241, 0.2);
      z-index: 1000;
    }
  
    .nav-links.active {
      display: flex; /* Show navigation when active */
    }
  
    .nav-links li {
      padding: 1rem;
      text-align: center;
    }
  }

  @media (max-width: 768px) {
    .hero-content {
      flex-direction: column;
      text-align: center;
      padding: 2rem 0;
      gap: 0;
    }
  
    .hero-content img.head-icon {
      width: 200px;
      height: 200px;
    }
  }
    
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .social-links {
    display: flex;
    gap: 1.5rem;
  }
  
  .social-links a {
    font-size: 1.5em;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .social-links a:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
  }
  /* Ko-fi icon styling */
.ko-fi {
  font-size: 32px;
  transition: transform 0.3s;
  -webkit-text-stroke: 2px black;
  color: gainsboro;
}
.ko-fi:hover {
  color: #fefefe;
}
.ko-fi::after {
  content: '\f004';
  font-weight: 900;
  font-size: 15px;
  color: #FF5E5B;
  position: absolute;
  margin: 15px 0 0 -27px;
}


  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
      text-align: center;
      justify-content: center;
    }
    
    .social-links {
      justify-content: center;
      flex-wrap: wrap;
    }
  }
/* Mobile Navigation Styles */
@media (max-width: 768px) {
  /* Prevent scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

    /* Logo styles */
    .mobile-menu-logo {
      width: 50px;
    }
  
    .mobile-menu-logo img {
      width: 100%;
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        z-index: 1000;
        margin: 0;
        padding: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        overflow-y: auto;
      }
    
      .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease-in-out;
      }
    
      .nav-links li {
        padding: 0rem;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        animation: slideIn 0.5s ease-in-out forwards;
        width: 100%;
      }
    
      .nav-links a {
        font-size: 1.5rem;
        display: inline-block;
        width: 100%;
        position: relative;
      }
    }

  /* Active link styles */
  .nav-links a.active {
    color: var(--ochre);
  }

  /* Click effect */
  .nav-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(155, 135, 245, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
  }

  .nav-links a:active::before {
    width: 100%;
    height: 100%;
    border-radius: 4px;
  }

  /* Stagger the animation for each list item */
  .nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { animation-delay: 0.2s; }
  .nav-links.active li:nth-child(3) { animation-delay: 0.3s; }
  .nav-links.active li:nth-child(4) { animation-delay: 0.4s; }
  .nav-links.active li:nth-child(5) { animation-delay: 0.5s; }
}

/* Animation keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Ensure the hamburger menu stays visible */
.menu-toggle span {
  background: var(--primary-light);
  transition: all 0.3s ease;
}

/* Update hamburger animation for better visibility on full screen */
.menu-toggle.open span {
  background: var(--text-primary);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/* Mobile Logo */
.mobile-menu-logo {
  display: block;  /* Ensure it is displayed on mobile */
  margin-bottom: 2rem;
}

.mobile-menu-logo img {
  width: 180px;
  height: auto;
}

/* Hide mobile logo on desktop */
@media (min-width: 769px) {
  .mobile-menu-logo {
    display: none;  /* Hide on larger screens */
  }
}

/* Show mobile logo on mobile */
@media (max-width: 768px) {
  .mobile-menu-logo {
    display: block;  /* Show only on mobile */
  }
}

/* Animations for hover effects */
h1:hover {
  animation: wildSpin 3s ease-in-out, rainbow 3s linear, shake 0.5s ease-in-out infinite;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px) translateY(5px); }
  50% { transform: translateX(5px) translateY(-5px); }
  75% { transform: translateX(-5px) translateY(-5px); }
}

    /* Base styles for desktop */
    .links-aff {
      display: flex; /* Horizontal layout */
      justify-content: center; /* Center content horizontally */
      align-items: center; /* Align items vertically */
      gap: 20px; /* Space between items */
      flex-wrap: wrap; /* Allow wrapping on smaller screens */
      margin: 20px auto; /* Center the section */
  }

  .links-aff img {
      height: 40px; /* Standard image height */
      width: auto; /* Maintain aspect ratio */
      transition: transform 0.3s ease; /* Smooth hover effect */
  }

  .link-aff {
      display: flex;
      align-items: center;
      justify-content: center;
  }

  /* Hover effect */
  .links-aff img:hover {
      transform: scale(1.1); /* Slightly enlarge on hover */
  }

  /* Responsive Design for Mobile */
  @media (max-width: 768px) {
      .links-aff {
          flex-direction: column; /* Stack links vertically */
          gap: 15px; /* Smaller gap */
      }

      .links-aff img {
          height: 40px; /* Smaller images for mobile */
      }
  }

  @media (max-width: 480px) {
      .links-aff {
          gap: 10px; /* Further reduce spacing */
      }

      .links-aff img {
          height: 35px; /* Smaller images for very small screens */
      }
  }

.affiliate-boxes {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 2rem 0;
  flex-wrap: nowrap;
}

.affiliate-box {
  flex: 1 1 0;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  background: var(--bg-card);
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(10px);
}

.affiliate-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.affiliate-box:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.25);
}

.affiliate-box:hover::before {
  transform: scaleX(1);
}

.affiliate-box h3 {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  position: relative;
  display: inline-block;
  font-weight: 700;
}

.affiliate-box p {
  margin-bottom: 1.8rem;
  flex-grow: 1;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.support p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.affiliate-link {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
  border: none;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
  font-family: 'Inter', sans-serif;
}

.affiliate-link:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

@media (max-width: 768px) {
  .affiliate-boxes {
    flex-wrap: wrap;
  }
  
  .affiliate-box {
    flex: 1 1 100%;
    margin-bottom: 1.5rem;
  }
}

/* Contact Us Section */
.contact {
  padding: 5rem 0;
  background: rgba(10, 10, 10, 0.5);
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input, .contact textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  background: var(--bg-card);
  color: #fff;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.contact input:focus, .contact textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.contact button {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.contact button:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}
