/* Global Styles */
:root {
    --primary-color: #6B4C8A;
    --primary-dark: #553A6E;
    --primary-light: #8B6CAA;
    --secondary-color: #E8DDF2;
    --accent-color: #F59E0B;
    --text-dark: #2D3748;
    --text-light: #718096;
    --white: #FFFFFF;
    --gray-light: #F7FAFC;
    --gray-medium: #E2E8F0;
    --success: #48BB78;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Typography */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-primary-large,
.btn-secondary-large,
.btn-white,
.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(107, 76, 138, 0.3);
}

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

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

.btn-primary-large {
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-secondary-large {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 16px 32px;
    font-size: 1.125rem;
}

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

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

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #F7F4FA 0%, #FFF 100%);
}

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

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--text-light);
    margin: 1.5rem 0;
    font-weight: 400;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border-radius: 100px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    position: relative;
}

.image-placeholder {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Why Section - UPDATED WITH PROPER TEXT CONTAINMENT */
.why-section {
    padding: 80px 0;
    background: var(--white);
}

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

.benefit-card {
    padding: 2rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    overflow: hidden; /* Prevent content overflow */
    word-wrap: break-word; /* Break long words */
    overflow-wrap: break-word; /* Modern property for word breaking */
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem; /* Slightly smaller for better fit */
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: manual; /* Allow manual hyphenation */
}

.benefit-card p {
    font-size: 1rem; /* Slightly smaller for better readability */
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--white), var(--gray-light));
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.features-intro {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.feature-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
}

.feature-check {
    color: var(--success);
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 1rem;
}

/* Events Section */
.events-section {
    padding: 80px 0;
    background: var(--white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.event-image {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.event-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.event-card p {
    padding: 0 1.5rem 1.5rem;
    font-size: 1rem;
}

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

/* Pricing Preview */
.pricing-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #6B4C8A 0%, #8B6CAA 100%);
    color: var(--white);
}

.pricing-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pricing-preview h2,
.pricing-preview .pricing-intro {
    color: var(--white);
}

.pricing-intro {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.pricing-highlights {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}

.price-highlight {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 1rem;
    opacity: 0.8;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.price-period {
    font-size: 1.125rem;
    opacity: 0.9;
}

.price-includes {
    list-style: none;
}

.price-includes li {
    padding: 0.5rem 0;
    font-size: 1.125rem;
}

.pricing-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.pricing-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background: var(--gray-light);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.stars {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #6B4C8A 0%, #553A6E 100%);
    color: var(--white);
}

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

.cta-wrapper h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-wrapper p {
    color: var(--white);
    opacity: 0.9;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3,
.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-column p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul a:hover {
    color: var(--white);
}

.footer-features li {
    color: rgba(255,255,255,0.8);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
}

.form-checkbox label {
    font-size: 0.95rem;
}

.required {
    color: #E53E3E;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #6B4C8A 0%, #8B6CAA 100%);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background: var(--gray-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card h3 {
        font-size: 1.25rem; /* Even smaller on mobile */
    }
    
    .features-wrapper {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-wrapper {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-features {
        flex-direction: column;
    }
    
    .feature-badge {
        width: 100%;
        justify-content: center;
    }
    
    .pricing-highlights {
        flex-direction: column;
        gap: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Accessibility */
:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #553A6E;
        --text-dark: #000000;
        --text-light: #333333;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cta-section,
    .hero-buttons {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}