:root {
  --primary: #1a5f7a;
  --primary-dark: #12465a;
  --secondary: #2a9d8f;
  --accent: #e76f51;
  --accent-hover: #d65c3e;
  --light: #f8f9fa;
  --dark: #264653;
  --gray: #6c757d;
  --light-blue: #a8dadc;

  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fcfcfc;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 5px 0;
  background: rgba(255, 255, 255, 0.95);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  transition: padding 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 25px;
  text-decoration: none;
}

.logo-img {
  width: 75px;
  height: 75px;
  /* border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* border: 2px solid var(--primary); */
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.1);
}

.logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--dark);
  /* "Demoniting" (Dominating) Colour */
  letter-spacing: 0px;
}

.logo-text span {
  color: var(--primary-dark);
}

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

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 5px;
}

nav a:before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  bottom: 0;
  left: 50%;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover:before,
nav a.active:before {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(26, 95, 122, 0.9), rgba(42, 157, 143, 0.85)), url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  margin-top: -85px;
  padding-top: 85px;
}

.hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  color: white;
  margin-bottom: 25px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 800;
}

.hero h1 span {
  color: var(--light-blue);
  display: block;
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 3px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.95;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid var(--accent);
  box-shadow: 0 10px 20px rgba(231, 111, 81, 0.3);
}

.cta-button:hover {
  background-color: transparent;
  color: black;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(231, 111, 81, 0.4);
}

.cta-button.secondary {
  background-color: transparent;
  border: 2px solid white;
  box-shadow: none;
}

.cta-button.secondary:hover {
  background-color: white;
  color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

/* Footer Styles */
footer {
  background-color: var(--dark);
  color: white;
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--accent), var(--secondary), var(--primary));
}

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

.footer-logo .logo-text {
  color: white;
  margin-bottom: 20px;
  display: block;
  font-size: 18px;
}

.footer-logo p {
  margin-top: 15px;
  opacity: 0.7;
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-column h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
  bottom: 0;
  left: 0;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-column a {
  color: #d1d1d1;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.footer-column a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: white;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background-color: var(--accent);
  transform: translateY(-5px);
  border-color: var(--accent);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #888;
  font-size: 0.9rem;
}

/* Mobile Responsive Footer */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1002;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    padding: 80px 30px;
    transition: 0.4s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 25px;
  }

  nav a {
    font-size: 1.2rem;
  }
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 8px;
  top: 100%;
  left: 0;
  overflow: hidden;
  border-top: 3px solid var(--accent);
}

.dropdown-content a {
  color: var(--dark);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  text-transform: none;
  text-align: left;
  border-bottom: 1px solid #f1f1f1;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
  color: var(--primary);
}

.dropdown-content a:before {
  display: none;
  /* Remove the underline effect from main nav links */
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  color: var(--primary);
}

/* Section Styles */
section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.section-title h2 {
  font-size: 3rem;
  display: inline-block;
  padding-bottom: 20px;
  color: var(--dark);
}

.section-title p {
  margin-top: 15px;
  color: var(--gray);
  font-size: 1.1rem;
}

/* Features / Why Section */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 20px;
}

.feature-card {
  background-color: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid transparent;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-bottom-color: var(--accent);
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(26, 95, 122, 0.1), rgba(42, 157, 143, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary);
  font-size: 36px;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  line-height: 1.7;
}

/* Stats Section */
.stats-section {
  background: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: white;
  padding: 80px 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item h3 {
  font-size: 3.5rem;
  color: var(--light-blue);
  margin-bottom: 10px;
  font-weight: 800;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  margin-bottom: 25px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
}

.about-img {
  border-radius: 20px;
  position: relative;
  box-shadow: 20px 20px 0 rgba(42, 157, 143, 0.15);
}

.about-img img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.02);
}

/* Pillars Section */
.pillars {
  background-color: #f0f4f8;
  position: relative;
}

/* Decorative Blob */
.pillars:before {
  content: '';
  position: absolute;
  top: -50px;
  right: 0;
  width: 300px;
  height: 300px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23A8DADC' d='M44.7,-76.4C58.9,-69.2,71.8,-59.1,81.6,-46.6C91.4,-34.1,98.1,-19.2,95.8,-4.9C93.5,9.3,82.1,22.9,71.1,34.8C60.1,46.7,49.5,56.9,37.4,63.9C25.3,70.9,11.7,74.7,-1.5,77.3C-14.7,79.9,-28.1,81.3,-40.4,76.5C-52.7,71.7,-63.9,60.7,-72.2,47.9C-80.5,35.1,-85.9,20.5,-85.4,6.2C-84.9,-8.1,-78.5,-22.1,-69.3,-34.2C-60,-46.3,-47.9,-56.5,-34.9,-64.1C-21.9,-71.7,-8,-76.7,5.5,-86.2L44.7,-76.4Z' transform='translate(100 100)' /%3E%3C/svg%3E") no-repeat center center;
  opacity: 0.15;
  z-index: 0;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.pillar-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.pillar-item:hover {
  background: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
  font-size: 2rem;
  color: var(--secondary);
  background: var(--light);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-item h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.pillar-item p {
  color: var(--gray);
  font-size: 1rem;
}

/* Card */
.workshop-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.95),
      rgba(245, 247, 250, 0.9));
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.45s ease;
  position: relative;
}

/* Hover effect */
.workshop-card:hover {
  transform: translateY(-12px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.18);
}

/* Image */
.workshop-img {
  height: 230px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.workshop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
}

.workshop-card:hover .workshop-img img {
  transform: scale(1.12);
  filter: brightness(0.9);
}

/* Badge */
.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Content */
.workshop-content {
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Title */
.workshop-content h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.35;
}

/* Description */
.workshop-content p {
  color: #555;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 28px;
  flex-grow: 1;
}

/* Button */
.workshop-btn {
  margin-top: auto;
  padding: 14px 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
  position: relative;
}

/* Button hover */
.workshop-btn::after {
  content: "→";
  transition: transform 0.3s ease;
}

.workshop-btn:hover {
  color: var(--secondary);
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.02),
      rgba(0, 0, 0, 0));
}

.workshop-btn:hover::after {
  transform: translateX(6px);
}


/* Volunteer Section */
.volunteer {
  background: linear-gradient(rgba(26, 95, 122, 0.8), rgba(26, 95, 122, 0.8)), url('volunteer_group.jpg');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  background-attachment: fixed;
}

.volunteer-content {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.volunteer-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--dark);
}

.quote {
  font-style: italic;
  padding: 30px;
  margin: 40px 0;
  border-left: 5px solid var(--accent);
  background-color: rgba(168, 218, 220, 0.15);
  border-radius: 0 10px 10px 0;
  text-align: left;
}

.quote p {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 0;
  font-family: 'Montserrat', serif;
}

.team-member {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
  text-align: left;
}

.team-avatar {
  width: 90px;
  height: 90px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: bold;
  overflow: hidden;
  flex-shrink: 0;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-info h4 {
  color: var(--primary);
  margin-bottom: 2px;
  font-size: 1.1rem;
}

.team-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--gray);
}

/* Workshop Grid - Improved Responsiveness */
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
}

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

/* Mobile Responsive Styles from index.html */
@media (max-width: 992px) {

  .features,
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 3rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .pillar-grid {
    gap: 20px;
  }

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

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1002;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .features,
  .pillar-grid,
  .footer-content,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .logo-text {
    font-size: 32px;
  }

  /* Footer Logo Fix for Mobile */
  .footer-logo-wrapper {
    margin-bottom: 20px;
  }
}

/* Footer Logo Wrapper */
.footer-logo-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* Christ University Logo in Footer */
.christ-logo {
  height: 122px;
  object-fit: contain;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .christ-logo {
    height: 122px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 26px;
  }

  .header-container {
    padding: 15px 20px;
  }
}