/* Base Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --border-color: #e1e1e1;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
    --border-radius: 5px;
    --container-width: 1200px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

p {
    margin-bottom: 15px;
}

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

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

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
}

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

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

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

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

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

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

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

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-banner h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content Structure */
main {
    padding: 60px 0;
}

main .container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

/* Blog Posts Section */
.posts h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.post-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    transition: var(--transition);
}

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

.post-image {
    flex: 0 0 300px;
}

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

.post-content {
    padding: 25px;
    flex: 1;
}

.post-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

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

/* Sidebar Styles */
.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.widget h3 {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.widget p {
    margin-bottom: 20px;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-bg);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 18px;
    transition: var(--transition);
}

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

/* About Page Styles */
.about-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

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

.team-section {
    margin-bottom: 60px;
}

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

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

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

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

.team-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.team-card h3 {
    margin: 20px 0 5px;
    font-size: 18px;
}

.team-card p {
    padding: 0 15px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.team-card .social-icons {
    justify-content: center;
    margin-bottom: 20px;
}

.values-section {
    margin-bottom: 60px;
}

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

.value-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Contact Page Styles */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

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

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

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

.social-contact .social-icons {
    margin-top: 15px;
}

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

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

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

.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;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
}

.review-section {
    margin-top: 40px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.map-section {
    grid-column: 1 / -1;
}

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

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.modal-icon {
    font-size: 60px;
    color: var(--success-color);
    margin-bottom: 20px;
}

.modal-content h2 {
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 25px;
}

/* Review Widget */
.review-widget {
    text-align: center;
}

.review-widget-about {
    grid-column: 1 / -1;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    margin-top: 20px;
}

.review-widget-about h2 {
    margin-bottom: 15px;
}

.review-widget-about p {
    max-width: 700px;
    margin: 0 auto 25px;
}

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

.review-btn:hover {
    background-color: #e67e22;
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
}

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

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

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

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact p i {
    margin-right: 10px;
    margin-top: 5px;
}

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

/* Cookie Consent Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cookie-content p {
    flex: 1 1 100%;
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-link {
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .post-card {
        flex-direction: column;
    }
    
    .post-image {
        flex: 0 0 200px;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 992px) {
    main .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .post-card {
        margin-bottom: 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
}

@media screen and (max-width: 576px) {
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .page-banner h2 {
        font-size: 26px;
    }
    
    .posts h2 {
        font-size: 24px;
    }
    
    .post-content h3 {
        font-size: 18px;
    }
    
    .cookie-content {
        padding: 15px;
    }
}
