@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
  --primary: #e84e1a;
  --primary-d: #c43a10;
  --dark: #1a1f2e;
  --gray: #5f6368;
  --border: #e8ecf0;
  --bg: #f8fbff;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, .07)
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--dark);
  animation: fadeIn .6s ease
}

a {
  text-decoration: none;
  color: var(--dark);
  transition: color .25s
}

a:hover {
  color: var(--primary)
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.25
}

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

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px
}

.section-pad {
  padding: 72px 0;
  scroll-margin-top: 80px
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px
}

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

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

/* Section titles */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 14px
}

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

.section-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: 40px;
  font-size: 1rem
}

/* Card */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
  transform: translateY(-2px)
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .7rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all .25s;
  font-family: inherit
}

.btn:hover {
  background: var(--border);
  transform: translateY(-2px)
}

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

.btn-primary:hover {
  background: var(--primary-d);
  border-color: var(--primary-d);
  color: #fff
}

/* Header */
#site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  transition: box-shadow .3s ease
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  gap: 24px;
  position: relative
}

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

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 6px
}

.nav-logo span {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark)
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px
}

.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray)
}

.nav-links a:hover {
  color: var(--primary)
}

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

.nav-links .nav-mobile-cta {
  display: none !important
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
  position: relative
}

#site-header.shrink {
  box-shadow: 0 2px 20px rgba(0, 0, 0, .12)
}

#site-header.shrink .nav-inner {
  padding-top: 8px;
  padding-bottom: 8px;
  transition: padding .3s ease
}

/* Hero Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 520px
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1)
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f1623, #1e3a5f)
}

.slide:nth-child(2) {
  background: linear-gradient(135deg, #1a1f2e, #6b21a8)
}

.slide:nth-child(3) {
  background: linear-gradient(135deg, #14532d, #065f46)
}

.slide:nth-child(4) {
  background: linear-gradient(135deg, #7c2d12, #c43a10)
}

.slide-content {
  text-align: center;
  color: #fff;
  padding: 0 32px;
  max-width: 700px
}

.slide-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 16px
}

.slide-content p {
  font-size: 1.1rem;
  opacity: .8;
  margin-bottom: 28px
}

.slide-content .btn {
  color: #fff;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(8px)
}

.slide-content .btn:hover {
  background: var(--primary);
  border-color: var(--primary)
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: all .3s;
  border: none
}

.dot.active {
  background: #fff;
  transform: scale(1.3)
}

/* Sections */
.idea-icon {
  font-size: 2.5rem;
  margin-bottom: 14px
}

.idea-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--gray)
}

.about-section .grid-2 {
  align-items: start
}

.vision-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.vision-cards .card {
  padding: 22px;
  text-align: center
}

.vision-cards svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  margin: 0 auto 12px
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center
}

.stat-item img {
  width: 72px;
  margin: 0 auto 12px
}

.stat-count {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary)
}

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

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px
}

.partner-card {
  text-align: center
}

.partner-logo {
  height: 64px;
  background: var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.team-photo {
  width: 130px;
  height: 130px;
  margin: 0 auto 22px;
  object-fit: cover;
  border-radius: 6px
}

.team-card {
  text-align: center
}

.team-card h3 {
  font-size: 1rem;
  margin-bottom: 10px
}

.team-card h4 {
  font-size: .82rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 8px
}

.team-card p {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.6
}

.opp-section {
  background: #fff;
  padding: 56px 0
}

.opp-image {
  width: 100%;
  height: 280px;
  background: url('../images/banners/bann1.png') center/cover;
  border-radius: var(--radius)
}

.opp-content h1 {
  font-size: 1.6rem;
  margin-bottom: 16px
}

.opp-content p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px
}

.mission-section {
  text-align: center
}

.mission-section>h1 {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.7rem
}

.mission-content {
  flex: 1;
  min-width: 280px;
  text-align: left
}

.mission-content p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px
}

.mission-content h2 {
  color: var(--primary);
  margin: 24px 0 0
}

.video-box {
  flex: 1;
  min-width: 260px;
  height: 360px;
  max-width: 720px;
  background: linear-gradient(135deg, var(--primary), #ff8c60);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  cursor: pointer;
  color: #fff
}

.join-img {
  min-width: 240px;
  height: 280px;
  background: url('../images/banners/bann2.png') center/cover;
  border-radius: var(--radius)
}

.join-content p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px
}

.signature {
  font-weight: 700;
  color: var(--primary);
  font-style: italic
}

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

.news-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow)
}

.news-img {
  height: 200px;
  background-size: cover;
  background-position: center
}

.news-img-1 {
  background-image: url('../images/gallery/im1.jpg')
}

.news-img-2 {
  background-image: url('../images/gallery/im2.jpg')
}

.news-img-3 {
  background-image: url('../images/gallery/im3.jpg')
}

.news-card h3 {
  padding: 18px 18px 8px;
  font-size: 1rem
}

.news-card p {
  padding: 0 18px 18px;
  font-size: .88rem;
  color: var(--gray)
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px
}

.contact-form-box {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow)
}

.contact-form-box h3 {
  margin-bottom: 20px
}

.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  padding: 10px 13px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: .9rem;
  outline: none;
  transition: border .2s
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
  border-color: var(--primary)
}

.contact-form-box textarea {
  resize: vertical;
  min-height: 110px
}

.contact-form-box button {
  background: var(--primary);
  color: #fff;
  padding: 11px 22px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  font-size: .95rem;
  transition: background .2s
}

.contact-form-box button:hover {
  background: var(--primary-d)
}

.contact-info-box .card {
  margin-bottom: 20px
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border)
}

.contact-row:last-child {
  border: none
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem
}

.contact-row h4 {
  font-size: .82rem;
  color: var(--gray);
  margin-bottom: 2px;
  font-weight: 500
}

.contact-row p {
  font-size: .9rem;
  font-weight: 600
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 4px
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-2px)
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: var(--dark)
}

.social-links a:hover svg {
  fill: #fff
}

/* Alerts */
.msg-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 14px;
  font-size: .88rem
}

.msg-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 14px;
  font-size: .88rem
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .7);
  padding: 60px 0 24px
}

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

.footer-brand span {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 12px
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: .9rem;
  letter-spacing: .5px
}

.footer-col ul {
  list-style: none
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: .85rem
}

.footer-col ul li a {
  color: rgba(255, 255, 255, .6);
  transition: color .2s
}

.footer-col ul li a:hover {
  color: var(--primary)
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 20px;
  text-align: center;
  font-size: .82rem;
  color: rgba(255, 255, 255, .35)
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

/* Responsive */
@media(max-width:1024px) {

  .container,
  .nav-inner {
    padding-left: 24px;
    padding-right: 24px
  }

  .grid-2,
  .contact-grid,
  .vision-cards,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .team-grid,
  .stats-row {
    grid-template-columns: repeat(2, 1fr)
  }

  .hero-slider {
    height: 420px
  }

  .slide-content h2 {
    font-size: 2rem
  }
}

@media(max-width:768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px
  }

  .nav-inner {
    padding: 12px 16px
  }

  .section-pad {
    padding: 48px 0
  }

  .nav-links,
  .nav-cta {
    display: none
  }

  .nav-links .nav-mobile-cta {
    display: list-item !important
  }

  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 16px;
    z-index: 900;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .15);
    gap: 2px;
    border-top: 1px solid var(--border);
    list-style: none
  }

  .nav-links.open li a {
    display: block;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: .95rem;
    color: var(--dark);
    font-weight: 500
  }

  .nav-links.open li a:hover {
    background: var(--bg);
    color: var(--primary)
  }

  .nav-links.open .nav-mobile-cta {
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 4px
  }

  .nav-links.open .nav-mobile-cta a {
    color: var(--primary);
    font-weight: 600
  }

  .team-grid,
  .grid-auto {
    grid-template-columns: 1fr
  }

  .hero-slider {
    height: 300px
  }

  .slide-content h2 {
    font-size: 1.4rem
  }

  .slide-content p {
    font-size: .95rem
  }

  .section-title {
    font-size: 1.4rem
  }

  .section-sub {
    font-size: .9rem
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px
  }

  .footer-grid {
    gap: 24px
  }

  .video-box {
    height: 240px
  }

  .join-img {
    min-width: 100%;
    height: 200px
  }

  .opp-image {
    height: 200px
  }

  .flex {
    gap: 20px
  }
}

@media(max-width:480px) {
  .stats-row {
    grid-template-columns: 1fr
  }

  .vision-cards {
    grid-template-columns: 1fr !important
  }

  .hero-slider {
    height: 260px
  }

  .slide-content h2 {
    font-size: 1.2rem
  }

  .slide-content .btn {
    padding: .6rem 1.2rem;
    font-size: .8rem
  }

  .contact-form-box {
    padding: 20px
  }
}