/* General Body & Typography */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: #eef2f5; /* Lighter, cooler background */
    color: #343a40; /* Darker text for contrast */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    color: #2c3e50; /* Keep a strong heading color */
    margin-top: 1.8em; /* Slightly more space above headings */
    margin-bottom: 0.7em;
    line-height: 1.2;
}

h1 {
    font-size: 4em; /* Larger hero title */
    line-height: 1.1;
    text-align: center;
    color: #fff;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.6); /* Stronger shadow for impact */
    letter-spacing: -0.03em; /* Slightly tighter for aesthetic */
}

h2 {
    font-size: 2.5em; /* Slightly larger section titles */
    color: #1a5276; /* Deeper blue for headings */
    border-bottom: 3px solid #5fa2dd; /* Thicker, more prominent border */
    padding-bottom: 0.3em;
    margin-bottom: 1.2em;
    text-align: left; /* Align section titles left */
}

p {
    margin-bottom: 1.4em; /* More space between paragraphs */
    font-size: 1.05em; /* Slightly larger body text */
}

/* Container for main content */
.container {
    max-width: 960px; /* Wider container */
    margin: -80px auto 50px auto; /* Pulls up into hero, more bottom margin */
    background-color: #ffffff;
    padding: 50px 60px; /* More padding inside container */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* More pronounced shadow */
    border-radius: 12px; /* Softer rounded corners */
    position: relative; /* For z-index to overlap hero */
    z-index: 10;
}

/* Header & Hero Section */
.hero {
    position: relative;
    height: 700px; /* Taller hero section */
    background-image: url('ladakh-hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
    margin-bottom: 0; /* No margin here, container will overlap */
}

/* Parallax Overlay - slightly darker for better text contrast */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.8)); /* Darker gradient */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 30px; /* More padding */
    animation: fadeInDown 1s ease-out forwards; /* Simple animation */
}

.hero-content p {
    font-size: 1.8em; /* Larger hero subtext */
    max-width: 800px;
    margin: 25px auto 0;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    animation: fadeInUp 1.2s ease-out forwards; /* Simple animation */
    animation-delay: 0.3s;
    opacity: 0; /* Start invisible for animation */
}

/* Blog Post Styling */
.blog-post {
    padding: 0; /* Removed padding here, moved to container */
}

.content-section {
    margin-bottom: 4em; /* More space between sections */
    padding-top: 2em; /* More padding above sections */
    border-top: 1px solid #e0e0e0; /* Subtle solid line */
}

.content-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

/* Full-width Image Presentation */
.section-image {
    width: 100%;
    height: auto;
    background-color: #f8f9fa; /* Lighter background for images */
    margin-bottom: 30px; /* More space below image */
    border-radius: 8px; /* Slightly more rounded corners */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Subtle shadow for images */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth hover effect */
}

.section-image:hover {
    transform: translateY(-5px); /* Lift on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); /* Enhanced shadow on hover */
}

.section-image img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Ensure full image is visible */
    display: block;
}

/* Flexbox wrapper for image-text layout */
.content-flex-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    align-items: flex-start; /* Align items to the top */
    gap: 30px; /* Space between image and text */
    margin-top: 2em;
    margin-bottom: 2em;
}

.content-flex-wrapper.reverse-order {
    flex-direction: row-reverse; /* Swap image and text order */
}

.section-image-small {
    flex: 0 0 35%; /* Image takes 35% width, giving more space to text */
    max-width: 35%; /* Max width to match flex-basis */
    height: auto;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.section-image-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.section-image-small img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.section-text {
    flex: 1; /* Text takes remaining space */
    min-width: 60%; /* Ensures text has a decent minimum width */
    /* Added some padding to text if needed to balance height with image */
    padding-top: 10px;
    padding-bottom: 10px;
}

.section-text p {
    margin-bottom: 1em; /* Adjust paragraph spacing within flex text */
}


.call-to-action {
    font-style: italic;
    font-weight: 700; /* Bolder italic text */
    color: #e74c3c; /* Keep a striking red */
    text-align: center;
    margin: 2.5em 0; /* More vertical space */
    font-size: 1.2em; /* Larger font size */
    padding: 15px 20px; /* More padding */
    border: 2px dashed #e74c3c; /* Prominent dashed border */
    background-color: #fff9f9; /* Light background for call to action */
    border-radius: 5px; /* Slightly rounded corners */
}

.intro-section p {
    font-size: 1.2em; /* Larger intro text */
    margin-bottom: 1.8em;
    font-weight: 400;
    color: #495057; /* Slightly darker for intro */
}

.conclusion-section {
    margin-top: 5em; /* More space before conclusion */
    text-align: center;
    border-top: 3px solid #1a5276; /* Stronger border for conclusion */
    padding-top: 4em; /* More padding above text */
    background-color: #f0f4f7; /* Light background for conclusion */
    border-radius: 0 0 12px 12px; /* Matches container bottom radius */
    margin-left: -60px; /* Extends to container edge */
    margin-right: -60px; /* Extends to container edge */
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 4em;
}

.conclusion-section h2 {
    color: #1a5276; /* Consistent heading color */
    border-bottom: none; /* No border for conclusion heading */
    margin-bottom: 0.5em;
}

.conclusion-section p {
    font-size: 1.3em; /* Larger, more impactful conclusion */
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px; /* More padding */
    margin-top: 0; /* No top margin, let conclusion section handle spacing */
    background-color: #212529; /* Darker, more solid footer */
    color: #e9ecef; /* Lighter text for contrast */
    font-size: 0.95em;
    box-shadow: inset 0 8px 15px rgba(0, 0, 0, 0.2); /* Inner shadow for depth */
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive Design */
@media (max-width: 992px) {
    .container {
        max-width: 90%;
        padding: 40px;
    }
    h1 {
        font-size: 3.5em;
    }
    h2 {
        font-size: 2.2em;
    }
    .hero {
        height: 600px;
    }
    .hero-content p {
        font-size: 1.5em;
    }
    .content-flex-wrapper {
        flex-direction: column; /* Stack image and text vertically */
        align-items: center; /* Center items when stacked */
        gap: 20px; /* Reduce gap when stacked */
    }
    .section-image-small {
        flex: 0 0 80%; /* Images take more width when stacked */
        max-width: 80%;
    }
    .section-text {
        min-width: 90%; /* Text takes almost full width */
        text-align: left; /* Keep text left-aligned even when stacked */
        padding-top: 0; /* Remove top padding when stacked */
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .container {
        margin: -60px auto 40px auto; /* Adjust overlap */
        padding: 30px;
    }
    h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 2em;
    }
    .hero {
        height: 500px;
    }
    .hero-content p {
        font-size: 1.3em;
    }
    .conclusion-section {
        margin-left: -30px;
        margin-right: -30px;
        padding-left: 30px;
        padding-right: 30px;
    }
    .section-image-small {
        flex: 0 0 90%; /* Even larger images when stacked */
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .container {
        margin: -40px auto 30px auto; /* Further adjust overlap */
        padding: 20px;
    }
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.6em;
    }
    .hero {
        height: 400px;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    p {
        font-size: 1em;
    }
    .call-to-action {
        font-size: 1.05em;
    }
    .intro-section p {
        font-size: 1.05em;
    }
    .conclusion-section {
        padding-top: 3em;
        padding-bottom: 3em;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .conclusion-section p {
        font-size: 1.1em;
    }
    .section-image-small {
        flex: 0 0 100%; /* Full width for images on smallest screens */
        max-width: 100%;
    }
    .section-text {
        min-width: 100%;
    }
}