/* Reset & Basic Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}



/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70vh;
  text-align: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 0 20px;
}

.hero .hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero a.btn {
  background: #fff;
  color: #764ba2;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s;
}

.hero a.btn:hover {
  background: #f1f1f1;
}

/* ==================================
   Organization Section Styles
================================== */
.org-section {
  padding: 60px 20px;
  text-align: center;
  background: #f5f7fa;
}

.org-section .org-content h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 40px;
}

/* ==================================
   Logo Slider (Continuous, No Gap)
================================== */
.logo-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/*
  Each logo 'slide' is 200px wide with 30px right margin.
  One set = 5 logos => total width for 1 set:
    (200 + 30)*5 - 30 = (230 * 5) - 30 = 1150 - 30 = 1120px
  We have 3 sets => 15 logos => total track width:
    1120px * 3 = 3360px
*/
.slide-track {
  display: flex;
  width: 3360px; 
  animation: scroll 40s linear infinite;
}

/* Each slide is 200px wide + 30px right margin, except the last in each set has no margin */
.slide {
  width: 200px;
  margin-right: 30px;
  flex-shrink: 0;
  position: relative;
}

/* Remove margin on the 5th, 10th, 15th slides so sets don't have extra trailing gap */
.slide:nth-child(5),
.slide:nth-child(10),
.slide:nth-child(15) {
  margin-right: 0;
}

/* Default for all logos */
.slide img {
  width: 100%;
  display: block;
  filter: grayscale(100%);
}

/* For dark logos — consistently grey, no flashing */
.slide img.dark-logo {
  filter: grayscale(100%) brightness(0.25) contrast(0.45);
  opacity: 1; /* Full visibility */
}

.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
  pointer-events: none;
}

/* Keyframes: scroll exactly 1120px to move 1 set of 5 logos off screen */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1120px);
  }
}

/* ==================================
   Responsive Adjustments
================================== */
@media (max-width: 768px) {
  .org-section .org-content h1 {
    font-size: 2rem;
  }
  .slide {
    width: 150px;
    margin-right: 20px;
  }
  /* One set at mobile = (150 + 20)*5 - 20 = 850 - 20 = 830px
     3 sets => 830 * 3 = 2490px
  */
  .slide-track {
    width: 2490px;
    animation: scrollMobile 40s linear infinite;
  }
  /* Remove margin on 5th, 10th, 15th slides (mobile) */
  .slide:nth-child(5),
  .slide:nth-child(10),
  .slide:nth-child(15) {
    margin-right: 0;
  }

  @keyframes scrollMobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-830px);
    }
  }
}

/* Transparent Footer with Glass Effect */
.footer {
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.15); /* Translucent white */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: #2c3e50; /* Dark text for contrast */
  text-align: center;
}

.footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.footer ul li a {
  color: #764ba2;
  text-decoration: none;
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: #2c3e50;
}



