/*
Theme Name: Fitness Coach Pro
Description: A modern, responsive WordPress theme for fitness coaches and personal trainers. Built with a clean design focusing on conversions and user experience.
Author: Your Name
Version: 4.6
*/

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

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: white;
    color: #333;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Header and Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e5e5e5;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

/* Site Title Styling */
.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-title a {
    color: #000 !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-title a:hover {
    opacity: 0.8;
    color: #000 !important;
}

.site-title a:visited {
    color: #000 !important;
}

.main-navigation {
    display: none;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: #666;
}

/* Hamburger Menu */
.hamburger-menu {
    display: block;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1a1a1a;
    margin-bottom: 5px;
    transition: 0.3s;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    transition: left 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 2rem 1rem;
}

.mobile-menu li {
    margin-bottom: 1.5rem;
}

.mobile-menu a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 70px; /* Account for fixed header */
}

/* Profile Section */
.profile-container {
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: 1.125rem;
    color: #4b5563;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e5e5e5;
    margin: 0 auto 1rem;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Main Tagline */
.tagline {
    font-size: 2rem;
    font-weight: 700;
    max-width: 800px;
    margin-bottom: 4rem;
    line-height: 1.3;
}

.supporting-text {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.supporting-text p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Transformation Images */
.transformation-section {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 4rem;
}

.transformation-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.transformation-item {
    text-align: center;
}

.transformation-item img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.transformation-caption {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    width: 100%;
    max-width: 800px;
    margin-bottom: 4rem;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Features Section */
.features-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 4rem;
}

.feature-box {
    border: 2px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #4b5563;
}

/* Testimonials Section */
.testimonials-section {
    width: 100%;
    max-width: 1200px;
    margin: 2rem 0; /* Reduced margin */
    position: relative;
    text-align: center;
    min-height: 400px; /* Set minimum height to prevent layout shifts */
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Carousel Wrapper */
.testimonials-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0 60px; /* Space for arrows */
}

.testimonials-carousel {
    overflow: hidden;
    position: relative;
    min-height: 320px; /* Ensure carousel has visible height */
}

.testimonials-container {
    position: relative;
}

.carousel-slides {
    position: relative;
    width: 100%;
}

/* Simplified carousel - each testimonial is a slide */
.testimonials-carousel .testimonial {
    position: absolute !important;
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transition: transform 0.5s ease-in-out !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.testimonial {
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    padding: 2rem;
    position: relative;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.quote-icon {
    font-size: 4rem;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    color: #e5e5e5;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    padding-left: 0.5rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
}

.author-name {
    font-weight: 600;
    color: #1a1a1a;
}

.rating {
    color: #fbbf24;
    letter-spacing: 0.1rem;
}

.star {
    font-size: 1.25rem;
}

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #333;
}

.carousel-arrow:hover {
    background: white;
    border-color: #333;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
}

/* Navigation Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.carousel-dot:hover {
    background: #bbb;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #333;
}

/* Simplified Carousel Responsive Design */
@media (max-width: 768px) {
    .testimonials-carousel-wrapper {
        padding: 0 40px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .carousel-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
    
    .testimonials-carousel .testimonial {
        padding: 1.5rem !important;
        max-width: 100% !important;
    }
}

/* Testimonial Component Classes for Maintenance */
.testimonial-content {
    flex: 1;
}

.testimonial-quote-mark {
    font-family: Georgia, serif;
    color: #e5e5e5;
    line-height: 0.8;
    margin-bottom: 0.75rem;
}

/* Mobile: Reduce quote mark spacing to save room for author name */
@media (max-width: 768px) {
    .testimonial-quote-mark {
        margin-bottom: 0.25rem !important;
        line-height: 0.7;
    }
    
    /* Reduce testimonial text margin to give more space for author name */
    .testimonial-quote-text {
        margin-bottom: 0.75rem !important;
    }
    
    /* Ensure testimonial footer has proper spacing */
    .testimonial-footer {
        margin-top: 0.5rem !important;
        padding-top: 0.25rem !important;
    }
}

.testimonial-quote-text {
    font-style: italic;
    color: #333;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.testimonial-author-name {
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 1.2rem;
}

/* Ensure testimonial layout works properly */
.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-quote-text {
    flex: 1;
}

.testimonial-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Contact Form */
.contact-section {
    width: 100%;
    max-width: 800px;
    margin-top: 2rem;
}

.contact-description {
    margin-bottom: 2rem;
}

.contact-description p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #e5e5e5;
    border-radius: 0.375rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.primary-button {
    background-color: #1a1a1a;
    color: white;
    border: none;
}

.primary-button:hover {
    background-color: #333333;
}

.secondary-button {
    background-color: white;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.secondary-button:hover {
    background-color: #f5f5f5;
}

/* CTA Button Size Variations */
.cta-button-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.cta-button-medium {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.cta-button-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.cta-button-extra-large {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
}

/* CTA Button Hover Effect with Dynamic Color */
.button.primary-button[style*="background-color"]:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Responsive CTA Button Sizes */
@media (max-width: 768px) {
    .cta-button-small {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .cta-button-medium {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }
    
    .cta-button-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .cta-button-extra-large {
        padding: 1.125rem 2.25rem;
        font-size: 1.125rem;
    }
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 3rem 0 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid #e5e5e5;
    width: 100%;
    box-sizing: border-box;
    clear: both;
    position: relative;
    margin-left: 0;
    margin-right: 0;
    left: 0;
    right: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    display: block;
    position: relative;
}

/* Ensure footer always renders correctly regardless of page template */
body .footer {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
    right: 0 !important;
    text-align: center !important;
}

body .footer-content {
    margin: 0 auto !important;
    text-align: center !important;
}

.footer-widgets {
    margin-bottom: 2rem;
}

.footer-widgets .widget {
    margin-bottom: 1rem;
}

.footer-widgets .widget:last-child {
    margin-bottom: 0;
}

.footer-widgets .widget h3,
.footer-widgets .widget h4 {
    color: #374151;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.footer-widgets .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widgets .widget li {
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-links {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
}

.footer-links a {
    color: #000 !important;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #000 !important;
    background-color: rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.footer-links a:visited {
    color: #000 !important;
}

.footer-copyright {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.footer-copyright p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Page Template Styles */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.page-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
}

.page-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
}

.page-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.page-content ul, .page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Media Queries */
@media (min-width: 768px) {
    .main-navigation {
        display: block;
    }
    
    .hamburger-menu {
        display: none;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .features-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .carousel-slide {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-carousel-wrapper {
        padding: 0 50px;
    }
    
    .transformation-images {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    /* About Page Desktop Styles */
    .about-headline {
        font-size: 3rem;
    }
    

    
    .credentials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .about-cta-section {
        padding: 4rem 3rem;
    }
}

/* Gravity Forms Styling */
.gravity-form-error {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 0.375rem;
    padding: 1rem;
    margin: 1rem 0;
    color: #856404;
}

.gravity-form-error p {
    margin: 0.5rem 0;
}

.gravity-form-error p:first-child {
    margin-top: 0;
}

.gravity-form-error p:last-child {
    margin-bottom: 0;
}

/* Gravity Forms Integration */
.contact-section .gform_wrapper {
    max-width: none;
}

.contact-section .gform_wrapper .gform_body {
    margin-bottom: 1rem;
}

.contact-section .gform_wrapper .gform_footer {
    margin-top: 1rem;
}

/* About Page Styles */
.container.about-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 70px; /* Account for fixed header */
}

.about-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.about-headline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto;
}

.about-intro p {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Profile Images Section */
.profile-images-section {
    margin-bottom: 4rem;
}

.profile-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: start;
    justify-items: center;
}

.profile-image-item {
    text-align: center;
    max-width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image-item:hover {
    transform: translateY(-5px);
}

.profile-image-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: box-shadow 0.3s ease;
}

.profile-image-item:hover img {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}



/* Updated Profile Images Section (Gallery Field) */
.profile-images-section {
    margin-bottom: 4rem;
}

.profile-images-grid {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

/* Grid Layout (Default) */
.profile-images-grid.layout-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Masonry Layout */
.profile-images-grid.layout-masonry {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: auto;
}

/* Carousel Layout */
.profile-images-grid.layout-carousel {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.profile-images-grid.layout-carousel .profile-image-item {
    scroll-snap-align: start;
    min-width: 300px;
}

.profile-image-item {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-image-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.profile-image-item img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.profile-image-item:hover img {
    transform: scale(1.02);
}

.profile-image-item .image-caption {
    padding: 1rem;
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
    background: #fff;
}

/* Responsive adjustments for Profile Images */
@media (max-width: 768px) {
    .profile-images-grid.layout-grid,
    .profile-images-grid.layout-masonry {
        grid-template-columns: 1fr;
    }
    
    .profile-images-grid.layout-carousel {
        grid-template-columns: 1fr;
        overflow-x: visible;
    }
    
    .profile-images-grid.layout-carousel .profile-image-item {
        min-width: auto;
    }
    
    .profile-image-item img {
        max-height: 300px;
    }
}

/* Debug styling */
.debug-info {
    font-family: monospace;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Video Introduction Section */
.video-introduction-section {
    margin-bottom: 4rem;
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.youtube-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}

.video-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    border: 2px dashed #4b5563;
}

.video-placeholder span {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.video-placeholder p {
    color: #d1d5db;
    margin: 0;
}

/* About Story Section */
.about-story-section {
    margin-bottom: 4rem;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.5rem;
}

/* Credentials Section */
.credentials-section {
    margin-bottom: 4rem;
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.credential-item {
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 2rem;
    border-left: 4px solid #000;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.credential-icon {
    flex-shrink: 0;
}

.credential-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.credential-content {
    flex: 1;
}

.credential-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.credential-year {
    display: inline-block;
    background: #000;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.credential-description {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Personal Touch Section */
.personal-touch-section {
    margin-bottom: 4rem;
}

.personal-content {
    max-width: 800px;
    margin: 0 auto;
}

.personal-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.5rem;
}

/* About CTA Section */
.about-cta-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 0.75rem;
    text-align: center;
    margin-top: 2rem;
}

.cta-content h2,
.cta-content h3 {
    color: white;
}

.cta-content p {
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .tagline {
        font-size: 1.75rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-content h2 {
        font-size: 1.75rem;
    }
    
    .page-content h3 {
        font-size: 1.25rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.25rem;
        margin: 1.5rem 0;
    }
    
    .footer-links a {
        padding: 0.25rem 0.5rem;
        display: inline-block;
        font-size: 0.75rem;
        font-weight: 400;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer {
        padding: 2rem 0 1.5rem 0;
    }
}

/* Footer Link Color Fixes - Very Specific Selectors */
.footer a,
.footer-links a,
.footer-content a,
body .footer a,
body .footer-links a,
body .footer-content a {
    color: #000 !important;
    text-decoration: none !important;
}

.footer a:hover,
.footer-links a:hover,
.footer-content a:hover,
body .footer a:hover,
body .footer-links a:hover,
body .footer-content a:hover {
    color: #000 !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
}

.footer a:visited,
.footer-links a:visited,
.footer-content a:visited,
body .footer a:visited,
body .footer-links a:visited,
body .footer-content a:visited {
    color: #000 !important;
    text-decoration: none !important;
}

.footer a:active,
.footer-links a:active,
.footer-content a:active,
body .footer a:active,
body .footer-links a:active,
body .footer-content a:active {
    color: #000 !important;
    text-decoration: none !important;
}

/* WordPress Admin Bar Adjustments */
.admin-bar .site-header {
    top: 32px !important;
}

.admin-bar .mobile-menu {
    top: 102px !important; /* 70px header + 32px admin bar */
    height: calc(100vh - 102px) !important;
}

.admin-bar .container,
.admin-bar .about-page,
.admin-bar .container.about-page {
    margin-top: 102px !important; /* 70px header + 32px admin bar */
}

.admin-bar .page-content {
    padding-top: 2rem;
    margin-top: 32px !important; /* Account for admin bar */
}

/* Mobile admin bar adjustments */
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px !important;
    }
    
    .admin-bar .mobile-menu {
        top: 116px !important; /* 70px header + 46px admin bar */
        height: calc(100vh - 116px) !important;
    }
    
    .admin-bar .container,
    .admin-bar .about-page,
    .admin-bar .container.about-page {
        margin-top: 116px !important; /* 70px header + 46px admin bar */
    }
    
    .admin-bar .page-content {
        margin-top: 46px !important; /* Account for mobile admin bar */
    }
    
    /* Override admin bar margin for content rows containers on mobile */
    .admin-bar .content-rows-section .container {
        margin-top: 0 !important;
    }
    
    /* Override admin bar margin for image-text-hero containers on mobile */
    .admin-bar .image-text-hero .container {
        margin-top: 0 !important;
    }
}

/* Social Media Icons */
.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0 2rem 0;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: #f3f4f6;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none !important;
    color: #6b7280 !important;
}

.social-icon:hover {
    transform: translateY(-2px);
    background-color: #e5e7eb;
    color: #374151 !important;
    text-decoration: none !important;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Individual platform hover colors with gradients */
.social-icon.discord:hover {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 50%, #5865f2 100%);
    color: white !important;
}

.social-icon.youtube:hover {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 50%, #ff0000 100%);
    color: white !important;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white !important;
}

.social-icon.x-twitter:hover {
    background: linear-gradient(135deg, #000000 0%, #333333 50%, #000000 100%);
    color: white !important;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
    .social-media-icons {
        gap: 1.25rem;
        margin: 1rem 0 1.5rem 0;
    }
    
    .social-icon {
        width: 48px;
        height: 48px;
    }
    
    .social-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* Ensure all elements use border-box sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* How It Works Page Styles */
.how-it-works-page {
    padding-top: 70px;
}

.how-it-works-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem 0;
    text-align: center;
}

.how-it-works-hero .page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Process Steps */
.process-steps {
    padding: 5rem 0;
    background: white;
}

.steps-grid {
    display: grid;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007cba, #00a0d2);
}

.step-number {
    background: linear-gradient(135deg, #007cba, #00a0d2);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 124, 186, 0.3);
}

.step-content {
    flex: 1;
}

.step-icon {
    color: #007cba;
    margin-bottom: 1.5rem;
}

.step-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.step-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.step-features {
    list-style: none;
    padding: 0;
}

.step-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #2d3748;
}

.step-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00a0d2;
    font-weight: bold;
}

/* Timeline Section */
.process-timeline {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
}

.process-timeline .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #007cba, #00a0d2);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: #007cba;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-content h4 {
    color: #007cba;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.how-it-works-faq {
    padding: 5rem 0;
    background: white;
}

.how-it-works-faq .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #007cba;
}

.faq-item h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.how-it-works-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #007cba 0%, #00a0d2 100%);
    color: white;
    text-align: center;
}

.how-it-works-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.how-it-works-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.how-it-works-cta .primary-button {
    background: white;
    color: #007cba;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.how-it-works-cta .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: #007cba;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .how-it-works-hero .page-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
        margin: 0 auto;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 0 !important;
    }
    
    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .how-it-works-cta h2 {
        font-size: 2rem;
    }
}

/* Image and Text Rows Template Styles */
.image-text-rows-page {
    margin-top: 70px; /* Account for fixed header */
}

.image-text-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    text-align: center;
}

/* Specific styling for Image Text Rows page template */
.page-template-page-template-image-text-rows .image-text-hero {
    padding: 1rem 0;
}

.page-template-page-template-image-text-rows .image-text-hero .container {
    padding: 1rem;
}

.page-template-page-template-image-text-rows .image-text-hero h1.page-title {
    margin-bottom: 0;
}

.image-text-hero .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.image-text-hero .hero-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.image-text-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    color: #374151;
}

.content-rows-section {
    padding: 0;
}

/* Override container padding for content rows */
.content-rows-section .container {
    padding: 0 1rem;
    margin-top: 0;
}

/* Override admin bar margin for content rows containers */
.admin-bar .content-rows-section .container {
    margin-top: 0 !important;
}

/* Override admin bar margin for image-text-hero containers */
.admin-bar .image-text-hero .container {
    margin-top: 0 !important;
}

.content-row {
    padding: 4rem 0;
    transition: all 0.3s ease;
}

/* Padding Control Classes */
.content-row.padding-top-none { padding-top: 0; }
.content-row.padding-top-small { padding-top: 2rem; }
.content-row.padding-top-medium { padding-top: 3rem; }
.content-row.padding-top-default { padding-top: 4rem; }
.content-row.padding-top-large { padding-top: 5rem; }
.content-row.padding-top-extra_large { padding-top: 6rem; }

.content-row.padding-bottom-none { padding-bottom: 0; }
.content-row.padding-bottom-small { padding-bottom: 2rem; }
.content-row.padding-bottom-medium { padding-bottom: 3rem; }
.content-row.padding-bottom-default { padding-bottom: 4rem; }
.content-row.padding-bottom-large { padding-bottom: 5rem; }
.content-row.padding-bottom-extra_large { padding-bottom: 6rem; }

.content-row.bg-white {
    background-color: #ffffff;
}

.content-row.bg-light-gray {
    background-color: #f8fafc;
}

.content-row.bg-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.content-row.bg-primary h1, 
.content-row.bg-primary h2, 
.content-row.bg-primary h3, 
.content-row.bg-primary h4, 
.content-row.bg-primary h5, 
.content-row.bg-primary h6 {
    color: white;
}

.row-content {
    display: grid;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.row-layout-text_left {
    grid-template-columns: 50% 50%;
}

.row-layout-text_right {
    grid-template-columns: 50% 50%;
}

.row-layout-text_only {
    grid-template-columns: 1fr;
}

.text-section {
    display: flex;
    align-items: center;
}

.text-only-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.text-content {
    width: 100%;
}

.text-content h1, .text-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.text-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.text-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.text-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #374151;
}

.content-row.bg-primary .text-content p {
    color: rgba(255, 255, 255, 0.9);
}

.text-content ul, .text-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.text-content li {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: #374151;
}

.content-row.bg-primary .text-content li {
    color: rgba(255, 255, 255, 0.9);
}

.text-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.25rem;
    color: #4b5563;
}

.content-row.bg-primary .text-content blockquote {
    border-left-color: rgba(255, 255, 255, 0.8);
    color: rgba(255, 255, 255, 0.9);
}

.image-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container {
    width: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Linked Image Styling */
.image-container a {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.image-container a:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.image-container a img {
    transition: filter 0.3s ease;
}

.image-container a:hover img {
    filter: brightness(1.05) contrast(1.02);
}

.image-placeholder {
    width: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-color: #94a3b8;
}

.image-placeholder span {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.image-placeholder p {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.image-text-cta {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.image-text-cta .cta-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

.image-text-cta .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.image-text-cta .btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Tablet Responsive Design (768px to 1200px) */
@media (min-width: 769px) and (max-width: 1200px) {
    .row-layout-text_left {
        grid-template-columns: 50% 50%;
    }
    
    .row-layout-text_right {
        grid-template-columns: 50% 50%;
    }
    
    .row-content {
        gap: 2rem;
    }
    
    .text-content h1, .text-content h2 {
        font-size: 1.75rem;
    }
    
    .text-content h3 {
        font-size: 1.375rem;
    }
    
    .text-content p {
        font-size: 1rem;
    }
    
    /* Tablet padding adjustments */
    .content-row.padding-top-small { padding-top: 1.75rem; }
    .content-row.padding-top-medium { padding-top: 2.5rem; }
    .content-row.padding-top-default { padding-top: 3.5rem; }
    .content-row.padding-top-large { padding-top: 4.5rem; }
    .content-row.padding-top-extra_large { padding-top: 5.5rem; }
    
    .content-row.padding-bottom-small { padding-bottom: 1.75rem; }
    .content-row.padding-bottom-medium { padding-bottom: 2.5rem; }
    .content-row.padding-bottom-default { padding-bottom: 3.5rem; }
    .content-row.padding-bottom-large { padding-bottom: 4.5rem; }
    .content-row.padding-bottom-extra_large { padding-bottom: 5.5rem; }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .image-text-hero {
        padding: 3rem 0;
    }
    
    .image-text-hero .page-title {
        font-size: 2rem;
    }
    
    .image-text-hero .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .content-row {
        padding: 3rem 0;
    }
    
    /* Mobile padding adjustments */
    .content-row.padding-top-none { padding-top: 0; }
    .content-row.padding-top-small { padding-top: 1.5rem; }
    .content-row.padding-top-medium { padding-top: 2rem; }
    .content-row.padding-top-default { padding-top: 3rem; }
    .content-row.padding-top-large { padding-top: 4rem; }
    .content-row.padding-top-extra_large { padding-top: 5rem; }
    
    .content-row.padding-bottom-none { padding-bottom: 0; }
    .content-row.padding-bottom-small { padding-bottom: 1.5rem; }
    .content-row.padding-bottom-medium { padding-bottom: 2rem; }
    .content-row.padding-bottom-default { padding-bottom: 3rem; }
    .content-row.padding-bottom-large { padding-bottom: 4rem; }
    .content-row.padding-bottom-extra_large { padding-bottom: 5rem; }
    
    .row-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }
    
    /* On mobile, always show text section first for all layouts */
    .row-layout-text_left .text-section,
    .row-layout-text_right .text-section {
        order: 1;
    }
    
    .row-layout-text_left .image-section,
    .row-layout-text_right .image-section {
        order: 2;
    }
    
    .text-only-section {
        text-align: left;
    }
    
    .text-content h1, .text-content h2 {
        font-size: 1.75rem;
    }
    
    .text-content h3 {
        font-size: 1.375rem;
    }
    
    .text-content p {
        font-size: 1rem;
    }
    
    .image-placeholder {
        min-height: 250px;
    }
    
    .image-text-cta .cta-content h2 {
        font-size: 1.875rem;
    }
}

@media (max-width: 480px) {
    .image-text-hero .page-title {
        font-size: 1.75rem;
    }
    
    .content-row {
        padding: 2rem 0;
    }
    
    .row-content {
        gap: 1.5rem;
    }
    
    .text-content h1, .text-content h2 {
        font-size: 1.5rem;
    }
    
    .image-placeholder {
        min-height: 200px;
    }
    
    .image-text-cta .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .image-text-cta .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
} 