@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap");

/* Cadbury-Inspired Color Scheme */
:root {
  /* Primary Cadbury Colors */
  --cadbury-purple: #4B0082;
  --cadbury-purple-dark: #3A0066;
  --cadbury-purple-light: #6B22AB;
  --cadbury-gold: #FFD700;
  --cadbury-gold-dark: #DAA520;
  --cadbury-gold-light: #FFF8DC;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-grey: #F5F5F5;
  --medium-grey: #CCCCCC;
  --dark-grey: #333333;
  --black: #000000;
  
  /* Gradients */
  --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
  --purple-gradient: linear-gradient(135deg, #4B0082 0%, #6B22AB 50%, #4B0082 100%);
  --metallic-gold: linear-gradient(135deg, #FFD700 0%, #FFED4E 25%, #FFA500 50%, #FFD700 75%, #FFF8DC 100%);
  
  /* Shadows */
  --soft-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --medium-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  --strong-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  --gold-glow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Add these new styles to your existing CSS */

/* Welcome Section with Soft Background */
.welcome-section {
    background: 
        linear-gradient(rgba(75, 0, 130, 0.85), 
        rgba(75, 0, 130, 0.85)),
        url('background_images/bck_3.jpg') center/cover no-repeat;
    padding: 6rem 2rem;
    position: relative;
    color: var(--white);
    text-align: center;
}

.welcome-overlay {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.welcome-section .section-title {
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.welcome-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--cadbury-gold);
}

.welcome-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: transparent;
    z-index: 1001;
}

.progress-bar {
    height: 100%;
    background: var(--gold-gradient);
    width: 0%;
    transition: width 0.1s ease;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--dark-grey);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h3 {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Cadbury Gold Text Effect - Consistent Metallic Gold */
.gold-text,
.section-title.gold,
.column-item i,
.logo-title .connect {
  background: var(--metallic-gold);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  animation: goldShine 6s ease-in-out infinite;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

@keyframes goldShine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header {
  background: linear-gradient(135deg, #4B0082 0%, #6B22AB 50%, #4B0082 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  padding: 1.2rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--medium-shadow);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  gap: 17rem;
  justify-content: flex-start;
}

.nav-wrapper {
    margin-left: auto; /* Magic right-align */
}

nav#navbar {
    margin-left: 0; /* Reset any previous margins */
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.logo {
  width: 30px;
  height: auto;
  filter: brightness(1.2);
}

.logo-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  white-space: nowrap;
}

.logo-title .lumu {
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Navigation */
nav {
  margin-left: 0;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

nav ul li a:hover {
  background: var(--gold-gradient);
  color: var(--cadbury-purple);
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: 
        linear-gradient(rgba(75, 0, 130, 0.7), 
        rgba(75, 0, 130, 0.7)),
        url('background_images/bck_4.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    animation: none; /* Remove gradient animation since we're using an image */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="shield" patternUnits="userSpaceOnUse" width="20" height="20"><path d="M10 2 L18 10 L10 18 L2 10 Z" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23shield)"/></svg>');
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-content h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Cadbury-style Button */
.cadbury-btn {
  display: inline-block;
  background: var(--gold-gradient);
  color: var(--cadbury-purple);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--medium-shadow);
  position: relative;
  overflow: hidden;
}

.cadbury-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--strong-shadow), var(--gold-glow);
}

.cadbury-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
}

.cadbury-btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Content Sections */
.content-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--cadbury-purple);
}

/* Three Column Layout */
.three-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.column-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--soft-shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.column-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--strong-shadow);
  border-color: var(--cadbury-gold);
}

.column-item i {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.column-item h3 {
  color: var(--cadbury-purple);
  margin-bottom: 1rem;
}

/* Two Column Layout */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 4rem 0;
}

.two-columns img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--medium-shadow);
}

/* Jumbotron */
.jumbotron {
  background: linear-gradient(135deg, #4B0082 0%, #6B22AB 50%, #4B0082 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  color: var(--white);
  padding: 4rem 2rem;
  margin: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.jumbotron::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" patternUnits="userSpaceOnUse" width="10" height="10"><circle cx="5" cy="5" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.jumbotron-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.jumbotron .lead {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Social Icons */
.social-section {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--light-grey);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-icons a {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: var(--gold-gradient);
  color: var(--cadbury-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--soft-shadow);
}

.social-icons a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--strong-shadow), var(--gold-glow);
}

/* Footer */
footer {
  background: var(--cadbury-purple-dark);
  color: var(--white);
  text-align: center;
  padding: 2rem;
  margin-top: auto;
}

/* Resources Page Specific Styles */
.resources-hero-section {
    background: 
        linear-gradient(rgba(75, 0, 130, 0.7), 
        rgba(75, 0, 130, 0.7)),
        url('background_images/Bck.jpg') center/cover no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.resources-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="shield" patternUnits="userSpaceOnUse" width="20" height="20"><path d="M10 2 L18 10 L10 18 L2 10 Z" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23shield)"/></svg>');
    opacity: 0.1;
    z-index: 1;
}

.resources-hero-section .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.resources-hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.resources-hero-section h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0;
    opacity: 0.9;
}

.resources-content-section {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.resource-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-box {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--soft-shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.resource-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--strong-shadow);
    border-color: var(--cadbury-gold);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.resource-box h2 {
    color: var(--cadbury-purple);
    margin-bottom: 1rem;
}

.resource-box p {
    margin-bottom: 2rem;
    color: var(--dark-grey);
}

.additional-resources {
    padding: 5rem 2rem;
    background-color: var(--light-grey);
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--soft-shadow);
    transition: all 0.3s ease;
    border-left: 5px solid var(--cadbury-gold);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--medium-shadow);
}

.resource-card h3 {
    color: var(--cadbury-purple);
    margin-bottom: 1rem;
}

.resource-link {
    color: var(--cadbury-purple-dark);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.resource-link:hover {
    color: var(--cadbury-purple);
    transform: translateX(5px);
}

.resources-cta {
    background: var(--cadbury-purple);
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Adoption Facts Page Styles */
.facts-hero-section {
  background: 
    linear-gradient(rgba(75, 0, 130, 0.8), 
    rgba(75, 0, 130, 0.8)),
    url('background_images/bck_5.jpg') center/cover no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
  margin-top: 80px;
}

.facts-hero-section .hero-content {
  max-width: 800px;
  padding: 2rem;
}

.facts-main-content {
  padding: 5rem 2rem;
  background-color: var(--white);
}

.facts-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
}

.card-container {
  display: flex;
  justify-content: center;
  margin: 3rem auto;
  perspective: 1000px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.fact-source {
  margin-top: 1rem;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--dark-grey);
}

.navigation {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem auto;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 4rem auto;
  max-width: 1000px;
}

.fact-item {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--soft-shadow);
  transition: all 0.3s ease;
  border-bottom: 4px solid var(--cadbury-gold);
}

.fact-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--medium-shadow);
}

.fact-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.fact-item h3 {
  color: var(--cadbury-purple);
  margin-bottom: 1rem;
}

.facts-contact-section {
  padding: 5rem 2rem;
  background-color: var(--light-grey);
}

.contact-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.2rem;
}

.facts-contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--soft-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--cadbury-purple);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--medium-grey);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cadbury-purple);
  box-shadow: 0 0 0 3px rgba(75, 0, 130, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .facts-hero-section {
    min-height: 50vh;
    margin-top: 70px;
  }
  
  .flip-card {
    width: 300px;
    height: 220px;
  }
  
  .facts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .facts-hero-section {
    min-height: 40vh;
  }
  
  .facts-hero-section h1 {
    font-size: 2rem;
  }
  
  .facts-hero-section h3 {
    font-size: 1.2rem;
  }
  
  .flip-card {
    width: 280px;
    height: 200px;
  }
  
  .navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .facts-contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
    .resources-hero-section {
        min-height: 50vh;
        margin-top: 70px;
    }
    
    .resources-hero-section h1 {
        font-size: 2.5rem;
    }
    
    .resources-hero-section h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .resources-hero-section {
        min-height: 40vh;
    }
    
    .resources-hero-section h1 {
        font-size: 2rem;
    }
    
    .resources-hero-section .hero-content {
        padding: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .resource-boxes, .resource-cards {
        grid-template-columns: 1fr;
    }
    
    .resources-hero-section {
        min-height: 50vh;
        margin-top: 70px;
    }
    
    .resources-content-section, .additional-resources {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .resource-box, .resource-card {
        padding: 1.5rem;
    }
    
    .resources-hero-section h1 {
        font-size: 2.5rem;
    }
    
    .resources-hero-section h3 {
        font-size: 1.2rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header-container {
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  
  .logo-title {
    font-size: 1.2rem;
  }
  
  .logo {
    width: 30px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .two-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .three-columns {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }

  /* Mobile Navigation */
  nav {
    position: relative;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100vw;
    background: var(--cadbury-purple-dark);
    position: fixed;
    top: 80px;
    left: 0;
    transform: translateY(-20px) scale(0.95);
    padding: 1rem 0;
    box-shadow: var(--medium-shadow);
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 1001;
  }

  nav ul.active {
    display: flex;
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
  }

  nav ul li {
    width: 100%;
    text-align: center;
    margin: 0.2rem 0;
  }

  nav ul li a {
    display: block;
    padding: 1.2rem 2rem;
    margin: 0;
    border-radius: 0;
    transition: all 0.2s ease;
    text-align: center;
  }

  nav ul li a:hover {
    background: var(--gold-gradient);
    color: var(--cadbury-purple);
    transform: none;
  }

  .hamburger-menu {
    display: block;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .hero-section {
    margin-top: 70px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .cadbury-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  .social-icons {
    gap: 1rem;
  }
  
  .social-icons a {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}



@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}