/* Variables */
:root {
    --color-primary: #5b6fd5;
    --color-primary-dark: #4a5dbd;
    --color-primary-light: #8d9ce3;
    --color-secondary: #2a3852;
    --color-accent: #f87171;
    --color-text: #333;
    --color-text-light: #666;
    --color-background: #f8fafc;
    --color-white: #fff;
    --color-gray-light: #f1f5f9;
    --color-gray: #e2e8f0;
    --color-gray-dark: #94a3b8;
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;
    
    --font-primary: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-secondary: Georgia, 'Times New Roman', Times, serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --border-radius-sm: 0.125rem;
    --border-radius: 0.25rem;
    --border-radius-md: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 1rem;
    --border-radius-full: 9999px;
    
    --transition: all 0.3s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-secondary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.small {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary {
    background-color: var(--color-primary);
}

.center-button {
    text-align: center;
    margin-top: 2rem;
}

/* Header & Navigation */
header {
    background-color: var(--color-white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo img {
    max-height: 50px;
    border-radius: var(--border-radius);
}

nav ul {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: var(--color-secondary);
    font-weight: 600;
    padding: 0.5rem;
    position: relative;
}

nav a.active, nav a:hover {
    color: var(--color-primary);
}

nav a.active::after, nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}

#current-time {
    font-weight: 600;
    color: var(--color-text-light);
}

/* Footer */
footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    color: var(--color-white);
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a, .footer-contact a {
    color: var(--color-gray-light);
    transition: var(--transition);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.footer-contact .icon {
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.legal-links a {
    color: var(--color-gray-light);
    font-size: 0.875rem;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--color-primary-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    text-align: center;
    padding: 6rem 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 5rem 0;
    text-align: center;
}

.features h2 {
    margin-bottom: 3rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card .icon {
    background-color: var(--color-primary-light);
    color: var(--color-white);
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* Beginner Section */
.beginner-section {
    background-color: var(--color-gray-light);
    padding: 5rem 0;
}

.beginner-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.beginner-content h2 {
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

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

.beginner-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}

.beginner-content li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.beginner-content li::before {
    content: '•';
    color: var(--color-primary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.25rem;
}

.beginner-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

/* Latest Posts */
.latest-posts {
    padding: 5rem 0;
}

.latest-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.post-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    margin-bottom: 0.5rem;
}

.post-content h3 a {
    color: var(--color-secondary);
    transition: var(--transition);
}

.post-content h3 a:hover {
    color: var(--color-primary);
}

.post-meta {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    background-color: var(--color-gray-light);
    padding: 5rem 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.quote {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--color-primary);
}

.quote p {
    font-style: italic;
}

.client {
    display: flex;
    align-items: center;
}

.client img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    object-fit: cover;
    margin-right: 1rem;
}

.client-info h4 {
    margin-bottom: 0.25rem;
}

.client-info p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/10.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    text-align: center;
    padding: 5rem 1rem;
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

/* About Page */
.about-intro {
    padding: 5rem 0;
}

.about-intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

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

.values {
    background-color: var(--color-gray-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.values h3 {
    margin-bottom: 1rem;
}

.values ul {
    padding-left: 1.25rem;
}

.values li {
    margin-bottom: 0.5rem;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.team-section {
    padding: 5rem 0;
    background-color: var(--color-gray-light);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.team-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.team-card h3, .team-card p {
    padding: 0 1.5rem;
}

.team-card h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-card p:first-of-type {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-card p:last-of-type {
    margin-bottom: 1.5rem;
}

.team-card .social-links {
    display: flex;
    gap: 0.75rem;
    padding: 0 1.5rem 1.5rem;
}

.team-card .social-links a {
    color: var(--color-text-light);
    background-color: var(--color-gray-light);
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-card .social-links a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.certifications {
    padding: 5rem 0;
}

.certifications h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.certification-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.certification-icon {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.certification-item h3 {
    margin-bottom: 1rem;
}

.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/6.jpg');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    color: var(--color-white);
    text-align: center;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Page */
.blog-content {
    padding: 5rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.blog-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-image {
    height: 100%;
}

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

.blog-text {
    padding: 2rem 2rem 2rem 0;
}

.blog-text h2 {
    margin-bottom: 0.75rem;
}

.blog-text h2 a {
    color: var(--color-secondary);
    transition: var(--transition);
}

.blog-text h2 a:hover {
    color: var(--color-primary);
}

.blog-meta {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

.category {
    background-color: var(--color-primary-light);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
}

.newsletter {
    background-color: var(--color-gray-light);
    padding: 3rem 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* Contact Page */
.contact-section {
    padding: 5rem 0;
}

.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2, .contact-form-container h2 {
    margin-bottom: 1.5rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    background-color: var(--color-primary-light);
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

.social-contact {
    margin-top: 2.5rem;
}

.social-contact h3 {
    margin-bottom: 1rem;
}

.contact-form-container {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-container input {
    width: auto;
    margin-top: 0.25rem;
}

.form-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 1rem;
}

.map-section {
    padding: 3rem 0 5rem;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.faq-section {
    padding: 5rem 0;
    background-color: var(--color-gray-light);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.125rem;
}

.faq-icon {
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 1.25rem;
    z-index: 9999;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 0;
    max-width: 800px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cookie-content a {
    color: var(--color-primary-light);
    font-size: 0.875rem;
}

.cookie-content a:hover {
    text-decoration: underline;
}

/* Thank You Modal */
.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    display: none;
}

.modal-content {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
}

.success-icon {
    color: var(--color-success);
    margin-bottom: 1.5rem;
}

.thank-you-modal h2 {
    margin-bottom: 1rem;
}

.thank-you-modal p {
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .beginner-section .container,
    .about-intro .container,
    .contact-section .container {
        grid-template-columns: 1fr;
    }
    
    .blog-card {
        grid-template-columns: 1fr;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .blog-text {
        padding: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-social .social-icons {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}
