/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

p {
    margin-bottom: 1rem;
    font-size: 18px;
}

a {
    color: #0165BD;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

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

/* Header - Yoga/Ayurveda Style */
.header {
    background: linear-gradient(135deg, #f5f1e8 0%, #e8ddd4 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(139, 90, 43, 0.15);
    border-bottom: 2px solid rgba(139, 90, 43, 0.1);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5a2b 0%, #a67c52 50%, #8b5a2b 100%);
    opacity: 0.6;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(139, 90, 43, 0.2));
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1003;
    position: relative;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: #6b7d47;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Header Navigation - Desktop */
.header-nav {
    display: block;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    overflow: visible;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 15px;
    text-transform: capitalize;
    color: #4a4a3a;
    padding: 12px 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    position: relative;
    font-weight: 500;
}

.nav-link i {
    font-size: 16px;
    color: #6b7d47;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #6b7d47;
    background: rgba(107, 125, 71, 0.1);
    text-decoration: none;
}

.nav-link:hover i,
.nav-link.active i {
    color: #8b5a2b;
    transform: scale(1.1);
}

.submenu-arrow {
    font-size: 12px;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.has-submenu:hover .submenu-arrow,
.has-submenu > .nav-link.submenu-open .submenu-arrow {
    transform: rotate(180deg);
}

.has-submenu {
    position: relative;
}

/* Invisible bridge so hover isn't lost when moving from link to dropdown */
.has-submenu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 6px;
}

.submenu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: #f5f1e8;
    list-style: none;
    min-width: 240px;
    box-shadow: 0 8px 16px rgba(139, 90, 43, 0.2);
    display: none;
    padding: 8px 0;
    border-radius: 8px;
    border: 1px solid rgba(139, 90, 43, 0.15);
    z-index: 1000;
}

.has-submenu:hover .submenu,
.submenu.active {
    display: block;
}

.submenu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #4a4a3a;
    font-size: 14px;
    transition: all 0.3s ease;
}

.submenu-link i {
    font-size: 14px;
    color: #6b7d47;
    width: 18px;
}

.submenu-link:hover {
    background: rgba(107, 125, 71, 0.15);
    text-decoration: none;
    color: #6b7d47;
    padding-left: 25px;
}

.submenu-link:hover i {
    color: #8b5a2b;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #9b51e0 0%, #7bdcb5 100%);
    padding: 100px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 20px;
    color: #fff;
    opacity: 0.95;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: 50%;
    border: 4px solid #C5F1D8;
    margin: 0 auto;
}

/* Test Section */
.test-section {
    background: #fff;
    padding: 80px 0;
}

.test-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.test-image {
    height: 100%;
    min-height: 500px;
}

.test-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.test-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.test-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #333;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: #A4DA50;
    color: #fff;
}

.btn-primary:hover {
    background: #8fc440;
    text-decoration: none;
    color: #fff;
}

.btn-secondary {
    background: #A4DA50;
    color: #fff;
}

.btn-secondary:hover {
    background: #8fc440;
    text-decoration: none;
    color: #fff;
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

.btn-cta {
    background: #7bdcb5;
    color: #fff;
    padding: 20px 40px;
    font-size: 18px;
}

.btn-cta:hover {
    background: #6bc9a5;
    text-decoration: none;
    color: #fff;
}

.btn-icon {
    font-size: 20px;
}

/* Help Section */
.help-section {
    background: #C5F1D8;
    padding: 80px 0;
}

.help-section .section-title {
    color: #05381A;
}

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

.help-list {
    list-style: none;
}

.help-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.help-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.help-text-item {
    font-size: 18px;
    line-height: 1.6;
}

.help-img {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
    border: 4px solid #fff;
    margin: 0 auto;
}

/* Belief Section */
.belief-section {
    background: #7bdcb5;
    padding: 80px 0;
    color: #fff;
}

.belief-section .section-title {
    color: #fff;
}

.belief-content {
    text-align: center;
}

.belief-text {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.center {
    text-align: center;
}

/* Ready Section */
.ready-section {
    background: #7bdcb5;
    padding: 60px 0;
    text-align: center;
}

.ready-section .section-title {
    color: #fff;
    font-size: 32px;
}

/* Who Section */
.who-section {
    background: #fff;
    padding: 80px 0;
}

.divider {
    height: 2px;
    background: #ddd;
    margin: 30px 0;
}

.who-content p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}

/* Problems Section */
.problems-section {
    background: #fff;
    padding: 80px 0;
}

.problems-content p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}

/* Needs Section */
.needs-section {
    background: #fff;
    padding: 80px 0;
}

.needs-content p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}

/* Programs Section */
.programs-section {
    background: #fff;
    padding: 80px 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    /* всяка карта завършва след бутона си, вместо да се разтяга до
       височината на съседната (празното бяло поле под бутона) */
    align-items: start;
}

.program-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.program-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.program-content {
    background: #9b51e0;
    padding: 30px;
    text-align: center;
}

.program-title {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials-section {
    background: #fff;
    padding: 80px 0;
}

.testimonials-subtitle {
    font-size: 28px;
    margin-bottom: 40px;
    color: #666;
}

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

.testimonial-card {
    text-align: center;
    padding: 20px;
}

.testimonial-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
}

.testimonial-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.testimonials-cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: #9b51e0;
    padding: 80px 0;
    color: #fff;
}

.cta-section .section-title {
    color: #fff;
}

.cta-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #9b51e0;
    color: #fff;
    padding-top: 0;
    position: relative;
}

.footer-shape {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.shape-fill {
    fill: #9b51e0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-link:hover {
    text-decoration: underline;
    color: #fff;
}

.icon-link::before,
.icon-phone::before,
.icon-email::before,
.icon-facebook::before {
    content: "🔗";
    font-size: 18px;
}

.icon-phone::before {
    content: "📞";
}

.icon-email::before {
    content: "✉";
}

.icon-facebook::before {
    content: "📘";
}

.newsletter-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #fff;
}

.required {
    color: #ff6b6b;
}

.form-group input {
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 16px;
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.6);
}

.btn-submit {
    background: #7bdcb5;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
}

.btn-submit:hover {
    background: #6bc9a5;
}

.footer-copyright {
    background: #7a3fc8;
    padding: 20px;
    text-align: center;
}

.footer-copyright p {
    font-size: 14px;
    color: #fff;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container,
    .test-content,
    .help-content,
    .programs-grid,
    .testimonials-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hide desktop menu by default on mobile */
    .header-nav {
        display: block;
    }
    
    .header-nav {
        position: fixed !important;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(135deg, #f5f1e8 0%, #e8ddd4 100%);
        box-shadow: -4px 0 20px rgba(139, 90, 43, 0.3);
        transition: right 0.3s ease;
        z-index: 1002;
        padding: 80px 20px 20px;
        overflow-y: auto;
    }
    
    .header-nav.active {
        right: 0 !important;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(139, 90, 43, 0.1);
    }
    
    .nav-link {
        width: 100%;
        padding: 15px;
        justify-content: flex-start;
        border-radius: 0;
    }
    
    .nav-link span {
        display: inline-block;
        flex: 1;
    }
    
    .nav-link .submenu-arrow {
        margin-left: auto;
        margin-right: 0;
    }
    
    .has-submenu {
        position: static;
    }
    
    .submenu {
        position: static;
        display: none;
        width: 100%;
        min-width: auto;
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(139, 90, 43, 0.1);
        background: rgba(139, 90, 43, 0.05);
        border-radius: 0;
        margin-top: 0;
    }
    
    .submenu.active {
        display: block;
    }
    
    .submenu-link {
        padding-left: 40px;
        padding-right: 15px;
    }
    
    /* Prevent hover effects on mobile - only use click/tap */
    .has-submenu:hover .submenu {
        display: none !important;
    }
    
    .has-submenu .submenu {
        display: none !important;
    }
    
    .has-submenu .submenu.active {
        display: block !important;
    }
    
    /* Ensure nav links don't have hover background on mobile */
    .nav-link:hover {
        background: transparent;
    }
    
    .nav-link.submenu-open {
        background: rgba(107, 125, 71, 0.1);
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .header-nav {
        width: 85%;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 12px 15px;
    }
}

/* Ensure desktop menu is always visible on larger screens */
@media (min-width: 769px) {
    .header-nav {
        display: block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        right: auto !important;
        overflow: visible !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
}

