/* RESET */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Horizon';
    src: url('fonts/Horizon.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* BODY & FLEX SETUP */
body {
    font-family: 'Horizon', Arial, sans-serif;
    color: #000000;
    background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='60' height='60' patternTransform='scale(2) rotate(0)'><rect x='0' y='0' width='100%' height='100%' fill='%23ffffffff'/><path d='M0 0v19.563c3.22 0 5.766-1.242 7.008-4.829 1.034-3.103.417-5.793-1.653-8C3.337 4.716 2.495 2.313 2.527 0H0zm57.473 0c-.001 2.395-.95 4.806-2.88 6.873-2.068 2.207-2.62 5.105-1.585 8.209.896 2.69 3.757 4.48 6.992 4.48V0h-2.527zM30 10.438c-3.235 0-6.096 1.79-6.992 4.48-1.035 3.104-.483 6.002 1.586 8.209 1.93 2.067 2.877 4.478 2.879 6.873-.001 2.395-.95 4.806-2.88 6.873-2.068 2.207-2.62 5.105-1.585 8.209.896 2.69 3.757 4.48 6.992 4.48 3.22 0 5.766-1.241 7.008-4.828 1.034-3.103.417-5.793-1.653-8-2.018-2.018-2.86-4.421-2.828-6.734-.033-2.313.81-4.716 2.828-6.734 1.294-1.38 2.019-2.948 2.13-4.688.066-1.044-.09-2.15-.477-3.314-1.242-3.587-3.787-4.826-7.008-4.826zm30 30c-3.235 0-6.096 1.79-6.992 4.48-1.035 3.104-.483 6.002 1.586 8.209 1.93 2.067 2.877 4.478 2.879 6.873H60V40.437zm-60 .001V60h2.527c-.033-2.313.81-4.716 2.828-6.734 1.294-1.38 2.019-2.948 2.13-4.688.066-1.044-.09-2.15-.477-3.314C5.766 41.677 3.22 40.439 0 40.439z' stroke-width='1' stroke='none' fill='%23f4f4f4ff'/><path d='M10.438 0c0 3.22 1.241 5.766 4.828 7.008 3.103 1.034 5.793.417 8-1.653 2.018-2.018 4.421-2.86 6.734-2.828 2.313-.033 4.716.81 6.734 2.828 1.38 1.294 2.948 2.019 4.688 2.13 1.044.066 2.15-.09 3.314-.477C48.323 5.766 49.562 3.22 49.562 0zm1.265 22.51c-1.8.09-3.45.79-4.83 2.084C4.806 26.524 2.395 27.47 0 27.473v5.054c2.313-.033 4.716.81 6.734 2.828 1.38 1.294 2.948 2.019 4.688 2.13 1.044.066 2.15-.09 3.314-.477 3.587-1.242 4.827-3.787 4.827-7.008 0-3.235-1.791-6.096-4.481-6.992-1.164-.388-2.298-.553-3.379-.498zm35.776 0a9.62 9.62 0 00-2.561.498c-2.69.896-4.48 3.757-4.48 6.992 0 3.22 1.241 5.766 4.828 7.008 3.103 1.034 5.793.417 8-1.653 2.018-2.018 4.421-2.86 6.734-2.828v-5.054c-2.395-.001-4.806-.95-6.873-2.88-1.38-1.292-3.027-1.992-4.828-2.083a8.191 8.191 0 00-.82 0zm-30 30a9.62 9.62 0 00-2.561.498c-2.69.896-4.48 3.757-4.48 6.992h39.124c0-3.235-1.79-6.096-4.48-6.992-3.104-1.035-6.002-.483-8.209 1.586-2.067 1.93-4.478 2.877-6.873 2.879-2.395-.001-4.806-.95-6.873-2.88-1.38-1.292-3.027-1.992-4.828-2.083a8.191 8.191 0 00-.82 0z' stroke-width='1' stroke='none' fill='%23f5f5f5ff'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>");
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* Ensure main content expands */
.main-content {
    flex: 1;
}

/* Container for consistent width */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(to bottom, #000 30%, #00308F 70%);
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center; /* Center the hero content */
}

/* Nav Buttons (Blog, Contact) */
.hero-buttons {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.btn-nav {
    border: 4px solid #081363;
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
    background: linear-gradient(to right, #000000 0%, #081363 50%, #000000 100%);
    transition: background 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-nav:hover {
    background: linear-gradient(to right, #111111 0%, #444444 50%, #111111 100%);
}

/* HERO TEXT */
.hero-text {
    margin-top: 100px;
    text-align: center;
    flex: 1 1 100%; /* Full width so it's centered */
    margin-right: 0;
}

.hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-text p {
    font-size: 1em;
    margin-top: 10px;
}

/* HERO IMAGES */
.hero-images {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
}

.hero-images img {
    width: 120%;
    height: auto;
    display: block;
}

.yellow {
    color: #FFD700;
}

.white {
    color: #FFF;
}

/* LOGO SECTION */
.logo-section {
    text-align: center;
    padding: 40px 0;
}

.logo-section img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: inline-block;
}

/* 3-CARDS SECTION */
.cards-section {
    padding: 60px 0;
    text-align: center;
}

.three-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background: linear-gradient(to bottom, #111 0%, #00308F 100%);
    color: #fff;
    border-radius: 5px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    flex: 1 1 300px;
    max-width: 350px;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 5px;
}

.card p {
    line-height: 1.4;
    margin-top: 10px;
}

/* VIDEO SECTION */
.video-section {
    padding: 60px 0;
    text-align: center;
}

.video-section h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* FAQ SECTION */
.faq-section {
    padding: 60px 0;
    background: linear-gradient(to right, #000 0%, #00308F 50%, #000 100%);
    color: #fff;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 20px auto;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: none;
    padding: 15px 20px;
    font-size: 1em;
    cursor: pointer;
    outline: none;
    transition: background 0.2s;
    font-family: 'Horizon', Arial, sans-serif;
}

.faq-question:hover {
    background: rgba(255,255,255,0.2);
}

.faq-answer {
    display: none;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    line-height: 1.5;
    font-family: Arial, sans-serif;
}

.faq-item.active .faq-answer {
    display: block;
}

/* SUCCESS SECTION */
.success-section {
    padding: 60px 0;
    text-align: center;
}

.success-section h2 {
    font-size: 5em;
    margin-bottom: 20px;
}

.success-gallery {
    column-count: 3;
    column-gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.success-gallery img {
    width: 100%;
    margin-bottom: 20px;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.success-gallery img.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CTA SECTION */
.cta-section {
    padding: 60px 0;
    text-align: center;
}

/* MEMBERSHIP CARD */
.membership-card {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #000 0%, #00308F 100%);
    border-radius: 30px;
    color: #fff;
    padding: 40px 20px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-align: left;
}

.membership-card h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.8em;
    text-transform: uppercase;
}

.includes {
    text-align: center;
    font-style: italic;
    margin-bottom: 20px;
}

.membership-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.membership-card li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.membership-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FFD700;
}

.price {
    text-align: center;
    font-size: 1.6em;
    font-weight: bold;
    margin-top: 20px;
}

.btn-container {
    text-align: center;
    margin-top: 30px;
}

.btn-purchase {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1em;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    background: linear-gradient(to right, #000000 0%, #081363 50%, #000000 100%);
    transition: background 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-purchase:hover {
    background: linear-gradient(to right, #111 0%, #444 50%, #111 100%);
}

/* FOOTER */
.footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* CONTACT CARD STYLING */
.contact-card {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #000, #00308F);
    border-radius: 30px;
    color: #fff;
    padding: 40px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-align: left;
}

.contact-card h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

.contact-card .intro-text {
    margin-bottom: 20px;
}

.contact-card .divider {
    border: none;
    border-top: 1px solid #fff;
    margin: 20px 0;
}

.contact-card .contact-details {
    margin-bottom: 20px;
}

.contact-card .contact-details p {
    margin: 5px 0;
    text-align: center;
}

.contact-card .social-icons {
    margin: 20px 0;
    text-align: center;
}

.contact-card .social-icons a {
    margin-right: 20px;
}

.contact-card .social-icons img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.contact-card .member-section {
    text-align: center;
    margin-top: 30px;
}

.contact-card .member-section h3 {
    margin-bottom: 15px;
}

header.hero img.hero-logo {
    max-width: 50%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* --- MEDIA QUERIES FOR MOBILE --- */
@media (max-width: 768px) {

    header.hero img.hero-logo {
        margin-top: 80px !important;
        max-width: 80% !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .blog-item {
        flex-direction: column;
    }
    .blog-item-image {
        width: 100%;
        flex: 0 0 auto;
    }
    .blog-item-content {
        padding: 15px;
    }
    .blog-header {
        font-size: 1.8em;
    }

    .video-container {
        position: relative !important;
        width: 100% !important;
        padding-bottom: 56.25% !important;
        height: 0 !important;
        margin: 0 auto !important;
    }
    .video-container iframe,
    .video-container video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border: 0 !important;
    }

    .success-section h2 {
        font-size: 2.5em;
    }
    .success-gallery {
        column-count: 1;
    }
    .success-gallery img:nth-child(n+11) {
        display: none;
    }

    .membership-card {
        font-size: 0.9em !important;
        padding: 20px !important;
    }
    .membership-card h2 {
        font-size: 1.4em !important;
    }
    .price {
        font-size: 1.2em !important;
    }

    .contact-card {
        font-size: 0.8em !important;
        padding: 15px !important;
    }
}

@supports (-webkit-touch-callout: none) {
    .video-container {
        padding-bottom: 56.25% !important;
        height: 0 !important;
    }
    .video-container iframe,
    .video-container video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border: 0 !important;
    }
}

/* BLOG STYLES  */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.blog-header {
    text-align: center !important;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #000;
    text-transform: uppercase;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-item {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 3px solid transparent;
    border-image: linear-gradient(to right, #000, #00308F) 1;
    margin: 10px 0;
    padding: 10px;
}

.blog-item-image {
    flex: 0 0 200px;
    overflow: hidden;
}

.blog-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.blog-item-content {
    padding: 15px 20px;
    flex: 1;
}

.blog-item-content h2 {
    margin-top: 0;
    font-size: 1.7em;
    margin-bottom: 10px;
    color: #333;
}

.blog-item-content p {
    color: #666;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(to right, #000, #081363);
    color: #fff;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 10px;
}
.read-more:hover {
    background: linear-gradient(to right, #111, #444);
    box-shadow: 0 0 6px rgba(0,0,0,0.5);
}

.single-post {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    max-width: 800px;
    margin: 0 auto;
}

.single-post h2 {
    margin-top: 0;
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #000;
}

.blog-post-image {
    max-width: 60%;
    display: block;
    margin: 20px auto;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #00308F;
    text-decoration: none;
    font-weight: bold;
}

.blog-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* ── BLOG STYLES ──────────────────────────────────────────────────────── */
.blog-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: Arial, sans-serif;
}
.blog-header {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: #000;
}

/* list of posts */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
}
.blog-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform .2s, box-shadow .2s;
}
.blog-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.blog-item-image {
    flex: 0 0 200px;
    overflow: hidden;
}
.blog-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-item-content {
    padding: 1rem;
    flex: 1;
}
.blog-item-content h2 {
    font-size: 1.7em;
    margin-bottom: .5rem;
    color: #00308F; /* blue H2 in index too */
}
.blog-item-content p {
    color: #666;
    margin-bottom: .75rem;
}
.blog-item-content .read-more {
    display: inline-block;
    padding: .5rem 1rem;
    background: linear-gradient(to right, #000, #081363);
    color: #fff;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    margin-top: .5rem;
}
.blog-item-content .read-more:hover {
    background: linear-gradient(to right, #111, #444);
}

/* ── SINGLE-POST VIEW ─────────────────────────────────────────────────── */
.single-post {
    max-width: 800px;
    margin: 2rem auto;
}
.single-post-featured-image {
    display: block;
    max-width: 60%;
    margin: 1rem auto 2rem;
    border-radius: 8px;
}
.single-post-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    font-size: 1.05em;

    color: #222;
}
/* Blue H2 inside post */
.single-post-content h1 {
    color: #000000;
    font-family: 'Horizon', Arial, sans-serif;

    font-size: 2.2em;
}

.single-post-content h2 {
    color: #00308F;
    font-family: 'Horizon', Arial, sans-serif;

    font-size: 2em;
}
.single-post-content h3 {
    font-family: 'Horizon', Arial, sans-serif;
    color: #000;
    font-size: 1.6em;

}

.single-post-content a {
    color: #00308F;
    text-decoration: underline;
}
.back-link {
    display: inline-block;

    color: #00308F;
    font-weight: bold;
    text-decoration: none;
}
.back-link:hover {
    text-decoration: underline;
}

/* ── MOBILE ADJUSTMENTS ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .blog-item { flex-direction: column; }
    .blog-item-image { width: 100%; flex: 0 0 auto; }
    .blog-item-content { padding: .75rem; }
    .blog-header { font-size: 1.8em; }

}
/* ── FORCE any post image to 60% width, overriding inline styles ───────── */
.single-post img,
.single-post-content img {

    max-width: 80%  !important;
    height:  auto !important;
    display: block !important;
    margin:  1em auto !important;
    object-fit: contain !important;
}


.single-post img[style] {
    width: 60% !important;
    max-width: 60% !important;
}

.single-post h1,
.single-post h2,
.single-post h3,
.single-post h4 {
    font-family: 'Horizon', Arial, sans-serif !important;
}


.single-post-content h2 span {

    font-size: inherit !important;

    font-family: 'Horizon', Arial, sans-serif !important;

    color: #00308F !important;

    font-weight: inherit !important;

    display: inline !important;
}
/* ── MOBILE FIXES FOR SINGLE POST ─────────────────────────── */
@media (max-width: 768px) {
    .single-post, .single-post-content {
        padding: 1rem;
        margin: 0 1rem;
        font-size: 1em;
    }

    .single-post-featured-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block;
        margin: 1rem auto 2rem auto;
        border-radius: 8px;
    }

    .single-post-content h1,
    .single-post-content h2,
    .single-post-content h3,
    .single-post-content h4 {
        font-size: 1.5em !important;
        line-height: 1.3;
    }

    .single-post-content p {
        font-size: 1em;
        line-height: 1.6;
    }
}

/* ── MOBILE FIXES FOR BLOG LIST PAGE ───────────────────────── */
@media (max-width: 768px) {
    .blog-list {
        gap: 1rem;
    }

    .blog-item {
        flex-direction: column;
        padding: 0.75rem;
    }

    .blog-item-image {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }

    .blog-item-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .blog-item-content {
        padding: 0 0.5rem;
        text-align: center;
    }

    .blog-item-content h2 {
        font-size: 1.4em;
        margin-bottom: 0.5rem;
    }

    .read-more {
        font-size: 0.9em;
        padding: 0.5rem 1rem;
        margin-top: 0.75rem;
    }
}

