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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* Navigation */
.main-navigation {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

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

.site-logo {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active-link {
    color: #cc0000;
}

/* Hero Section */
.hero-banner {
    background: linear-gradient(135deg, #cc0000 0%, #8b0000 100%);
    color: #fff;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 2rem auto;
    border-radius: 12px;
}

.hero-content {
    padding: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: #cc0000;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Section Styles */
.section-heading {
    text-align: center;
    font-size: 2.2rem;
    color: #cc0000;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #cc0000;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.feature-title {
    color: #cc0000;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-text {
    color: #555;
    line-height: 1.7;
}

/* Course Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.course-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.course-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    color: #cc0000;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.course-description {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.course-duration {
    color: #777;
    font-size: 0.9rem;
}

.course-button {
    background-color: #cc0000;
    color: #fff;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.course-button:hover {
    background-color: #8b0000;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    color: #cc0000;
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
    line-height: 1.3;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.read-more {
    color: #cc0000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #8b0000;
}

/* Post Detail */
.post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-title {
    font-size: 2.5rem;
    color: #cc0000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    color: #777;
    font-size: 1rem;
}

.post-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.post-content h3 {
    color: #cc0000;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

/* Lead Form Section */
.lead-form-section {
    background-color: #fff;
    padding: 4rem 0;
}

.form-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.form-info {
    padding-right: 2rem;
}

.form-heading {
    color: #cc0000;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.form-info img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-container {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #cc0000;
}

.submit-button {
    background-color: #cc0000;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
    background-color: #8b0000;
    transform: translateY(-2px);
}

/* Testimonials */
.testimonials-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

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

.testimonial-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-text {
    color: #555;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: #cc0000;
    font-weight: 600;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-card h3 {
    color: #cc0000;
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
    padding: 0 1rem;
}

.team-position {
    color: #777;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.team-bio {
    color: #555;
    line-height: 1.7;
    padding: 0 1rem 1.5rem;
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: #cc0000;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: start;
}

.info-icon {
    font-size: 1.8rem;
    color: #cc0000;
}

.info-text h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.info-text p {
    color: #555;
    line-height: 1.7;
}

.contact-form-wrapper {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.page-number {
    padding: 0.7rem 1.2rem;
    background-color: #fff;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-number.active {
    background-color: #cc0000;
    color: #fff;
}

.page-number:hover:not(.active) {
    background-color: #f0f0f0;
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #cc0000;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #cc0000;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
    padding: 2rem;
    z-index: 2000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    color: #cc0000;
    margin-bottom: 1rem;
}

.cookie-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.cookie-content a {
    color: #cc0000;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accept-btn {
    background-color: #cc0000;
    color: #fff;
}

.accept-btn:hover {
    background-color: #8b0000;
}

.decline-btn {
    background-color: #ddd;
    color: #333;
}

.decline-btn:hover {
    background-color: #bbb;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background-color: #fff;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
}

.modal-content h3 {
    color: #cc0000;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-close {
    background-color: #cc0000;
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: #8b0000;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-banner {
        grid-template-columns: 1fr;
    }
    
    .form-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .course-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container-main {
        padding: 1rem;
    }
    
    .hero-banner {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
