/* Base Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --accent-color: #ffc107;
    --dark-grey: #343a40;
    --medium-grey: #6c757d;
    --light-grey: #f8f9fa;
    --white: #fff;
    --text-color: #333;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --transition-speed: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-grey);
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
p { margin-bottom: 1rem; }

.lead-text {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--medium-grey);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition-speed);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3; /* Darker blue */
    border-color: #0056b3;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #218838; /* Darker green */
    border-color: #218838;
}

.btn-success { /* For donation button */
    background-color: #28a745;
    color: var(--white);
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-light-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-light-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-light:hover {
    background-color: var(--light-grey);
    color: var(--primary-color);
}


/* Section Spacing */
.section-spacing {
    padding: 80px 0;
}

.bg-light-grey {
    background-color: var(--light-grey);
}

.bg-primary-dark {
    background-color: #0056b3; /* A slightly darker shade of primary */
    color: var(--white);
}

.text-white {
    color: var(--white);
}

.text-center {
    text-align: center;
}

/* Header */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px; /* Adjust as needed */
    width: auto;
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
}

.main-nav .nav-list li {
    margin-left: 30px;
}

.main-nav .nav-list a {
    text-decoration: none;
    color: var(--dark-grey);
    font-weight: 600;
    transition: color var(--transition-speed);
    padding: 5px 0;
    position: relative;
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.main-nav .nav-list a:hover::after,
.main-nav .nav-list a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark-grey);
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.menu-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-grey);
    transition: all var(--transition-speed);
}


/* Hero Section / Carousel */
.hero-section {
    position: relative;
    width: 100%;
    height: 500px; /* Adjust height as needed */
    overflow: hidden;
}

/* Carousel Container Styles */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 2rem auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 300%; /* Adjust based on number of slides (e.g., 3 slides = 300%) */
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    flex: 1;
    position: relative;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease-out;
}

.carousel-slide.active .slide-image img {
    transform: scale(1.05);
}

/* Overlay Styles */
.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease-out;
}

.carousel-slide.active .slide-overlay {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}

.slide-content h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Navigation Controls */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

.carousel-container:hover .carousel-nav {
    opacity: 1;
    visibility: visible;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

/* Slide Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.indicator.active::before {
    transform: scale(1);
}

.indicator:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Page Hero Sections (for inner pages) */
.page-hero-section {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: -1;
}

.page-hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}


/* Welcome Section (Homepage) */
.welcome-section {
    display: flex;
    align-items: center;
    gap: 40px;
}

.welcome-section .section-content {
    flex: 1;
}

.welcome-section .section-image {
    flex: 1;
    text-align: center;
}

.welcome-section .section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Core Values Section */
.core-values-section .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.value-item .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Featured Projects Section */
.featured-projects-section .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    padding: 15px 20px 0;
    color: var(--primary-color);
}

.project-card p {
    padding: 0 20px;
    font-size: 0.95rem;
    color: var(--medium-grey);
}

.project-card .btn {
    margin: 20px;
    width: calc(100% - 40px);
}

/* Call to Action Section */
.cta-section {
    padding: 100px 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.cta-section .btn {
    margin: 0 10px;
}


/* About Us Page Styles */
.about-us-content .content-block {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.about-us-content .content-block:last-child {
    margin-bottom: 0;
}

.about-us-content h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.team-section .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-member-card {
    text-align: center;
    background-color: var(--light-grey);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.team-member-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--primary-color);
}

.team-member-card h3 {
    margin-bottom: 5px;
    color: var(--dark-grey);
}

.team-member-card .role {
    font-weight: bold;
    color: var(--medium-grey);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.partners-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.partners-list li {
    background-color: var(--white);
    padding: 10px 15px;
    margin-bottom: 8px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
}

/* Projects Page Styles */
.projects-list-grid {
    display: grid;
    gap: 60px; /* Space between project cards */
    margin-top: 40px;
}

.project-detail-card {
    display: flex;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.project-detail-card img {
    width: 50%;
    height: auto;
    object-fit: cover;
}

.project-detail-card .project-content {
    width: 50%;
    padding: 40px;
}

.project-detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.project-detail-card .project-tagline {
    font-style: italic;
    color: var(--medium-grey);
    margin-bottom: 20px;
}

.project-detail-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.project-detail-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.project-detail-card ul li::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.project-detail-card.reverse-layout {
    flex-direction: row-reverse; /* Image on right, text on left */
}

.future-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.plan-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
}

.plan-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}


/* Get Involved Page Styles */
.get-involved-options .options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.option-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.option-card .icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.option-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.option-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
}

.option-card ul li {
    margin-bottom: 8px;
    color: var(--medium-grey);
}

/* Forms */
.contact-form, .newsletter-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--dark-grey);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.form-group textarea {
    resize: vertical;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    background: none;
    box-shadow: none;
    padding: 0;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--dark-grey);
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--medium-grey);
}

.newsletter-form button {
    flex-shrink: 0;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}


/* Blog Page Styles */
.blog-grid-section {
    display: flex;
    gap: 30px;
}

.blog-main-content {
    flex: 3; /* Main content takes more space */
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-post-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.blog-post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-post-card .post-content {
    padding: 20px;
}

.blog-post-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.blog-post-card .post-meta {
    font-size: 0.85rem;
    color: var(--medium-grey);
    margin-bottom: 15px;
}

.blog-post-card p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.blog-post-card .read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.blog-post-card .read-more:hover {
    text-decoration: underline;
}

.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition-speed);
}

.pagination a.active,
.pagination a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Sidebar */
.sidebar {
    flex: 1; /* Sidebar takes less space */
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    align-self: flex-start; /* Stick to the top */
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--light-grey);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget ul li {
    margin-bottom: 10px;
}

.sidebar-widget ul li a {
    text-decoration: none;
    color: var(--dark-grey);
    transition: color var(--transition-speed);
}

.sidebar-widget ul li a:hover {
    color: var(--primary-color);
}

/* Gallery Page Styles */
.gallery-filter-buttons {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-filter-buttons .btn {
    margin: 0 8px;
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.gallery-filter-buttons .btn.active,
.gallery-filter-buttons .btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.image-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-speed);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform var(--transition-speed);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.video-gallery-section {
    margin-top: 80px;
}

.video-gallery-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.video-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.video-item iframe {
    width: 100%;
    height: 200px;
    display: block;
}

.video-item p {
    padding: 15px;
    font-weight: bold;
    color: var(--dark-grey);
    font-size: 1rem;
}


/* Testimonials Page Styles */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.testimonial-card::before {
    content: '❝';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(0, 123, 255, 0.1);
    z-index: 0;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark-grey);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Contact Us Page Styles */
.contact-info-map-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Info slightly smaller than map */
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info h2, .contact-map h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--light-grey);
    padding-bottom: 10px;
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info .info-item .icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-info .info-item p {
    margin-bottom: 0;
}

.social-links-contact {
    margin-top: 30px;
}

.social-links-contact h3 {
    margin-bottom: 15px;
    color: var(--dark-grey);
}

.social-links-contact a img {
    width: 35px;
    height: 35px;
    margin-right: 15px;
    transition: transform var(--transition-speed);
}

.social-links-contact a img:hover {
    transform: translateY(-3px);
}

.contact-map iframe {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Footer */
.main-footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.main-footer h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.main-footer p, .main-footer li {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.8;
}

.main-footer ul {
    list-style: none;
    padding: 0;
}

.main-footer ul li a {
    text-decoration: none;
    color: #ccc;
    transition: color var(--transition-speed);
}

.main-footer ul li a:hover {
    color: var(--white);
}

.footer-about .social-links {
    margin-top: 20px;
}

.footer-about .social-links img {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    transition: transform var(--transition-speed);
}

.footer-about .social-links img:hover {
    transform: translateY(-3px);
}

.footer-newsletter .newsletter-form {
    flex-direction: column;
}

.footer-newsletter .newsletter-form input {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
}

/* Responsive Styles */

@media (max-width: 992px) {
    .main-nav .nav-list {
        display: none; /* Hide nav by default on smaller screens */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px;
    }

    .main-nav .nav-list.active {
        display: flex;
    }

    .main-nav .nav-list li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: flex; /* Show toggle button */
    }

    .welcome-section {
        flex-direction: column;
        text-align: center;
    }

    .welcome-section .section-content,
    .welcome-section .section-image {
        flex: none;
        width: 100%;
    }

    .project-detail-card,
    .project-detail-card.reverse-layout {
        flex-direction: column;
    }

    .project-detail-card img,
    .project-detail-card .project-content {
        width: 100%;
    }

    .contact-info-map-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }

    /* Carousel specific adjustments */
    .carousel-container {
        max-width: 100%; /* Allow carousel to take full width */
        margin-top: 1rem;
    }

    .carousel-wrapper {
        height: 300px; /* Adjust carousel height for smaller screens */
    }

    .slide-content h3 {
        font-size: 1.2rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 10px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .section-spacing {
        padding: 60px 0;
    }

    .page-hero-section h1 {
        font-size: 2.5rem;
    }

    .contact-form, .newsletter-form {
        padding: 25px;
    }

    .blog-grid-section {
        flex-direction: column;
    }

    .blog-main-content, .sidebar {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo img {
        height: 50px;
    }

    /* Carousel specific adjustments for very small screens */
    .carousel-wrapper {
        height: 250px;
    }

    .slide-content h3 {
        font-size: 1rem;
    }

    .slide-content p {
        font-size: 0.8rem;
    }

    .carousel-nav {
        display: none; /* Hide nav buttons on very small screens if space is tight */
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .values-grid,
    .projects-grid,
    .team-grid,
    .options-grid,
    .future-plans-grid,
    .blog-posts-grid,
    .image-gallery-grid,
    .video-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }
}