/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header and Navigation */
header {
    background-color: #000000;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    min-height: 60px;
}

a {
    color: #40b3ec;
    text-decoration: none;
}

a:hover {
    color: #b035e9;
}

.nav-container {
    width: 100%;
    margin: 0 auto;
    padding: 10px 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    max-width: 1200px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 100%;
    max-height: 60px;
    width: auto;
    border-radius: 4px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

.logo-text-mobile {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    display: none;
}

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

.nav-menu a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ffffff;
    background-color: #333333;
}

/* Introduction Section */
.intro-section {
    padding: 3rem 0 1rem;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    text-align: center;
}

.intro-section h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin: 0 0 1rem 0;
    font-weight: bold;
    line-height: 1.3;
}

.intro-subtitle {
    font-size: 2rem;
    color: #cccccc;
    margin: 0.5rem 0 1rem 0;
    font-weight: bold;
    line-height: 1.4;
    display: block;
    width: 100%;
}

.intro-description {
    font-size: 1.3rem;
    color: #cccccc;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

/* Video Section */
.video-section {
    padding: 2rem 0;
    background-color: #1a1a1a;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin: 0 auto;
    max-width: 800px; /* Max width for desktop centering */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Badge positioning */
.badge-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.certification-badge {
    height: 160px;
    width: auto;
    transition: transform 0.3s ease;
}

.certification-badge:hover {
    transform: scale(1.05);
}

/* Main content */
main {
    flex: 1;
}

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

/* Hero section */
.hero {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 2rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.intro {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto;
}

/* Pain points section */
.pain-points {
    padding: 2rem 0;
    background-color: #2a2a2a;
}

.pain-point {
    margin-bottom: 1.5rem;
    background-color: #333333;
    transition: all 0.3s ease;
}

.pain-point:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pain-point-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.pain-point-toggle:hover {
    background-color: #444444;
}

.pain-point-toggle.active {
    background-color: #555555;
}

.pain-point-text {
    flex: 1;
    margin-right: 1rem;
}

.arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: #ffd700;
}

.pain-point-content {
    display: none;
    padding: 1rem 2rem 1.5rem 2rem;
    background-color: #a48c02;
}

.pain-point-content p {
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1.7;
    font-weight: 500;
}

/* About page styles */
.about-hero {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 4rem 0;
    text-align: center;
}

.about-hero h2 {
    font-size: 3rem;
    color: #ffffff;
}



.intro-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.intro-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

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

.about-content {
    padding: 4rem 0;
    background-color: #2a2a2a;
}

.story-section,
.bio-section,
.credentials-section,
.videos-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #333333;
}

/* Story section with image layout */
.story-section {
    position: relative;
}

/* Desktop: image to the right of text - now handled by flex.css */

/* Mobile: image between title and content */
@media (max-width: 768px) {
    .story-section {
        display: block;
    }
    
    .story-content {
        display: block;
    }
}

.story-img,
.bio-img,
.credentials-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Desktop: image should maintain its natural size within the 300px container */
@media (min-width: 769px) {
    .story-img,
    .bio-img,
    .credentials-img {
        width: auto;
        max-width: 100%;
    }
}

.story-section h3,
.bio-section h3,
.credentials-section h3,
.videos-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.story-section p,
.bio-section p,
.credentials-section p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.videos-section ul {
    list-style: none;
    padding-left: 0;
}

.videos-section li {
    color: #cccccc;
    font-size: 1.1rem;
    padding: 0.5rem 0;
}

/* Footer */
footer {
    background-color: #000000;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-top: 2rem;
}

.social-links {
    margin-top: 1rem;
}

.instagram-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.instagram-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.instagram-link svg {
    width: 24px;
    height: 24px;
}

.youtube-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-left: 1rem;
}

.youtube-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.youtube-link svg {
    width: 24px;
    height: 24px;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        gap: 1rem;
        padding: 0 1rem;
        justify-content: space-between;
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .logo-img {
        max-height: 50px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        gap: 0.1rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero h3 {
        font-size: 1.5rem;
    }
    
    .intro {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .intro-section {
        padding: 2rem 0;
    }
    
    .intro-section h2 {
        font-size: 2rem;
    }
    
    .intro-subtitle {
        font-size: 1.2rem;
    }
    
    .intro-description {
        font-size: 1.1rem;
    }
    
    .video-section {
        padding: 1rem 0;
    }
    
    .video-wrapper {
        max-width: 100%;
    }
    
    .certification-content {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .certification-text {
        font-size: 1.2rem;
    }
    
    .pain-point-toggle {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .pain-point-content {
        padding: 1rem;
    }
    
    .story-section,
    .bio-section,
    .credentials-section,
    .videos-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Mobile story section layout - image between title and content */
    .story-image {
        width: 100%;
        margin: 1rem 0;
        text-align: center;
    }
    
    .story-img {
        width: 100%;
        max-width: none;
        margin: 0;
    }
    
    .about-hero h2 {
        font-size: 2.5rem;
    }
    
    .intro-text h1 {
        font-size: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-height: 40px;
    }
    
    .logo-text {
        display: none;
    }
    
    .logo-text-mobile {
        display: block;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero h3 {
        font-size: 1.3rem;
    }
    
    .intro-section h2 {
        font-size: 1.8rem;
    }
    
    .intro-subtitle {
        font-size: 1.1rem;
    }
    
    .intro-description {
        font-size: 1rem;
    }
    
    .pain-point-toggle {
        font-size: 0.95rem;
    }
    
    .story-section h3,
    .bio-section h3,
    .credentials-section h3,
    .videos-section h3 {
        font-size: 1.5rem;
    }
    
    .intro-text h1 {
        font-size: 1.8rem;
    }
    
    .story-section p,
    .bio-section p,
    .credentials-section p {
        font-size: 1rem;
    }
    
    /* CTA section mobile styles */
    .cta-section {
        padding: 2rem 0;
    }
    
    .cta-section h3 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Mobile story section styling with max height and fade effect */
    .story-content,
    .bio-content,
    .credentials-content {
        position: relative;
        max-height: 200px;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .story-content.expanded,
    .bio-content.expanded,
    .credentials-content.expanded {
        max-height: none;
    }
    
    .story-content::after,
    .bio-content::after,
    .credentials-content::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(transparent, #333333);
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .story-content.expanded::after,
    .bio-content.expanded::after,
    .credentials-content.expanded::after {
        opacity: 0;
    }
}

/* Read more button - hidden on desktop, shown on mobile */
.read-more-btn {
    display: none; /* Hidden on all devices by default */
}

.read-more-btn.hidden {
    display: none;
}

/* Show read more button only on mobile and only when section is not expanded */
@media (max-width: 480px) {
    .read-more-btn {
        display: none; /* Still hidden by default on mobile */
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.3rem 0.8rem;
        background-color: rgba(51, 51, 51, 0.9);
        color: #cccccc;
        border: 1px solid #666666;
        border-radius: 3px;
        cursor: pointer;
        font-weight: normal;
        font-size: 0.8rem;
        transition: all 0.3s ease;
        z-index: 10;
    }
    
    .read-more-btn:hover {
        background-color: rgba(68, 68, 68, 0.9);
        color: #ffffff;
    }
    
    .story-section:not(.expanded) .read-more-btn,
    .bio-section:not(.expanded) .read-more-btn,
    .credentials-section:not(.expanded) .read-more-btn {
        display: block;
    }
    
    /* For story section, show button when story-content is not expanded */
    .story-section .story-content:not(.expanded) .read-more-btn {
        display: block;
    }
    
    /* For bio section, show button when bio-content is not expanded */
    .bio-section .bio-content:not(.expanded) .read-more-btn {
        display: block;
    }
    
    /* For credentials section, show button when credentials-content is not expanded */
    .credentials-section .credentials-content:not(.expanded) .read-more-btn {
        display: block;
    }
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 3rem 0;
    text-align: center;
    border-top: 2px solid #ffd700;
}

.cta-section h3 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 300;
}

.cta-section p {
    font-size: 1.3rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border: 2px solid #ffd700;
}

.cta-button:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    color: #1a1a1a;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 4rem 0;
    text-align: center;
}

.contact-hero h2 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 1.3rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.email-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-top: 2px solid #ffd700;
}

.email-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #333333;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.email-container h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.gold-text {
    color: #ffd700;
    font-weight: bold;
}

.email-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.email-link {
    font-size: 1.4rem;
    color: #40b3ec;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #b035e9;
}

.copy-btn {
    background-color: #555555;
    border: none;
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background-color: #666666;
    transform: scale(1.05);
}

.copy-feedback {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

.qr-section {
    padding: 4rem 0;
    background-color: #1a1a1a;
}

.qr-container {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #333333;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.qr-container h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

.qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#qrcode {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.qr-description {
    color: #cccccc;
    font-size: 1rem;
    margin: 0;
}

/* Responsive design for contact page */
@media (max-width: 768px) {
    .contact-hero h2 {
        font-size: 2.5rem;
    }
    
    .contact-intro {
        font-size: 1.1rem;
    }
    
    .email-container,
    .qr-container {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .email-container h3,
    .qr-container h3 {
        font-size: 1.5rem;
    }
    
    .email-link {
        font-size: 1.2rem;
    }
    
    .email-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 2rem 0;
    }
    
    .contact-hero h2 {
        font-size: 2rem;
    }
    
    .contact-intro {
        font-size: 1rem;
    }
    
    .email-section,
    .qr-section {
        padding: 2rem 0;
    }
    
    .email-container,
    .qr-container {
        margin: 0 0.5rem;
        padding: 1rem;
    }
    
    .email-container h3,
    .qr-container h3 {
        font-size: 1.3rem;
    }
    
    .email-link {
        font-size: 1.1rem;
    }
    
    #qrcode {
        transform: scale(0.8);
    }
}
