/* ===================== VARIABLES ===================== */
:root {
  --orange: #ff8a00;
  --dark-orange: #e67600;
  --black: #000;
  --white: #fff;
}

/* ===================== GLOBAL STYLING ===================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: auto;
}

/* ===================== TOP BAR ===================== */
.top-bar {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 6px 40px;
  font-size: 14px;
  background: #f7f7f7;
}

.top-bar a:hover { color: var(--orange); }

/* ===================== HEADER ===================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.logo img {
  width: 300px;
  height: 51px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--orange);
  border-bottom: 2px solid transparent;
  transition: .3s;
}

nav a:hover {
  color: var(--dark-orange);
  border-color: var(--dark-orange);
}

/* ===================== HAMBURGER / MOBILE NAV ===================== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--orange);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: 0.4s ease;
    padding-top: 100px;
  }

  nav.active { right: 0; }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 40px;
  }

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

  .hamburger.active span:nth-child(2) { opacity: 0; }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px,-6px);
  }
}

/* ===================== HERO SECTION ===================== */
.hero {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg,#fff,#fff3e5);
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 900px;
  color: var(--orange);
  text-shadow: 1px 1px 6px rgba(0,0,0,0.15);
  animation: fadeInUp 1s ease forwards;
}

/* Floating gradient circles */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite alternate;
}

.hero::before {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 5%;
  background: rgba(255,138,0,0.2);
}

.hero::after {
  width: 200px;
  height: 200px;
  bottom: 5%;
  right: 10%;
  background: rgba(230,118,0,0.15);
  animation-duration: 8s;
}

/* Hero animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(10px); }
  100% { transform: translateY(0) translateX(0); }
}

/* ===================== ADVISORY PILLARS ===================== */
h2 { text-align: center; margin-bottom: 40px; color: var(--orange); }

.three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  text-align: center;
  justify-items: center;
  margin-top: 20px;
}

.pillar {
  padding: 30px 25px;
  border-radius: 20px;
  background: linear-gradient(145deg,#fff8f0,#fff3e5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  opacity: 1;
  transform: translateY(30px);
}

.pillar.active { opacity: 1; transform: translateY(0); }

.pillar:hover {
  transform: translateY(-12px) rotateX(3deg) rotateY(3deg) scale(1.05);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.pillar-icon {
  font-size: 60px;
  color: var(--orange);
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite alternate;
}

.pillar h3 { margin-bottom: 12px; }

.pillar p { line-height: 1.6; font-size: 0.95rem; color: #333; }

/* ===================== ECOSYSTEM ALIGNMENT ===================== */
#ecosystem p {
  text-align: center;
  margin-top: 20px; /* adds space between the h2 and the paragraph */
  font-size: 1.1rem; /* optional: slightly larger for readability */
  line-height: 1.6;
}

/* ===================== PARTNERS ===================== */
#partners {
  padding: 80px 40px;
  text-align: center;
}

#partners h2 {
  color: var(--orange);
  margin-bottom: 40px;
}

/* Partner logos grid */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.partner {
  flex: 0 0 auto;
  width: 300px; /* logo container size */
  height: 101px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.partner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.3s ease;
}

.partner:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Responsive adjustments */
@media(max-width:768px){
  .partners-grid {
    gap: 20px;
  }
  .partner { width: 120px; height: 80px; }
}

/* ===================== FOOTER ===================== */
footer {
  background: #000;
  color: #fff;
  padding: 80px 40px;
}

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

.footer-grid img { width: 100%; max-width: 200px; }

/* ===================== SECTION REVEAL ANIMATION ===================== */
section { opacity: 1; transform: translateY(30px); transition: opacity 1s ease, transform 1s ease; }
section.active { opacity: 1; transform: translateY(0); }

/* ===================== MISSION & VISION ICONS ===================== */
.mv-box { text-align: center; padding: 20px; }

.mv-icon {
  font-size: 50px;
  color: var(--orange);
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite alternate;
}

.mv-box:hover .mv-icon {
  transform: scale(1.1);
  transition: 0.3s ease;
}

/* ===================== OTHER SECTIONS ===================== */
.brand { text-align:center; padding:120px 40px; }
.brand h2 { font-size: clamp(2rem,4vw,3.5rem); color:var(--orange); }

.two-col {
  display:grid;
  text-align:center;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:60px;
}

.two-col h3 { color: var(--orange); }

.services {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:40px;
  text-align:center;
}

.service-card {
  padding:40px;
  border:1px solid #eee;
  transition:.3s;
  cursor:pointer;
}

.service-card:hover {
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(0,0,0,.08);
}

.team-track {
  display:flex;
  gap:30px;
  overflow-x:auto;
}

.member {
  min-width:300px;
  border:1px solid #eee;
  padding:20px;
  text-align:justify;
}

.newsletter {
  text-align:center;
  padding:80px 40px;
  background:#f9f9f9;
}

.newsletter h2 { color:var(--orange); }

.newsletter input {
  padding:12px;
  margin:10px;
  width:250px;
}

.newsletter button {
  padding:12px 30px;
  background:var(--orange);
  border:none;
  color:#fff;
  cursor:pointer;
  transition:.3s;
}

.newsletter button:hover {
  background: var(--dark-orange);
}

/* ===================== RESPONSIVE CAPTIONS ===================== */
.caption {
  font-size: clamp(0.8rem,1.5vw,1rem);
  text-align: center;
}