/* General Body Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb; /* Page background color */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================ */
/* Main Projects Section     */
/* ============================ */
.projects-section {
    width: 100%;
    padding: 3rem 2rem; /* Retaining some padding for overall spacing */
    box-sizing: border-box;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem; /* Reduced margin to bring grid up */
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.projects-title {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1;
}

.projects-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #374151;
    margin: 0;
    white-space: nowrap; /* Prevent subtitle from breaking */
}

/* New Image Grid Styles */
.projects-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.2rem;
    margin-top: 2rem;
}

.projects-image-grid img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    margin-top: 2rem;
    gap: 0.2rem;
}

/* General Section Styles */
.shivohum-section {
    width: 100%;
    padding: 4rem 6rem; /* Increased horizontal padding for more breathing room */
    box-sizing: border-box;
    background-color: #f9fafb;
    font-family: 'Inter', sans-serif;
}

.shivohum-content {
    width: 100%;
    box-sizing: border-box;
}

/* Top Section: Info + Overlapping Images */
.shivohum-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem; /* Space between top and bottom gallery */
}

/* Left Side: Text Content */
.shivohum-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.shivohum-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 3rem;
    color: #1f2937;
    margin: 0;
}

.theme-button {
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px; /* Pill shape */
    color: #4b5563;
    align-self: flex-start;
}

.description-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.description-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.description-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #9ca3af;
    line-height: 1;
}

.description-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.description-block p {
    margin: 0;
    padding-left: 4.5rem; /* Aligns text with the title above */
    color: #4b5563;
    line-height: 1.6;
    font-size: 1.5rem; /* Increased font size */
}

/* Right Side: Overlapping Images */
.shivohum-top-images {
    position: relative;
    min-height: 500px; /* Give space for absolute images */
    display: flex;
    justify-content: center;
    align-items: center;
}

.tablet-image {
    width: 70%;
    max-width: 400px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative; /* Keep in normal flow but allow z-index */
    z-index: 1;
    background: #333; /* Dark background for tablet frame */
    padding: 1rem;
    border: 2px solid #ddd;
}

.portrait-image {
    width: 40%;
    max-width: 200px;
    height: auto;
    position: absolute;
    bottom: 10%;
    left: 0;
    z-index: 2; /* On top of the tablet */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 4px solid #f9fafb; /* Frame effect */
}


/* Bottom Gallery */
.shivohum-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 4rem;
}

.shivohum-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Responsive Adjustments */
@media (max-width: 1024px) {
    .shivohum-section {
        padding: 3rem 4rem; /* Adjust padding for tablets */
    }
}

@media (max-width: 992px) {
    .shivohum-top {
        grid-template-columns: 1fr;
    }
    .shivohum-top-images {
        min-height: 400px; /* Adjust height for smaller screens */
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
     .shivohum-section {
        padding: 3rem 2rem; /* Reduce padding for mobile */
    }
    .shivohum-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .shivohum-section {
        padding: 2rem 1rem; /* Further reduce padding on small screens */
    }
    .description-block p {
        padding-left: 0; /* Stack text on smallest screens */
    }
    .description-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}


/* General Section Styles */
.tree-section {
    width: 100%;
    padding: 4rem 2rem;
    box-sizing: border-box;
    background-color: #fff; /* Light grey background */
    font-family: 'Inter', sans-serif;
}

.tree-content {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column for mobile */
    gap: 3rem;
    align-items: flex-start; /* Changed to flex-start to align top */
    max-width: 1400px; /* Set a max-width for very large screens */
    margin: 0 auto; /* Center the content container */
}

/* Left Side: Text Content */
.tree-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tree-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 3rem;
    color: #1f2937;
    margin: 0;
}

.installation-button {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px; /* Pill shape */
    color: #4b5563;
    align-self: flex-start;
}

.description-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.description-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.description-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d1d5db;
    line-height: 1;
}

.description-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    text-align: justify;
}

.description-block p {
    margin: 0;
    padding-left: 4.5rem; /* Aligns text with the title above */
    color: #4b5563;
    line-height: 1.6;
    font-size: 1.5rem;
    text-align: justify;
}

/* Right Side: Image */
.tree-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* === FIX: RESPONSIVE GRID ADJUSTMENT === */
@media (min-width: 992px) {
    .tree-content {
        /* This rule creates the two-column layout on larger screens */
        grid-template-columns: 1fr 1fr;
    }
}


/* Bottom Gallery Styles */
/* Bottom Gallery Styles */
.tree-gallery {
    display: grid;
    /* Creates a two-column grid */
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem; /* Sets the space between the images */
    
    /* Centering the gallery container on the page */
    max-width: 1200px; /* Reduced from 1400px to make the gallery smaller */
    margin: 1.5rem auto 0; /* Reduced top margin, sets left/right to auto, bottom to 0 */
    grid-column: 1 / -1; /* Make the gallery span the full width of the parent grid */
}

.tree-gallery img {
    width: 90%;
    height: 90%;
    /* Ensures images fill the grid cell without distortion */
    object-fit: cover;
}


/* Responsive Adjustments for the gallery */
@media (max-width: 768px) {
    .tree-gallery {
        /* Stacks the images into a single column on smaller screens */
        grid-template-columns: 1fr;
    }
}

/* Le Meridian Section Styles */
.meridian-section {
    width: 100%;
    padding: 5rem 2rem;
    box-sizing: border-box;
    background-color: #f3f4f6;
    overflow: hidden; /* Prevent horizontal scroll from overlapping image */
}

.meridian-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    /* No max-width or margin: auto to ensure full width */
}

.meridian-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.meridian-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-style: italic;
    color: #111827;
    margin: 0;
}

.location-button {
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px; /* Pill shape */
    color: #4b5563;
    align-self: flex-start;
}

.meridian-description {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: justify;
}

/* Image container with relative positioning */
.meridian-images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px; /* Give it some height */
}

/* Tablet frame simulation */
.tablet-container {
    background-color: #111827;
    /* Switched from padding to a border for more precise control */
    border: solid #111827;
    border-width: 1rem 0.25rem; /* 1rem top/bottom, 0.25rem left/right */
    padding: 0; /* Removed padding */
    border-radius: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative; /* To contain the image */
    z-index: 1; /* Below the overlapping image */
}

.tablet-container .main-artwork {
    display: block;
    width: 220%;
    max-width: 350px;
    height: auto;
    border-radius: 1.5rem; /* Adjusted to fit within the new border */
}

/* Overlapping image styles */
.overlapping-image {
    width: 200px;
    height: auto;
    position: absolute;
    bottom: 10%;
    left: 0;
    transform: translateX(-15%); /* Reduced transform to prevent overlap with text */
    z-index: 2; /* On top of the tablet */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 5px solid white;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .meridian-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .location-button {
        align-self: center;
    }
    .meridian-images {
        margin-top: 3rem;
    }
}

@media (max-width: 600px) {
    .meridian-section {
        padding: 3rem 1rem;
    }
    .overlapping-image {
        width: 150px;
        transform: translateX(-20%);
    }
    .tablet-container .main-artwork {
        max-width: 280px;
    }
}


/* Aquatic Life Section Styles */
.aquatic-life-section {
    width: 100%;
    padding: 5rem 2rem;
    box-sizing: border-box;
    background-color: #f3f4f6; /* Light grey background from image */
}

.aquatic-life-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Give more space to the image column */
    gap: 3rem;
    align-items: center;
}

.aquatic-life-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.aquatic-life-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-style: italic;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.location-button {
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px; /* Pill shape */
    color: #4b5563;
    align-self: flex-start;
}

.aquatic-life-description {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: justify;
}

/* Image container with relative positioning */
.aquatic-life-images {
    position: relative;
    display: flex; /* Using flex to center the main image */
    justify-content: flex-end;
    align-items: center;
}

.main-artwork {
    width: 100%;
    max-width: 500px;
    height: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.overlapping-artwork {
    position: absolute;
    width: 60%; /* Relative to the container */
    height: auto;
    bottom: -10%; /* Position it slightly below the bottom edge */
    left: 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 4px solid #f0f2f5; /* Border matching the background to create separation */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .aquatic-life-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .location-button {
        align-self: center;
    }
    .aquatic-life-images {
       margin-top: 4rem; /* Add space on top for stacked layout */
       justify-content: center;
    }
    .overlapping-artwork {
       position: relative; /* Unset absolute positioning */
       width: 80%;
       margin: -20% auto 0; /* Negative top margin to pull it up */
       border-width: 6px;
    }
    .main-artwork{
        max-width: 80%;
    }
}

@media (max-width: 600px) {
    .aquatic-life-section {
        padding: 3rem 1rem;
    }
    .aquatic-life-title {
        font-size: 2.2rem;
    }
}


/* Mandarin Oriental Section Styles */
/* Mandarin Oriental Section Styles */
.mandarin-section {
    width: 100%;
    padding: 6rem 4rem; /* Added more padding for a spacious feel */
    box-sizing: border-box;
    background-color: #f8f9fa;
}

.mandarin-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Adjusted grid ratio for better balance */
    gap: 5rem; /* Increased gap to prevent overlap */
    align-items: center;
    /* max-width and margin: 0 auto; removed to allow left alignment */
}

.mandarin-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mandarin-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-style: italic;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.location-button {
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px; /* Pill shape */
    color: #4b5563;
    align-self: flex-start;
    font-size: 0.9rem;
}

.mandarin-description {
    font-size: 1.5rem; /* Increased font size as requested */
    line-height: 1.7;
    color: #4b5563;
    text-align: justify;
}

/* Image container with relative positioning */
.mandarin-images {
    position: relative;
}

.mandarin-main-artwork {
    width: 100%; 
    height: auto;
    display: block;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.mandarin-overlapping-artwork {
    position: absolute;
    width: 45%; /* Sized to match the reference image proportion */
    height: auto;
    bottom: -10%; /* Positioned slightly below the main image */
    left: 0; /* Adjusted to prevent overlap with text */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border: 6px solid #f8f9fa; /* Border matches background for separation */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .mandarin-content {
        grid-template-columns: 1fr;
        text-align: left; /* Changed from center to left */
    }
    .location-button {
        align-self: flex-start; /* Changed from center to flex-start */
    }
    .mandarin-images {
       margin-top: 4rem;
       display: flex;
       justify-content: center;
    }
    .mandarin-main-artwork {
        width: 80%;
    }
    .mandarin-overlapping-artwork {
       position: relative; 
       width: 50%;
       margin: -15% auto 0; /* Use negative margin to overlap */
       left: -10%; /* Adjust position for stacked layout */
       border-width: 6px;
    }
}

@media (max-width: 600px) {
    .mandarin-section {
        padding: 4rem 1.5rem;
    }
    .mandarin-title {
        font-size: 2.8rem;
    }
}


/* Soul Rider Section Styles */
.soul-rider-section {
    width: 100%;
    padding: 6rem 4rem;
    box-sizing: border-box;
    background-color:#f3f4f6;
}

.soul-rider-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Give slightly more space to images */
    gap: 4rem;
    align-items: center;
}

.soul-rider-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.soul-rider-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-style: italic;
    color: #111827;
    margin: 0;
}

.location-button {
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px; /* Pill shape */
    color: #4b5563;
    align-self: flex-start;
    font-size: 0.9rem;
}

.soul-rider-description {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: justify;
}

.soul-rider-images {
    display: grid;
    grid-template-columns: 3fr 1fr; /* Main image is 3x wider than the side image */
    gap: 1rem;
    height: 100%;
}

.soul-rider-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .soul-rider-content {
        grid-template-columns: 1fr;
    }
    .soul-rider-images {
        margin-top: 3rem;
    }
}

@media (max-width: 600px) {
    .soul-rider-section {
        padding: 4rem 1.5rem;
    }
}

/* Aztec Terrestrial Section Styles */
.aztec-section {
    width: 100%;
    padding: 5rem 2rem; /* Consistent padding on the section itself */
    box-sizing: border-box;
    background-color: #f8f9fa; /* Light grey background */
}

.aztec-content {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column for mobile */
    gap: 3rem;
    align-items: center;
    max-width: 1400px; /* Constrain the width for readability on large screens */
    margin: 0 auto; /* Center the content block */
}

.aztec-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.aztec-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 3.5rem;
    color: #111827;
    margin: 0;
}

.installation-button {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px; /* Pill shape */
    color: #4b5563;
    align-self: flex-start;
    font-size: 0.9rem;
}

.aztec-description {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: justify;
}

/* Image Styles */
.aztec-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.aztec-images .main-artwork {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Subtle shadow for depth */
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.thumbnail-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1.5rem; /* Rounded square corners */
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .aztec-content {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}


/* Inter tek Section Styles */
.intertek-section {
    width: 100%;
    padding: 5rem 2rem;
    box-sizing: border-box;
    background-color:#f3f4f6;
/* Light grey background */
}

.intertek-content {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column for mobile */
    gap: 3rem;
    align-items: center;
    /* max-width and margin removed to allow full-width layout */
}

.intertek-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.intertek-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 3.5rem;
    color: #111827;
    margin: 0;
}

.location-button {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px; /* Pill shape */
    color: #4b5563;
    align-self: flex-start;
    font-size: 0.9rem;
}

.intertek-description {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Image Styles */
.intertek-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-end; /* Aligns children (the image wrappers) to the right */
}

.image-wrapper {
    position: relative; /* Needed for absolute positioning of the caption */
    width: 100%; /* Let the second image take the full available width */
}

.image-wrapper:first-child {
    width: 80%; /* Make the top image container narrower */
}

.intertek-images img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}


/* Responsive adjustments */
@media (min-width: 992px) {
    .intertek-content {
        grid-template-columns: 1fr 1.2fr;
        gap: 5rem;
    }
}

/* Illuminati Section Styles */
.illuminati-section {
    width: 100%;
    padding: 5rem 4rem; /* Increased horizontal padding */
    box-sizing: border-box;
    background-color: #f8f9fa; /* Light grey background */
}

.illuminati-content {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column for mobile */
    gap: 3rem;
    align-items: center;
}

.illuminati-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.illuminati-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 3.5rem;
    color: #111827;
    margin: 0;
}

.location-button {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px; /* Pill shape */
    color: #4b5563;
    align-self: flex-start;
    font-size: 0.9rem;
}

.illuminati-description {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: justify;
}

.illuminati-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .illuminati-content {
        grid-template-columns: 1fr 1.5fr; /* Give more space to image */
        gap: 5rem;
    }
}

/* Pizzavito Section Styles */
.pizzavito-section {
    width: 100%;
    padding: 5rem 2rem;
    box-sizing: border-box;
    background-color:#f3f4f6;
}

.pizzavito-content {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column for mobile */
    gap: 3rem;
    align-items: flex-start;
}

.pizzavito-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pizzavito-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 3.5rem;
    color: #111827;
    margin: 0;
}

.branding-button {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px; /* Pill shape */
    color: #4b5563;
    align-self: flex-start;
    font-size: 0.9rem;
}

.pizzavito-description {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
}

.pizzavito-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pizzavito-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.pizzavito-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pizzavito-thumbnail-grid img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .pizzavito-content {
        grid-template-columns: 1fr 1.5fr; /* Set up the two-column layout */
        gap: 3rem 5rem; /* Row and column gap */
        align-items: flex-start; /* Align top items to the top */
    }

    /* Make the gallery's children act as direct grid items of .pizzavito-content */
    .pizzavito-gallery {
        display: contents;
    }

    /* Place the thumbnail grid on a new row spanning the full width */
    .pizzavito-thumbnail-grid {
        grid-column: 1 / -1; /* This makes it span all columns */
    }
}


/* Confluence Section Styles */
.confluence-section {
    width: 100%;
    padding: 5rem 2rem;
    box-sizing: border-box;
    background-color: #f8f9fa; /* Light grey background */
}

.confluence-content {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column for mobile */
    gap: 3rem;
    align-items: center;
}

.confluence-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.confluence-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 3.5rem;
    color: #111827;
    margin: 0;
}

.location-button {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px; /* Pill shape */
    color: #4b5563;
    align-self: flex-start;
    font-size: 0.9rem;
}

.confluence-description {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: justify;
}

.confluence-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .confluence-content {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}


/* Fortune Park Section Styles */
.fortune-park-section {
  display: flex;
  flex-direction: column; /* Stacked by default for mobile-first design */
  gap: 3rem;
  padding: 4rem 2rem;
  box-sizing: border-box;
  background-color: #f8f8f8;
}

/* Desktop Layout: Side-by-side content */
@media (min-width: 992px) {
  .fortune-park-section {
    flex-direction: row;
    align-items: flex-start;
    gap: 5rem;
  }
}

/* Fortune Park Section Styles */
.fortune-park-section {
  display: flex;
  flex-direction: column; /* Stacked by default for mobile-first design */
  gap: 3rem;
  padding: 4rem 2rem;
  box-sizing: border-box;
  background-color: #f8f8f8;
}

/* Desktop Layout: Side-by-side content */
@media (min-width: 992px) {
  .fortune-park-section {
    flex-direction: row;
    align-items: flex-start; /* Align items to the top to control height from content */
    gap: 5rem;
  }
}

/* ============================ */
/* Main Projects Section     */
/* ============================ */
.projects-section {
    width: 100%;
    padding: 3rem 2rem;
    box-sizing: border-box;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.projects-title {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1;
}

.projects-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #374151;
    margin: 0;
    white-space: nowrap;
}

/* New Image Grid Styles */
.projects-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.2rem;
    margin-top: 2rem;
}

.projects-image-grid img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    margin-top: 2rem;
    gap: 0.2rem;
}


/* Fortune Park Section - Main Container */
.fortune-park-section {
  display: flex;
  flex-direction: column; /* Mobile: Stack text and images vertically */
  gap: 2rem;
  padding: 2rem 1rem;
  box-sizing: border-box;
  background-color: #f3f4f6;
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
  .fortune-park-section {
    flex-direction: row; /* Tablet/Desktop: Text and images side-by-side */
    gap: 3rem;
    padding: 4rem 2rem;
  }
}

/* Text Content */
.fortune-park-section .content {
  flex-basis: 45%;
}

.fortune-park-section h1 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2.5rem; /* Reduced for mobile */
  color: #111827;
  margin: 0;
}

.fortune-park-section .suite-tag {
  display: inline-block;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem; /* Reduced for mobile */
  color: #4b5563;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.fortune-park-section p {
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  color: #4b5563;
  font-size: 1rem; /* Reduced for mobile */
  text-align: justify;
}

/* Tablet and Desktop Font Sizes */
@media (min-width: 768px) {
  .fortune-park-section h1 {
    font-size: 3.5rem;
  }
  .fortune-park-section p {
    font-size: 1.5rem;
  }
}

/* Single Row Image Gallery (for all devices) */
.fortune-park-section .image-gallery {
  display: flex;
  flex-direction: row;
  flex-basis: 55%;
  gap: 1rem;
  height: auto; /* Fluid height */
}

.gallery-item {
    flex-grow: 1;
    height: auto; /* Fluid height */
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 0.5rem;
}

/* Styles for the new image grid section */
.second-image-grid {
    display: flex;
    flex-direction: column; /* Mobile: Stack images vertically */
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    background-color: #f0f2f5;
}

.second-image-grid .image-row {
    display: flex;
    flex-direction: column; /* Mobile: Stack images vertically */
    flex-wrap: nowrap;
    gap: 1rem;
    width: 100%;
    padding: 0;
}

.second-image-grid .image-row img {
    width: 100%; /* Mobile: Full width */
    height: auto;
    object-fit: cover;
    flex-grow: 1;
    border-radius: 0.5rem;
}

/* Tablet and Desktop Styles for second grid */
@media (min-width: 768px) {
    .second-image-grid {
        padding: 2rem;
    }
    .second-image-grid .image-row {
        flex-direction: row; /* Tablet/Desktop: Side-by-side images */
        flex-wrap: wrap;
    }
    .second-image-grid .image-row img {
        width: 33.33%; /* Tablet/Desktop: Each image takes one-third */
    }
}


.waverly-section {
    display: flex;
    flex-direction: column; /* Stacks vertically on smaller screens */
    gap: 2rem;
    padding: 3rem 2rem;
    background-color: #fff;
    box-sizing: border-box;
}

/* Desktop Styles */
@media (min-width: 992px) {
    .waverly-section {
        flex-direction: row; /* Arranges side-by-side on desktop */
        justify-content: space-between;
        align-items: flex-start;
        gap: 5rem;
    }
}

.waverly-content-container {
    display: flex;
    flex-direction: column;
    flex-basis: 45%;
    gap: 1.5rem;
}

.waverly-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 400;
    font-style: italic;
    margin: 0;
    line-height: 1;
}

.waverly-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    align-self: flex-start;
    color: #4b5563;
}

/* Updated styles for the image grid */
.waverly-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    /* New: Constrain the max width of the grid itself on larger screens */
    max-width: 400px; /* Adjust this value to make the grid larger or smaller */
    /* If the content container is small, you might not need max-width */
}

@media (min-width: 992px) {
    .waverly-image-grid {
        /* On desktop, allow it to take more space if content container is wide */
        max-width: none; /* Reset max-width if you want it to scale more with flex-basis */
        width: 80%; /* Or set a percentage of the content container's width */
        max-width: 450px; /* A specific max-width to control its overall size */
    }
}


.waverly-image-grid img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1; /* Ensures images are square */
    object-fit: cover; /* Important for maintaining quality and filling space */
    display: block;
    border-radius: 0.5rem;
}

.waverly-artwork-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.waverly-artwork-container img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}

.planet-hollywood-section {
    width: 100%;
    
    margin: 0 auto;
    padding: 2rem 1rem;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
}

.header-content {
    margin-bottom: 2rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-style: italic;
    font-weight: 400;
    margin: 0;
    line-height: 1;
}

.tag-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    color: #4b5563;
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #4b5563;
    text-align: justify;
}

.image-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.image-item {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.image-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.image-row-caption {
    font-size: 0.9rem;
    line-height: 1.4;
    color: red;
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
}

.image-item-caption {
    font-size: 0.9rem;
    line-height: 1.4;
    color: red;
    margin-top: 0.5rem;
}

/* Adjustments for different row layouts */
.row-three .image-item {
    flex-basis: calc(33.33% - 0.75rem);
}

.row-four .image-item {
    flex-basis: calc(25% - 0.75rem);
}

.row-one .image-item {
    flex-basis: 100%; /* Ensures the single item takes the full width */
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .image-row {
        gap: 0.5rem;
    }

    .row-three .image-item,
    .row-four .image-item {
        flex-basis: calc(50% - 0.25rem); /* Two images per row on smaller screens */
    }

    .image-item img {
        height: 150px;
    }
}


.cinema-paradiso-section {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    padding: 3rem 2rem;
    background-color: #fff;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* Desktop styles */
@media (min-width: 992px) {
    .cinema-paradiso-section {
        align-items: center;
    }
}

.cinema-info {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cinema-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    font-style: italic;
    margin: 0;
    line-height: 1;
}

.cinema-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    align-self: flex-start;
    color: #4b5563;
}

.cinema-description {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: justify;
}

.cinema-image-container {
    flex-basis: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cinema-image-container img {
    width: 100%;
    height: auto;
    max-width: 400px;
    display: block;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .cinema-paradiso-section {
        flex-direction: column;
        gap: 2rem;
    }

    .cinema-info {
        text-align: center;
        align-items: center;
    }

    .cinema-tag {
        align-self: center;
    }
}

.shotz7-section {
    display: flex;
    flex-direction: column; /* Stacks top and bottom parts vertically */
    gap: 2rem; /* Spacing between the top and bottom sections */
    padding: 3rem 2rem; /* Adjusted padding to match reference */
    background-color: #f0f2f5;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.shotz7-top-content {
    display: flex;
    flex-direction: row; /* Arranges text and image side-by-side */
    gap: 4rem; /* Gap between text content and right image */
    align-items: flex-start; /* Aligns items to the top */
}

.shotz7-info {
    flex-basis: 45%; /* Controls the width of the text content */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%; /* Ensures the content block itself expands vertically */
    justify-content: space-between; /* Distributes items top to bottom */
}

.shotz7-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    font-style: italic;
    margin: 0;
    line-height: 1;
}

.shotz7-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    align-self: flex-start;
    color: #4b5563;
}

.shotz7-description {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: justify;
}

.shotz7-right-image {
    flex-basis: 55%; /* Allows this image container to take up remaining space */
    display: flex;
    justify-content: flex-end; /* Pushes the image to the right within its flex-basis */
    align-items: flex-start; /* Aligns image to the top */
    /* Removed explicit height: The height will now be implicitly controlled by .shotz7-info on desktop */
}

.shotz7-right-image img {
    width: 100%; /* Image takes full width of its container */
    max-width: 500px; /* Constrain the max width to make it smaller on large screens */
    height: auto; /* Maintain aspect ratio */
    display: block;
    border-radius: 0.5rem;
}

.shotz7-bottom-image-container {
    width: 100%; /* Default to full width for its container */
    padding-left: calc(45% + 4rem); /* Pushes the image to the right, aligning with the end of the gap */
    box-sizing: border-box;
    /* Adjust this padding-left if you need more precise alignment with the text block */
    /* A more robust solution might involve a grid or nested flex containers */
}

.shotz7-bottom-image-container img {
    width: 100%; /* Image takes full width of its container */
    height: auto;
    display: block;
    border-radius: 0.5rem;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .shotz7-top-content {
        flex-direction: column;
        gap: 2rem;
    }

    .shotz7-info {
        flex-basis: 100%; /* Full width on small screens */
        height: auto; /* Fluid height on small screens */
    }

    .shotz7-right-image {
        flex-basis: 100%; /* Full width on small screens */
        justify-content: center; /* Center image on small screens */
        align-items: center;
    }
    
    .shotz7-right-image img {
        max-width: 100%; /* Allow image to fill its container */
    }

    .shotz7-bottom-image-container {
        padding-left: 0; /* Remove padding on small screens */
    }
}

/* ============================ */
/* Muvizz Section        */
/* ============================ */

.muvizz-section {
    width: 100%;
    padding: 4rem 2rem;
    box-sizing: border-box;
    background-color: #f9fafb; /* Slightly different background to distinguish it */
}

.muvizz-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    /* max-width and margin auto removed to allow full width */
}

.muvizz-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.muvizz-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.5rem;
    color: #374151;
    margin: 0;
}

.website-button {
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px; /* Pill shape */
    color: #4b5563;
    align-self: flex-start;
    transition: background-color 0.3s;
}

.website-button:hover {
    background-color: #f3f4f6;
}

.muvizz-description {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    font-size: 1.5rem;
    text-align: justify;
}

.muvizz-images {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.muvizz-images img {
    width: 25%;
    max-width: 35%;
    height: auto;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .muvizz-item {
        grid-template-columns: 1fr 1.5fr; /* Gave more space to the image column */
    }
}

@media (max-width: 992px) {
    .projects-image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .projects-title {
        font-size: 3rem;
    }

    .projects-subtitle {
        font-size: 1.25rem;
    }

     .projects-image-grid {
        grid-template-columns: 1fr;
    }
}

/* Shangrilla Section Styles */
.shangrilla-section {
    background-color: #f3f4f6;
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

.shangrilla-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #374151;
    margin: 0;
}

.artwork-button {
    display: inline-block;
    margin-top: 1rem;
    margin-bottom: 3rem;
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #9ca3af;
    border-radius: 9999px;
    color: #4b5563;
    font-size: 0.875rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.artwork-button:hover {
    background-color: #f3f4f6;
    border-color: #6b7280;
}

.artwork-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.artwork-item {
    display: grid;
    grid-template-columns: 1fr; /* Default to stacked for mobile */
    gap: 2rem;
    align-items: center;
}

.artwork-description {
    color: #4b5563;
    line-height: 1.625;
    font-size: 1.5rem;
    box-sizing: border-box; /* Ensures padding is included in height */
    text-align: justify;
}

.artwork-image img {
    width: 100%;
    height: auto; /* Let image scale naturally with its aspect ratio */
    border-radius: 0.5rem;
    display: block;
}

/* Shangrilla Responsive Styles */
@media (min-width: 768px) {
    .shangrilla-section {
        padding: 3rem;
    }
     .artwork-item {
        grid-template-columns: 1fr 1fr; /* Side-by-side for tablets and larger */
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .shangrilla-section {
        padding: 4rem;
    }
    .artwork-item {
        gap: 4rem;
    }
}

/* General Body Styles (for standalone viewing) */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Pankajini Section Styles */
.pankajini-section {
    background-color: white;
    width: 100%;
    padding: 4rem 2rem;
    box-sizing: border-box;
}

.pankajini-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 3rem;
    align-items: flex-start;
    /* max-width: 1200px;  <-- REMOVED */
    /* margin: 0 auto; <-- REMOVED */
}

.pankajini-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pankajini-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #374151;
    margin: 0;
}

.location-button {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #9ca3af;
    border-radius: 9999px;
    color: #4b5563;
    align-self: flex-start;
    font-size: 0.875rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.location-button:hover {
    background-color: #f3f4f6;
    border-color: #6b7280;
}

.pankajini-description {
    color: #4b5563;
    line-height: 1.625;
    font-size: 1.5rem; /* Changed from 1rem */
    margin: 0;
    text-align: justify;
}

.pankajini-images .main-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
    margin-bottom: 1.5rem;
    aspect-ratio: 16 / 9; /* Added a wider aspect ratio */
    object-fit: cover; /* Ensures image covers the area without distortion */
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; /* Changed from 1/1 */
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .pankajini-section {
        padding: 4rem 3rem;
    }
}

@media (min-width: 1024px) {
    .pankajini-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

.galaxy-section {
    background-color: #f8f8f8; /* Off-white background */
    width: 100%;
    padding: 4rem 2rem;
    box-sizing: border-box;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.galaxy-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 3rem;
    align-items: center;
}

.galaxy-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.galaxy-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #374151;
    margin: 0;
}

.location-button {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #9ca3af;
    border-radius: 9999px;
    color: #4b5563;
    align-self: flex-start;
    font-size: 0.875rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.location-button:hover {
    background-color: #e5e7eb;
    border-color: #6b7280;
}

.galaxy-description {
    color: #4b5563;
    line-height: 1.625;
    font-size: 1.5rem;
    margin: 0;
    text-align: justify;
}

.galaxy-image-container .galaxy-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
}

/* Responsive Design */
@media (min-width: 1024px) {
    .galaxy-grid {
        grid-template-columns: 40% 60%; /* Adjust column ratio for desktop */
        gap: 4rem;
    }
}

.life-section {
    background-color: #ffffff; /* Off-white background */
    width: 100%;
    padding: 4rem 2rem;
    box-sizing: border-box;
    border-top: 1px solid #e5e7eb;
}

.life-content {
    /* max-width: 1200px; <-- REMOVED */
    /* margin: 0 auto; <-- REMOVED */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.life-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #374151;
    margin: 0;
}

.location-button {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #9ca3af;
    border-radius: 9999px;
    color: #4b5563;
    align-self: flex-start;
    font-size: 0.875rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.location-button:hover {
    background-color: #e5e7eb;
    border-color: #6b7280;
}

.life-description {
    color: #4b5563;
    line-height: 1.625;
    font-size: 1.5rem;
    margin: 0;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.life-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.life-images img {
    width: 100%;
    height: 100%; /* Changed from auto */
    object-fit: cover; /* Added this line */
    border-radius: 0.5rem;
    display: block;
}

/* Responsive Design */
@media (min-width: 768px) {
    .life-images {
        grid-template-columns: 1fr 1fr; /* Images side-by-side on larger screens */
    }
}

.use-me-section {
    background-color: #f8f8f8; /* Off-white background */
    width: 100%;
    padding: 4rem 2rem;
    box-sizing: border-box;
    border-top: 1px solid #e5e7eb;
}

.use-me-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.use-me-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.use-me-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #374151;
    margin: 0;
    font-style: italic;
}

.location-button {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #9ca3af;
    border-radius: 9999px;
    color: #4b5563;
    align-self: flex-start;
    font-size: 0.875rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.location-button:hover {
    background-color: #e5e7eb;
    border-color: #6b7280;
}

.use-me-description {
    color: #4b5563;
    line-height: 1.625;
    font-size: 1.5rem;
    margin: 0;

}

.use-me-images {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-end; /* Aligns smaller items to the right */
}

.use-me-images img {
    height: 50%;
    border-radius: 0.5rem;
    display: block;
}

/* Adjusting individual image sizes */
.use-me-images img:nth-child(1) {
    width: 55%; /* Making the first image smaller */
}

.use-me-images img:nth-child(2) {
    width: 90%; /* Second image takes full width of its column */
}


/* Responsive Design for larger screens */
@media (min-width: 992px) {
    .use-me-content {
        grid-template-columns: 1fr 1fr;
    }
}

.rising-section {
    background-color: #ffffff; /* Light gray background */
    width: 100%;
    padding: 4rem 2rem;
    box-sizing: border-box;
    border-top: 1px solid #e5e7eb;
}

.rising-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.rising-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rising-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #374151;
    margin: 0;
    font-style: italic;
}

.location-button {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #9ca3af;
    border-radius: 9999px;
    color: #4b5563;
    align-self: flex-start;
    font-size: 0.875rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.location-button:hover {
    background-color: #e5e7eb;
    border-color: #6b7280;
}

.rising-description {
    color: #4b5563;
    line-height: 1.625;
    font-size: 1.5rem;
    margin: 0;
    text-align: justify;
}

.rising-image img {
    width: 95%;
    height: 105%;
    border-radius: 0.5rem;
    display: block;
}

/* Responsive Design for larger screens */
@media (min-width: 992px) {
    .rising-content {
        grid-template-columns: 1fr 1.5fr; /* Give more space to the image */
    }
}

/* Emergence Section Styles */


/* General Body Styles (for standalone viewing) */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Emergence Section Styles */
.emergence-section {
    background-color: #f8f8f8; /* Light gray background */
    width: 100%;
    padding: 4rem 2rem;
    box-sizing: border-box;
    border-top: 1px solid #e5e7eb;
}

.emergence-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.emergence-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.emergence-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #374151;
    margin: 0;
    font-style: italic;
}

.location-button {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #9ca3af;
    border-radius: 9999px;
    color: #4b5563;
    align-self: flex-start;
    font-size: 0.875rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.location-button:hover {
    background-color: #e5e7eb;
    border-color: #6b7280;
}

.emergence-description {
    color: #4b5563;
    line-height: 1.625;
    font-size: 1.5rem;
    margin: 0;
    text-align: justify;
}

/* Image Grid Styles - Reworked with Absolute Positioning */
.emergence-images {
    position: relative;
    min-height: 450px; /* Container height */
}

.emergence-images img {
    position: absolute;
    object-fit: cover;
    border-radius: 0; /* Removed rounded corners */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}


/* Specific image placement */
.image-1 { /* Top-left image */
    width: 55%;
    height: 55%;
    top: 0;
    left: 0;
    z-index: 1;
}

.image-2 { /* Tall right image */
    width: 15%; /* Made the image thinner */
    height: 100%;
    top: 0;
    right: 0;
    z-index: 10;
}

.image-3 { /* Bottom-left overlapping image */
    width: 60%;
    height: 50%;
    bottom: 0;
    left: 5%;
    z-index: 2; /* On top */
}

/* Responsive Design for larger screens */
@media (min-width: 992px) {
    .emergence-content {
        grid-template-columns: 1fr 1.2fr; /* Adjust column ratio */
    }
}

/* Responsive Design for smaller screens (stacking image grid) */
@media (max-width: 768px) {
    .emergence-images {
        display: flex;
        flex-direction: column;
        position: static;
        min-height: auto;
        gap: 1rem;
    }

    /* Reset grid placement for stacking */
    .emergence-images img {
        position: static;
        width: 100%;
        height: auto;
        box-shadow: none;
    }
}

/* Agartala Section Styles */
.agartala-section {
    background-color: #ffffff;
    width: 100%;
    padding: 4rem 2rem;
    box-sizing: border-box;
    border-top: 1px solid #e5e7eb;
}

.agartala-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.agartala-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.agartala-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #374151;
    margin: 0;
    font-style: italic;
}

.location-button {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #9ca3af;
    border-radius: 9999px;
    color: #4b5563;
    align-self: flex-start;
    font-size: 0.875rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.location-button:hover {
    background-color: #e5e7eb;
    border-color: #6b7280;
}

.agartala-description {
    color: #4b5563;
    line-height: 1.625;
    font-size: 1.5rem;
    margin: 0;
    text-align: justify;
}

/* Image Styles - Reworked for four images in a 2x2 grid */
.agartala-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.image-row {
    display: flex;
    gap: 1rem;
}

.image-row img {
    width: 50%; /* Each image takes half the row width */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover;
    flex: 1; /* Allow images to grow equally */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}


/* Responsive Design for larger screens */
@media (min-width: 992px) {
    .agartala-content {
        grid-template-columns: 1fr 1.2fr;
    }
}
