/* Base Styles and Typography */
:root {
    --primary-color: #2b6cb0;
    --primary-dark: #1e4e8c;
    --secondary-color: #38b2ac;
    --dark-color: #1a202c;
    --light-color: #f7fafc;
    --text-color: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --error-color: #e53e3e;
    --warning-color: #ed8936;
    --info-color: #4299e1;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 0.375rem;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

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

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

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

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

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

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    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%;
}

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

/* Hero Section */
.hero {
    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;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

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

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

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

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

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

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

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

/* What You Will Learn Section */
.what-you-will-learn {
    padding: 4rem 0;
    background-color: white;
}

.custom-list {
    list-style: none;
    margin-left: 1rem;
}

.custom-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.custom-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* Featured Posts Section */
.featured-posts {
    padding: 4rem 0;
    background-color: var(--light-color);
}

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

.post-grid.full-width {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

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

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

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

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

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

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

.read-more:hover:after {
    margin-left: 0.25rem;
}

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

.newsletter h2 {
    color: white;
}

.newsletter p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.newsletter input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

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

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-logo {
    grid-column: span 1;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-contact h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

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

.footer-links ul li {
    margin-bottom: 0.75rem;
}

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

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

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

.footer-contact i {
    margin-right: 0.5rem;
}

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

.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%;
    color: white;
    transition: var(--transition);
}

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

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

.footer-bottom p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 32, 44, 0.95);
    color: white;
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-cookie.accept {
    background-color: var(--success-color);
    color: white;
}

.btn-cookie.customize {
    background-color: white;
    color: var(--dark-color);
}

.btn-cookie.decline {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.btn-cookie:hover {
    opacity: 0.9;
}

.cookie-policy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.cookie-policy a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Blog Page */
.page-header {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.page-header h1 {
    color: white;
}

.blog-posts {
    padding: 4rem 0;
}

/* About Page */
.about-intro {
    padding: 4rem 0;
    background-color: white;
}

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

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

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

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    padding-bottom: 1.5rem;
    transition: var(--transition);
}

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

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

.team-member h3 {
    margin: 1.25rem 1.25rem 0.5rem;
}

.team-member p {
    margin: 0 1.25rem 0.75rem;
}

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

.member-social {
    display: flex;
    gap: 1rem;
    margin: 1rem 1.25rem;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

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

.partners {
    padding: 4rem 0;
    background-color: white;
    text-align: center;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.partner {
    text-align: center;
    max-width: 200px;
}

.partner img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 3px solid var(--border-color);
}

.partner p {
    font-weight: 600;
    color: var(--dark-color);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    margin-bottom: 2rem;
}

.contact-method .icon {
    margin-right: 1rem;
    display: flex;
    align-items: flex-start;
    color: var(--primary-color);
}

.contact-method .content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-method .content p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

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

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

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.map-section {
    padding: 4rem 0;
    background-color: var(--light-color);
    text-align: center;
}

.map-container {
    margin-top: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

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

.map-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-style: italic;
}

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

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

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

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

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

.modal-content p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* Blog Post Page */
.blog-post {
    padding: 4rem 0;
    background-color: white;
}

.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.post-header .post-meta {
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.75rem;
    object-fit: cover;
}

.post-featured-image {
    margin-bottom: 2rem;
    position: relative;
}

.post-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.image-caption {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
    text-align: center;
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.post-content blockquote {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 5px solid var(--primary-color);
    font-style: italic;
    color: var(--text-light);
}

.post-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
}

.post-image-inline {
    margin: 2rem 0;
}

.post-image-inline img {
    width: 100%;
    border-radius: var(--border-radius);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0 1.5rem;
}

.post-tags span {
    font-weight: 600;
}

.post-tags a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--light-color);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--text-color);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.post-share span {
    font-weight: 600;
}

.post-share a {
    color: var(--text-light);
}

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

.post-navigation {
    margin: 3rem 0;
}

.post-nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-nav-prev,
.post-nav-next {
    display: flex;
    flex-direction: column;
    max-width: 50%;
}

.post-nav-next {
    text-align: right;
    align-items: flex-end;
}

.post-nav-prev svg,
.post-nav-next svg {
    margin-top: 0.5rem;
}

.post-nav-prev span,
.post-nav-next span {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.post-nav-prev strong,
.post-nav-next strong {
    font-weight: 600;
    color: var(--dark-color);
}

.related-posts {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-intro .container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .newsletter form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter input,
    .newsletter button {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .post-nav-links {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    
    .post-nav-prev,
    .post-nav-next {
        max-width: 100%;
    }
    
    .post-nav-next {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

/* Icon font replacements with SVG */
.icon-location, .icon-phone, .icon-email {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-location {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232b6cb0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
}

.icon-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232b6cb0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
}

.icon-email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232b6cb0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
}
