/*
Theme Name: The Vegan Community
Theme URI: https://thevegancommunity.org/
Author: Antigravity AI
Author URI: https://example.com/
Description: A custom WordPress theme converted from a Vite React application.
Version: 1.0.0
Text Domain: vegan-community
*/

/* 
  Global variables and resetting logic will be imported here or handled via the compiled Tailwind CSS bundle.
*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
h1,h2,h3{
    font-family: "Cormorant Garamond", serif !important;
}
.contact-hero{
padding:120px 20px;
background:#f6f6f2;
}

.contact-container{
max-width:1300px;
margin:auto;
display:flex;
gap:80px;
align-items:center;
}

.contact-left{
flex:1;
}

.contact-label{
font-size:12px;
letter-spacing:3px;
color:#4a6b3f;
margin-bottom:20px;
}

.contact-title{
font-size:70px;
font-weight:700;
margin-bottom:20px;
}

.contact-title span{
color:#2f5e2b;
font-style:italic;
}

.contact-desc{
color:#666;
font-size:18px;
line-height:1.6;
max-width:500px;
}

.contact-info{
margin-top:40px;
}

.info-box{
display:flex;
gap:20px;
margin-bottom:25px;
align-items:center;
}

.icon{
font-size:22px;
background:#eef2ea;
width:60px;
height:60px;
display:flex;
align-items:center;
justify-content:center;
border-radius:15px;
}

.info-label{
font-size:11px;
letter-spacing:2px;
color:#4a6b3f;
}

.contact-right{
flex:1;
}

.contact-right img{
width:100%;
border-radius:30px;
margin-bottom:40px;
}

.contact-form{
background:white;
padding:40px;
border-radius:30px;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.form-row{
display:flex;
gap:20px;
margin-bottom:20px;
}

.contact-form input,
.contact-form textarea{
width:100%;
padding:16px;
border-radius:20px;
border:1px solid #eee;
margin-bottom:20px;
font-size:16px;
}

.contact-form textarea{
height:120px;
resize:none;
}

.contact-form button{
background:#2f5e2b;
color:white;
padding:16px;
border:none;
border-radius:30px;
width:100%;
font-size:18px;
cursor:pointer;
}

.contact-form button:hover{
background:#244c22;
}

//event page css

.events-hero{
padding:120px 20px;
background:#f6f6f2;
}

.events-container{
max-width:1300px;
margin:auto;
display:flex;
gap:60px;
align-items:center;
flex-wrap:wrap;
}

.events-left{
flex:1;
}

.events-label{
font-size:12px;
letter-spacing:3px;
color:#4a6b3f;
margin-bottom:20px;
}

.events-title{
font-size:80px;
font-weight:700;
margin-bottom:20px;
line-height:1.1;
}

.events-title span{
color:#2f5e2b;
font-style:italic;
}

.events-desc{
color:#666;
font-size:18px;
max-width:500px;
}

.events-image{
flex:1;
}

.events-image img{
width:100%;
border-radius:30px;
box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* EVENT LIST */

.events-list{
padding:100px 20px;
background:#f6f6f2;
}

.event-card{
background:white;
padding:20px;
border-radius:30px;
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:40px;
border:1px solid #eee;
}

.event-content{
max-width:600px;
}

.event-tag{
background:#eef2ea;
color:#2f5e2b;
padding:6px 12px;
border-radius:20px;
font-size:12px;
font-weight:600;
display:inline-block;
margin-bottom:10px;
}

.event-card h3{
font-size:32px;
margin-bottom:10px;
}

.event-card p{
color:#666;
margin-bottom:15px;
}

.event-meta{
font-size:14px;
color:#888;
display:flex;
gap:20px;
}

.event-btn{
background:#2f5e2b;
color:white;
padding:14px 28px;
border-radius:30px;
text-decoration:none;
font-weight:600;
}

.event-btn.light{
background:#8fa88b;
}

/* CTA */

.events-cta{
background:#0f1112;
color:white;
text-align:center;
padding:120px 20px;
}

.events-cta p{
max-width:700px;
margin:auto;
margin-bottom:30px;
color:#ccc;
}

.host-btn{
background:#2f5e2b;
color:white;
padding:16px 36px;
border-radius:40px;
text-decoration:none;
font-weight:600;
}


/* //past event css */

.container{
max-width:1300px;
margin:auto;
padding:0 20px;
}

/* HERO */

.past-events-hero{
padding:120px 0;
background:#f6f6f2;
}

.past-events-hero .container{
display:flex;
gap:60px;
align-items:center;
}

.title{
font-size:80px;
line-height:1.1;
}

.title span{
color:#2f5e2b;
font-style:italic;
}

.desc{
color:#666;
margin-top:20px;
max-width:450px;
}

.hero-image img{
width:100%;
border-radius:30px;
}

/* GRID */

.past-events-grid{
padding:80px 0;
background:#f6f6f2;
}

.grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
}

.event-card{
background:white;
border-radius:30px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.event-card img{
width:100%;
height:200px;
object-fit:cover;
}

.card-content{
padding:25px;
}

.date{
font-size:12px;
color:#2f5e2b;
font-weight:bold;
}

.event-card h3{
margin:10px 0;
font-size:20px;
}

.card-footer{
display:flex;
justify-content:space-between;
font-size:14px;
color:#777;
}

/* CTA */

.past-events-cta{
background:#111;
color:white;
text-align:center;
padding:120px 20px;
}

.cta-btn{
display:inline-block;
margin-top:20px;
background:#2f5e2b;
color:white;
padding:16px 36px;
border-radius:40px;
text-decoration:none;
}


//resources

.resources-hero{
padding:120px 0;
background:#f6f6f2;
}

.container{
max-width:1300px;
margin:auto;
padding:0 20px;
}

.resources-hero .container{
display:flex;
gap:60px;
align-items:center;
}

.title{
font-size:80px;
line-height:1.1;
}

.title span{
color:#2f5e2b;
font-style:italic;
}



.hero-image img{
width:100%;
border-radius:30px;
box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* RESOURCES GRID */

.resources-section{
padding:100px 0;
background:#f6f6f2;
}

.section-title{
font-size:40px;
margin-bottom:40px;
}

.resources-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
}

.resource-card{
background:white;
padding:40px;
border-radius:30px;
border:1px solid #eee;
}
.resource-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.resource-card h3 {
    margin: 10px 0;
    font-size: 22px;
    flex-grow: 1;
}
.resource-card p{
color:#777;
margin-bottom:20px;
}

.resource-card a{
font-weight:600;
text-decoration:none;
}

.tag{
font-size:11px;
letter-spacing:2px;
color:#2f5e2b;
}

/* SUBSCRIBE */

.resources-subscribe{
background:#111;
color:white;
padding:120px 20px;
text-align:center;
}

.subscribe-form{
margin-top:30px;
display:flex;
justify-content:center;
gap:10px;
}

.subscribe-form input{
padding:14px 20px;
border-radius:30px;
border:none;
width:260px;
}

.subscribe-form button{
background:#2f5e2b;
border:none;
color:white;
padding:14px 30px;
border-radius:30px;
cursor:pointer;
}


/* =============================================
   Past Events Page - past-events.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Container ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.past-events-hero {
  background-color: #f4f4ef;
  padding: 80px 0 90px;
}

.past-events-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* Left side */
.past-events-hero .hero-left {
  flex: 1;
  max-width: 480px;
}

.past-events-hero .label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
  margin: 0 0 18px 0;
}

.past-events-hero .title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 6vw, 72px);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.05;
  margin: 0 0 24px 0;
}

.past-events-hero .title span {
  color: #2d5a27;
  font-style: italic;
  font-weight: 700;
}

.past-events-hero .desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #555;
  line-height: 1.65;
  margin: 0;
  max-width: 340px;
}

/* Right side – image */
.past-events-hero .hero-image {
    width: 50%;
}

.past-events-hero .hero-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

/* =============================================
   EVENTS GRID SECTION
   ============================================= */
.past-events-grid {
  background-color: #fff;
  padding: 80px 0 90px;
}

.past-events-grid .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

/* ── Event Card ── */
.event-card {
  display: flex;
  flex-direction: column;
}

.event-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.event-card:hover img {
  filter: grayscale(0%);
}

/* Duration badge – mimics the time overlay in the screenshot */
.event-card {
  position: relative;
}

/* Card content area */
.card-content {
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-content .date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Calendar icon before date */
.card-content .date::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 14px 0;
  line-height: 1.3;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid #eee;
}

.card-footer span {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: #aaa;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.card-footer a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.card-footer a:hover {
  color: #2d5a27;
}

/* =============================================
   CTA SECTION
   ============================================= */
.past-events-cta {
  background-color: #1a1a1a;
  padding: 100px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.past-events-cta p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #ccc;
  line-height: 1.7;
  max-width: 500px;
  margin: 0;
}

.past-events-cta .cta-btn {
  display: inline-block;
  background-color: #2d5a27;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 15px 36px;
  border-radius: 50px;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.past-events-cta .cta-btn:hover {
  background-color: #3a7233;
  transform: translateY(-1px);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .past-events-hero .container {
    flex-direction: column;
    gap: 40px;
  }

  .past-events-hero .hero-image {
    width: 100%;
  }

  .past-events-hero .hero-image img {
    height: 220px;
  }

  .past-events-grid .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 2px;
  }
}

@media (max-width: 580px) {
  .container {
    padding: 0 20px;
  }

  .past-events-grid .grid {
    grid-template-columns: 1fr;
  }

  .past-events-hero {
    padding: 50px 0 60px;
  }

  .past-events-cta {
    padding: 70px 24px;
  }
}

//course page 

.courses-section{
padding:100px 0;
background:#f6f6f2;
}

.container{
max-width:1300px;
margin:auto;
padding:0 20px;
}

.courses-title{
font-size:80px;
font-weight:700;
margin-bottom:0px;
}
section.courses-section {
    padding-top: 120px;
}
section.courses-section p.courses-subtext {
    margin-bottom: 20px;
}
/* GRID */

.courses-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:40px;
}

/* CARD */

.course-card{
background:#f9f9f9;
border-radius:30px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.course-card img{
width:100%;
height:260px;
object-fit:cover;
}

/* CONTENT */

.course-content{
padding:25px;
}

.badge{
font-size:12px;
color:#c28a4b;
display:block;
margin-bottom:10px;
}

.course-content h3{
font-size:26px;
margin-bottom:10px;
}

.course-content p{
color:#777;
margin-bottom:20px;
}

/* FOOTER */

.course-footer{
display:flex;
justify-content:space-between;
align-items:center;
}

.lessons{
font-size:14px;
color:#555;
}

.enroll-btn{
background:#2f5e2b;
color:white;
padding:10px 20px;
border-radius:20px;
text-decoration:none;
font-size:14px;
}

//SUCCES STORY PAGE 

/* HERO */

.stories-hero{
padding:100px 0 40px;
background:#f6f6f2;
text-align:center;
}

.stories-title{
font-size:70px;
font-weight:700;
}

.stories-subtitle{
color:#777;
margin-top:10px;
}

/* FILTER */

.stories-filter{
padding:20px 0;
background:#f6f6f2;
}

.filter-row{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:20px;
}

.filters button{
padding:10px 16px;
border-radius:20px;
border:none;
background:#eee;
cursor:pointer;
}

.filters .active{
background:#2f5e2b;
color:white;
}

.search-box input{
padding:10px 20px;
border-radius:30px;
border:1px solid #ddd;
}

/* GRID */

.stories-grid-section{
padding:60px 0;
background:#f6f6f2;
}

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

/* CARD */

.story-card{
background:white;
border-radius:25px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.img-box{
position:relative;
}

.img-box img{
width:100%;
height:220px;
object-fit:cover;
}

.tag{
position:absolute;
top:10px;
left:10px;
background:white;
padding:5px 10px;
font-size:10px;
border-radius:10px;
}

.story-content{
padding:20px;
}

.quote{
font-size:16px;
margin-bottom:20px;
}

/* AUTHOR */

.author{
display:flex;
align-items:center;
gap:10px;
}

.avatar{
width:30px;
height:30px;
background:#ddd;
border-radius:50%;
}

.arrow{
margin-left:auto;
background:#eee;
padding:5px 10px;
border-radius:50%;
}

/* CTA */

.stories-cta{
background:#111;
padding:100px 20px;
display:flex;
justify-content:center;
}

.cta-box{
background:#1a1a1a;
padding:60px;
border-radius:30px;
text-align:center;
color:white;
max-width:900px;
width:100%;
}

.cta-btn{
display:inline-block;
margin-top:20px;
background:#c28a4b;
padding:14px 30px;
border-radius:30px;
color:white;
text-decoration:none;
}
.filters button.active{
background:#2f5e2b !important;
color:#fff !important;
}

//menues

.menu-link {
  font-size: 14px;
  font-weight: 600;
  color: rgba(28,28,28,0.8);
  transition: 0.3s;
  padding: 8px 0;
}

.menu-link:hover {
  color: #2d5a27;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  background: white;
  border-radius: 12px;
  padding: 10px 0;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
  z-index: 50;
}

/* Show dropdown */
.group:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown links */
.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #1c1c1c;
}

.dropdown a:hover {
  background: #f4ebd8;
  color: #2d5a27;
}
.menu-link::after {
  content: " ▾";
  font-size: 12px;
}

//contactforms

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.contact-form .form-row {
  display: flex;
  gap: 15px;
}

.contact-form input[type="submit"] {
  background: #2f5d2f;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 30px;
  cursor: pointer;
}

/* ====
ultimate member 
====*/
.page-template .um-field-area input.um-form-field {
    width: 100%;
    background-color: #faf9f7!important;
    border: 1px solid rgba(0, 0, 0, 0.05)!important;
    border-radius: 20px;
    padding: 1rem 1.5rem!important;
    outline: none;
    height: 60px!important;
}

.page-template .um-field-area input.um-form-field:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); /* focus:ring-primary/20 */
}

.page-template .um input[type=submit].um-button {
    background: #2d5a27;
    border-radius: 40px!important;
}
a.um-button.um-alt {
    border-radius: 40px!important;
}
div#um_field_86_first_name {
    width: 49%;
    float: left;
    clear: both;
}

div#um_field_86_last_name {
    width: 49%;
    float: right;
}
.um .um-field-label label {
    font-size: 10px!important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #2d5a27;
}
.page-template .account-main .um-field-area input.um-form-field {
    background: #fff!important;
}

/* CTA WRAPPER */

.courses-cta {
text-align: center;
margin-top: 60px;
}


/* MAIN BUTTON */

.view-all-courses-btn {
display: inline-flex;
align-items: center;
justify-content: center;

background: linear-gradient(135deg, #2f5d3f, #3d7a52);

color: #ffffff !important;

padding: 16px 34px;

border-radius: 12px;

font-size: 16px;
font-weight: 600;

text-decoration: none !important;

box-shadow: 0 10px 25px rgba(47,93,63,0.25);

transition: all 0.3s ease;

border: none;

cursor: pointer;
margin-bottom: 20px;
}


/* HOVER EFFECT */

.view-all-courses-btn:hover {

transform: translateY(-3px);

box-shadow: 0 14px 30px rgba(47,93,63,0.35);

background: linear-gradient(135deg, #244a32, #2f5d3f);

}


/* CLICK EFFECT */

.view-all-courses-btn:active {

transform: translateY(0px);

box-shadow: 0 6px 15px rgba(47,93,63,0.25);

}


/* OPTIONAL ICON ARROW */

.view-all-courses-btn span::after {

content: " →";

margin-left: 8px;

transition: 0.3s;

}

.view-all-courses-btn:hover span::after {

margin-left: 12px;

}



/* ───────────────────────── */
/* PARTNER IMAGE SLIDER */
/* ───────────────────────── */

.partner-slider {
  width: 100%;
  overflow: hidden;
  margin-top: 80px;
}

.partner-track {
  display: flex;
  width: max-content;
  animation: scrollPartners 35s linear infinite;
}

/* CARD */

.partner-card {
  width: 220px;
  margin-right: 40px;
  text-align: center;
  flex-shrink: 0;
}

/* IMAGE SAME SIZE */

.partner-card img {
  width: 220px;
  height: 260px;
  object-fit: cover;
  border-radius: 24px;
  transition: 0.4s ease;
}

/* NAME */

.partner-card h4 {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 600;
}

/* HOVER */

.partner-card:hover img {
  transform: scale(1.05);
}

/* ANIMATION */

@keyframes scrollPartners {

  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

}

/* PAUSE ON HOVER */

.partner-slider:hover .partner-track {
  animation-play-state: paused;
}

/* ───────────────────────── */
/* PARTNERS SECTION DESIGN */
/* ───────────────────────── */

.partners-section {
  padding: 0px 20px 60px;
  background: #f7f7f5;
}

/* CENTER + LIMIT WIDTH */

.partners-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* TAG */

.section-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}

/* HEADING */

.partners-inner h2 {
  font-size: 48px;
  font-family: serif;
  font-weight: 700;
  color: #111;
  margin-bottom: 40px;
  line-height: 1.2;
}

/* PARAGRAPHS */

.partners-inner p {
  font-size: 17px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 22px;
}

/* FIRST PARAGRAPH HIGHLIGHT */

.partners-inner p:first-of-type {
  font-size: 20px;
  font-weight: 500;
  color: #222;
}

/* LAST TWO LINES STRONG */

.partners-inner p:last-child {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin-top: 30px;
}

/* BETTER SPACING */

.partners-inner p:nth-last-child(2) {
  margin-top: 30px;
}

/* MOBILE */

@media (max-width: 768px) {

  .partners-inner h2 {
    font-size: 34px;
  }

  .partners-inner p {
    font-size: 14px;
  }

}

.resources-subscribe {
  background: #0d0d0d;
  padding: 100px 20px;
  text-align: center;
}

.resources-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Title */

.section-title {
  font-size: 48px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

/* Text */

.section-text {
  font-size: 18px;
  color: #d1d1d1;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Buttons Row */

.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Primary Button */

.primary-btn {
  background: #2e6b3a;
  color: #ffffff;
  padding: 16px 34px;
  font-size: 16px;
  border-radius: 40px;
  text-decoration: none;
  transition: 0.3s ease;
}

.primary-btn:hover {
  background: #24582f;
}

/* Secondary Button */

.secondary-btn {
  background: transparent;
  color: #ffffff;
  padding: 16px 34px;
  font-size: 16px;
  border-radius: 40px;
  border: 1px solid #ffffff;
  text-decoration: none;
  transition: 0.3s ease;
}

.secondary-btn:hover {
  background: #ffffff;
  color: #000000;
}





//for cards


.team-section {
  padding: 60px 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.partner-card {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 24px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
}

.partner-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.partner-card h4 {
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: #222;
}

.partner-card .designation {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

/* Responsive: 2 columns on tablet */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: 1 column on mobile */
@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}


/* ── TEAM GRID ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.partner-card {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 24px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
}

.partner-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
}

.partner-card h4 {
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: #222;
}

.partner-card .designation {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


.partners-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
    padding: 15px 0;
    display: flex;
    flex-direction: row;
        padding: 0px 0 60px;
    margin: 0;

}

.partners-ticker {
  display: flex;
  width: max-content;
  animation: partnerScroll 20s linear infinite;
      gap: 0;
}

.partners-ticker span {
    font-size: 18px;
    margin: 0 15px;
    white-space: nowrap;
    color: #333;
    font-weight: 500;
    padding: 30px 15px 15px 15px;
    border-radius: 30px;
    min-width: 230px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    background: #fff;
}
.partners-ticker span img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 20%;
    object-position: top;
}

/* smooth infinite scroll */
@keyframes partnerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

//faq

.faq-section {
    max-width: 900px;
    margin: auto;
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    background: #fff;
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    background: #f7f7f7;
    border: none;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 22px;
    font-weight: bold;
}

.faq-answer {
    display: none;
    padding: 18px 20px;
    font-size: 16px;
    color: #555;
}

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

.faq-item.active .faq-icon {
    content: "−";
}


//icon


.card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

//what we are building

/* Layout */

.building-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Left Image */

.building-image {
    flex: 1;
}

.building-image img {
    width: 100%;
    height: auto; /* prevents cropping */
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

/* Right Content */

.building-content {
    flex: 1.2;
}

/* Text Styling */

.building-text {
    font-size: 18px;
    margin-bottom: 30px;
}

.building-divider {
    margin: 25px 0;
}

.building-heading {
    margin-top: 20px;
    font-size: 28px;
    color: #1a2a2a;
}

/* Footer Text */

.building-footer-text {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 500;
}

/* Mobile Responsive */

@media (max-width: 992px) {

    .building-wrapper {
        flex-direction: column;
        text-align: center;
    }

}


//ready to apply

/* APPLY SECTION */

.apply-section {
    background: #f4f9f6;
    padding: 60px 0;
    border-radius: 16px;
}

.apply-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* LEFT CONTENT */

.apply-content {
    flex: 1.2;
}

.apply-text {
    font-size: 18px;
    max-width: 650px;
    margin-bottom: 25px;
}

.apply-highlight {
    font-size: 18px;
    color: #2bb673;
    font-weight: 600;
    margin-bottom: 30px;
}

/* RIGHT IMAGE */

.apply-image {
    flex: 1;
}

.apply-image img {
    width: 100%;
    height: auto; /* prevents cropping */
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}


/* CLOSING MESSAGE */

.closing-box {
    margin-top: 50px;
    padding: 40px;
    background: #000000;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}
.closing-section .closing-box {
    background: #2d5a27;
}
.closing-text {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.closing-author {
    font-size: 18px;
    color: #f1f0f0;
}

/* MOBILE RESPONSIVE */

@media (max-width: 992px) {

    .apply-wrapper {
        flex-direction: column;
        text-align: center;
    }

}

@media(max-width: 575px){
.partners-ticker span {
    font-size: 16px;
    margin: 0 5px;
    padding: 10px;
    border-radius: 30px;
    min-width: 200px;
}
.partners-ticker span img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 20%;
    object-position: top;
}
}


//home upcoming

/* Event Cards Styling */

.upcoming-events-wrapper .ecs-event {
    padding: 24px;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s;
}

.upcoming-events-wrapper .ecs-event:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.upcoming-events-wrapper .ecs-event-title a {
    font-family: serif;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
}

.upcoming-events-wrapper .ecs-event-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: bold;
}

.upcoming-events-wrapper img {
    border-radius: 16px;
    margin-bottom: 10px;
}


/* Hide Subscribe button on Past Events page only */

.post-type-archive-tribe_events.tribe-events-past 
.tribe-events-c-subscribe-dropdown {
    display: none !important;
}

