/* ===== ULTRA VIBRANT JOLLY 3D THEME ===== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Poppins:wght@400;600;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cyan: #00F0FF;
  --red: #FF3B3B;
  --yellow: #FFD600;
  --pink: #FF6EC7;
  --purple: #9D4EDD;
  --white: #FFFFFF;
  --text-dark: #1a1a1a;
  --text-light: #555555;
  --bg-light: #F0F4FF;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  /* Playful dotted background */
  background-image: radial-gradient(var(--cyan) 1px, transparent 1px);
  background-size: 30px 30px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== ANIMATIONS ===== */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 4px solid var(--cyan);
}
.nav-logo {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-logo span { color: var(--purple); }
.nav-links { display: flex; gap: 25px; }
.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  transition: all 0.3s;
  padding: 8px 15px;
  border-radius: 20px;
}
.nav-links a:hover { background: var(--yellow); color: var(--text-dark); transform: scale(1.05); }
.hamburger { display: none; font-size: 1.8rem; background: none; border: none; cursor: pointer; color: var(--red); }

/* ===== BUTTONS (3D Effect) ===== */
.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.1s;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  position: relative;
}
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 6px 0px #cc2e2e; }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 8px 0px #cc2e2e; }
.btn-red:active { transform: translateY(4px); box-shadow: 0 2px 0px #cc2e2e; }

.btn-cyan { background: var(--cyan); color: var(--text-dark); box-shadow: 0 6px 0px #00c4d4; }
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 8px 0px #00c4d4; }

.btn-yellow { background: var(--yellow); color: var(--text-dark); box-shadow: 0 6px 0px #ccb300; }
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 8px 0px #ccb300; }

.btn-pink { background: var(--pink); color: var(--white); box-shadow: 0 6px 0px #d94ba2; }
.btn-pink:hover { transform: translateY(-2px); box-shadow: 0 8px 0px #d94ba2; }

.btn-purple { background: var(--purple); color: var(--white); box-shadow: 0 6px 0px #7b2cbf; }
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 8px 0px #7b2cbf; }

/* ===== HERO (Home) ===== */
.hero {
  background: var(--white);
  padding: 140px 5% 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
  border: 4px solid var(--white);
}
/* Floating Background Shapes */
.hero-shape { position: absolute; border-radius: 50%; opacity: 0.2; z-index: 0; }
.shape-1 { width: 300px; height: 300px; background: var(--cyan); top: -50px; left: -50px; animation: float 6s infinite ease-in-out; }
.shape-2 { width: 200px; height: 200px; background: var(--pink); bottom: 20px; right: 10%; animation: float 8s infinite ease-in-out; }
.shape-3 { width: 150px; height: 150px; background: var(--yellow); top: 100px; right: 20%; animation: bounce-slow 5s infinite; }

.hero-content { flex: 1; min-width: 300px; z-index: 2; position: relative; }
.hero-content h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.hero-content h1 .red { color: var(--red); }
.hero-content h1 .cyan { color: var(--cyan); }
.hero-content h1 .purple { color: var(--purple); }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; color: var(--text-light); max-width: 500px; }
.hero-img { flex: 1; min-width: 300px; max-width: 500px; width: 100%; z-index: 2; animation: float 4s infinite ease-in-out; }

/* ===== 4-COLUMN PORTAL CARDS (Home) ===== */
.portals-section { padding: 80px 5%; }
.portals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ALL 4 IN ONE LINE */
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
}
.portal-card {
  background: var(--white);
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
  border: 4px solid transparent;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}
.portal-card:hover { transform: translateY(-10px) rotate(1deg); }
.portal-card-top {
  height: 160px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portal-card-top img { width: 100%; height: 100%; object-fit: cover; }
.portal-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--white);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.badge-red { background: var(--red); }
.badge-cyan { background: var(--cyan); color: var(--text-dark); }
.badge-yellow { background: var(--yellow); color: var(--text-dark); }
.badge-pink { background: var(--pink); }

.portal-body { padding: 20px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.portal-body h3 { font-family: 'Fredoka', sans-serif; font-size: 1.3rem; margin-bottom: 8px; color: var(--text-dark); }
.portal-body p { color: var(--text-light); margin-bottom: 15px; font-size: 0.9rem; }

/* Color Borders for Cards */
.card-red { border-color: var(--red); }
.card-cyan { border-color: var(--cyan); }
.card-yellow { border-color: var(--yellow); }
.card-pink { border-color: var(--pink); }

/* ===== SECTIONS ===== */
section { padding: 80px 5%; position: relative; }
.section-title { font-family: 'Fredoka', sans-serif; font-size: 2.8rem; font-weight: 700; margin-bottom: 15px; text-align: center; color: var(--text-dark); }
.section-sub { text-align: center; color: var(--text-light); max-width: 700px; margin: 0 auto 50px; font-size: 1.2rem; }

/* ===== ABOUT PAGE STYLES ===== */
.about-intro {
  background: var(--white);
  border-radius: 30px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border-top: 8px solid var(--red);
  max-width: 1000px;
  margin: 0 auto 60px;
  text-align: center;
}
.about-intro h2 { font-family: 'Fredoka', sans-serif; font-size: 2.2rem; margin-bottom: 15px; color: var(--text-dark); }
.about-intro p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 15px; }
.about-highlight { background: var(--yellow); padding: 20px; border-radius: 15px; margin-top: 20px; font-weight: 600; color: var(--text-dark); }

/* What We Do Grid */
.wwd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; max-width: 1200px; margin: 0 auto; }
.wwd-card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 0 var(--cyan), 0 15px 30px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}
.wwd-card:nth-child(2) { box-shadow: 0 8px 0 var(--pink), 0 15px 30px rgba(0,0,0,0.05); }
.wwd-card:nth-child(3) { box-shadow: 0 8px 0 var(--yellow), 0 15px 30px rgba(0,0,0,0.05); }
.wwd-card:nth-child(4) { box-shadow: 0 8px 0 var(--purple), 0 15px 30px rgba(0,0,0,0.05); }
.wwd-card:nth-child(5) { box-shadow: 0 8px 0 var(--red), 0 15px 30px rgba(0,0,0,0.05); }
.wwd-card:nth-child(6) { box-shadow: 0 8px 0 var(--cyan), 0 15px 30px rgba(0,0,0,0.05); }
.wwd-card:hover { transform: translateY(-5px); }
.wwd-card h3 { font-family: 'Fredoka', sans-serif; color: var(--text-dark); margin-bottom: 10px; font-size: 1.2rem; }
.wwd-card p { color: var(--text-light); font-size: 0.95rem; }

/* Timeline */
.timeline-box { max-width: 800px; margin: 0 auto; position: relative; }
.timeline-box::before { content: ''; position: absolute; left: 30px; top: 0; bottom: 0; width: 4px; background: var(--cyan); border-radius: 2px; }
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 30px; position: relative; }
.timeline-icon { width: 60px; height: 60px; background: var(--pink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-right: 25px; flex-shrink: 0; box-shadow: 0 6px 0px #d94ba2; z-index: 2; }
.timeline-content { background: var(--white); padding: 25px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-left: 6px solid var(--yellow); flex-grow: 1; }
.timeline-content h3 { font-family: 'Fredoka', sans-serif; color: var(--text-dark); font-size: 1.4rem; margin-bottom: 5px; }
.timeline-content .year { color: var(--red); font-weight: 700; margin-bottom: 5px; display: block; }
.timeline-content p { color: var(--text-light); }

/* Mission & Vision */
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto; }
.mv-card { background: var(--white); padding: 40px; border-radius: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-top: 8px solid var(--cyan); }
.mv-card:nth-child(2) { border-top-color: var(--pink); }
.mv-card h3 { font-family: 'Fredoka', sans-serif; font-size: 1.8rem; margin-bottom: 15px; color: var(--text-dark); }
.mv-card p { color: var(--text-light); margin-bottom: 15px; }
.mv-card .highlight { font-weight: 700; color: var(--text-dark); font-size: 1.2rem; margin-top: 20px; display: block; }

/* ===== FOUNDER CARDS ===== */
.founder-card {
  display: flex; gap: 30px; background: var(--white);
  padding: 40px; border-radius: 25px; margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  align-items: center;
  border: 4px solid var(--cyan);
  transition: transform 0.3s;
}
.founder-card:nth-child(2) { border-color: var(--pink); }
.founder-card:hover { transform: scale(1.02); }
.founder-img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 5px solid var(--yellow); }
.founder-info h3 { font-family: 'Fredoka', sans-serif; font-size: 1.8rem; color: var(--text-dark); }
.founder-info .role { color: var(--red); font-weight: 600; margin-bottom: 15px; display: block; font-size: 1.1rem; }
.founder-info p { color: var(--text-light); margin-bottom: 15px; }
.founder-quote { margin-top: 15px; font-style: italic; color: var(--text-dark); border-left: 5px solid var(--cyan); padding-left: 20px; background: #f0f0f0; padding: 15px; border-radius: 0 15px 15px 0; }

/* ===== FEST CARDS ===== */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.fest-card {
  background: var(--white);
  border-radius: 25px; padding: 40px 30px; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  border-bottom: 8px solid var(--cyan);
}
.fest-card:nth-child(2) { border-bottom-color: var(--red); }
.fest-card:nth-child(3) { border-bottom-color: var(--yellow); }
.fest-card:nth-child(4) { border-bottom-color: var(--pink); }
.fest-card:nth-child(5) { border-bottom-color: var(--purple); }
.fest-card:nth-child(6) { border-bottom-color: var(--red); }
.fest-card:hover { transform: translateY(-10px) rotate(-2deg); }
.fest-card .emoji { font-size: 4rem; display: block; margin-bottom: 20px; animation: bounce-slow 3s infinite; }
.fest-card h3 { font-family: 'Fredoka', sans-serif; color: var(--text-dark); margin-bottom: 15px; font-size: 1.4rem; }
.fest-card p { color: var(--text-light); }

/* ===== FORM ===== */
.contact-form { max-width: 600px; margin: 0 auto; background: var(--white); padding: 50px; border-radius: 30px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-top: 8px solid var(--red); }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-dark); font-family: 'Fredoka', sans-serif; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 15px 20px; background: #f8f9fa; border: 2px solid #e0e0e0; border-radius: 15px; font-family: inherit; font-size: 1rem; transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--cyan); background: var(--white); }

/* ===== FOOTER ===== */
.footer { background: var(--white); padding: 60px 5% 30px; border-top: 5px solid var(--purple); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-col h4 { font-family: 'Fredoka', sans-serif; color: var(--text-dark); margin-bottom: 20px; font-size: 1.2rem; }
.footer-col p, .footer-col a { color: var(--text-light); margin-bottom: 12px; display: block; font-size: 0.95rem; transition: 0.3s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { text-align: center; margin-top: 50px; border-top: 2px solid #f0f0f0; padding-top: 25px; color: var(--text-light); font-size: 0.9rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .portals-grid { grid-template-columns: repeat(2, 1fr); } /* 2x2 grid on tablet */
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; right: 5%; background: var(--white); width: 250px; padding: 20px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 2px solid var(--cyan); }
  .nav-links.show { display: flex; }
  .hamburger { display: block; }
  .founder-card { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .portals-grid { grid-template-columns: 1fr; } /* 1x4 grid on mobile */
}