/* 
* Focus Mindfully - Global Stylesheet
* A clean, minimal design for a mindfulness coaching website
*/

/* ======= General Styles ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

:root {
    --primary-color: #9d9d9d;   /* blue text changed from #4A90E2 to our text_gray*/
    --dark-color: #333;         /* very dark gray font changed from #333 */
    --link-color: #ff6700;       /* orange link color */
    --link-dark-color: #d15602;  /* dark orange on hover link color */
    --light-sage-color: #90d151;
    --dark-sage-color: #3b7d23;  /* change from #99a98f to our green */
    --light-color: #fff;
    --gray-color: #f9f9f9;
    --medium-gray: #666;
    --light-blue: #f0f7ff;
    --border-color: #eee;
    --footer-link-color: #ccc;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--link-color);
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--link-dark-color);
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ======= Header Styles ======= */
header {
    background-color: var(--light-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: all var(--transition-speed) ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

nav ul li {
    margin-left: 30px;
    margin-bottom: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: bold;
    transition: color var(--transition-speed) ease;
}

nav ul li a:hover {
    color: rgba(157, 157, 157, 0.8);
}

.active-page {
    color: var(--dark-sage-color) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* ======= Hero Section/Slideshow ======= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    padding: 0 20px;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 900px;
    z-index: 2;
}

.hero p {
    font-size: 1.5rem;
    max-width: 700px;
    margin-bottom: 30px;
    z-index: 2;
}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.slide.active {
    opacity: 1;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: background-color 0.3s ease;
}

.slide-nav:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.slide-nav.prev {
    left: 20px;
}

.slide-nav.next {
    right: 20px;
}

/* ======= Page Content ======= */
.page-content {
    padding-top: 150px;
    padding-bottom: 80px;
}

.page-title {
    text-align: center;
    margin-bottom: 60px;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-title p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ======= Stats Section ======= */
.stats {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    max-width: 900px;
    margin: 0 auto;
}

/* .stat-item {
    padding: 20px;
} */

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #666666;
    margin-bottom: 1px;
}

.stat-text {
    font-size: 2.4rem;
    font-weight: 700;
    color: #666666;
}

/* ======= Challenges Section ======= */
.challenges {
    padding: 80px 0;
    text-align: center;
    background-color: var(--light-color);
}

.challenges h2 {
    font-size: 2.0rem;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.challenges-list {
    max-width: 800px;
    margin: 0 auto;
}

.challenge-item {
    font-size: 1.7rem;
    margin: 15px 0;
    padding: 15px;
    background-color: var(--dark-sage-color);
    border-radius: 5px;
}

.elevation-black {
    color: var(--primary-color);
}


/* Testimonials Slideshow Styles */

.testimonials {
    overflow: visible !important;
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.0rem;
    color: var(--dark-color);
}
  
.testimonials .container {
position: relative;
overflow: visible !important;
width: 100%;
max-width: 1200px;
padding: 0;
}
  
.testimonials-slideshow {
position: relative;
width: 100%;
height: 400px;
margin: 0 auto;
overflow: visible !important;
}

.testimonial-slide {
position: absolute;
width: 80%;
max-width: 800px;
left: 50% !important;
top: 50% !important;
transform: translate(-50%, -50%) scale(0.85) !important;
opacity: 0.4;
transition: all 0.5s ease;
display: none;
}

.testimonial-slide.active {
left: 50% !important;
transform: translate(-50%, -50%) scale(1) !important;
opacity: 1;
z-index: 3;
display: block;
}

.testimonial-slide.prev {
left: calc(50% - 400px) !important;
transform: translate(-100%, -50%) scale(0.85) !important;
z-index: 2;
display: block;
}

.testimonial-slide.next {
left: calc(50% + 400px) !important;
transform: translate(0%, -50%) scale(0.85) !important; 
z-index: 2;
display: block;
}

.testimonial-slide:not(.active) {
    width: 40%; /* Side slides take 40% of width */
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--light-sage-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.testimonial-nav:hover {
    background-color: var(--dark-sage-color);
}

.testimonial-nav.prev {
    left: 10px; /* Changed from -50px or another value */
}
  
.testimonial-nav.next {
    right: 10px; /* Changed from -50px or another value */
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}
  
.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dce3c7; /* light-sage-color */
    cursor: pointer;
    transition: background-color 0.3s ease;
}
  
.indicator-dot.active {
    background-color: #99a98f; /* dark-sage-color */
}

.quote {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
}
       

/* .quote {
    flex: 1 1 40%;
    max-width: 500px;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    text-align: left;
} */

.quote p {
    font-style: italic;
    margin-bottom: 15px;
}

.quote-author {
    font-weight: 700;
}

.quote-footer {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.quote-logo {
    margin-right: 15px;
    min-width: 60px;
    text-align: center;
}

.companies {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.companies h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--dark-color);
}

/* Company logos section - grid layout */
.company-slider {
    position: relative;
    overflow: hidden;
    padding: 0 40px; /* Space for navigation arrows */
}

.slider-track {
    display: flex; /* Change from grid to flex */
    flex-wrap: nowrap; /* Prevent wrapping to multiple rows */
    gap: 30px;
    /* padding: 40px 0; */
    transition: transform 0.5s ease;
}

.company-logo {
    flex: 0 0 16.666%;
    min-width: 16.666%;
    max-width: 16.666%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 150px; /* Reduced from 500px to 300px */
}

.company-logo figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}

.company-logo img {
    width: 100%;
    max-width: 1000px; /* Increased from 500px to 1000px */
    height: 150px; /* Increased from 200px to 400px */
    object-fit: contain;
    margin-bottom: 5px; /* Reduced from 10px to 5px */
}

/* Navigation arrows */
.companies-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--light-sage-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.companies-nav:hover {
    background-color: var(--dark-sage-color);
}

.companies-nav.prev {
    left: 0;
}

.companies-nav.next {
    right: 0;
} 

/* You might also need to update this if your animation uses a fixed value */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-280px * 17)); /* Updated to match the number of logos and new width */}
}

/* Slow down animation */
.slider-track {
    display: flex;
    animation: scroll 120s linear infinite; /* Changed from 60s to 120s to slow down */
}

/* ======= Benefits Section ======= */
.benefits {
    /* padding: 80px 0; */
    text-align: center;
}

.benefits h2 {
    font-size: 2.0rem;  /* JA: Changed from 2.5 */
    /* margin-bottom: 20px; */
    color: var(--light-color);
}

.benefits p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #FFFFFF
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    flex: 1 1 45%;
    max-width: 450px;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--dark-sage-color);
    text-align: left;
    transition: transform var(--transition-speed) ease;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--link-color);
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #FFFFFF
}

/* ======= Mindfulness Section ======= */
.mindfulness {
    padding: 80px 0;
    background-color: var(--gray-color);
    text-align: center;
}

.mindfulness h2 {
    font-size: 2.0rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.mindfulness p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #000000
}

/* ======= Services Section ======= */
.services {
    padding: 80px 0;
    text-align: center;
}

.services h2 {
    font-size: 2.0rem;
    margin-bottom: 40px;
}

.services p, .services li {
    color: #FFFFFF;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    flex: 1 1 45%;
    max-width: 450px;
    padding: 30px;
    background-color: var(--dark-sage-color);
    border-radius: 10px;
    text-align: left;
    transition: transform var(--transition-speed) ease;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--link-color);
    margin-bottom: 15px;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #FFFFFF;
}

/* ======= Call to Action ======= */
.cta {
    padding: 80px 0;
    background-color: var(--dark-sage-color);
    color: var(--light-color);
    text-align: center;
}

.cta h2 {
    font-size: 2.0rem;
    margin-bottom: 30px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--link-color);
    color: var(--light-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    transition: all var(--transition-speed) ease;
}

.btn:hover {
    background-color: var(--link-dark-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

/* ======= About Columns ======= */
.about-columns {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.about-column {
    flex: 1;
    padding: 30px;
    background-color: var(--gray-color);
    border-radius: 10px;
}

.about-column h2 {
    font-size: 2.0rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
}

.about-image {
    width: 450px; /* Changed from 150px (3x larger) */
    height: 450px; /* Changed from 150px (3x larger) */
    border-radius: 50%;
    margin: 0 auto 25px;
    display: block;
    background-color: #ddd;
    background-image: url('/api/placeholder/450/450'); /* Updated placeholder size */
    background-size: cover;
    background-position: center;
}

.about-column p {
    margin-bottom: 15px;
}

.about-column strong {
    color: var(--primary-color);
}

/* ======= Research Section Styles ======= */
.research-section {
    margin-bottom: 60px;
}

.research-section h2 {
    font-size: 2.0rem;
    margin-bottom: 25px;
    color: var(--dark-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    text-align: center;
}

.research-section h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--dark-color);
}

.research-section a {
    color: var(--link-color);
    text-decoration: underline;
    transition: color var(--transition-speed) ease;
}

.research-section a:hover {
    color: var(--link-dark-color);
}

.research-section:first-of-type .research-benefit-item {
    text-align: center;
}

.research-section:first-of-type .research-benefit-item ul {
    display: inline-block;
    text-align: left; /* Keep the list text left-aligned for readability */
}

.research-section:first-of-type h4 {
    text-align: center;
    color: var(--dark-color);
}

.research-section:first-of-type .roi-summary {
    text-align: center;
}

.research-section:first-of-type .roi-summary ul {
    display: inline-block;
    text-align: left; /* Keep list items left-aligned */
}

.research-section .research-benefit-item {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.research-benefits-intro {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.research-benefits-list {
    margin: 40px 0;
}

.research-benefit-item {
    background-color: #dce3c7;
    padding: 40px;
    margin: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.research-benefit-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    text-align: left;
}

.studies-list {
    margin: 40px 0;
}

.study-item {
    background-color: #dce3c7;
    padding: 40px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.study-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* ======= Contact Form ======= */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--light-sage-color);
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

textarea.form-control {
    min-height: 150px;
}

.contact-info {
    margin-top: 50px;
    text-align: center;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ======= Footer ======= */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-col {
    flex: 1 1 30%;
    margin-bottom: 30px;
}

.footer-col:first-child {
    max-width: 300px; /* Adjust this value as needed to match your title width */
}

.footer-col:first-child p {
    max-width: 75%; /* Ensures text stays within the column width */
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

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

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

.footer-col ul li a {
    text-decoration: none;
    color: var(--light-sage-color);
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: bold;
    transition: color var(--transition-speed) ease;
}

.footer-col ul li a:hover {
    color: var(--light-color);
}

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

.social-links a {
    color: var(--light-color);
    font-size: 1.5rem;
    transition: color var(--transition-speed) ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #555;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

/* Seminar Photos Slideshow Styles */
/* Replace the entire .seminar-slideshow and .seminar-slide CSS rules in styles.css */

.seminar-photos h2 {
    font-size: 2.0rem;
    text-align: center;
    padding: 80px 0;
    color: var(--dark-color);
}

.seminar-slideshow {
    position: relative;
    height: 500px; /* Increased height to accommodate larger text */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 100px;
}
   
.seminar-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 80%;
    max-width: 500px;  /* JA: Changed from 800  */
    opacity: 0.4;
    transition: all 0.5s ease;
    z-index: 1;
    display: none;
    text-align: center;
}
   
.seminar-slide.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
    display: block;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
   
.seminar-slide.prev {
    transform: translate(-150%, -50%) scale(0.85);
    z-index: 2;
    display: block;
}
   
.seminar-slide.next {
    transform: translate(50%, -50%) scale(0.85);
    z-index: 2;
    display: block;
}

.seminar-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(153, 169, 143, 0.9); /* Increased opacity */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 28px; /* Larger icon */
    cursor: pointer;
    z-index: 100; /* Increased z-index to ensure it's above other elements */
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Added shadow for better visibility */
}

.seminar-nav:hover {
    background-color: var(--dark-sage-color);
}

.seminar-nav.prev {
    left: 20px;
}
  
.seminar-nav.next {
    right: 20px;
}

/* ======= Responsive Design ======= */
@media (max-width: 1024px) {
    .container {
        width: 95%;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--light-color);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: left 0.3s ease;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 0 0 20px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .testimonial-quotes {
        flex-direction: column;
        align-items: center;
    }
    
    .quote {
        max-width: 100%;
    }
    
    .benefit-item, 
    .research-benefit-item,
    .service-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .about-columns {
        flex-direction: column;
    }
    
    .footer-col {
        flex: 1 1 100%;
    }
    
    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .mindfulness-grid .grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2.0rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .challenge-item {
        font-size: 1.1rem;
    }
    
    .benefit-item h3,
    .research-benefit-item,
    .service-item h3 {
        font-size: 1.3rem;
    }
    
    .cta h2 {
        font-size: 2.0rem;
    }
    
    .slide-nav {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .about-image {
        width: 300px;
        height: 300px;
    }
}

