/* 
* Sunridge Canvas - Photography Blog
* Main Stylesheet
*/

/* ---------- Base Styles ---------- */
:root {
    --primary-color: #4a6fa5;
    --primary-dark: #345284;
    --primary-light: #6b8cb9;
    --secondary-color: #e8a87c;
    --dark-color: #2d3748;
    --light-color: #f8f9fa;
    --gray-color: #718096;
    --light-gray: #e2e8f0;
    --success-color: #48bb78;
    --error-color: #e53e3e;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 5px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

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

body {
    font-family: var(--font-body);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

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

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

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

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

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

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

/* ---------- Header & Navigation ---------- */
header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo img {
    max-height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 0 0 1.5rem;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    font-family: var(--font-heading);
    padding: 0.5rem 0;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

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

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    transition: var(--transition);
}

.mobile-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero {
    padding: 5rem 0;
    background-color: #f5f7fa;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 2.75rem;
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

/* ---------- Featured Posts Section ---------- */
.featured-posts {
    padding: 5rem 0;
    background-color: white;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.featured-posts h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 1rem auto 0;
}

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

.post-card {
    background-color: 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 10px 20px rgba(0, 0, 0, 0.1);
}

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-top: 0;
}

.post-content p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

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

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

.view-all {
    text-align: center;
    margin-top: 3rem;
}

/* ---------- Services Section ---------- */
.services {
    padding: 5rem 0;
    background-color: #f5f7fa;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.services h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 1rem auto 0;
}

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

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

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

.service-icon {
    margin: 0 auto 1.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e6f0fd;
    border-radius: 50%;
    color: var(--primary-color);
}

.service-card h3 {
    margin-top: 0;
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    padding: 5rem 0;
    background-color: white;
}

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

.testimonials h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 1rem auto 0;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 0;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: #e2e8f0;
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
    z-index: -1;
}

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

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

.testimonial-author h4 {
    margin: 0;
    font-size: 1.1rem;
}

.testimonial-author p {
    margin: 0;
    color: var(--gray-color);
    font-size: 0.875rem;
}

/* ---------- CTA Section ---------- */
.cta {
    padding: 5rem 0;
    background-color: #f5f7fa;
}

.cta .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.cta img {
    flex: 1;
    max-width: 500px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    object-fit: cover;
}

.cta-content {
    flex: 1;
}

.cta h2 {
    margin-top: 0;
}

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

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

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

.footer-logo img {
    max-height: 60px;
    margin-bottom: 1rem;
}

.footer-logo p {
    margin-bottom: 0;
    color: #a0aec0;
    font-size: 0.9rem;
}

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

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

.footer-links a {
    color: #a0aec0;
    display: block;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

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

.footer-contact p {
    color: #a0aec0;
    margin-bottom: 0.75rem;
}

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

.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);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    color: #a0aec0;
    font-size: 0.9rem;
}

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

.legal-links a {
    color: #a0aec0;
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: white;
}

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

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

.cookie-content p {
    margin: 0;
}

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

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

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

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

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

.cookie-policy a:hover {
    color: white;
}

/* ---------- Page Header ---------- */
.page-header {
    padding: 5rem 0;
    background-color: #f5f7fa;
    text-align: center;
}

.page-header img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

/* ---------- Blog Page ---------- */
.blog-posts {
    padding: 5rem 0;
    background-color: white;
}

.post-filter {
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.post-filter h3 {
    margin: 0;
    font-size: 1.1rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-buttons button {
    background-color: #f1f5f9;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: var(--transition);
    color: var(--gray-color);
}

.filter-buttons button.active,
.filter-buttons button:hover {
    background-color: var(--primary-color);
    color: white;
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.blog-image {
    width: 100%;
}

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

.blog-content {
    padding: 2rem;
    flex: 1;
}

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

.blog-category {
    background-color: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
}

.blog-card h2 {
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* ---------- Newsletter Section ---------- */
.newsletter {
    padding: 5rem 0;
    background-color: #f5f7fa;
}

.newsletter .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.newsletter-content {
    flex: 1;
}

.newsletter-image {
    flex: 1;
}

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

.newsletter h2 {
    margin-top: 0;
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

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

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-size: 0.9rem;
}

.newsletter-note {
    font-size: 0.875rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

/* ---------- Portfolio Page ---------- */
.portfolio-filter {
    padding: 3rem 0;
    background-color: white;
}

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

.portfolio-gallery {
    padding: 3rem 0 5rem;
    background-color: #f5f7fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 300px;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .item-overlay {
    transform: translateY(0);
}

.item-overlay h3 {
    margin: 0 0 0.5rem;
    color: white;
}

.item-overlay p {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.view-details {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
}

.client-projects {
    padding: 5rem 0;
    background-color: white;
}

.client-projects h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.client-projects h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 1rem auto 0;
}

.project-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: #f5f7fa;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.project-card img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.project-details h3 {
    margin-top: 0;
}

.project-meta {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-color);
    display: flex;
    gap: 1.5rem;
}

/* ---------- About Page ---------- */
.about-story, 
.about-mission {
    padding: 5rem 0;
}

.about-story {
    background-color: white;
}

.about-mission {
    background-color: #f5f7fa;
}

.about-story .container,
.about-mission .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.story-content,
.mission-content {
    flex: 1;
}

.story-image,
.about-mission img {
    flex: 1;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.story-content h2,
.mission-content h2 {
    margin-top: 0;
}

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

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.value-item svg {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-item h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}

.value-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.team-section {
    padding: 5rem 0;
    background-color: white;
    text-align: center;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.team-member {
    background-color: #f5f7fa;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

.team-member h3 {
    margin: 1.5rem 0 0.25rem;
}

.team-member p {
    margin: 0 0 1rem;
    padding: 0 1.5rem;
}

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

.team-member p:nth-of-type(2) {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

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

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

.achievements {
    padding: 5rem 0;
    background-color: #f5f7fa;
    text-align: center;
}

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

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

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

.achievement-item h3 {
    margin-top: 0;
}

.achievement-item p {
    color: var(--gray-color);
    margin-bottom: 0;
}

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

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

.contact-form-container,
.contact-info {
    background-color: #f5f7fa;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form-container h2,
.contact-info h2 {
    margin-top: 0;
    margin-bottom: 2rem;
}

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

.form-group {
    margin-bottom: 0;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 111, 165, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
}

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

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

.info-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.info-content p {
    margin: 0;
    color: var(--gray-color);
}

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

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

.location-map {
    padding: 5rem 0;
    background-color: #f5f7fa;
}

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

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

.faq-section {
    padding: 5rem 0;
    background-color: white;
}

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

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

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

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    cursor: pointer;
}

.faq-item.active h3 {
    color: var(--primary-color);
}

.faq-item p {
    margin-bottom: 0;
}

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

.popup-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-popup {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-color);
}

.popup-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.popup-body p {
    margin-bottom: 1.5rem;
}

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

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

.post-header img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.post-header h1 {
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.author, 
.post-date, 
.reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0;
    box-shadow: none;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.post-content h2 {
    margin-top: 3rem;
    font-size: 1.75rem;
}

.post-content h3 {
    font-size: 1.35rem;
    color: var(--primary-dark);
}

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

.post-content ul, 
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.image-block {
    margin: 2.5rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.image-block img {
    width: 100%;
}

.image-caption {
    display: block;
    padding: 1rem;
    background-color: #f5f7fa;
    font-size: 0.9rem;
    color: var(--gray-color);
    font-style: italic;
    text-align: center;
}

.post-footer {
    max-width: 800px;
    margin: 4rem auto;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.post-tags span {
    font-weight: 600;
    margin-right: 0.75rem;
}

.post-tags a {
    display: inline-block;
    margin-right: 0.5rem;
    padding: 0.25rem 0.75rem;
    background-color: #f1f5f9;
    border-radius: 30px;
    font-size: 0.875rem;
    color: var(--gray-color);
    text-decoration: none;
}

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

.post-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: var(--gray-color);
    transition: var(--transition);
}

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

.author-bio {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: #f5f7fa;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--box-shadow);
}

.author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    margin-top: 0;
    font-size: 1rem;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-info h4 {
    margin: 0.25rem 0 0.75rem;
    font-size: 1.25rem;
}

.author-info p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.author-social {
    display: flex;
    gap: 0.75rem;
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
    transition: var(--transition);
}

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

.related-posts {
    max-width: 800px;
    margin: 4rem auto 2rem;
}

.related-posts h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.related-post {
    text-decoration: none;
    color: inherit;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.related-post h4 {
    padding: 1rem 1rem 0;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.related-post p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

/* ---------- Typewriter Effect ---------- */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    animation: blink-caret 0.75s step-end infinite;
    border-right: 0.1em solid transparent;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .cta .container,
    .newsletter .container,
    .about-story .container,
    .about-mission .container {
        flex-direction: column;
    }
    
    .project-card {
        flex-direction: column;
    }
    
    .project-card img {
        width: 100%;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .post-grid,
    .services-grid,
    .gallery-grid,
    .mission-values,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo,
    .footer-links,
    .footer-contact,
    .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons,
    .footer-bottom {
        justify-content: center;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-meta {
        gap: 1rem;
    }
    
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
