/********* General CSS *********/
/*******************************/
body {
    color: #797979;
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

h1,
h2, 
h3, 
h4,
h5, 
h6 {
    color: #414141;
}

a {
    color: #313131;
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: #EF233C;
    outline: none;
    text-decoration: none;
}

.btn:focus,
.form-control:focus {
    box-shadow: none;
}

.container-fluid {
    max-width: 1366px;
}

.btn {
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    background: #EF233C;
    border: 2px solid transparent;
    border-radius: 0;
    box-shadow: inset 0 0 0 50px #EF233C;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    -moz-transition: ease-out 0.3s;
}

.btn:hover {
    color: #EF233C;
    background: transparent;
    box-shadow: inset 0 0 0 0 #EF233C;
    border-color: #EF233C;
}

#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;
    -webkit-transition: opacity .3s ease-out, visibility 0s linear .3s;
    -o-transition: opacity .3s ease-out, visibility 0s linear .3s;
    transition: opacity .3s ease-out, visibility 0s linear .3s;
    z-index: 999;
}

#loader.show {
    -webkit-transition: opacity .6s ease-out, visibility 0s linear 0s;
    -o-transition: opacity .6s ease-out, visibility 0s linear 0s;
    transition: opacity .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 #EF233C;
    border-radius: 50%;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.back-to-top {
    position: fixed;
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px 0;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    z-index: 9;
}

.back-to-top i {
    color: #ffffff;
}

.back-to-top:hover i {
    color: #414141;
}
section {
    padding: 50px 0; /* Adjust padding for top and bottom spacing */
}

/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.navbar {
    position: relative;
    transition: .5s;
    z-index: 999;
}

.navbar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}

.navbar .navbar-brand {
    margin: 0;
    font-size: 45px;
    line-height: 0px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: .5s;
    
}

.navbar .navbar-brand img {
    max-width: 100%;
    max-height: 40px;
}

.navbar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

@media (min-width: 992px) {
    .navbar {
        position: absolute;
        width: 100%;
        padding: 30px 60px;
        background: transparent !important;
        border-bottom: 1px dashed rgba(256, 256, 256, .2);
        z-index: 9;
    }
    
    .navbar.nav-sticky {
        padding: 10px 60px;
        background: #ffffff !important;
    }
    
    .navbar .navbar-brand {
        color: #ffffff;
    }
    
    .navbar.nav-sticky .navbar-brand {
        color: #EF233C;
    }

    .navbar-light .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link:focus {
        padding: 10px 10px 8px 10px;
        color: #ffffff;
        font-size: 15px;
        font-weight: 500;
    }
    
    .navbar-light.nav-sticky .navbar-nav .nav-link,
    .navbar-light.nav-sticky .navbar-nav .nav-link:focus {
        color: #414141;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: #111111;
    }
    
    .navbar-light.nav-sticky .navbar-nav .nav-link:hover,
    .navbar-light.nav-sticky .navbar-nav .nav-link.active {
        color: #EF233C;
    }
}

@media (max-width: 991.98px) {   
    .navbar {
        padding: 15px;
        background: #ffffff !important;
    }
    
    .navbar .navbar-brand {
        color: #EF233C;
    }
    
    .navbar .navbar-nav {
        margin-top: 15px;
    }
    
    .navbar a.nav-link {
        padding: 5px;
    }
    
    .navbar .dropdown-menu {
        box-shadow: none;
    }
}



/*******************************/
/********** Profile CSS ***********/
/*******************************/
.profile {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
    padding: 120px 0 0 0;
    overflow: hidden;
    background: linear-gradient(rgba(239, 35, 60, 0.95), rgba(239, 35, 60, 0.95)), url(images/Feenah.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.profile .container-fluid {
    padding: 0;
}

.profile .profile-image {
    position: relative;
    text-align: center; /* Center the image */
}

.profile .profile-image img {
    max-width: 78%; /* Adjust the width of the image */
    max-height: 90%; /* Adjust the height of the image */
}

.profile .profile-content {
    position: relative;
    padding: 0 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.profile .profile-text p {
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 15px;
}

.profile .profile-text h1 {
    color: #ffffff;
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.profile .profile-text h2 {
    display: inline-block;
    margin: 0;
    color: #ffffff;
    font-size: 35px;
    font-weight: 600;
}

/* Slideshow Container CSS */
.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center; /* Center the text */
}

.slideshow-text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px; /* Adjust height as needed */
}

.slideshow-text span {
    color: #ffffff; /* White color */
    font-size: 25px; /* Adjust size as needed */
    font-weight: 600; /* Make text bold */
    margin: 0 10px; /* Space between items */
    display: inline-block;
    white-space: nowrap; /* Prevent text from wrapping */
}

/* Animation */
@keyframes slide {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

.slideshow-text span {
    animation: slide 3s infinite;
}

.profile .social-links h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.profile .social-links a {
    color: #ffffff;
    font-size: 18px;
    margin-right: 15px;
    transition: 0.3s;
}

.profile .social-links a:hover {
    color: #070606;
}

/* Responsive Design Adjustments */
@media (max-width: 991.98px) {
    .profile {
        padding-top: 60px;
    }
    
    .profile .profile-content {
        padding: 0 15px;
    }
    
    .profile .profile-text p {
        font-size: 20px;
    }
    
    .profile .profile-text h1 {
        font-size: 45px;
    }
    
    .profile .profile-text h2 {
        font-size: 25px;
    }
    
    .profile .profile-btn .btn {
        padding: 12px 30px;
        letter-spacing: 1px;
    }
}

@media (max-width: 767.98px) {
    .profile {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .profile,
    .profile .profile-text,
    .profile .profile-btn {
        width: 100%;
        text-align: center;
    }
    
    .profile .profile-text p {
        font-size: 18px;
    }
    
    .profile .profile-text h1 {
        font-size: 35px;
    }
    
    .profile .profile-text h2 {
        font-size: 22px;
    }
    
    .profile .profile-btn .btn {
        padding: 10px 15px;
        letter-spacing: 1px;
    }
}

@media (max-width: 575.98px) {
    .profile .profile-text p {
        font-size: 16px;
    }
    
    .profile .profile-text h1 {
        font-size: 30px;
    }
    
    .profile .slideshow-item {
        font-size: 18px;
    }
    
    .profile .profile-btn .btn {
        padding: 8px 10px;
        letter-spacing: 0;
    }
}


/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    margin: -45px 0 45px 0;
    padding: 45px 0;
    background: #f9f9f9;
}

.about .col-lg-6 {
    padding: 0;
}

.about .section-header {
    margin-bottom: 30px;
}

.about .about-img {
    position: relative;
    height: 100%;
}

.about .about-img img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about .about-content {
    padding: 0 60px;
}

.about .about-text p {
    font-size: 16px;
}

.about .skills {
    margin-bottom: 30px;
}

.about .skill-name {
    margin-top: 15px;
}

.about .skill-name p {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 400;
}

.about .skill-name p:last-child {
    float: right;
}

.about .progress {
    height: 10px;
    border-radius: 10px;
    background: #dddddd;
}

.about .progress .progress-bar {
    width: 0;
    background: #EF233C;
    border-radius: 10px;
    transition: 2s;
}

.about .about-text a.btn {
    margin-top: 15px;
}

@media (max-width: 991.98px) {
    .about .about-content {
        padding: 45px 15px 0 15px;
    }
}

.skill-percentage {
    font-weight: bold;
    transition: color 0.5s;
}

.skill-percentage[data-value="100"] {
    color: #EF233C;
}

.skill-percentage[data-value="110"] {
    color: #EF233C;
}
</style>

<script>
document.addEventListener('DOMContentLoaded', function () {
    const skillPercentages = document.querySelectorAll('.skill-percentage');
    skillPercentages.forEach(function (element) {
        const value = parseInt(element.getAttribute('data-value'), 10);
        if (value > 100) {
            element.style.color = 'red';
        }
    });
});



/*******************************/
/********* Service CSS *********/
/*******************************/
.services {
    position: relative;
    width: 100%;
    padding: 60px 0; /* Added padding to separate from above and below sections */
}

.services .section-header {
    margin-bottom: 40px; /* Adjusted margin for better spacing */
}

.services .service-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 0 0 transparent;
    transition: ease-out 0.5s;
    padding: 20px; /* Added padding for better spacing inside each service item */
}

.services .service-item:hover {
    box-shadow: inset 800px 0 0 0 #EF233C;
}

.services .service-item i {
    position: relative;
    font-size: 60px;
    color: #EF233C;
    transition: .3s;
}

.services .service-item:hover i {
    font-size: 75px;
}

.services .service-item h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    transition: 1s;
}

.services .service-item p {
    margin: 0;
    font-size: 16px;
    transition: 1s;
}

.services .service-item:hover h3,
.services .service-item:hover p {
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .services .service-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px; /* Adjusted padding for smaller screens */
    }

    .services .service-item i {
        margin-bottom: 10px;
    }
}

@media (max-width: 575.98px) {
    .services .service-item h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .services .service-item p {
        font-size: 14px;
    }
}

/* Styling for Services Section */
.services {
    padding: 70px; /* Add padding inside the section */
    border-bottom: 1px solid #ccc; /* Optional: border at the bottom of the services section */
}


/*******************************/
/******* Experience CSS ********/
/*******************************/
.experience {
    position: relative;
    padding: 45px 0 15px 0;
}

.experience .timeline {
    position: relative;
    width: 100%;
}

.experience .timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #EF233C;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.experience .timeline .timeline-item {
    position: relative;
    background: inherit;
    width: 50%;
    margin-bottom: 30px;
}

.experience .timeline .timeline-item.left {
    left: 0;
    padding-right: 30px;
}

.experience .timeline .timeline-item.right {
    left: 50%;
    padding-left: 30px;
}

.experience .timeline .timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 48px;
    right: -8px;
    background: #ffffff;
    border: 2px solid #EF233C;
    border-radius: 16px;
    z-index: 1;
}

.experience .timeline .timeline-item.right::after {
    left: -8px;
}

.experience .timeline .timeline-item::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 46px;
    right: 10px;
    z-index: 1;
    border: 10px solid;
    border-color: transparent transparent transparent #dddddd;
}

.experience .timeline .timeline-item.right::before {
    left: 10px;
    border-color: transparent #dddddd transparent transparent;
}

.experience .timeline .timeline-date {
    position: absolute;
    width: 100%;
    top: 44px;
    font-size: 16px;
    font-weight: 600;
    color: #EF233C;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.experience .timeline .timeline-item.left .timeline-date {
    text-align: left;
    left: calc(100% + 55px);
}

.experience .timeline .timeline-item.right .timeline-date {
    text-align: right;
    right: calc(100% + 55px);
}

.experience .timeline .timeline-text {
    padding: 30px;
    background: #ffffff;
    position: relative;
    border-right: 5px solid #dddddd;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
}

.experience .timeline .timeline-item.right .timeline-text {
    border-right: none;
    border-left: 5px solid #dddddd;
}

.experience .timeline .timeline-text h2 {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: 600;
}

.experience .timeline .timeline-text h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
}

.experience .timeline .timeline-text p {
    margin: 0;
    font-size: 16px;
}

@media (max-width: 767.98px) {
    .experience .timeline::after {
        left: 8px;
    }

    .experience .timeline .timeline-item {
        width: 100%;
        padding-left: 38px;
    }
    
    .experience .timeline .timeline-item.left {
        padding-right: 0;
    }
    
    .experience .timeline .timeline-item.right {
        left: 0%;
        padding-left: 38px;
    }

    .experience .timeline .timeline-item.left::after, 
    .experience .timeline .timeline-item.right::after {
        left: 0;
    }
    
    .experience .timeline .timeline-item.left::before,
    .experience .timeline .timeline-item.right::before {
        left: 18px;
        border-color: transparent #dddddd transparent transparent;
    }
    
    .experience .timeline .timeline-item.left .timeline-date,
    .experience .timeline .timeline-item.right .timeline-date {
        position: relative;
        top: 0;
        right: auto;
        left: 0;
        text-align: left;
        margin-bottom: 10px;
    }
    
    .experience .timeline .timeline-item.left .timeline-text,
    .experience .timeline .timeline-item.right .timeline-text {
        border-right: none;
        border-left: 5px solid #dddddd;
    }
}

.experience {
    padding: 20px; /* Add padding inside the section */
    margin-top: 2px; /* Add space between services and experience sections */
}

.experience {
    background-color: #f0f0f0; /* Light background color for contrast */
    border-bottom: 2px solid #ddd; /* Border to separate from the portfolio */
    margin-bottom: 30px; /* Space between the experience section and portfolio */
}

/*******************************/
/******** Portfolio CSS ********/
/*******************************/
.portfolio {
    position: relative;
    padding: 45px 0 15px 0;
    background-color: #f8f9fa; /* Light background for contrast */
}

.portfolio #portfolio-filter {
    padding: 0;
    margin: -15px 0 25px 0;
    list-style: none;
    font-size: 0;
    text-align: center;
}

.portfolio #portfolio-filter li {
    cursor: pointer;
    display: inline-block;
    margin: 5px;
    padding: 8px 16px; /* Increased padding for better click area */
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: #EF233C;
    border: 2px solid transparent;
    border-radius: 5px; /* Slightly rounded corners for a modern look */
    box-shadow: inset 0 0 0 50px #EF233C;
    transition: all 0.3s ease-out;
}

.portfolio #portfolio-filter li:hover,
.portfolio #portfolio-filter li.filter-active {
    color: #EF233C;
    background: transparent;
    box-shadow: inset 0 0 0 2px #EF233C; /* Border on hover */
    border-color: #EF233C;
}

.portfolio .portfolio-item {
    position: relative;
    margin-bottom: 30px; /* Space between portfolio items */
}

.portfolio .portfolio-wrap {
    position: relative;
    width: 100%;
    border-radius: 10px; /* Rounded corners for the image container */
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    transition: transform 0.3s; /* Smooth transition for hover effect */
}

.portfolio .portfolio-wrap:hover {
    transform: translateY(-5px); /* Lift up effect on hover */
}

.portfolio .portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio .portfolio-img img {
    position: relative;
    width: 100%; 
    height: auto; 
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.5s; /* Smooth scaling effect */
}

.portfolio .portfolio-item:hover img {
    transform: scale(1); /* Reset scale on hover */
}

.portfolio .portfolio-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    transition: background 0.3s; /* Smooth background transition */
}

.portfolio .portfolio-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333; /* Darker text color for readability */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Truncate long text */
}

.portfolio .portfolio-text a.btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #EF233C;
    background: #ffffff;
    border: 2px solid #EF233C;
    border-radius: 50%; /* Circular button */
    transition: all 0.3s;
}

.portfolio .portfolio-text a.btn:hover {
    color: #ffffff;
    background: #EF233C;
    border-color: #EF233C;
}

.portfolio {
    padding: 50px 0; /* Top and bottom padding */
}

.portfolio .section-header {
    margin-bottom: 50px; /* Space below the header */
}

.portfolio .portfolio-container {
    margin-top: 30px; /* Space above the portfolio items */
}

.portfolio .portfolio-item {
    margin-bottom: 40px; /* Space below each portfolio item */
}

.portfolio {
    background-color: #ffffff; /* White background for clarity */
    border-top: 2px solid #ddd; /* Border to separate from the experience */
    border-bottom: 2px solid #ddd; /* Optional border to separate from the bookings */
    padding: 50px 0; /* Ensure padding for top and bottom */
}




/*******************************/
/********* Booking CSS *********/
/*******************************/
.booking {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
    background-color: #f8f9fa; /* Light background for contrast */
}

.booking .row {
    margin: 0; /* Remove padding to align with the container */
}

.booking .col-md-4 {
    padding: 15px; /* Add padding to columns for spacing */
}

.booking .booking-item {
    position: relative;
    margin-bottom: 30px;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    border-radius: 10px; /* Rounded corners for a modern look */
    overflow: hidden; /* Ensure content doesn't overflow */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for hover effect */
}

.booking .booking-item:hover {
    transform: translateY(-5px); /* Lift up effect on hover */
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

.booking .booking-header,
.booking .booking-body,
.booking .booking-footer {
    position: relative;
    text-align: center;
    padding: 20px; /* Add padding for spacing */
}

.booking .booking-header {
    color: #414141;
    background-color: #f1f1f1; /* Light background for header */
    border-bottom: 1px solid #e0e0e0; /* Divider line */
}

.booking .booking-title h2 {
    font-size: 25px;
    font-weight: 600; /* Semi-bold for title */
    text-transform: uppercase;
    margin: 0;
}

.booking .featured-item .booking-header {
    color: #EF233C;
    background-color: #ffeeee; /* Slightly tinted background for featured item */
}

.booking .booking-body {
    padding: 20px 15px; /* Consistent padding */
}

.booking .booking-description p {
    font-size: 16px;
    line-height: 1.6; /* Improved readability */
    margin-bottom: 15px; /* Space between paragraphs */
}

.booking .booking-footer {
    border-top: 1px solid #e0e0e0; /* Divider line */
    background-color: #f1f1f1; /* Light background for footer */
    padding: 20px; /* Consistent padding */
}

.booking .booking-action .btn {
    color: #ffffff;
    background: #414141;
    border-radius: 5px; /* Rounded button corners */
    padding: 10px 20px; /* Button padding */
    text-transform: uppercase; /* Uppercase text for buttons */
    transition: all 0.3s; /* Smooth transition for hover */
}

.booking .booking-action .btn:hover {
    color: #414141;
    background: transparent;
    box-shadow: inset 0 0 0 2px #414141; /* Border on hover */
}

.booking .featured-item .booking-action .btn {
    background: #EF233C;
    box-shadow: inset 0 0 0 50px #EF233C;
}

.booking .featured-item .booking-action .btn:hover {
    color: #EF233C;
    background: transparent;
    box-shadow: inset 0 0 0 2px #EF233C; /* Border on hover */
}

.bookings {
    background-color: #f9f9f9; /* Slightly different background for differentiation */
    border-top: 2px solid #ddd; /* Border to separate from the portfolio */
    padding: 50px 0; /* Ensure padding for top and bottom */
}

/*******************************/
/********* Media CSS **********/
/*******************************/
#media {
    background-color: #f9f9f9;
    padding: 50px 0;
    text-align: center;
    margin-top: 50px; /* Space from the section above */
    margin-bottom: 50px; /* Space to the section below */
}

#media h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

#media p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #777;
}

#media .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

#media .gallery .image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

#media .gallery .image img {
    display: block;
    width: 100%;
    height: auto;
}

#media .gallery .image:hover {
    transform: scale(1.05);
}

/* Lightbox CSS */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
}

.lightbox:target {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2em;
    color: #fff;
    text-decoration: none;
}



/*******************************/
/*********** Features CSS **********/
/*******************************/
.features {
    padding: 60px 0;
}

.features .section-header {
    margin-bottom: 60px;
}

.features .feature-item {
    background: #f7f7f7;
    border-radius: 5px;
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    transition: 0.3s;
}

.features .feature-item:hover {
    background: #e0e0e0;
}

.features .feature-item .feature-icon {
    font-size: 50px;
    color: #de1b0e;
    margin-bottom: 20px;
}

.features .feature-item .feature-text h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.features .feature-item .feature-text p {
    font-size: 16px;
    margin-bottom: 20px;
}

.features .feature-item .btn {
    background: #f31e0b;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.features .feature-item .btn:hover {
    background: #f61010;
}



/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    margin: 45px 0;
    background: #EF233C;
}

.contact .container-fluid {
    background: url(../img/contact.jpg) left center no-repeat;
    background-size: contain;
}

.contact .section-header {
    text-align: center;
    padding: 30px 0;
}

.contact .section-header p {
    color: #ffffff;
    font-size: 1.2em;
}

.contact .section-header h2 {
    color: #ffffff;
    font-size: 2.5em;
}

.contact .contact-form {
    position: relative;
    padding: 90px 0 90px 45px;
    background: #EF233C;
}

.contact .contact-form input,
.contact .contact-form textarea {
    color: #ffffff;
    padding: 15px 0;
    background: none;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(256, 256, 256, .5);
}

.contact .contact-form input::placeholder,
.contact .contact-form textarea::placeholder {
    color: #ffffff;
    opacity: 1;
}

.contact .contact-form .btn {
    margin-top: 35px;
    color: #EF233C;
    background: #ffffff;
    box-shadow: inset 0 0 0 50px #ffffff;
}

.contact .contact-form .btn:hover {
    color: #ffffff;
    background: transparent;
    box-shadow: inset 0 0 0 0 #ffffff;
    border-color: #ffffff;
}

.contact .help-block {
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 14px;
    font-style: italic;
    color: #ffffff;
}

.contact .help-block.error {
    color: #ffdddd;
}

.contact .help-block.success {
    color: #d4edda;
}

@media (max-width: 767.98px) {
    .contact .container-fluid {
        background: none;
    }
    
    .contact .contact-form {
        padding: 90px 0;
    }
}


/*******************************/
/*********** Blog CSS **********/
/*******************************/

/* Blog Section */
#blog {
    padding: 80px 0;
    background-color: #f8f9fa;
}

#blog .section-header {
    margin-bottom: 50px;
}

#blog .section-header p {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

#blog .section-header h2 {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

#blog .blog-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#blog .blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

#blog .blog-text {
    padding: 30px;
}

#blog .blog-text h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

#blog .blog-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

#blog .btn {
    display: inline-block;
    background-color: #ddd6d6;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#blog .btn:hover {
    background-color: #e81b1b;
    transform: translateY(-2px);
}

#blog .btn i {
    margin-left: 5px;
}




/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    margin-top: 10px;
    background: #EF233C;
}

.footer .container-fluid {
    padding: 20px 0 0 0;
}

.footer .footer-info {
    position: relative;
    width: 100%;
    text-align: center;
}

.footer .footer-info h2 {
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
}

.footer .footer-info h3 {
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

.footer .footer-menu {
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer .footer-menu p {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    line-height: 20px;
    padding: 0 15px;
    border-right: 1px solid #ffffff;
}

.footer .footer-menu p:last-child {
    border: none;
}

.footer .footer-social {
    position: relative;
    margin-top: 15px;
}

.footer .footer-social a {
    display: inline-block;
}

.footer .footer-social a i {
    margin-right: 15px;
    font-size: 20px;
    color: #ffffff;
    transition: .3s;
}

.footer .footer-social a:last-child i {
    margin: 0;
}

.footer .footer-social a:hover i {
    color: #414141;
}

.footer .copyright {
    position: relative;
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.footer .copyright::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 1px;
    top: 0;
    left: 25%;
    background: rgba(256, 256, 256, .2);
}

.footer .copyright p {
    margin: 0;
    color: #ffffff;
}

.footer .copyright .col-md-6:last-child p {
    text-align: right;
}

.footer .copyright p a {
    color: #ffffff;
    font-weight: 600;
}

.footer .copyright p a:hover {
    color: #414141;
}

@media (max-width: 575.98px) {
    .footer .footer-info h2 {
        margin-bottom: 20px;
        font-size: 20px;
        font-weight: 600;
    }

    .footer .footer-info h3 {
        margin-bottom: 20px;
        font-size: 16px;
    }

    .footer .footer-menu p {
        font-size: 16px;
        line-height: 16px;
        padding: 0 5px;
    }
}


/* Base styles for desktop */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.header, .footer {
    padding: 20px;
    background-color: #EF233C;
    color: #fff;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-info {
    margin-bottom: 20px;
}

/* Styles for mobile devices */
@media (max-width: 768px) {
    .header, .footer {
        padding: 15px;
    }

    .container {
        padding: 10px;
    }

    .footer-info h2 {
        font-size: 1.5rem;
    }

    .footer-info h3 {
        font-size: 1rem;
    }
}

/* Styles for very small devices like phones */
@media (max-width: 480px) {
    .header, .footer {
        padding: 10px;
    }

    .container {
        padding: 5px;
    }

    .footer-info h2 {
        font-size: 1.2rem;
    }

    .footer-info h3 {
        font-size: 0.8rem;
    }
}
