/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    color: #F5F5F5; /* Off-white for general text on dark backgrounds */
    background-color: #262626; /* Dark grey base background */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

section{
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #FFB74D; /* Lighter orange for headings */
}

/* Custom Colors & Backgrounds */
.bg-dark-grey {
    background-color: #262626;
}

.bg-light-cream {
    background-color: #FFF8E1;
    color: #212121; /* Dark charcoal for text on light backgrounds */
}

.bg-dark-overlay-light {
    background-color: rgba(38, 38, 38, 0.85); /* Dark grey with transparency */
}

.custom-heading-color {
    color: #FFB74D; /* Lighter orange for main headings */
}

.custom-icon-orange {
    color: #E65100; /* Deep orange for icons */
    font-size: 3rem;
}

.custom-btn-orange {
    background-color: #E65100; /* Deep orange button */
    border-color: #E65100;
    color: #F5F5F5;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none; /* Remove underline for buttons */
}

.btn-outline-secondary{
    padding: 0.75rem 1.5rem;
}

.custom-btn-orange:hover {
    background-color: #FFB74D; /* Lighter orange on hover */
    border-color: #FFB74D;
    color: #212121;
    text-decoration: none; /* Ensure no underline on hover */
}

.custom-link-orange {
    color: #E65100;
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-link-orange:hover {
    color: #FFB74D;
    text-decoration: underline;
}

.custom-form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #F5F5F5;
}

.custom-form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.custom-form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #FFB74D;
    box-shadow: 0 0 0 0.25rem rgba(255, 183, 77, 0.25);
    color: #F5F5F5;
}

/* Navbar */
.custom-navbar {
    background-color: rgba(38, 38, 38, 0.95) !important; /* Slightly transparent dark grey */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.custom-navbar .navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #FFB74D;
    display: flex;
    align-items: center;
}

.custom-navbar .navbar-brand .logo-img {
    height: 40px; /* Adjust logo size */
    width: auto;
}

.custom-navbar .nav-link {
    color: #F5F5F5;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none; /* Remove underline for nav links */
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    color: #E65100;
}

.smooth-scroll {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(38, 38, 38, 0.7), rgba(38, 38, 38, 0.7)), url('images/media/hero-flowers-background.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    padding-top: 100px; /* Adjust for fixed navbar */
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Darker overlay */
    z-index: 1;
}

.hero-section .container-fluid {
    position: relative;
    z-index: 2;
}

.hero-form-container {
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: rgba(38, 38, 38, 0.85); /* Dark grey with transparency */
}

.hero-image-placeholder {
    width: 100%;
    max-width: 550px;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* About Section */
.about-section .max-w-800 {
    max-width: 800px;
}

.about-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark for cards */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-section .card {
    border-radius: 15px;
    background-color: #FFFFFF; /* White background for cards on light section */
    color: #212121;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.services-section .card-title {
    color: #E65100; /* Deep orange for card titles */
}

/* Features Section */
.feature-card {
    background-color: rgba(255, 255, 255, 0.05); /* Dark transparent for cards */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 150px; /* Ensure consistent height */
    align-items: center;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E65100;
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-icon img {
    max-width: 40px;
    max-height: 40px;
}

/* How It Works Section (Timeline) */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #E65100; /* Orange line */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: -1;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.timeline-item.animate-active {
    opacity: 1;
    transform: translateY(0);
}



.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
}

.timeline-item:nth-child(even)::after {
    left: -16px;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #E65100;
    color: #F5F5F5;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: #FFFFFF;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #212121;
}

.timeline-content h5 {
    color: #E65100;
}

/* Responsive timeline */
@media (max-width: 768px) {
    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 0 10px 10px;
        border-color: transparent transparent transparent white;
    }

    .timeline-item::after {
        left: 15px;
    }

    .timeline-item:nth-child(even) {
        left: 0%;
    }

    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
        top: 15px;
        margin-left: 0;
    }
}

/* Testimonials Section */
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05); /* Dark transparent for cards */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    min-height: 350px; /* Consistent height for testimonial cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card h6 {
    color: #FFB74D;
}

.testimonial-img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

/* Team Section (Horizontal Timeline) */
.timeline-horizontal-container {
    overflow-x: auto;
    padding-bottom: 20px; /* Space for scrollbar */
    -webkit-overflow-scrolling: touch;
}

.timeline-horizontal-scroll {
    display: flex;
    gap: 40px; /* Space between items */
    position: relative;
    padding: 20px 0;
    min-width: fit-content; /* Allow content to dictate width */
}

.timeline-horizontal-scroll::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #E65100; /* Orange line */
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-horizontal-item {
    flex: 0 0 auto;
    width: 200px; /* Fixed width for each team member card */
    position: relative;
    padding-top: 160px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-horizontal-item.animate-active {
    opacity: 1;
    transform: translateX(0);
}

.timeline-horizontal-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: #FFB74D; /* Lighter orange dot */
    border: 3px solid #E65100; /* Deep orange border */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.team-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #FFB74D;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #262626;
    z-index: 2;
}

.timeline-horizontal-item h6 {
    color: #E65100;
}

/* Industries Section (Accordion) */
.custom-accordion .accordion-item {
    background-color: rgba(255, 255, 255, 0.05); /* Dark transparent for accordion items */
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.custom-accordion .accordion-button {
    background-color: #E65100; /* Deep orange for button background */
    color: #F5F5F5;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #FFB74D; /* Lighter orange when open */
    color: #212121;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.custom-accordion .accordion-body {
    background-color: #333333; /* Slightly lighter dark for body */
    color: #F5F5F5;
    padding: 1.5rem;
}

/* Service Order Form Section */
.contact-form-section .form-container {
    background-color: rgba(38, 38, 38, 0.85); /* Dark transparent for form background */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form-section .form-check-label {
    color: #F5F5F5;
}

.contact-form-section .form-check-input:checked {
    background-color: #E65100;
    border-color: #E65100;
}

/* Footer */
.footer-section {
    background-color: #1a1a1a !important; /* Even darker grey for footer */
    color: #F5F5F5;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.custom-logo-footer {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #FFB74D;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .custom-logo-footer {
        justify-content: flex-start;
    }
}

.custom-link-footer {
    transition: color 0.3s ease;
    text-decoration: none; /* Remove underline for footer links */
}

.custom-link-footer:hover {
    color: #E65100;
    text-decoration: underline;
}

/* Utility Classes */
.max-w-800 {
    max-width: 800px;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    transition-delay: var(--animation-delay, 0s);
}

.animate-on-scroll.animate-active {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 1.2s ease-out;
    transition-delay: var(--animation-delay, 0s);
}

.animate-fade-in.animate-active {
    opacity: 1;
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    transition-delay: var(--animation-delay, 0s);
}

.animate-fade-in-up.animate-active {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: var(--animation-delay, 0s);
}

.slide-in-left.animate-active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: var(--animation-delay, 0s);
}

.slide-in-right.animate-active {
    opacity: 1;
    transform: translateX(0);
}

/* Cookie Consent Modal Specific Styles */
.custom-cookie-modal .modal-content {
    background-color: #262626;
    color: #F5F5F5;
    border-radius: 15px;
    border: none;
}

.custom-cookie-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFB74D;
}

.custom-cookie-modal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-cookie-modal .nav-tabs .nav-link {
    color: #FFB74D;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.custom-cookie-modal .nav-tabs .nav-link.active {
    background-color: transparent;
    color: #E65100;
    border-color: #E65100;
    font-weight: bold;
}

.custom-cookie-modal .nav-tabs .nav-link:hover {
    border-color: #FFB74D;
}

.custom-cookie-modal .form-check-label {
    color: #F5F5F5;
}

.custom-cookie-modal .form-check-input:checked {
    background-color: #E65100;
    border-color: #E65100;
}

.custom-cookie-modal .form-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.custom-cookie-modal .btn-outline-secondary {
    color: #FFB74D;
    border-color: #FFB74D;
}

.custom-cookie-modal .btn-outline-secondary:hover {
    background-color: #FFB74D;
    color: #212121;
}

/* Ensure consistent card heights for Services and Testimonials */
.row-cols-md-3 > .col,
.row-cols-md-2 > .col {
    display: flex;
}

.row-cols-md-3 > .col > .card,
.row-cols-md-2 > .col > .testimonial-card {
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-brand .logo-img {
        height: 30px;
    }

    .custom-navbar .navbar-brand {
        font-size: 1.5rem;
    }

    .hero-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 50px;
    }

    .hero-image-placeholder {
        height: 300px;
        margin-top: 30px;
    }

    .custom-accordion .accordion-button {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .display-4 {
        font-size: 2.5rem;
    }
    .lead {
        font-size: 1rem;
    }

    .hero-section .container-fluid .row {
        flex-direction: column;
    }

    .hero-section .col-lg-6 {
        width: 100%;
    }

    .hero-form-container {
        max-width: 100%;
    }

    .hero-image-placeholder {
        display: none !important; /* Hide image on small screens */
    }

    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
        top: 15px;
        margin-left: 0;
    }

    .testimonial-card .row > div {
        width: 100%;
    }

    .testimonial-card .row > div:first-child {
        margin-bottom: 1rem;
    }

    .timeline-horizontal-scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
        justify-content: flex-start;
    }

    .timeline-horizontal-item {
        width: 180px;
    }
}
/* New styles for .secureTermsHub content */

.secureTermsHub {
    padding-top: 4rem; /* Top padding for the content section */
    padding-bottom: 4rem; /* Bottom padding for the content section */
    padding-left: 1.5rem; /* Left padding for the content section */
    padding-right: 1.5rem; /* Right padding for the content section */
    max-width: 960px; /* Max width to keep content readable and centered */
    margin-left: auto; /* Center the content block horizontally */
    margin-right: auto; /* Center the content block horizontally */
    color: #F5F5F5; /* Default text color for this section, consistent with body */
    background-color: #262626; /* Default background, consistent with body */
}

/* Headings within .secureTermsHub */
.secureTermsHub h1,
.secureTermsHub h2,
.secureTermsHub h3,
.secureTermsHub h4,
.secureTermsHub h5 {
    font-family: 'Playfair Display', serif; /* Consistent heading font */
    color: #FFB74D; /* Consistent heading color (lighter orange) */
    margin-top: 2.5rem; /* Spacing above headings */
    margin-bottom: 1rem; /* Spacing below headings */
    line-height: 1.2; /* Line height for headings */
    font-weight: 700; /* Bold headings */
}

.secureTermsHub h1 {
    font-size: 2.2rem; /* Moderate size for H1 */
}

.secureTermsHub h2 {
    font-size: 1.8rem; /* Moderate size for H2 */
}

.secureTermsHub h3 {
    font-size: 1.5rem; /* Moderate size for H3 */
}

.secureTermsHub h4 {
    font-size: 1.25rem; /* Moderate size for H4 */
}

.secureTermsHub h5 {
    font-size: 1.1rem; /* Moderate size for H5 */
}

/* Paragraphs within .secureTermsHub */
.secureTermsHub p {
    font-family: 'Montserrat', sans-serif; /* Consistent body font */
    font-size: 1rem; /* Standard paragraph font size */
    margin-bottom: 1.2rem; /* Spacing below paragraphs */
    line-height: 1.7; /* Improved readability for paragraphs */
    color: #F5F5F5; /* Consistent paragraph text color */
}

/* Unordered lists within .secureTermsHub */
.secureTermsHub ul {
    font-family: 'Montserrat', sans-serif; /* Consistent body font */
    font-size: 1rem; /* Standard list item font size */
    margin-top: 1.5rem; /* Spacing above lists */
    margin-bottom: 1.5rem; /* Spacing below lists */
    padding-left: 1.8rem; /* Indentation for list items */
    list-style-type: disc; /* Default bullet style */
    color: #F5F5F5; /* Consistent list text color */
}

/* List items within .secureTermsHub */
.secureTermsHub ul li {
    margin-bottom: 0.7rem; /* Spacing between list items */
    line-height: 1.6; /* Line height for list items */
}

/* Responsive adjustments for .secureTermsHub */
@media (max-width: 767.98px) {
    .secureTermsHub {
        padding-top: 3rem;
        padding-bottom: 3rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .secureTermsHub h1 {
        font-size: 1.8rem;
    }

    .secureTermsHub h2 {
        font-size: 1.5rem;
    }

    .secureTermsHub h3 {
        font-size: 1.3rem;
    }

    .secureTermsHub h4 {
        font-size: 1.1rem;
    }

    .secureTermsHub h5 {
        font-size: 1rem;
    }

    .secureTermsHub p,
    .secureTermsHub ul,
    .secureTermsHub ul li {
        font-size: 0.95rem;
    }
}

#cookieConsentModal{
    .modal-content{
        color: #1a1a1a !important;
    }

    
    .custom-cookie-modal .nav-tabs .nav-link,
    .modal-title{
        color: #e62e00;
    }

    .custom-cookie-modal .btn-outline-secondary {
  color: #e62e00;
  border-color: #e62e00;
}

.modal-footer{
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.custom-cookie-modal .form-check-label{
    color: #E65100;
}
.custom-cookie-modal .form-text{
    color: #1a1a1a;
}
}
.navbar-nav{
    flex-wrap: wrap;
    justify-content: end;
}

.logo-img{
    width: 60px;
    height: 60px;
    object-fit: contain;
}

#hero{
    padding-top: 100px !important;
}

@media (max-width: 575px){
    .hero-form-container{
        form{
            flex-direction: column;

            input{
                width: 100% !important;
                border-radius: 0 !important;
            }

            button{
                border-radius: 0 !important;
            }
        }
    }

    .footer-section{
        .list-unstyled{
            flex-wrap: wrap;
        }
    }
}
