* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f7c;
    --secondary-color: #e8a87c;
    --accent-color: #c38d5f;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --background-light: #f7fafc;
    --white: #ffffff;
    --gradient-start: #ffd89b;
    --gradient-end: #19547b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Image System */
.section-with-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.section-with-bg[data-bg-image=""] {
    background-image: none;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.section-with-bg > .container,
.section-with-bg > .hero-content,
.section-with-bg > .nav-container {
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
    padding-bottom: 80px;
}

.hero.section-with-bg[data-bg-image]:not([data-bg-image=""]) {
    background-blend-mode: overlay;
}

.hero .section-overlay {
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 217, 155, 0.3) 0%, rgba(25, 84, 123, 0.5) 100%);
}

.nav-container {
    width: 100%;
    padding: 30px 40px;
    z-index: 10;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    margin: auto 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-logo {
    width: 300px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.0rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Welcome Section */
.welcome-section {
    padding: 100px 20px;
    background: var(--white);
}

.welcome-section.section-with-bg[data-bg-image]:not([data-bg-image=""]) .section-overlay {
    background: rgba(255, 255, 255, 0.95);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.intro-text {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.welcome-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.emphasis-text {
    font-style: italic;
    color: var(--text-dark);
    font-weight: 500;
    padding: 1.5rem;
    background: var(--background-light);
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
}

/* What You'll Gain Section */
.gain-section {
    padding: 100px 20px;
    background: var(--background-light);
}

.gain-section.section-with-bg[data-bg-image]:not([data-bg-image=""]) .section-overlay {
    background: rgba(247, 250, 252, 0.95);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.program-details {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 3rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Founders Section */
.founders-section {
    padding: 100px 20px;
    background: var(--white);
}

.founders-section.section-with-bg[data-bg-image]:not([data-bg-image=""]) .section-overlay {
    background: rgba(255, 255, 255, 0.95);
}

.founders-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.founder-card {
    text-align: center;
}

.founder-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.founder-card p {
    color: var(--text-light);
    font-size: 1rem;
}

.founders-mission {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 3rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* CTA Section - Hero Style */
.cta-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ff6b6b 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
    padding: 80px 20px;
}

.cta-section.section-with-bg[data-bg-image]:not([data-bg-image=""]) {
    background-blend-mode: overlay;
}

.cta-section .section-overlay {
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        rgba(0, 0, 0, 0.05);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-text {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.95;
}

.cta-subtext {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: var(--white);
    color: var(--primary-color);
    padding: 18px 50px;
    font-size: 1.15rem;
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 16px 48px;
    font-size: 1.15rem;
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-tagline {
    font-style: italic;
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Hero section background */
.hero[data-bg-image="hero-bg.jpg"] {
    background-image: url('../images/clouds.jpg');
}

/* Welcome section background */
/*.welcome-section[data-bg-image="welcome-bg.jpg"] {
    background-image: url('../images/welcome-bg.jpg');
}*/

/* CTA section background */
/*.cta-section[data-bg-image="cta-bg.jpg"] {
    background-image: url('images/cta-bg.jpg');
}*/

.founder-image-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.founder-card:hover .founder-image {
    transform: scale(1.05);
}

/* Fallback for placeholder if image fails to load */
.founder-image-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .founders-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .nav-container {
        display: none;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .founder-image-placeholder {
        width: 150px;
        height: 150px;
        font-size: 2.5rem;
    }
}

.founder-website-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color, #6B4E71);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.founder-website-button:hover {
    background-color: #5a3d5f;
    transform: translateY(-2px);
}

.founder-website-button:focus {
    outline: 2px solid var(--primary-color, #6B4E71);
    outline-offset: 2px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 5% auto;
    padding: 3rem;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

.modal-content iframe {
    border: none;
    border-radius: 8px;
    min-height: 500px;
}

.modal-content {
    padding: 2rem;
    max-width: 600px;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input {
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 78, 113, 0.1);
}

.form-submit-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
}

.form-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 78, 113, 0.3);
}

.form-submit-button:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .modal-content iframe {
        min-height: 600px;
    }

    .modal-title {
        font-size: 1.75rem;
    }
}

/* Add these styles to your existing styles.css */

.modal-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.modal-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    display: none;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-submit-button {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
}

.form-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-close:hover {
    color: var(--primary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Social Media Links */
.footer-content {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.social-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }
}