
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth; 
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero img.active {
    opacity: 1;
}

.hero .text-overlay {
    position: absolute;
    color: white;
    font-size: 2.5rem;
    text-align: center;
    padding: 0 20px;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.hero .text-overlay.active {
    opacity: 1;
}


.nav {
    font-family: 'Georgia', serif; /* Matches the page's elegant aesthetic */
    font-size: 1rem;
    text-transform: uppercase; /* Consistent with a professional look */
    display: flex;
    justify-content: center;
    gap: 20px; /* Evenly space out links */
    padding: 10px 0;
}

/* Hero Navigation (specific to hero section) */
.hero-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    z-index: 10;
    background: none; /* Transparent for hero section */
}

.hero-nav a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    transition: all 0.3s;
    border: 2px solid transparent;
    border-radius: 4px;
}

.hero-nav a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Subtle hover effect */
    border-color: white;
}

/* Global Navigation (for other sections) */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(140, 123, 107, 0.9); /* Semi-transparent matching the theme */
    color: white;
    z-index: 100; /* Ensure it stays above all other content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.global-nav.show {
    opacity: 1;
    visibility: visible;
}

.global-nav a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: bold;
}

.global-nav a:hover {
    background-color: #6d5d4e; /* Darker shade for hover */
    color: white;
    text-decoration: none;
}


.pagination {
    position: absolute;
    bottom: 50%; /* Align to the middle of the hero section */
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0px 30px;
    pointer-events: none; /* Ensure arrows don't interfere with other interactions */
}

.pagination span {
    font-size: 2rem; /* Adjust the arrow size */
    color: white;
    cursor: pointer;
    pointer-events: all; /* Enable pointer events on the arrows */
    transition: color 0.3s;
}

.pagination span:hover {
    color: #ddd; /* Change color on hover */
}

/* Scrollable Content Section */
.content {
    padding: 50px 20px;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
}

.content h2 {
    margin-top: 0;
}

.content p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .text-overlay {
        font-size: 1.5rem;
    }

    .nav {
        top: 10px;
        right: 10px;
        font-size: 0.9rem;
    }

    .pagination {
        bottom: 10px;
        right: 10px;
        font-size: 0.9rem;
    }

    .global-nav {
        background-color: transparent !important;
    }
    .global-nav a {
        background-color: transparent;
        color:#8c7b6b;
        box-shadow: none
         
    }
    
}

@media (max-width: 480px) {
    .hero .text-overlay {
        font-size: 1.2rem;
        padding: 0 10px;
    }

    .nav {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
        right: 10px;
        top: 10px;
    }

    .nav a {
        font-size: 0.8rem;
    }

    .pagination {
        bottom: 10px;
        right: 10px;
        font-size: 0.8rem;
    }

    .global-nav {
        background-color: transparent !important;
    }
    .global-nav a{
    
        background-color: transparent;
        color:#8c7b6b;
        box-shadow: none;
         
    }
}
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border: 2px solid rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0);
    max-width: 300px;
    margin: 0 auto;
}

.btn-custom {
    background-color: rgba(0, 0, 0, 0);
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-custom:hover {
    background-color: rgb(145, 201, 238);
    color: rgba(0, 0, 0, 0);
    border-color: black;
    text-decoration: none;
}
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link:hover .card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}
/* Contact Section Styling */
#contact {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-size: 1.1rem;
    font-weight: bold;
    color: #8c7b6b;
}

.contact-form .form-control {
    border: 2px solid #D1BCA9;
    border-radius: 4px;
    padding: 10px;
    font-size: 1rem;
    color: #333;
}

.contact-form .form-control:focus {
    border-color: #8c7b6b;
    box-shadow: none;
}

.btn-custom {
    background-color: #8c7b6b;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-custom:hover {
    background-color: #6d5d4e;
    color: white;
    text-decoration: none;
}

h2.text-center.mb-5 {
    font-family: 'Georgia', serif;
    color: #8c7b6b;
    font-size: 2.5rem;
    margin-bottom: 40px;
}
/* Contact Section Styling with Background Image */
#contact {
    padding: 60px 0;
    background-image: url('../img/10.jpg'); 
    background-size: cover;
    background-position: center;
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.006); 
    z-index: 1;
    pointer-events: none;
}

#contact .container {
    position: relative;
    z-index: 2;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.8); 
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Custom CSS for Portfolio Section */
#portfolio .card {
    border: none;
    overflow: hidden;
    background-color: transparent;
}

#portfolio .card-img-container {
    height: 300px; /* Increase the height to make the images bigger */
    overflow: hidden;
    position: relative;
    overflow: hidden;
}

#portfolio .card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    
}

#portfolio .card-body {
    padding: 10px 0;
}

#portfolio .card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-top: 10px;
}

#portfolio .card-link:hover .card-img-container img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

#portfolio .card-link {
    text-decoration: none;
    color: inherit;
}

#portfolio .text-center.mb-5 {
    margin-bottom: 0px; /* Reduce the space below the heading */
}


#portfolio .col-lg-3, 
#portfolio .col-md-3, 
#portfolio .col-sm-6, 
#portfolio .col-12 {
    flex: 0 1 31%; /* Ensure three cards per row */
    margin: 0px;  /* Add space between cards */
    max-width: 550px; /* Make the boxes larger */
}

/* Reduce margin above the "Package" heading */
#portfolio h2 {
    margin: 10px 0 20px 0; /* Reduce top and bottom margin */
    text-align: center;    /* Ensure proper alignment */
}

#portfolio {
    margin: 0;
    padding: 0; /* Reset padding if unnecessary */
}

#portfolio .container {
    padding-top: 10px; /* Remove excess padding at the top */
    padding-bottom: 40px; /* Optional: Adjust bottom padding */
}


.scroll-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -5px; /* Reduce gap to overlap the arrows slightly */
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10; /* Ensures it appears above other elements */
}

.scroll-arrow i {
    font-size: 1.5rem; /* Adjust size of the arrows */
    color: white;
    transition: color 0.3s;
    line-height: 1; /* Ensures arrows are tightly packed */
}

.scroll-arrow:hover i {
    color: #ddd; /* Change arrow color on hover */
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 10px);
    }
}
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #8c7b6b;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000; /* Ensure it's above other elements */
}

.back-to-top:hover {
    background-color: #6d5d4e;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

