/* Base Styles and Variables */
:root {
    --primary-color: #4a6fc0;
    --secondary-color: #9c27b0;
    --accent-color: #ff9800;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333;
    --light-text: #666;
    --lighter-text: #999;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --border-color: #e0e0e0;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 6px;
    --section-padding: 80px 0;
    --section-padding-small: 50px 0;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn.primary:hover {
    background-color: #3a5ca3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 111, 192, 0.3);
}

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

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn.tertiary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--border-color);
}

.btn.tertiary:hover {
    background-color: var(--light-text);
    color: white;
    border-color: var(--light-text);
}

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

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

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

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

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero .slogan {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Page Headers */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.page-header h1 {
    color: white;
}

.page-header .slogan {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Future Quote Section */
.future-quote {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.future-quote h2 {
    color: white;
    margin-bottom: 20px;
}

.future-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.future-quote blockquote:before,
.future-quote blockquote:after {
    content: '"';
    font-size: 3rem;
    position: absolute;
    color: var(--accent-color);
}

.future-quote blockquote:before {
    top: -20px;
    left: 0;
}

.future-quote blockquote:after {
    bottom: -40px;
    right: 0;
    content: '"';
}

.future-quote cite {
    display: block;
    font-style: normal;
    margin-top: 20px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Featured Posts */
.featured-posts {
    padding: var(--section-padding);
    background-color: white;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-content {
    padding: 20px;
}

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

.post-content p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover:after {
    margin-left: 10px;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.newsletter h2 {
    color: white;
}

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

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

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    outline: none;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--dark-color);
}

.newsletter-form button:hover {
    background-color: #1a2634;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

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

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

.footer-links h4,
.footer-social h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h4:after,
.footer-social h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -8px;
    left: 0;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

.social-icons a svg {
    fill: white;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

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

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

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.cookie-content a {
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Blog Page Styles */
.blog-posts {
    padding: var(--section-padding);
    background-color: white;
}

.blog-post {
    margin-bottom: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: white;
}

.blog-post .post-image {
    height: 400px;
}

.blog-post .post-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--lighter-text);
    font-size: 0.9rem;
}

.post-meta .category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-post h2 {
    margin-bottom: 20px;
}

.blog-post p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* About Page Styles */
.about-mission,
.about-story {
    padding: var(--section-padding);
    background-color: white;
}

.about-mission .container,
.about-story .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-content,
.story-content {
    padding-right: 20px;
}

.mission-image img,
.story-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.team-section {
    padding: var(--section-padding);
    background-color: #f5f7fa;
}

.team-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.team-member h3 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.team-member p {
    color: var(--light-text);
    padding: 0 20px;
    margin-bottom: 10px;
}

.team-member p:nth-of-type(1) {
    color: var(--primary-color);
    font-weight: 600;
}

.team-member .social-icons {
    justify-content: center;
    margin: 20px 0;
}

.team-member .social-icons a {
    background-color: #f5f7fa;
}

.team-member .social-icons a svg {
    fill: var(--dark-color);
}

.values-section {
    padding: var(--section-padding);
    background-color: white;
    text-align: center;
}

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

.value-card {
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: #f5f7fa;
    transition: var(--transition);
}

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

.value-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon svg {
    fill: var(--primary-color);
}

.testimonials {
    padding: var(--section-padding);
    background-color: #f5f7fa;
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin: 20px 0;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0;
    text-align: left;
}

.testimonial-author p {
    margin-bottom: 0;
    color: var(--light-text);
    text-align: left;
}

/* Contact Page Styles */
.contact-section {
    padding: var(--section-padding);
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    margin-right: 20px;
    min-width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    fill: white;
}

.contact-text h3 {
    margin-bottom: 5px;
}

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

.social-connect h3 {
    margin-bottom: 15px;
}

.social-connect .social-icons {
    justify-content: flex-start;
}

.contact-form-container {
    background-color: #f5f7fa;
    padding: 40px;
    border-radius: var(--border-radius);
}

.contact-form-container h2 {
    margin-bottom: 30px;
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 111, 192, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: normal;
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

.map-section {
    padding: var(--section-padding-small);
    background-color: #f5f7fa;
    text-align: center;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 30px;
    box-shadow: var(--box-shadow);
}

.map-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.faq-section {
    padding: var(--section-padding-small);
    background-color: white;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.faq-item {
    background-color: #f5f7fa;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.modal h2 {
    margin-bottom: 20px;
}

.modal p {
    margin-bottom: 30px;
}

.modal .btn {
    min-width: 150px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .future-quote blockquote {
        font-size: 1.3rem;
        padding: 0 30px;
    }
    
    .about-mission .container,
    .about-story .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mission-content,
    .story-content {
        padding-right: 0;
        order: 2;
    }
    
    .mission-image,
    .story-image {
        order: 1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo,
    .footer-links,
    .footer-social {
        text-align: center;
    }
    
    .footer-links h4:after,
    .footer-social h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
    }
    
    nav.active {
        display: block;
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav.active ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav.active ul li {
        margin: 0;
        padding: 10px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .blog-post .post-image {
        height: 250px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .modal-content {
        margin: 30% auto;
        padding: 20px;
    }
}
