/* Color Variables */
:root {
    --primary: #1a2a6c; /* Dark blue for gradients and buttons */
    --secondary: #5c258d; /* Purple for gradients and accents */
    --accent: #ff5e3a; /* Orange-red for highlights and CTAs */
    --text-light: #ffffff; /* White for text on dark backgrounds */
    --text-dark: #1f2937; /* Dark gray for text on light backgrounds */
    --bg-light: #f9fafb; /* Light gray for main background */
    --bg-dark: #121212; /* Near-black for footer */
    --bg-medium: #e5e7eb; /* Medium gray for cards and newsletter */
}

/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Hero Styles */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-30px) translateX(15px); }
    50% { transform: translateY(-15px) translateX(30px); }
    75% { transform: translateY(-30px) translateX(15px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 80px 0;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text {
    width: 100%;
    margin-bottom: 40px;
}

.hero-subtitle {
    color: var(--text-light);
    font-size: 20px;
    margin-bottom: 8px;
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 24px;
    transition-delay: 0.1s;
}

.highlight {
    color: #fef08a;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    transition-delay: 0.2s;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
    transition-delay: 0.3s;
}

.cta-primary {
    background: var(--accent);
    color: var(--text-light);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.cta-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(255, 94, 58, 0.3);
}

.cta-primary i {
    margin-left: 8px;
}

.cta-secondary {
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    background: transparent;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: rgba(255, 94, 58, 0.1);
    transform: translateY(-5px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    transition-delay: 0.4s;
}

.stat {
    text-align: center;
}

.stat-counter {
    font-weight: 800;
    color: var(--accent);
    font-size: 40px;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
    opacity: 0.9;
}

.hero-image-container {
    width: 100%;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.hero-image {
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    box-shadow: 25px 25px 50px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    overflow: hidden;
    background-color: #ffffff;
    padding: 16px;
}

.hero-image:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

.image-placeholder {
    background-color: #e5e7eb;
    height: 384px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder span {
    color: #6b7280;
    font-size: 18px;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .hero-grid {
        flex-direction: row;
        align-items: center;
    }

    .hero-text,
    .hero-image-container {
        width: 50%;
        margin-bottom: 0;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 20px;
    }

    .hero-content {
        padding: 80px 16px;
    }
}

/* Featured Articles Styles */
.articles {
    padding: 64px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading {
    position: relative;
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-description {
    max-width: 640px;
    margin: 0 auto;
    color: #6b7280;
    font-size: 16px;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.article-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.article-img-container {
    position: relative;
    overflow: hidden;
}

.article-img {
    width: 100%;
    height: 224px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .article-img {
    transform: scale(1.05);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover .gradient-overlay {
    opacity: 1;
}

.reading-time {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #4b5563;
    font-weight: 600;
}

.reading-time i {
    margin-right: 4px;
}

.category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 12px;
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 600;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
}

.article-content {
    padding: 24px;
}

.article-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: var(--accent);
}

.article-description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    background-color: #e5e7eb;
}

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

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.article-date {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.bookmark {
    margin-left: auto;
}

.bookmark-button {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 4px;
}

.bookmark-button:hover {
    color: var(--accent);
}

.section-footer {
    text-align: center;
    margin-top: 48px;
}

.cta-button {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    opacity: 0.9;
}

.explore-all {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
}

.explore-all .icon {
    width: 20px;
    height: 20px;
    margin-left: 8px;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading {
        font-size: 40px;
    }
}

@media (min-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Categories Styles */
.categories {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-medium));
    position: relative;
    overflow: hidden;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.categories .particle {
    background-color: rgba(67, 137, 162, 0.1);
    opacity: 0.3;
    animation: float 15s infinite linear;
}

.section-title {
    position: relative;
    display: inline-block;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.category-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

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

.card-content {
    text-align: center;
}

.category-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.category-icon {
    color: var(--text-light);
    font-size: 32px;
}

.category-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4b5563;
}

.stat-item i {
    color: var(--accent);
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.explore-btn:hover .arrow-icon {
    transform: translateX(5px);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--accent);
    border-radius: 8px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--accent);
    color: var(--text-light);
}

.view-all-btn:hover .btn-arrow {
    transform: translateX(5px);
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 40px;
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Testimonials Styles */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    position: relative;
}

.testimonials .particle {
    background: rgba(255, 255, 255, 0.1);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
}

.testimonial-content {
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -16px;
    left: 16px;
    color: var(--accent);
    opacity: 0.3;
}

.quote-icon .icon {
    width: 40px;
    height: 40px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author .author-img {
    width: 48px;
    height: 48px;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
}

.author-result {
    font-size: 14px;
    color: #d1d5db;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--text-light);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Trainers Styles */
.trainers {
    padding: 80px 0;
}

.trainers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.trainer-card {
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.trainer-card:hover {
    transform: translateY(-5px);
}

.trainer-img-container {
    position: relative;
    overflow: hidden;
}

.trainer-img {
    width: 100%;
    height: 256px;
    object-fit: cover;
}

.trainer-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent);
}

.trainer-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
}

.trainer-specialty {
    font-size: 14px;
    color: #d1d5db;
}

.trainer-content {
    padding: 24px;
}

.trainer-description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent);
}

.view-all {
    padding: 12px 24px;
}

@media (min-width: 768px) {
    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .trainers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Newsletter Styles */
.newsletter {
    padding: 80px 0;
    position: relative;
}

.newsletter-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    padding: 48px;
}

.newsletter-text {
    margin-bottom: 32px;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.newsletter-description {
    font-size: 16px;
    color: #6b7280;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-input {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 94, 58, 0.1);
}

.form-consent {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox {
    width: 16px;
    height: 16px;
}

.consent-label {
    font-size: 14px;
    color: #6b7280;
}

.subscribe-button {
    padding: 12px 24px;
}

.newsletter-benefits {
    position: relative;
    background: var(--bg-medium);
    padding: 48px;
}

.benefits-content {
    position: relative;
    z-index: 1;
}

.benefits-header {
    margin-bottom: 24px;
}

.benefits-header .icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 8px;
}

.benefits-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.benefit-item .check {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.benefits-footer {
    margin-top: 24px;
    font-size: 14px;
    color: #6b7280;
}

.background-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    opacity: 0.5;
    z-index: 0;
}

@media (min-width: 768px) {
    .newsletter-content {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }

    .newsletter-text,
    .newsletter-form {
        width: 50%;
    }
}

/* Footer Styles */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 50px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section {
    text-align: center;
}

.footer-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 24px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-links a,
.footer-contact a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent);
}

.footer-contact i {
    margin-right: 8px;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
    font-size: 14px;
}

.footer-bottom-links {
    margin-top: 16px;
}

.footer-bottom-links a {
    color: #d1d5db;
    margin: 0 16px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-section {
        text-align: left;
    }

    .footer-description {
        margin-left: 0;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.site-footer, .elementor-section:has(.footer), .elementor-widget-wrap:has(.footer) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}
footer.footer {
    display: block !important;
}
footer.footer .footer-grid {
    display: grid !important;
}
footer.footer .footer-grid .footer-column {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}
footer.footer .footer-grid .footer-column ul.footer-links {
    display: block !important;
}
footer.footer .footer-grid .footer-column ul.footer-links li {
    display: list-item !important;
}