/* =======================
   Reset + Global Styles
   ======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(to right, #e0f7fa, #fce4ec);
  color: #333;
  line-height: 1.6;
}

/* =======================
   Header & Navigation
   ======================= */
header {
  background: white;
  padding: 10px 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo {
  height: 60px;
  width: auto;
  border-radius: 50%;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #ff4081;
}

/* =======================
   Hero Section
   ======================= */
.hero {
    background: url("images/back2.png") no-repeat center center/cover;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); /* dark overlay */
}

.hero h1 {
    font-size: 3rem;
    z-index: 1;
    animation: fadeInDown 1s ease-in-out;
}

.hero p {
    font-size: 1.2rem;
    margin-top: 10px;
    z-index: 1;
    animation: fadeInUp 1.2s ease-in-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.cta-btn {
    margin-top: 20px;
    padding: 12px 28px;
    background: #ff6b81;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    z-index: 1;
}

.cta-btn:hover {
    background: #ff4757;
    transform: scale(1.05);
}

.highlights {
    display: flex;
    justify-content: space-around;
    margin: 50px 0;
    text-align: center;
}

.highlights div {
    width: 25%;
}

.highlights img {
    width: 60px;
    margin-bottom: 10px;
}


/* =======================
   About Section
   ======================= */
.about {
  max-width: 900px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ff4081;
}

.about p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.about img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* =======================
   Footer
   ======================= */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}

/* =======================
   Responsive Design
   ======================= */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .about h2 {
    font-size: 1.6rem;
  }
}

footer a {
  color: #81d4fa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

footer a:hover {
  color: #f48fb1;
}

/* Events Page */
.events {
  padding: 3rem 2rem;
  text-align: center;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.event-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.event-card:hover {
  transform: translateY(-8px);
}

.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-card h2 {
  margin: 1rem 0 0.5rem;
  color: #0077b6;
}

.event-card p {
  padding: 0 1rem 1.5rem;
  font-size: 0.95rem;
  color: #333;
}

/* Resources Page */
.resources-header {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #a3c9f9, #e3f1ff);
  color: #333;
}

.resources-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.resources-header p {
  font-size: 1.2rem;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 50px;
}

.resource-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.2s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.resource-card h2 {
  font-size: 1.5rem;
  margin: 15px 0;
  color: #2a4d7f;
}

.resource-card p {
  font-size: 1rem;
  padding: 0 15px;
  margin-bottom: 15px;
  color: #555;
}

.resource-card .btn {
  display: inline-block;
  padding: 10px 20px;
  background: #2a4d7f;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.resource-card .btn:hover {
  background: #1a365d;
}

/* Contact Page */
.contact-header {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #c6e6ff, #f2f9ff);
  color: #333;
}

.contact-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.contact-header p {
  font-size: 1.2rem;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  padding: 50px;
}

.contact-form, .contact-info {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0px 6px 15px rgba(0,0,0,0.1);
}

.contact-form h2,
.contact-info h2 {
  color: #2a4d7f;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background: #2a4d7f;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #1a365d;
}

.contact-info p {
  font-size: 1rem;
  margin: 10px 0;
  color: #444;
}

.contact-info a {
  color: #2a4d7f;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.about img {
    max-width: 60%;   /* shrinks the image width */
    height: auto;     /* keeps proportions */
    display: block;   /* centers with margin */
    margin: 20px auto; 
    border-radius: 12px; /* optional: smooth corners */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* optional: nice shadow */
}

/* ===== Quotes Page ===== */
.quotes-header {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #c3f0ff, #f9e1f9);
  color: #333;
}

.quotes-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #ff4081;
}

.quotes-header p {
  font-size: 1.2rem;
  color: #555;
}

/* Founder Spotlight */
.founder-card {
  max-width: 1100px;
  margin: 50px auto;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 28px rgba(255,64,129,0.15);
  display: flex;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(255,64,129,0.25);
}

.founder-img {
  flex: 1;
}
.founder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.founder-info {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.founder-info h2 {
  font-size: 2rem;
  margin: 0 0 8px;
  color: #ff4081;
}
.founder-info p.role {
  font-weight: 600;
  color: #666;
  margin: 0 0 20px;
}

.founder-quotes {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  font-style: italic;
  min-height: 80px;
}

.quote-nav {
  margin-top: 15px;
}
.quote-nav button {
  background: #ff6b81;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-right: 10px;
  transition: background 0.3s;
}
.quote-nav button:hover {
  background: #ff4757;
}

@media(max-width: 900px) {
  .founder-card {
    flex-direction: column;
  }
  .founder-img {
    width: 100%;
    height: 250px;
  }
}

.custom-quote input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to right, #e0f7fa, #fce4ec);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrapper {
  flex: 1; /* pushes footer down */
  display: flex;
  align-items: center;
  justify-content: flex-start; /* align higher instead of center */
  flex-direction: column;
  padding-top: 120px; /* space below navbar */
  padding-bottom: 40px; /* keep safe gap above footer */
}



footer {
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  color: #555;
  background: #fff;   /* solid white base */
  width: 100%;        /* full-width strip */
  margin-top: auto;   /* push it to bottom */
  box-shadow: 0 -2px 6px rgba(0,0,0,0.05); /* subtle top shadow */
}

