/* General Styles */
:root {
    --primary-color: #F7B32B; /* Warm Orange/Gold */
    --secondary-color: #1A434E; /* Deep Teal */
    --accent-color: #5F8B70; /* Muted Green */
    --light-color: #F8F4E3; /* Light Cream */
    --dark-color: #333333; /* Dark Gray for text on light backgrounds */
    --text-on-dark: #ECECEC; /* Light text on dark backgrounds */
    --text-muted-on-dark: rgba(236, 236, 236, 0.7); /* Lighter text on dark backgrounds */
    --gradient-dark: linear-gradient(135deg, #1A434E 0%, #2C3E50 100%);
    --gradient-light: linear-gradient(135deg, #F8F4E3 0%, #ECECEC 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from AOS */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.8rem;
    line-height: 1.3;
}

.display-3 {
    font-size: calc(1.5rem + 3vw);
}
.display-5 {
    font-size: calc(1.4rem + 2vw);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    color: var(--text-on-dark);
    border-color: var(--text-on-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--text-on-dark);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bg-dark {
    background-color: var(--secondary-color) !important;
}

.bg-dark-gradient {
    background: var(--gradient-dark);
}

.bg-light-gradient {
    background: var(--gradient-light);
}

.text-dark {
    color: var(--dark-color) !important;
}

.text-light-50 {
    color: var(--text-muted-on-dark) !important;
}

.text-dark-50 {
    color: rgba(51, 51, 51, 0.7) !important;
}

.text-dark-75 {
    color: rgba(51, 51, 51, 0.85) !important;
}

.hover-primary:hover {
    color: var(--primary-color) !important;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    filter: brightness(1.2);
}

.navbar-nav .nav-link {
    color: var(--text-on-dark);
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--secondary-color);
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-section h1 {
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p.lead {
    color: var(--text-on-dark);
}

.hero-tile {
    background-color: rgba(26, 67, 78, 0.9); /* Darker, slightly transparent */
    border: 1px solid rgba(247, 179, 43, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background-color 0.3s ease;
    position: relative;
    z-index: 1;
    flex: 1;
}

.hero-tile:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background-color: rgba(26, 67, 78, 1); /* More opaque on hover */
}

.hero-tile i {
    font-size: 3rem;
    color: var(--primary-color);
}

/* About Section */
.team-member-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.team-member-card img {
    object-fit: cover;
}

/* Services Section */
.service-card {
    border: 1px solid rgba(247, 179, 43, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.service-card img.service-microdemo {
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    filter: brightness(0.8) grayscale(0.2);
    transition: filter 0.3s ease;
}

.service-card:hover img.service-microdemo {
    filter: brightness(1) grayscale(0);
}

/* Features Section */
.feature-list li {
    transition: transform 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(5px);
}

.feature-list i {
    min-width: 40px;
}

/* How It Works Section */
.process-step-wrapper {
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}

.connector-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--accent-color);
    transform: translateY(-50%);
    z-index: 0;
    width: 0%; /* Initial state for animation */
}

.process-step {
    flex: 1;
    min-width: 200px; /* Ensure steps don't get too narrow */
    position: relative;
    z-index: 1;
    margin: 0 10px;
}

.process-step .icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 2.5rem;
    border: 3px solid var(--light-color);
    box-shadow: 0 0 0 5px var(--secondary-color);
}

/* Team Section */
.team-carousel-card {
    background-color: var(--light-color);
    color: var(--dark-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-carousel-card img {
    object-fit: cover;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 1rem;
}

/* Stats Section */
.timeline-container {
    position: relative;
    padding: 50px 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--primary-color);
    transform: translateY(-50%);
    z-index: 0;
}



.timeline-point {
    position: relative;
    margin: 40px 0;
}

.timeline-point .point-marker {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border: 3px solid var(--secondary-color);
    position: absolute;
    left: 50%;
    top: -35px; /* Adjust to align with the line */
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-point h3 {
    color: var(--text-on-dark);
}

/* Testimonials Section */
.testimonial-bubble {
    background-color: var(--light-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
}

.testimonial-bubble:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-bubble .quote-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2.5rem;
    color: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.testimonial-bubble blockquote {
    position: relative;
    z-index: 1;
    color: var(--dark-color);
}

.testimonial-bubble img {
    object-fit: cover;
}

/* Gallery Section */
.gallery-item {
    height: 250px;
    position: relative;
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 67, 78, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item .overlay p {
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section .accordion-button {
    background-color: var(--secondary-color);
    color: var(--text-on-dark);
    font-weight: 600;
    border-radius: 0;
    border-bottom: 1px solid rgba(247, 179, 43, 0.3);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--secondary-color);
    box-shadow: none;
}

.faq-section .accordion-button::after {
    filter: brightness(0) invert(1);
}

.faq-section .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1) sepia(1) hue-rotate(180deg) saturate(5);
}

.faq-section .accordion-body {
    background-color: rgba(26, 67, 78, 0.9);
    color: var(--text-muted-on-dark);
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.faq-section .accordion-item {
    border: 1px solid rgba(247, 179, 43, 0.3);
    margin-bottom: 10px;
    border-radius: 0.25rem;
    overflow: hidden;
}

.faq-section .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(247, 179, 43, 0.5);
    color: var(--text-on-dark);
}

.faq-section .form-control::placeholder {
    color: var(--text-muted-on-dark);
}

.faq-section .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(247, 179, 43, 0.25);
}

.faq-section .input-group-text {
    background-color: var(--secondary-color);
    border-color: rgba(247, 179, 43, 0.5);
    color: var(--primary-color);
}

/* Contact Section */
.contact-form .form-control, .contact-form textarea {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(247, 179, 43, 0.5);
    color: var(--text-on-dark);
}

.contact-form .form-control::placeholder, .contact-form textarea::placeholder {
    color: var(--text-muted-on-dark);
}

.contact-form .form-control:focus, .contact-form textarea:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(247, 179, 43, 0.25);
}

.contact-form .form-label {
    color: var(--text-on-dark);
}

.contact-sidebar {
    background-color: rgba(26, 67, 78, 0.9);
    border: 1px solid rgba(247, 179, 43, 0.3);
}

.map-container {
    border: 2px solid var(--primary-color);
}

.map-container iframe {
    display: block;
}

/* Footer */
.footer-section {
    background-color: var(--secondary-color);
    color: var(--text-on-dark);
}

.footer-section .text-light-50 {
    color: var(--text-muted-on-dark) !important;
}

.footer-section a {
    color: var(--text-muted-on-dark);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links a {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1050; /* Above navbar */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: slideInDown 0.5s ease-out forwards;
}

.cookie-banner.hidden {
    display: none !important;
}

@keyframes slideInDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

.cookie-banner .btn-outline-light {
    color: var(--text-on-dark);
    border-color: var(--text-on-dark);
}

.cookie-banner .btn-outline-light:hover {
    background-color: var(--text-on-dark);
    color: var(--secondary-color);
}

/* Modal specific styles */
.modal-content.bg-dark {
    background-color: var(--secondary-color) !important;
    border: 1px solid var(--primary-color);
}

.modal-header .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%); /* Make close button white */
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(247, 179, 43, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .hero-tile {
        margin-bottom: 1rem;
    }
    .hero-section .d-flex.justify-content-center.gap-3 {
        flex-direction: column;
        align-items: center;
    }
    .hero-section .btn-lg {
        width: 80%;
        max-width: 300px;
    }
    .process-step-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .process-step {
        margin-bottom: 30px;
    }
    .connector-line {
        display: none; /* Hide horizontal line on small screens */
    }
    .timeline-points-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .timeline-point {
        margin-bottom: 40px;
    }
    .timeline-point .point-marker {
        left: 7px;
        top: 0;
        transform: none;
        position: relative;
        display: inline-block;
        vertical-align: middle;
    }
    .timeline-point h3, .timeline-point span {
        display: inline-block;
        vertical-align: middle;
    }
    .timeline-point h3 {
        margin-left: 10px;
    }
    .timeline-point span {
        margin-left: 10px;
        display: block;
    }
    .contact-sidebar .map-container {
        margin-top: 2rem;
    }
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner p {
        margin-bottom: 1rem !important;
        margin-right: 0 !important;
    }
    .cookie-banner .d-flex {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    .cookie-banner .btn-sm {
        flex-grow: 1;
    }
}

@media (min-width: 768px) {
    .hero-tile.col-md-4:nth-child(even) {
        margin-top: 2rem; /* Overlap effect for larger screens */
    }
    .hero-tile.col-md-4:nth-child(odd) {
        margin-bottom: 2rem;
    }
}

@media (min-width: 992px) {
    .hero-tile.col-lg-3:nth-child(even) {
        margin-top: 3rem;
    }
    .hero-tile.col-lg-3:nth-child(odd) {
        margin-bottom: 3rem;
    }
}
/* Styles for content within .rightsCloudWrap */
.rightsCloudWrap {
    padding-top: 4rem; /* Top padding for the content block */
    padding-bottom: 4rem; /* Bottom padding for the content block */
    padding-left: 1rem; /* Left padding for the content block */
    padding-right: 1rem; /* Right padding for the content block */
    max-width: 960px; /* Maximum width for readability */
    margin-left: auto; /* Center the block horizontally */
    margin-right: auto; /* Center the block horizontally */
    color: var(--dark-color); /* Default text color for this section */
}

.rightsCloudWrap h1 {
    font-size: 2.5rem; /* Standard heading 1 size for content */
    line-height: 1.25; /* Line height for readability */
    margin-top: 2.5rem; /* Top margin for spacing */
    margin-bottom: 1.5rem; /* Bottom margin for spacing */
    font-weight: 700; /* Bold font weight */
    color: var(--secondary-color); /* Heading color */
}

.rightsCloudWrap h2 {
    font-size: 2rem; /* Standard heading 2 size for content */
    line-height: 1.3; /* Line height for readability */
    margin-top: 2rem; /* Top margin for spacing */
    margin-bottom: 1.2rem; /* Bottom margin for spacing */
    font-weight: 600; /* Semi-bold font weight */
    color: var(--secondary-color); /* Heading color */
}

.rightsCloudWrap h3 {
    font-size: 1.75rem; /* Standard heading 3 size for content */
    line-height: 1.35; /* Line height for readability */
    margin-top: 1.8rem; /* Top margin for spacing */
    margin-bottom: 1rem; /* Bottom margin for spacing */
    font-weight: 600; /* Semi-bold font weight */
    color: var(--secondary-color); /* Heading color */
}

.rightsCloudWrap h4 {
    font-size: 1.5rem; /* Standard heading 4 size for content */
    line-height: 1.4; /* Line height for readability */
    margin-top: 1.5rem; /* Top margin for spacing */
    margin-bottom: 0.8rem; /* Bottom margin for spacing */
    font-weight: 500; /* Medium font weight */
    color: var(--secondary-color); /* Heading color */
}

.rightsCloudWrap h5 {
    font-size: 1.25rem; /* Standard heading 5 size for content */
    line-height: 1.45; /* Line height for readability */
    margin-top: 1.2rem; /* Top margin for spacing */
    margin-bottom: 0.6rem; /* Bottom margin for spacing */
    font-weight: 500; /* Medium font weight */
    color: var(--secondary-color); /* Heading color */
}

.rightsCloudWrap p {
    font-size: 1.1rem; /* Standard paragraph text size */
    line-height: 1.7; /* Increased line height for better readability */
    margin-bottom: 1rem; /* Bottom margin for paragraph spacing */
    color: var(--dark-color); /* Paragraph text color */
}

.rightsCloudWrap ul {
    list-style-type: disc; /* Default disc bullet points */
    padding-left: 1.5rem; /* Indent list items */
    margin-bottom: 1rem; /* Bottom margin for list spacing */
    color: var(--dark-color); /* List text color */
}

.rightsCloudWrap ol {
    list-style-type: decimal; /* Default decimal numbering */
    padding-left: 1.5rem; /* Indent list items */
    margin-bottom: 1rem; /* Bottom margin for list spacing */
    color: var(--dark-color); /* List text color */
}

.rightsCloudWrap li {
    font-size: 1.1rem; /* Standard list item text size */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5rem; /* Spacing between list items */
    color: var(--dark-color); /* List item text color */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .rightsCloudWrap {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    .rightsCloudWrap h1 {
        font-size: 2rem;
        margin-top: 2rem;
        margin-bottom: 1.2rem;
    }
    .rightsCloudWrap h2 {
        font-size: 1.75rem;
        margin-top: 1.8rem;
        margin-bottom: 1rem;
    }
    .rightsCloudWrap h3 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
    }
    .rightsCloudWrap h4 {
        font-size: 1.3rem;
        margin-top: 1.2rem;
        margin-bottom: 0.6rem;
    }
    .rightsCloudWrap h5 {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    .rightsCloudWrap p,
    .rightsCloudWrap li {
        font-size: 1rem;
        line-height: 1.6;
    }

    
}


.navbar-brand, .footer-logo{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.navbar-brand h2, .footer-logo h2{
    font-size: clamp(18px, 2.5vw, 20px);
    color: #fff;
    margin: 0;
}

@media(max-width: 991px){
    .process-step{
        min-width: 100% !important;
    }
}

main{
    overflow: hidden;
}

.thankYouWrap{
    padding: 0 20px;
}

@media(max-width: 768px){
    .team-carousel-card{
        height: 580px;
    }
}


@media(max-width: 380px){
    .team-carousel-card{
        height: 740px;
    }
}

