@import url("caregiver-support.css");

/* ========================================
   CAREGIVER SUPPORT PAGE STYLES
   ======================================== */

/* Hero Section */
.caregiver-hero {
    background: linear-gradient(rgb(244, 239, 255));
    background-size: cover;
    background-position: center;
    color: rgb(36, 36, 36);
    text-align: center;
    padding: 5px 20px;
    margin-bottom: 1rem;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #f4efff;
}

/* Floating shapes container */
.floating-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Individual shape base */
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    animation: float 4s ease-in-out infinite alternate;
}

/* Individual shapes positions and colors - caregiver theme */
.shape1 {
    width: 180px;
    height: 180px;
    background: #e8b4c8;
    top: 10%;
    left: 8%;
}

.shape2 {
    width: 220px;
    height: 220px;
    background: #b6d0e2;
    top: 20%;
    right: 5%;
    animation-delay: 2s;
}

.shape3 {
    width: 140px;
    height: 140px;
    background: #d5c6f0;
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

.shape4 {
    width: 160px;
    height: 160px;
    background: #f3c6d3;
    bottom: 10%;
    right: 20%;
    animation-delay: 1s;
}

.shape5 {
    width: 100px;
    height: 100px;
    background: #c6e2d6;
    top: 45%;
    left: 45%;
    animation-delay: 3s;
}

/* Floating animation for shapes */
@keyframes float {
    from {
        transform: translateY(0px) translateX(0px);
    }
    to {
        transform: translateY(25px) translateX(20px);
    }
}

/* Keep content above shapes */
.caregiver-hero .hero-content,
.main-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Ensure main-hero supports floating shapes */
.main-hero {
    position: relative;
    overflow: hidden;
}

/* ========================================
   Readability & Detail Page Overrides
   Applied to the detail pages created (individual/cbt/family/self-care)
   Improves contrast, spacing, and typography for better legibility
   ======================================== */

/* sensible global base for pages that import this stylesheet */
body {
    color: #2b2b2b;
    background: #fcfbff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* container used on the detail pages */
.detail-content {
    background: linear-gradient(135deg, #f4efff 0%, #e8f3f1 100%);
    color: #222;
    padding: 36px 28px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(40, 30, 50, 0.06);
    max-width: 900px;
    margin: 28px auto;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
}

.detail-content h2 {
    color: #46324a;
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.detail-content p,
.detail-content li {
    color: #333;
    font-size: 1rem;
}

.detail-content ul {
    margin-left: 1.1rem;
    padding-left: 0;
}

.detail-content a {
    color: #b46b7d;
    text-decoration: none;
}

.detail-content a:hover {
    text-decoration: underline;
}

/* Keep detail content above floating shapes */
.detail-content > *:not(.floating-shapes) {
    position: relative;
    z-index: 1;
}

/* ensure header/nav items remain readable on these pages */
.navbar,
.navbar a,
.logo {
    color: #2b2b2b;
}


.caregiver-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #4a3d5a;
}

.caregiver-hero .hero-subtext {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #6b5b7a;
    font-weight: 600;
}

.caregiver-hero .hero-paragraph {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    color: #555;
}

.hero-ctas {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 14px 32px;
    background: linear-gradient(135deg, #b46b7d, #e7a9b9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(180, 107, 125, 0.3);
}

.btn-secondary {
    padding: 14px 32px;
    background: transparent;
    color: #b46b7d;
    border: 2px solid #b46b7d;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: #f4efff;
    transform: translateY(-3px);
}

/* Keep content above shapes */
.caregiver-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* ========================================
   2️⃣ VALIDATION SECTION
   ======================================== */

.validation-section {
    background: linear-gradient(180deg, #fff4f8 0%, #f4efff 100%);
    padding: 60px 20px;
    text-align: center;
}

.validation-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #4a3d5a;
}

.validation-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* Center the last card when it wraps to next row */
.validation-card:last-child {
    grid-column: 3 / 3;
}

.validation-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    transition: 0.3s ease;
}

.validation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(248, 146, 171, 0.877);
}

.validation-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.validation-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.validation-footer {
    font-size: 1.1rem;
    color: #6b5b7a;
    font-weight: 600;
}

/* ========================================
   3️⃣ BURNOUT SECTION
   ======================================== */

.burnout-section {
    background: linear-gradient(180deg, #e8f3f1 0%, #fbf6fb 100%);
    padding: 60px 200px;
    text-align: start;
}

.burnout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.burnout-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #4a3d5a;
}

.burnout-text h3 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 12px;
    color: #b46b7d;
}

.burnout-text p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.burnout-text ul {
    list-style: none;
    padding: 0;
}

.burnout-text li {
    padding-left: 25px;
    margin-bottom: 10px;
    position: relative;
    color: #555;
}

.burnout-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #7fa894;
    font-weight: bold;
}

.burnout-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* ========================================
   4️⃣ SUPPORT SERVICES
   ======================================== */

.support-services {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.support-services h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #4a3d5a;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: 0.3s ease;
    border-top: 4px solid #f9c9e0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(248, 146, 171, 0.877);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #4a3d5a;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 8px 0;
    color: #666;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.service-card li:last-child {
    border-bottom: none;
}

/* link used for navigating to a dedicated detail page */
.service-card .learn-more-link {
    display: inline-block;
    margin-top: 10px;
    color: #b46b7d;
    font-weight: 600;
    text-decoration: none;
}

.service-card .learn-more-link:hover {
    text-decoration: underline;
}

/* Place last two service cards centered under column 2 and 3 on wide screens */
@media (min-width: 1000px) {
    .service-cards {
        grid-auto-flow: dense;
        grid-template-columns: repeat(4, 1fr);
    }
    .service-cards .service-card:nth-child(5) {
        grid-column: 2 / 3;
    }
    .service-cards .service-card:nth-child(6) {
        grid-column: 3 / 4;
    }
}

/* ========================================
   5️⃣ SPECIALIZED SUPPORT
   ======================================== */

.specialized-support {
    background: linear-gradient(180deg, #fff4f8 0%, #f4efff 100%);
    padding: 60px 20px;
    text-align: center;
}

.specialized-support h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #4a3d5a;
}

.section-intro {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.specialized-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.specialized-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(180, 107, 125, 0.08);
    transition: 0.3s ease;
}

.specialized-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(248, 146, 171, 0.877);
}

.specialized-card h3 {
    font-size: 1.15rem;
    color: #4a3d5a;
    margin-bottom: 12px;
}

/* ensure stacking context for specialized cards */
.specialized-card {
        position: relative;
}

/* On wide screens, make a 4-column layout and place the last two cards under columns 2 and 3 */
@media (min-width: 1000px) {
    .specialized-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-flow: dense;
    }
    .specialized-grid .specialized-card:nth-child(5) {
        grid-column: 2 / 3;
    }
    .specialized-grid .specialized-card:nth-child(6) {
        grid-column: 3 / 4;
    }
}

.specialized-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   6️⃣ REFLECTION SECTION
   ======================================== */

.reflection-section {
    background: linear-gradient(135deg, #f4efff 0%, #e8f3f1 100%);
    padding: 60px 20px;
    text-align: center;
}

.reflection-section h2 {
    font-size: 1.8rem;
    color: #4a3d5a;
    margin-bottom: 20px;
    font-weight: 600;
}

.reflection-text {
    font-size: 1.2rem;
    color: #6b5b7a;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.reflection-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #b46b7d, transparent);
    margin: 0 auto;
}

/* ========================================
   7️⃣ PROCESS SECTION
   ======================================== */

.process-section {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.process-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #4a3d5a;
}

.process-timeline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    padding: 30px 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #b46b7d, #e7a9b9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

.process-step h3 {
    font-size: 1.2rem;
    color: #4a3d5a;
    margin-bottom: 10px;
}

.process-step p {
    color: #666;
    font-size: 0.95rem;
}

.process-connector {
    width: 40px;
    height: 3px;
    background: #d4a5b3;
    margin: 0 10px;
}

@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        gap: 20px;
    }
    .process-connector {
        display: none;
    }
}

/* ========================================
   8️⃣ TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    background: linear-gradient(180deg, #fff4f8 0%, #f4efff 100%);
    padding: 60px 20px;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #4a3d5a;
}

/* Testimonials Section - Side by Side Layout */
.testimonial-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(180, 107, 125, 0.1);
    border-left: 4px solid #f9c9e0;
    transition: 0.3s ease;
    flex: 1 1 calc(45% - 30px); /* Adjust width and spacing */
    max-width: 500px;
}

.testimonial:hover {
    box-shadow: 0 8px 40px rgba(248, 146, 171, 0.877);
    transform: translateY(-5px);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.testimonial-author {
    color: #b46b7d;
    font-weight: 600;
    font-size: 1rem;
}

/* ========================================
   9️⃣ FAQ SECTION
   ======================================== */

.faq {
    background: linear-gradient(to bottom, #f6f0f4, #fdf2f8);
    padding: 50px 0;
    text-align: center;
    margin: 0;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
}

.faq h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #6d597a;
    margin-bottom: 20px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding: 0 20px;
}

.faq-item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.faq-question {
    background: #f9e7e7;
    color: #6d597a;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px;
    text-align: left;
    border: none;
    width: 100%;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #f4dada;
}

.faq-answer {
    padding: 20px;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
    background: #fafafa;
}

.faq-answer.active {
    display: block;
}

/* ========================================
   🔟 FINAL CTA SECTION
   ======================================== */

.final-cta-section {
    background: linear-gradient(135deg, #f4efff 0%, #e8f3f1 100%);
    padding: 60px 20px;
    text-align: center;
}

.final-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #4a3d5a;
}

.cta-subtext {
    font-size: 1.15rem;
    color: #6b5b7a;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-final-cta {
    padding: 16px 40px;
    background: linear-gradient(135deg, #b46b7d, #e7a9b9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-final-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(180, 107, 125, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .caregiver-hero {
        padding: 80px 20px;
        min-height: auto;
    }

    .caregiver-hero h1 {
        font-size: 2rem;
    }

    .caregiver-hero .hero-subtext {
        font-size: 1.2rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .burnout-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .service-cards, .specialized-grid {
        grid-template-columns: 1fr;
    }
}


/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2b2b2b;
  background: #fcfbff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  color: #4a3d5a;
  margin-bottom: 20px;
}

p {
  color: #555;
  margin-bottom: 15px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f4efff, #e8f3f1);
  text-align: center;
  padding: 60px 20px;
  color: #4a3d5a;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Programs Section */
.programs {
  background: #f7f2f7;
  padding: 60px 20px;
  text-align: center;
}

.programs h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.program-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(247, 214, 247, 0.938);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(250, 202, 250, 0.938);
}

.program-item h3 {
  font-size: 1.5rem;
  color: #4a3d5a;
  margin-bottom: 15px;
}

.program-item p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}

.program-item .btn-primary {
  margin-top: auto;
  align-self: center;
}

.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #b46b7d, #e7a9b9);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e7a9b9, #b46b7d);
}

/* Benefits Section */
.benefits {
  background: linear-gradient(135deg, #e8f3f1, #f4efff);
  padding: 60px 20px;
  text-align: center;
}

.benefits h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.benefits ul {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.25rem;
}

.benefits ul li {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(135deg, #fff4f8, #f4efff);
  padding: 60px 20px;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #4a3d5a;
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(180, 107, 125, 0.1);
  border-left: 4px solid #f9c9e0;
  transition: 0.3s ease;
  flex: 1 1 calc(45% - 30px); /* Adjust width and spacing */
  max-width: 500px;
}

.testimonial:hover {
  box-shadow: 0 8px 40px rgba(248, 146, 171, 0.877);
  transform: translateY(-5px);
}

.testimonial-text {
  font-style: italic;
  color: #555;
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.testimonial-author {
  color: #b46b7d;
  font-weight: 600;
  font-size: 1rem;
}

/* Program Details Section */
.program-details {
  background: linear-gradient(180deg, #f4efff, #e8f3f1);
  padding: 60px 20px;
  text-align: center;
  color: #4a3d5a;
}

.program-details h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #4a3d5a;
}

.program-details p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.program-details ul {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  padding: 0;
  list-style: none;
}

.program-details ul li {
  font-size: 1.1rem;
  color: #4a3d5a;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
}

.program-details ul li:before {
  content: '\2022';
  color: #b46b7d;
  font-size: 1.5rem;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Upcoming Events Section */
.upcoming-events {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #e8f3f1, #f4efff);
  padding: 60px 20px;
  text-align: center;
}

.upcoming-events h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.event-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(223, 200, 246, 0.962);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(218, 185, 251, 0.962);
}

.event-item h3 {
  font-size: 1.5rem;
  color: #4a3d5a;
  margin-bottom: 15px;
}

.event-item p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

.event-item .btn-primary {
  align-self: center;
  margin-top: auto;
  padding: 10px 20px;
  background: linear-gradient(135deg, #b46b7d, #e7a9b9);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
}

.event-item .btn-primary:hover {
  background: linear-gradient(135deg, #e7a9b9, #b46b7d);
}

/* Resources Section */
.resources {
  background: linear-gradient(180deg, #f4efff, #e8f3f1);
  padding: 60px 20px;
  text-align: center;
}

.resources h1,
.resources h2 {
  font-size: 2rem;
  margin-bottom: 22px;
  color: #633c68;
}

.resources h1 {
  margin-top: 0;
}

.resources p {
  max-width: 760px;
  margin: 0 auto 30px;
  color: #633c68;
  line-height: 1.7;
}

.resources p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #633c68;
}

.resources ul {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.resources ul li {
  font-size: 1.25rem;
  color: #4a3d5a;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
}

.resources ul li a {
  color: #b46b7d;
  text-decoration: none;
}

.resources ul li a:hover {
  text-decoration: underline;
}

.registration-form {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(137, 99, 146, 0.12);
}

.registration-form label {
  display: block;
  color: #4a3d5a;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.registration-form input,
.registration-form textarea {
  width: 100%;
  border: 1px solid #ddd3e6;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1rem;
  color: #3c3442;
  background: #fff;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.registration-form input[readonly] {
  background: #f8f3fb;
  color: #5f4c6c;
}

.registration-form input:focus,
.registration-form textarea:focus {
  outline: none;
  border-color: #b46b7d;
  box-shadow: 0 0 0 4px rgba(180, 107, 125, 0.12);
}

.registration-form textarea {
  min-height: 140px;
  resize: vertical;
}

.registration-form .btn-primary {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  align-self: center;
}

@media (max-width: 700px) {
  .registration-form {
    padding: 24px;
  }

  .registration-form .btn-primary {
    width: 100%;
  }
}

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 16, 41, 0.6);
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1000;
}

.popup-card {
  background: white;
  padding: 30px 28px;
  border-radius: 22px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(44, 17, 84, 0.18);
}

.popup-card h2 {
  color: #522d5c;
  margin-bottom: 16px;
  font-size: 2rem;
}

.popup-card p {
  color: #5e4a70;
  line-height: 1.8;
  margin-bottom: 24px;
}

.popup-card .btn-primary {
  width: auto;
  padding: 12px 28px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 30px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(182, 124, 170, 0.16);
  text-align: left;
}

.resource-card h3 {
  margin-bottom: 12px;
  color: #633c68;
}

.resource-card p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #5d5563;
}

.resource-card a {
  margin-top: auto;
  align-self: center;
  display: inline-flex;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #b46b7d, #e7a9b9);
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.resource-card a:hover {
  background: linear-gradient(135deg, #e7a9b9, #b46b7d);
}

.note {
  font-size: 1rem !important;
  font-style: italic;
  margin-top: 10px;
}

/* Call-to-Action Section */
.call-to-action {
  background: linear-gradient(120deg, #f6e1ea, #fcd3ec);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.call-to-action h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.call-to-action p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.call-to-action .btn-primary {
  background: white;
  color: #b46b7d;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
}

.call-to-action .btn-primary:hover {
  background: #b46b7d;
  color: white;
}

/* Add styles for the "What Our Participants Say" section */
.what-our-participants-say {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background: linear-gradient(to bottom, #f4eef0, #faf5f7);
    padding: 50px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.what-our-participants-say h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #524364;
    margin-bottom: 30px;
}

.testimonials-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgb(238, 194, 242);
    padding: 20px;
    max-width: 400px;
    flex: 1;
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgb(241, 178, 247);
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: #5e35b1;
    margin-bottom: 15px;
}

.testimonial-card span {
    font-size: 1rem;
    font-weight: bold;
    color: #ad1457;
}

/* Updated Success Stories Section */
.success-stories {
    background: linear-gradient(to bottom, #f4efff, #f5d6e2);
    padding: 50px 0;
    text-align: center;
    margin: 20px 0px;
    width: 100%;
    box-shadow: 0px 4px 6px rgb(247, 212, 239);
    border-radius: 0;
}

.success-stories h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #483d4d;
    margin-bottom: 20px;
}

.success-stories p {
    font-size: 1.2rem;
    color: #69334e;
    margin-bottom: 30px;
}

.story-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}

.story-item {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 300px;
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgb(247, 185, 225);
}

.story-item h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ad1457;
    margin-bottom: 10px;
}

.story-item p {
    font-size: 1rem;
    color: #5e35b1;
    margin-bottom: 10px;
    line-height: 1.6;
}

.story-author {
    font-weight: 600;
    font-size: 0.95rem;
    color: #6b2d50;
}

/* ================= PREMIUM FOOTER ================= */

.premium-footer {
  background: linear-gradient(135deg, #1f2428, #2d3338);
  color: #ddd;
  padding: 70px 8% 30px;
  font-family: Arial, sans-serif;
}

.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  margin-bottom: 20px;
  font-size: 20px;
  color: #ffffff;
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-col a:hover {
  color: #f9c9e0;
  padding-left: 5px;
}

/* QR Box */
.qr-box img {
  width: 180px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.powered-text {
  font-size: 13px;
  color: #aaa;
}

/* App Button */
.app-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  background: #789ef0;
  color: white;
  font-size: 14px;
  transition: 0.3s;
}

.app-btn:hover {
  background: #588af7;
}

/* Social Buttons */
.social-buttons {
  margin-top: 20px;
}

.social-btn {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 20px;
  background: #789ef0;
  color: white !important;
  margin-right: 10px;
  font-size: 14px;
  transition: 0.3s;
}

.social-btn:hover {
  background: #588af7;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 14px;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
  }
}
