body {
    color: #454040;
    font-weight: 500;
    background: #ffffff;
    font-family: 'Quicksand', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: black;
}

a {
    color: #4a4c70;
    transition: color 0.3s ease;
}

a:hover,
a:active,
a:focus {
    color: black;
    outline: none;
    text-decoration: none;
}

/* Custom Button Styling */
.btn.btn-custom,
.btn.btn-custom1 {
    padding: 12px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: bolder;
    border-radius: 0;
    transition: ease-out 0.3s;
    box-shadow: inset 0 0 0 0;
}

/* Button with red hover effect */
.btn.btn-custom {
    color: #777777;
    border: 2px solid black;
    box-shadow: inset 0 0 0 0 rgb(189, 9, 9);
}

.btn.btn-custom:hover {
    color: white;
    box-shadow: inset 0 0 0 30px rgb(189, 9, 9);
}

/* Button with white hover effect (used for carousel) */
.btn.btn-custom1 {
    color: white;
    border: 2px solid white;
    box-shadow: inset 0 0 0 0 white;
}

.btn.btn-custom1:hover {
    color: black;
    box-shadow: inset 0 0 0 30px white;
}

.btn:focus,
.form-control:focus {
    box-shadow: none;
}

.container-fluid {
    max-width: 1521px;
}

/* Specific override for carousel's container-fluid to span full width */
.carousel .container-fluid {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}


/**********************************/
/****** Loader & Back to Top ******/
/**********************************/
#loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0s linear 0.3s;
    z-index: 999;
}

#loader.show {
    transition: opacity 0.6s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#loader .loader {
    position: relative;
    width: 45px;
    height: 45px;
    border: 5px solid #dddddd;
    border-top: 5px solid #FDBE33;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.back-to-top {
    position: fixed;
    display: none;
    background: rgb(189, 9, 9);
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
}

.back-to-top i {
    color: white;
    padding-top: 10px;
}

.back-to-top:hover {
    background: white;
}

.back-to-top:hover i {
    color: black;
}


/**********************************/
/********** Top Bar & Nav *********/
/**********************************/
.top-bar {
    position: absolute;
    height: 45px;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 3;
}

.top-bar .top-bar-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-bar .top-bar-left img {
    max-width: 180px;
    height: auto;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.navbar {
    position: relative;
    transition: 0.5s;
    z-index: 999;
}

.navbar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: 0.5s;
}

.navbar .navbar-brand {
    margin: 0;
    color: #ffffff;
    /* Default font size is handled by inline style in index.html for responsiveness */
    line-height: 0px; 
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.navbar .navbar-brand img {
    max-width: 100%;
    max-height: 60px;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    padding: 10px 15px 8px 15px;
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: rgb(189, 9, 9);
    transition: none;
}

.navbar .dropdown-menu {
    margin-top: 0;
    border: none;
    background: #ffffff;
    padding: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    min-width: 200px;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar .dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar .dropdown-menu .dropdown-item {
    color: #333;
    padding: 12px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background-color: #f8f9fa;
    color: rgb(189, 9, 9);
}

/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
    position: relative;
    margin-bottom: 45px;
    /* DESKTOP PADDING: Sets large height on desktop */
    padding: 210px 0 90px 0; 
    text-align: center;
    
    /* BACKGROUND STYLES (Fixed on Desktop) */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(img/mainimg4.jpg); 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header h2 {
    position: relative;
    color: white;
    font-size: 60px; /* DESKTOP FONT SIZE */
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.page-header h2::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: calc(50% - 50px);
    bottom: 0;
    background: rgb(189, 9, 9);
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 22px;
    color: #ffffff;
}

.page-header a:hover {
    color: #FDBE33;
}

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -2px;
    right: -7px;
    text-align: center;
    color: #ffffff;
}

.page-header a:last-child::after {
    display: none;
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 45px auto;
}

.section-header p {
    margin-bottom: 5px;
    position: relative;
    font-size: 30px;
    font-weight: 800;
    text-transform: capitalize;
    color: rgb(189, 9, 9);
}

.section-header h2 {
    margin: 0;
    font-size: 50px;
    font-weight: 700;
}


/**********************************/
/***** NEW ABOUT SECTION STYLES *****/
/**********************************/

.about-section {
    /* Reduced vertical padding from 60px to 40px */
    padding-top: 40px; 
    padding-bottom: 40px;
}

/* Specific styling for the second about section to alternate color */
/* Keeping the alternation logic, but changing it to specifically target the second container */
.container:nth-of-type(3) .about-section { /* Assuming the first container is the Page Header */
    background-color: #ffffff; 
}


.about-section h2 {
    font-family: 'Quicksand', sans-serif; /* Maintain primary font, but bold */
    font-size: 32px; /* Slightly larger heading on desktop for impact */
    font-weight: 700;
    margin-bottom: 20px;
    color: #20212B;
    border-bottom: 2px solid rgb(189, 9, 9); /* Underline detail for class */
    display: inline-block;
    padding-bottom: 5px;
    margin-left: 0; /* Ensure left alignment on desktop */
}

.about-section p {
    font-size: 17px; /* Slightly larger base font size for better readability */
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333; /* Darker text for high contrast */
}

.about-img {
    width: 100%;
    height: 400px; /* Increased desktop height for impact */
    background-size: cover;
    background-position: center;
    border-radius: 12px; /* More pronounced rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Deeper shadow for luxury look */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-img:hover {
    transform: scale(1.02); /* Slight zoom hover effect */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/*******************************/
/********* Media Queries *******/
/*******************************/
@media (min-width: 992px) {
    .top-bar {
        padding: 0 60px;
    }
    .top-bar .top-bar-left img {
        max-height: 180px;
    }
    .navbar {
        position: absolute;
        width: 100%;
        top: 45px;
        padding: 20px 60px;
        background: transparent !important;
        z-index: 9;
    }
    .navbar.nav-sticky {
        padding: 10px 60px;
        background: #20212B !important;
        border-bottom: none;
    }
    .page .navbar {
        background: #20212B !important;
    }
    .navbar a.nav-link {
        padding: 8px 15px;
        font-size: 17px;
        letter-spacing: 1px;
        font-weight: bolder;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 15px 25px;
        background: #20212B !important;
    }
    .navbar .navbar-brand {
        padding: 5px 0;
        letter-spacing: 1px;
        line-height: normal;
        /* Font size set in inline style in index.html */
    }
    .navbar a.nav-link {
        padding: 5px;
    }
    .navbar .dropdown-menu {
        box-shadow: none;
        border-radius: 0;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.05);
    }
    .navbar .dropdown-menu .dropdown-item {
        color: #ffffff;
    }
    .navbar .dropdown-menu .dropdown-item:hover {
        background-color: transparent;
        color: rgb(189, 9, 9);
    }
    .top-bar {
        display: none !important;
    }
    .carousel .carousel-item,
    .carousel .carousel-img,
    .carousel .carousel-img::after {
        min-height: auto;
    }
    .carousel .carousel-text {
        max-width: 90%;
        padding-top: 100px;
        padding-bottom: 50px;
        justify-content: flex-start;
    }
    .carousel .carousel-text h1 {
        font-size: 35px;
        margin-bottom: 15px;
    }
    .carousel .carousel-text p {
        font-size: 16px;
        padding: 0 5px;
    }
    .carousel .carousel-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .carousel .carousel-btn .btn {
        width: 80%;
        max-width: 250px;
        margin: 5px 0 !important;
    }
    /* FIX: Background image not shrinking / showing correct part */
    .page-header {
        padding: 80px 0; 
        background-position: center bottom;
        background-attachment: scroll; 
    }
    .page-header h2 {
        font-size: 45px;
    }
    .page-header a {
        font-size: 20px;
    }
    .section-header h2 {
        font-size: 45px;
    }
    /* Mobile-specific navbar styling */
    .navbar-nav {
        padding-top: 10px;
    }
    .navbar-nav .nav-link {
        font-size: 16px;
        padding: 10px;
    }
    .navbar .dropdown-menu {
        background: #20212B;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    .navbar .dropdown-menu .dropdown-item {
        color: #ffffff;
    }
    .navbar .dropdown-menu .dropdown-item:hover {
        background-color: transparent;
        color: rgb(189, 9, 9);
    }
    
    /* ABOUT SECTION (TABLET/MOBILE) */
    .about-section h2 {
        font-size: 28px;
        display: block;
        text-align: center; /* Center heading when stacked */
        margin-left: auto;
        margin-right: auto;
        margin-top: 15px;
    }
    .about-section p {
        font-size: 16px;
        text-align: left;
    }
    .about-img {
        height: 300px; /* Comfortable height for tablets */
        margin-bottom: 20px;
        border-radius: 8px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); 
    }
}

@media (max-width: 767.98px) {
    .carousel .carousel-text h1 {
        font-size: 30px;
    }
    .carousel .carousel-text .btn {
        padding: 10px 25px;
        font-size: 15px;
        letter-spacing: 0;
    }
    .page-header {
        padding: 50px 0;
        background-position: center bottom;
    }
    .page-header h2 {
        font-size: 35px;
    }
    .page-header a {
        font-size: 18px;
    }
    .section-header h2 {
        font-size: 40px;
    }

    /* ABOUT SECTION (SMALLER MOBILE) */
    .about-section {
        /* Reduced padding for smaller screens */
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .about-section h2 {
        font-size: 24px;
    }
    .about-img {
        height: 220px; /* Optimized height for small mobile screens */
    }
}

@media (max-width: 575.98px) {
    .carousel .carousel-text h1 {
        font-size: 25px;
    }
    .carousel .carousel-text .btn {
        padding: 8px 20px;
        font-size: 14px;
        letter-spacing: 0;
    }
    .section-header h2 {
        font-size: 35px;
    }
    .page-header h2 {
        font-size: 28px;
    }
}



/*******************************/
/********* Footer CSS **********/
/*******************************/
/* Color Variables for easy theme management */
/* Color Variables based on the new design */
/* Color Variables based on the new design */
/* Footer specific styles with Black, Red, and White theme */
.footer {
    background-color: #000000; /* Black background */
    color: #ffffff; /* White text */
    padding: 60px 0 30px 0;
    font-family: 'Quicksand', sans-serif;
}

.footer-top {
    padding-bottom: 30px;
}

.footer-logo {
    font-family: 'Georgia', serif !important;
    font-size: 28px;
    font-weight: 700;
    color: rgb(189, 9, 9); /* Red for logo/accent */
    margin-bottom: 20px;
}

.footer-about p {
    color: #cccccc; /* Slightly lighter white for body text */
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-cta-btn {
    background-color: rgb(189, 9, 9); /* Red button background */
    color: #ffffff; /* White button text */
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.footer-cta-btn:hover {
    background-color: #cc0000; /* Darker red on hover */
    color: #ffffff;
}

.footer-link h3, .footer-contact h3 {
    font-size: 22px;
    font-weight: 600;
    color: rgb(189, 9, 9); /* Red for section headings */
    margin-bottom: 25px;
    position: relative;
}


.footer-link a, .footer-contact p {
    display: block;
    color: #ffffff; /* White for links and contact text */
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link a:hover {
    color: rgb(189, 9, 9); /* Red on link hover */
}

.footer-contact p i {
    margin-right: 10px;
    color: rgb(189, 9, 9); /* Red for contact icons */
}

.footer-contact p a{
    color: #ffffff;
}

.footer-contact p a:hover{
    color: rgb(242, 83, 83);
}

.footer-social .btn-social {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for social buttons */
    border-radius: 50%;
    margin-right: 8px;
    color: #ffffff; /* White icons */
    transition: background-color 0.3s ease;
}

.footer-social .btn-social:hover {
    background: rgb(189, 9, 9); /* Red background on social button hover */
    color: #ffffff; /* White icon on hover */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Light white border */
    padding-top: 20px;
    margin-top: 30px;
    font-size: 14px;
    color: #cccccc; /* Slightly lighter white for copyright text */
}

.footer-bottom a {
    color: rgb(189, 9, 9); /* Red for links in copyright */
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}