/* 
* Main Stylesheet for Coaching Website
* RTL (Right-to-Left) for Hebrew
* Responsive design for all screen sizes
*/

/* ---------- Base Styles & Reset ---------- */
:root {
    --primary-color: #2d5a5a;           /* Teal from logo */
    --secondary-color: #8b9d3a;         /* Sage green from logo */
    --accent-color: #4a7a7a;            /* Light teal */
    --light-color: #f5f7f2;             /* Light sage background */
    --dark-color: #1a2e2e;              /* Dark teal */
    --text-color: #2d5a5a;              /* Teal text */
    --text-light: #ffffff;              /* White text for dark backgrounds */
    --white-color: #ffffff;
    --border-radius: 5px;
    --box-shadow: 0 3px 10px rgba(45, 90, 90, 0.3);
    --card-bg: rgba(45, 90, 90, 0.1);   /* Semi-transparent teal card background */
    --transition: all 0.25s ease;
    --gradient-bg: linear-gradient(135deg, rgba(45,90,90,0.95) 0%, rgba(139,157,58,0.95) 100%);
    --gradient-bg-light: linear-gradient(135deg, rgba(45,90,90,0.9) 0%, rgba(139,157,58,0.9) 100%);
    --card-shadow: 0 4px 20px rgba(45, 90, 90, 0.4);
}

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

body {
    font-family: 'Heebo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    direction: rtl;
    background-color: var(--light-color);
    overflow-x: hidden; /* Prevent horizontal scroll during animations */
}

html {
    scroll-behavior: smooth;
}

a {
    color: var(--white-color);
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 98%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 10px;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    position: relative;
    font-size: 2.2rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0.8rem auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    border: none;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, rgba(0,39,139,0.9) 0%, rgba(155,46,145,0.9) 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(0,39,139,1) 0%, rgba(155,46,145,1) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #333333;
    border: 2px solid rgba(0,39,139,0.7);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(0,39,139,0.1) 0%, rgba(155,46,145,0.1) 100%);
    border-color: rgba(155,46,145,0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    color: rgba(155,46,145,1);
}

/* ---------- Header & Navigation ---------- */
header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(45, 90, 90, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    min-height: 70px;
}

.logo {
    flex: 0.7;
    max-width: 300px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo h2 {
    color: var(--white-color);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.2px;
    line-height: 1.4;
    margin: 0;
    white-space: nowrap;
}

.logo h2 span {
    font-weight: 400;
}

nav {
    flex: 2.6;
    display: flex;
    justify-content: center;
}

.header-cta {
    flex: 0.7;
    display: flex;
    justify-content: flex-end;
}

.btn-cta {
    background-color: var(--white-color);
    color: var(--primary-color);
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(45, 90, 90, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    text-decoration: none;
}

.btn-cta:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 90, 90, 0.3);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-right: 40px;
}

nav ul li:nth-last-child(2) {
    margin-right: 60px; /* Extra space before צור קשר */
}

nav ul li a {
    color: var(--white-color);
    font-weight: 500;
    font-size: 1.0rem;
    padding: 10px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white-color);
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--secondary-color);
}

/* ---------- About Section ---------- */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #285e5a 0%, #7b9e58 100%);
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.about .section-title,
.about-text h3 {
    color: var(--white-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about .section-title::after {
    background: var(--white-color);
    opacity: 0.8;
}

.about-text p {
    color: var(--white-color);
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Override for white-section with about-text */
.white-section .about-text p {
    color: var(--text-color) !important;
    text-shadow: none !important;
}

/* Center text in all sections except the new "מי אני" section */
section:not(#who-am-i) .about-text,
section:not(#who-am-i) .coactive-text,
section:not(#who-am-i) .plan-intro,
section:not(#who-am-i) .testimonial-text,
section:not(#who-am-i) .calendly-description,
section:not(#who-am-i) .partnership-cta,
section:not(#who-am-i) .coactive-content,
section:not(#who-am-i) .plan-content {
    text-align: center;
}

/* ---------- Hero Style Sections (Gradient Background) ---------- */
.hero-style {
    padding: 5rem 0;
    background: linear-gradient(135deg, #285e5a 0%, #7b9e58 100%);
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.hero-style .section-title {
    color: var(--white-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-style .section-title::after {
    background: var(--white-color);
    opacity: 0.8;
}

.hero-style .about-text p,
.hero-style .coactive-text p,
.hero-style .calendly-description {
    color: var(--white-color);
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}


.hero-style .btn-bright,
.hero-style .coactive-cta .btn {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 2px solid var(--white-color);
}

.hero-style .btn-bright:hover,
.hero-style .coactive-cta .btn:hover {
    background-color: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
}

/* ---------- White Background Sections ---------- */
.white-section {
    padding: 5rem 0;
    background-color: var(--white-color);
    color: var(--text-color);
}

.white-section .section-title {
    color: var(--primary-color);
}

.white-section .section-title::after {
    background: var(--secondary-color);
}

.white-section .plan-intro p,
.white-section .testimonial-text p {
    color: var(--text-color);
    line-height: 1.8;
    text-shadow: none;
}

.white-section .plan-card {
    background-color: var(--light-color);
    border: 1px solid rgba(45, 90, 90, 0.1);
    box-shadow: 0 4px 15px rgba(45, 90, 90, 0.1);
}

.white-section .plan-card h3,
.white-section .plan-card ul li {
    color: var(--primary-color);
}

.white-section .plan-card h3 i {
    color: var(--secondary-color);
}

.white-section .testimonial-card {
    background-color: var(--light-color);
    border: 1px solid rgba(45, 90, 90, 0.1);
    box-shadow: 0 4px 15px rgba(45, 90, 90, 0.1);
}

.white-section .testimonial-author h4 {
    color: var(--primary-color);
}

.white-section .testimonial-author p {
    color: var(--text-color);
    opacity: 0.8;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Sergey portrait specific styling */
#sergey-image {
    max-height: 390px;
    width: auto;
    object-fit: cover;
}

/* Responsive behavior for mobile */
@media (max-width: 768px) {
    #sergey-image {
        max-height: 300px;
    }
}

@media (max-width: 576px) {
    #sergey-image {
        max-height: 250px;
    }
}

.about-text {
    flex: 2;
}

.about-text h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.about-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

/* First section needs margin-top to account for fixed header */
#about {
    margin-top: 0; /* No margin needed since we have a full-height hero section */
}

/* ---------- Plan Section ---------- */
.plan {
    padding: 5rem 0;
    background: var(--gradient-bg-light);
    color: var(--text-color);
}

.plan .section-title {
    color: var(--white-color);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    font-weight: 700;
}

.plan .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0.8rem auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.plan-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.plan-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.plan-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
}

.plan-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-card h3 i {
    font-size: 1.5rem;
    color: var(--white-color);
    opacity: 0.9;
}

.plan-card ul {
    padding-right: 20px;
    margin-bottom: 0;
    list-style-type: disc;
}

.plan-card ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--white-color);
}

@media (max-width: 768px) {
    .plan-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card {
        padding: 20px;
    }
}

/* Plan Disclaimer */
.plan-disclaimer {
    text-align: center;
    margin-top: 3rem;
    padding: 1rem;
    background: rgba(45, 90, 90, 0.05);
    border-radius: 8px;
}

.plan-disclaimer p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
    font-style: italic;
    line-height: 1.6;
}

/* ---------- Services Section ---------- */
.services {
    padding: 5rem 0;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--white-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #000000;
}

.service-card p {
    color: #333333;
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    padding: 5rem 0;
    background-color: var(--light-color);
    color: var(--text-color);
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin: 0 1rem;
    display: none;
}

.testimonial-card:first-child {
    display: block;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

.testimonial-text p {
    position: relative;
    z-index: 1;
    color: var(--text-color);
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    font-family: Georgia, serif;
    opacity: 0.3;
}

.testimonial-text::before {
    top: -20px;
    right: -15px;
}

.testimonial-text::after {
    bottom: -50px;
    left: -15px;
}

.testimonial-author h4 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    color: var(--text-color);
    opacity: 0.8;
}

.testimonial-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* ---------- Calendly Section ---------- */
.calendly {
    padding: 5rem 0;
    background: var(--gradient-bg-light);
    text-align: center;
}

.calendly-description {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Ensure white text for calendly-description in hero-style sections */
.hero-style .calendly-description {
    color: var(--white-color) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.calendly-placeholder {
    margin: 0 auto;
    max-width: 900px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.calendly-inline-widget {
    min-width: 320px;
    height: 900px;
    transition: height 0.5s ease;
    margin: 0;
    padding: 0;
}

/* Remove iframe border & scrollbar */
.calendly-inline-widget iframe {
    border: 0;
    width: 100%;
    height: 100%;
    overflow: hidden !important;
}

/* ---------- Contact Section ---------- */
.contact {
    padding: 5rem 0;
    background-color: var(--white-color);
    color: var(--text-color);
}

.contact .section-title,
.contact-method h3 {
    color: var(--primary-color);
}

.contact-content {
    display: flex;
    gap: 3rem;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-method h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.contact-method p,
.contact-method a {
    color: var(--text-color);
}

.contact-method a:hover {
    color: var(--secondary-color);
}

.contact-compact {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.contact-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-icons a:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.contact-icons i {
    font-size: 1.5rem;
}

.contact-form {
    flex: 2;
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    background-color: #fff;
    color: #333333;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333333;
    background-color: rgba(255, 255, 255, 0.2);
}

button[type="submit"] {
    width: 100%;
}

/* ---------- Footer ---------- */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3rem 0 1.5rem;
    box-shadow: 0 -2px 10px rgba(45, 90, 90, 0.3);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--white-color);
}

.footer-logo p {
    color: var(--white-color);
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    justify-content: center;
    margin: 0 0 1rem;
}

.footer-nav ul {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav ul li a {
    color: var(--white-color);
    font-size: 0.9rem;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-nav ul li a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white-color);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    opacity: 0.8;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        margin-bottom: 2rem;
    }

    .contact-content {
        flex-direction: column;
    }
    
    .header-cta .btn-cta {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .calendly-placeholder {
        max-width: 100%;
        border-radius: 0;
    }
    
    .calendly-inline-widget {
        height: 950px; /* Slightly taller on smaller screens */
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: nowrap;
        padding: 10px 15px;
        min-height: 60px;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex: 1;
        max-width: 240px;
        margin: 0;
        text-align: right;
        gap: 8px;
    }
    
    .logo img {
        height: 35px;
        max-width: 35px;
    }
    
    .logo h2 {
        font-size: 1.2rem;
        letter-spacing: 0.1px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    nav {
        flex: 0 0 auto;
        order: 3;
        margin: 0;
    }
    
    .header-cta {
        flex: 0 0 auto;
        order: 2;
        justify-content: center;
        margin: 0 10px;
    }
    
    .btn-cta {
        font-size: 0.75rem;
        padding: 6px 12px;
        white-space: nowrap;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        text-align: center;
        box-shadow: 0 5px 10px rgba(45, 90, 90, 0.3);
        z-index: 1000;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .service-card {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    header .container {
        padding: 8px 10px;
        min-height: 55px;
    }
    
    .logo {
        max-width: 180px;
        margin-left: 5px;
        gap: 6px;
    }
    
    .logo img {
        height: 30px;
        max-width: 30px;
    }
    
    .logo h2 {
        font-size: 1.1rem;
        letter-spacing: 0.1px;
    }
    
    .btn-cta {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .btn {
        padding: 10px 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about, .services, .testimonials, .calendly, .contact, .plan, .coactive {
        padding: 3rem 0;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 1.5rem;
    }
}

/* Section title color adjustments for white backgrounds */
.services .section-title {
    color: var(--primary-color);
}

.services .section-title::after {
    background: var(--secondary-color);
}

/* Section title color adjustments for light backgrounds */
/* Contact section now uses hero-style (gradient background) */

/* Calendly section on white background needs dark text */
.calendly .section-title {
    color: var(--primary-color);
}

.calendly .section-title::after {
    background: var(--secondary-color);
}

.calendly-description {
    color: var(--text-color) !important;
    text-shadow: none !important;
}

/* ---------- Coactive Page Styles ---------- */
.coactive {
    padding: 5rem 0;
    background-color: var(--white-color);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.coactive .section-title,
.coactive-text h3,
.coactive-pillar h4 {
    color: var(--primary-color);
}

.coactive .section-title::after {
    background: var(--secondary-color);
}

.coactive-text p,
.coactive-pillar p {
    color: var(--text-color);
    text-shadow: none;
}

.coactive-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.coactive-image {
    flex: 1;
    order: 1; /* Image on left for RTL layout */
}

.coactive-image img {
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    height: auto;
    filter: brightness(1.05);
}

.coactive-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.coactive-text {
    flex: 2;
    order: 2; /* Text on right for RTL layout */
}

.coactive-text h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-shadow: none;
}

.coactive-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.coactive-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.coactive-pillar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: var(--light-color);
    border: 1px solid rgba(45, 90, 90, 0.1);
    box-shadow: 0 4px 15px rgba(45, 90, 90, 0.1);
    padding: 1.2rem;
    border-radius: 10px;
    transition: var(--transition);
}

.coactive-pillar:hover {
    background-color: rgba(45, 90, 90, 0.05);
    border-color: rgba(45, 90, 90, 0.2);
    box-shadow: 0 6px 20px rgba(45, 90, 90, 0.15);
    transform: translateY(-3px);
}

.pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid var(--primary-color);
}

.pillar-icon i {
    font-size: 1.3rem;
    color: var(--white-color);
}

.pillar-content {
    flex: 1;
}

.pillar-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-shadow: none;
    color: var(--primary-color);
}

.pillar-content p {
    margin-bottom: 0;
    font-size: 1rem;
}

.coactive-cta {
    margin-top: 2rem;
}

.coactive-cta .btn {
    padding: 12px 30px;
    font-weight: 600;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

.coactive-cta .btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Responsive styles for coactive page */
@media (max-width: 992px) {
    .coactive-content {
        flex-direction: column;
    }
    
    .coactive-image {
        order: 2; /* Image goes below on mobile */
        margin-top: 2rem;
    }
    
    .coactive-text {
        order: 1; /* Text goes on top on mobile */
    }
    
    .coactive-image img {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .coactive {
        padding: 4rem 0;
    }
    
    .coactive-text h3 {
        font-size: 1.6rem;
    }
    
    .coactive-pillars {
        gap: 1rem;
    }
    
    .coactive-pillar {
        padding: 1rem;
    }
    
    .pillar-icon {
        width: 40px;
        height: 40px;
    }
    
    .pillar-icon i {
        font-size: 1.1rem;
    }
    
    .pillar-content h4 {
        font-size: 1.2rem;
    }
    
    .coactive-image img {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .coactive-text h3 {
        font-size: 1.4rem;
    }
    
    .coactive-pillar {
        padding: 0.8rem;
    }
    
    .pillar-content h4 {
        font-size: 1.1rem;
    }
}

/* ---------- Scroll Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.appear {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.appear {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation delays for cards */
.card-anim:nth-child(1) {
    transition-delay: 0.1s;
}

.card-anim:nth-child(2) {
    transition-delay: 0.3s;
}

.card-anim:nth-child(3) {
    transition-delay: 0.5s;
}

/* ---------- Hero Section ---------- */
.hero {
    background: var(--white-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 1;
    background-image: url('data:image/svg+xml;utf8,<svg width="120" height="120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><circle fill="white" cx="60" cy="60" r="3" opacity="0.6"/><circle fill="white" cx="20" cy="20" r="2" opacity="0.4"/><circle fill="white" cx="100" cy="20" r="2" opacity="0.4"/><circle fill="white" cx="20" cy="100" r="2" opacity="0.4"/><circle fill="white" cx="100" cy="100" r="2" opacity="0.4"/><path fill="white" d="M60,40 L70,50 L60,60 L50,50 Z" opacity="0.3"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.hero-logo {
    margin-bottom: 2rem;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1s ease, transform 1s ease;
}

.hero-logo.appear {
    opacity: 1;
    transform: scale(1);
}

.hero-logo img {
    width: 200px;
    height: 200px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: none;
}

/* New Hero Design */
.hero-logo img {
    max-width: 100px;
    height: auto;
}

.hero-main-headline {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin: 2rem auto 2rem auto;
    line-height: 1.3;
    max-width: 800px;
}

.hero-cta-button {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-primary-cta {
    background-color: #285e5a;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.hero-primary-cta:hover {
    background-color: #1d4441;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 94, 90, 0.3);
}

.hero-story-card {
    background: #f1f5f4;
    border-radius: 8px;
    padding: 24px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.hero-story-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.story-content p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.story-note {
    font-size: 1rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-style: italic;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

.hero-btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.hero-btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.hero-btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-down svg {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero-logo img {
        width: 150px;
        height: 150px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ---------- Section Overlays ---------- */
.plan, .coactive, .calendly {
    position: relative;
    overflow: hidden;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 200px 200px;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.plan .container, .coactive .container, .calendly .container {
    position: relative;
    z-index: 2;
}

.plan .section-overlay {
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle fill="white" cx="50" cy="50" r="10"/><circle fill="white" cx="10" cy="10" r="5"/><circle fill="white" cx="90" cy="10" r="5"/><circle fill="white" cx="10" cy="90" r="5"/><circle fill="white" cx="90" cy="90" r="5"/></svg>');
}

.coactive .section-overlay {
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M10,10 L20,10 L20,20 L10,20 Z"/><path fill="white" d="M40,10 L50,10 L50,20 L40,20 Z"/><path fill="white" d="M70,10 L80,10 L80,20 L70,20 Z"/><path fill="white" d="M25,25 L35,25 L35,35 L25,35 Z"/><path fill="white" d="M55,25 L65,25 L65,35 L55,35 Z"/><path fill="white" d="M85,25 L95,25 L95,35 L85,35 Z"/></svg>');
}

.calendly .section-overlay {
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M25,25 C25,12.5 37.5,12.5 50,12.5 C62.5,12.5 75,12.5 75,25 C75,37.5 62.5,50 50,50 C37.5,50 25,37.5 25,25 Z" fill-opacity="0.5"/><path fill="white" d="M25,75 C25,62.5 37.5,62.5 50,62.5 C62.5,62.5 75,62.5 75,75 C75,87.5 62.5,100 50,100 C37.5,100 25,87.5 25,75 Z" fill-opacity="0.5"/></svg>');
}

/* ---------- Coactive Bright Section ---------- */
.coactive-bright {
    padding: 5rem 0;
    background-color: var(--light-color);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.coactive-bright .section-title {
    color: var(--primary-color);
    text-shadow: none;
}

.coactive-bright .section-title::after {
    background: var(--secondary-color);
}

.coactive-bright .coactive-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.coactive-bright .coactive-image {
    flex: 1;
    order: 1; /* Image on left for RTL layout */
}

.coactive-bright .coactive-image img {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    height: auto;
}

.coactive-bright .coactive-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.coactive-bright .coactive-text {
    flex: 2;
    order: 2; /* Text on right for RTL layout */
}

.coactive-bright .coactive-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-color);
}

.coactive-bright .coactive-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.coactive-bright .coactive-pillar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: var(--white-color);
    border: 1px solid rgba(45, 90, 90, 0.1);
    box-shadow: 0 4px 10px rgba(45, 90, 90, 0.05);
    padding: 1.2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.coactive-bright .coactive-pillar:hover {
    background-color: var(--white-color);
    border-color: var(--secondary-color);
    box-shadow: 0 6px 15px rgba(45, 90, 90, 0.1);
    transform: translateY(-3px);
}

.coactive-bright .pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
    border: none;
}

.coactive-bright .pillar-icon i {
    font-size: 1.3rem;
    color: var(--white-color);
}

.coactive-bright .pillar-content {
    flex: 1;
}

.coactive-bright .pillar-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.coactive-bright .pillar-content p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text-color);
}

.coactive-bright .coactive-cta {
    margin-top: 2rem;
}

.btn-bright {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-bright:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 90, 90, 0.15);
}

/* Responsive styles for bright coactive page */
@media (max-width: 992px) {
    .coactive-bright .coactive-content {
        flex-direction: column;
    }
    
    .coactive-bright .coactive-image {
        order: 2; /* Image goes below on mobile */
        margin-top: 2rem;
    }
    
    .coactive-bright .coactive-text {
        order: 1; /* Text goes on top on mobile */
    }
    
    .coactive-bright .coactive-image img {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .coactive-bright {
        padding: 4rem 0;
    }
    
    .coactive-bright .coactive-pillars {
        gap: 1rem;
    }
    
    .coactive-bright .coactive-pillar {
        padding: 1rem;
    }
    
    .coactive-bright .pillar-icon {
        width: 40px;
        height: 40px;
    }
    
    .coactive-bright .pillar-icon i {
        font-size: 1.1rem;
    }
    
    .coactive-bright .pillar-content h4 {
        font-size: 1.2rem;
    }
    
    .coactive-bright .coactive-image img {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .coactive-bright .pillar-content h4 {
        font-size: 1.1rem;
    }
    
    .coactive-bright .coactive-pillar {
        padding: 0.8rem;
    }
    
    /* Responsive styles for new hero design */
    .hero-main-headline {
        font-size: 1.8rem;
        margin: 1.5rem auto 1.5rem auto;
        padding: 0 1rem;
    }
    
    .hero-cta-button {
        margin-bottom: 2rem;
    }
    
    .hero-primary-cta {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .hero-story-card {
        max-width: 95%;
        margin: 0 auto;
        padding: 20px;
    }
    
    .hero-story-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .story-content p {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .story-note {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
} 