/* Main Styles for Renewable-Paragon Website */

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #4CAF50;
    transition: color 0.3s ease;
}

a:hover {
    color: #2E7D32;
}

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #222;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #4CAF50;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background-color: #2E7D32;
    color: white;
}

.btn-secondary {
    background-color: white;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.btn-secondary:hover {
    background-color: #e8f5e9;
}

.btn-tertiary {
    background-color: transparent;
    color: #4CAF50;
    padding: 8px 0;
    position: relative;
}

.btn-tertiary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.btn-tertiary:hover::after {
    width: 100%;
}

/* Header Styles */
.main-header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    max-width: 200px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #333;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #4CAF50;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    margin-bottom: 25px;
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-image {
    flex: 1;
    text-align: center;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    padding-right: 50px;
}

.about-image {
    flex: 1;
    text-align: center;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 20px;
    text-align: center;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    margin-bottom: 20px;
    text-align: center;
}

.product-card h3 {
    margin-bottom: 15px;
}

.product-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials-slider {
    margin-top: 40px;
    position: relative;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-image {
    flex: 0 0 80px;
    margin-right: 30px;
}

.testimonial-content {
    flex: 1;
    text-align: left;
}

.testimonial-content h3 {
    margin-bottom: 10px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}

.testimonial-rating {
    color: #FFD700;
}

.testimonials-controls {
    margin-top: 30px;
}

.prev-testimonial, .next-testimonial {
    background: none;
    border: none;
    cursor: pointer;
    margin: 0 10px;
}

/* Blog Preview Section */
.blog-preview {
    padding: 80px 0;
    background-color: white;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img, .blog-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-card h3 {
    margin-bottom: 10px;
}

.blog-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}

.blog-excerpt {
    margin-bottom: 15px;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background-color: #E8F5E9;
    text-align: center;
}

.newsletter p {
    max-width: 700px;
    margin: 0 auto 30px;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-group input {
    margin-right: 10px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.contact-form {
    flex: 1;
    padding-right: 50px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item h3 {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #2E7D32;
}

/* Footer */
.main-footer {
    background-color: #222;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-about p {
    margin-top: 15px;
    color: #bbb;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-links h3, .footer-legal h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-links ul li, .footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links a, .footer-legal a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-legal a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #bbb;
}

/* Blog Index Page */
.blog-header {
    background-color: #4CAF50;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.blog-header h1 {
    color: white;
    margin-bottom: 15px;
}

.blog-header p {
    max-width: 700px;
    margin: 0 auto;
}

.blog-content {
    padding: 80px 0;
    background-color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.blog-newsletter {
    margin-top: 60px;
}

/* Blog Article Page */
.blog-article {
    padding: 60px 0;
    background-color: white;
}

.article-header {
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: #888;
    margin-bottom: 30px;
}

.article-image {
    margin-bottom: 30px;
}

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

.article-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.article-content h2 {
    margin-top: 40px;
}

.article-content h3 {
    margin-top: 30px;
    color: #4CAF50;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}
.contact-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.article-content ul li, .article-content ol li {
    margin-bottom: 10px;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.exercise, .benefit, .drawback, .training-plan, .implementation-guide, .nutrition-tips, .supplement {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.exercise-content, .supplement-content {
    display: flex;
    gap: 30px;
}

.exercise-image, .supplement-image {
    flex: 0 0 300px;
}

.exercise-description, .supplement-description {
    flex: 1;
}

.supplement-warning {
    background-color: #FFF8E1;
    border-left: 4px solid #FFC107;
    padding: 15px;
    margin-bottom: 20px;
}

.supplement-warning h3 {
    color: #F57F17;
}

.cookies-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
}

.cookies-table th, .cookies-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.cookies-table th {
    background-color: #E8F5E9;
}

.cookies-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Legal Pages */
.legal {
    padding: 60px 0;
    background-color: white;
}

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

.last-updated {
    color: #888;
    margin-bottom: 30px;
    font-style: italic;
}

.legal-section {
    margin-bottom: 40px;
}

/* Thank You Page */
.thank-you {
    padding: 100px 0;
    background-color: white;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-icon {
    margin-bottom: 30px;
}

.thank-you-buttons {
    margin-top: 30px;
}

.thank-you-buttons .btn {
    margin: 0 10px;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container, .about-content, .contact-content {
        flex-direction: column;
    }
    
    .hero-content, .about-text, .contact-form {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .exercise-content, .supplement-content {
        flex-direction: column;
    }
    
    .exercise-image, .supplement-image {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .services-grid, .products-grid, .blog-preview-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .testimonial-content {
        text-align: center;
    }
    
    .article-meta {
        flex-direction: column;
    }
    
    .article-author {
        margin-top: 5px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .thank-you-buttons {
        display: flex;
        flex-direction: column;
    }
    
    .thank-you-buttons .btn {
        margin: 10px 0;
    }
}