/* LET THE STYLING BEGIN */


.cover-image {
    width: 100vw; /* Full width of the viewport */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensures the image covers the container without distortion */
    display: block; /* Removes inline spacing for images */
}

.row {
    margin-right:70px;
    margin-left:70px;
}


.container-fluid {
    padding: 0; /* Removes padding from the container for full-width effect */
}

div{
    font-family: Poppins;
}
body{
    background-color: aliceblue;
    font-family: Poppins;

}

.image img { height:250px}


hr{
    margin-top:0px;
    margin-bottom:0px;
    height: 10px;
    background-color: #e5e5f7;
    opacity: 1.0;
    background-size: 10px 10px;
    background-image: repeating-linear-gradient(45deg, #AC8965 0, #AC8965 1px, #e5e5f7 0, #e5e5f7 50%);
}


.media-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Optional: limit max width */
    height: auto; /* Adjust height dynamically */
    overflow: hidden;
}

.desktop-video {
    width: 100%;
    height: auto;
    display: block; /* Default to show the video */
}

.mobile-image {
    width: 100%;
    height: auto;
    display: none; /* Default to hide the image */
}

/* Media Query for Mobile */
@media (max-width: 768px) {
    .desktop-video {
        display: none; /* Hide video on small screens */
    }

    .mobile-image {
        display: block; /* Show the image on small screens */
    }
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Adjusts spacing between items */
    gap: 20px; /* Adds space between items */
}

.custom-column {
    flex: 1 1 calc(25% - 20px); /* 4 items per row with gap */
    max-width: calc(25% - 20px); /* Ensures the width is constrained */
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .custom-column {
        flex: 1 1 100%; /* Stacks items in a single column on smaller screens */
        max-width: 100%;
    }
}


/* Flip Card Styles */
/* Flip Card Styles */
.flip-card {
    width: 100%;
    height: 350px; /* Increased height for a taller appearance */
    perspective: 1000px;
    margin-bottom: 20px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 1.7s;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    overflow: hidden;
    clip-path: polygon(50% 0%, 85% 40%, 70% 100%, 30% 100%, 15% 40%); /* Adjusted pentagon shape */
}

/* Front */
.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Back */
.flip-card-back {
    color: white;
    background-color: #e5e5f7;
    opacity: 1.0;
    background: repeating-linear-gradient( 45deg, #AC8965, #AC8965 5px, #e5e5f7 5px, #e5e5f7 25px );
    font-weight: bolder;
    background-size: cover; /* Ensures the image covers the entire element */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}


.flip-card-back h2 {
  font-weight: 900;
    margin-bottom: 10px;

}

.flip-card-back p {
    padding-left:10em;
    padding-right:10em;
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .reverse-order {
        order: 2; /* Ensures this text is placed after the image */
    }

    .col-md-6 {
        flex: 0 0 100%; /* Take up full width on small screens */
        max-width: 100%;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
        margin-left:0px;
        margin-right:0px;
        /* Ensure items wrap properly */
    }
}


/* Responsive Behavior */
@media (max-width: 768px) {
    .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .flip-card {
        height: 240px;
    }

    .flip-card-back h2 {
        font-size: 1.2rem;
    }
}


.custom-heading {
    margin: 100px 0;
    line-height: 1;
    letter-spacing: -0.01em;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
}

/* Highlight Text Style */
.highlight {
    color: rgb(172, 137, 101); /* Gold-like color for emphasis */
    font-weight: 700;
    font-family: 'Playfair Display', serif; /* Optional font for elegant styling */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .custom-heading {
        font-size: 2rem;
        margin: 50px 0;
    }
}

/* Responsive Adjustments */


/* Masonry Grid Container */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 42px;
    padding: 20px;
    margin: 50px;
}

/* Grid Item Styles */
.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect */
.grid-item:hover img {
    transform: scale(1.1);
}

/* Overlay for Text */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.grid-item:hover .grid-overlay {
    opacity: 1;
}

.grid-overlay h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.grid-overlay p {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 10px;
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        grid-template-columns: 1fr;
    }
}

.custom-btn {
    background-color:rgba(184,107,47,.8)!important; //* Set the button background color */
    color: white;
    font-size: 1.25rem; /* Increase font size */
    font-weight: 600; /* Bold text */
    border-radius: 50px; /* Make the button nicely rounded */
    border: none; /* Remove border */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Add smooth hover effect */
}

.custom-btn:hover {
    background-color: rgba(174,107,47,.8)!important; /* Slightly darker on hover */
    transform: scale(1.05)
}/* Slightly enlarge

.pentagon-card {
    position: relative;
    width: 300px; /* Adjust width as needed */


.pentagon-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 85% 40%, 70% 100%, 30% 100%, 15% 40%); /* Keeps pentagon shape */
    overflow: hidden;
}

.pentagon-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image scales and fits properly */
    transition: transform 0.3s ease, filter 0.3s ease; /* Optional hover effect */
}

.pentagon-card:hover .pentagon-card-front img {
    transform: scale(1.05); /* Slight zoom effect on hover */
    filter: brightness(0.8); /* Dim the image slightly */
}

