/* General styles */
body {
    font-family: 'Lato', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #2C3E50;
}

a {
    text-decoration: none;
    color: #34495E;
}

a:hover {
    color: #F1C40F;
}

.btn {
    text-decoration: none !important; /* Remove underline from buttons */
}

.btn-primary {
    background-color: #34495E;
    border-color: #34495E;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2C3E50;
    border-color: #2C3E50;
}

.btn-secondary {
    background-color: #95a5a6;
    border-color: #95a5a6;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    border-color: #7f8c8d;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #F1C40F;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: #34495E;
}

/* Header */
.header-logo {
    height: 40px;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #34495E;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #555;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero-logo {
    height: 80px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFFFFF;
}

.hero-cta-btn {
    background-color: #F1C40F;
    border-color: #F1C40F;
    color: #2C3E50;
    font-weight: 700;
    padding: 12px 30px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.hero-cta-btn:hover {
    background-color: #e0b98a;
    border-color: #e0b98a;
    color: #2C3E50;
}

/* About Section (Timeline) */
.about-section {
    background-color: #f0f2f5;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #ddd;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
    width: 50%;
    padding: 10px 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-date {
    font-weight: 700;
    color: #F1C40F;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    background-color: #34495E;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    z-index: 1;
}

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

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

.timeline-icon i {
    font-size: 1.2rem;
}

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

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #34495E;
}

/* Services Section */
.services-section {
    background-color: #ffffff;
}

.service-step {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.step-number {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #F1C40F;
    opacity: 0.7;
}

.service-icon {
    font-size: 3.5rem;
    color: #34495E;
    margin-top: 40px;
    margin-bottom: 15px;
}

.service-step h3 {
    font-size: 1.8rem;
    color: #34495E;
}

.service-details-btn {
    color: #34495E;
    font-weight: 600;
}

.service-details-btn:hover {
    color: #F1C40F;
}

.service-details-btn i {
    transition: transform 0.3s ease;
}

.service-details-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Team Section */
.team-section {
    background-color: #f0f2f5;
}

.founder-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
}

.founder-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid #F1C40F;
}

.founder-name {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #34495E;
}

.founder-title {
    color: #555;
    font-weight: 600;
}

.founder-bio {
    font-size: 0.95rem;
    color: #666;
}

.team-member-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
}

.team-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #ddd;
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 3px;
    color: #34495E;
}

.member-title {
    font-size: 0.9rem;
    color: #777;
}

/* Industries Section */
.industries-section {
    background-color: #ffffff;
}

.nav-tabs .nav-link {
    color: #34495E;
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 1rem 1.5rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #F1C40F;
    border-color: #F1C40F;
}

.nav-tabs .nav-link.active {
    color: #F1C40F;
    background-color: transparent;
    border-color: #F1C40F;
}

.tab-content {
    border-top: 1px solid #dee2e6;
}

.tab-title {
    color: #34495E;
    margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq-section {
    background-color: #f0f2f5;
}

.accordion-item {
    border: 1px solid #e9ecef;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: #34495E;
    background-color: #fff;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: #F1C40F;
    background-color: #f8f9fa;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

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

.accordion-body {
    padding: 1.25rem;
    background-color: #fff;
    border-top: 1px solid #e9ecef;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #ffffff;
}

.testimonial-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    position: relative;
    min-height: 250px; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 3px solid #F1C40F;
}

.quote-icon {
    font-size: 2.5rem;
    color: #F1C40F;
    position: absolute;
    top: 15px;
    right: 20px;
    opacity: 0.7;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-top: 15px;
    flex-grow: 1;
}

/* Static random rotation for testimonials */
.testimonial-rotate-1 { transform: rotate(-2deg); }
.testimonial-rotate-2 { transform: rotate(1deg); }
.testimonial-rotate-3 { transform: rotate(-3deg); }

/* Careers Section */
.careers-section {
    background-color: #f0f2f5;
}

.culture-intro p {
    font-size: 1.1rem;
    color: #555;
}

.careers-image {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.job-category {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-title {
    color: #34495E;
    margin-bottom: 1.5rem;
    font-size: 1.7rem;
}

.job-item {
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.job-item:hover {
    background-color: #f8f9fa;
}

.job-item h5 {
    color: #34495E;
    font-size: 1.3rem;
}

.job-item small {
    color: #777;
}

.job-item p {
    color: #666;
    font-size: 0.95rem;
}

.apply-job-btn {
    font-weight: 600;
}

.apply-job-btn:hover {
    background-color: #34495E;
    color: #fff;
}

/* CTA Section */
.cta-section {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Dark overlay */
}

.cta-zigzag-container {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
    max-width: 900px;
    /* Example for zigzag effect, more complex CSS needed for true zigzag shape */
    /* This is a visual interpretation of 'zigzag pattern' using a distinct container */
}

.cta-section h2 {
    color: #fff;
    font-weight: 700;
}

.cta-section p {
    color: #eee;
}

.cta-button {
    background-color: #F1C40F;
    border-color: #F1C40F;
    color: #2C3E50;
    font-weight: 700;
    padding: 12px 30px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: #e0b98a;
    border-color: #e0b98a;
    color: #2C3E50;
}

/* Contact Section */
.contact-section {
    background-color: #ffffff;
}

.contact-section .card {
    border: 1px solid #e9ecef;
}

.contact-section .form-label {
    font-weight: 600;
    color: #34495E;
}

.contact-section .form-control,
.contact-section .form-select {
    border-color: #ced4da;
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
    border-color: #F1C40F;
    box-shadow: 0 0 0 0.25rem rgba(241, 196, 15, 0.25);
}

.service-submit-btn,
.careers-submit-btn {
    font-weight: 700;
}

.map-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.map-container img {
    filter: grayscale(100%) brightness(50%);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
}

/* Footer */
.footer-section {
    background-color: #2C3E50;
    color: #ECF0F1;
}

.footer-logo {
    height: 45px;
}

.footer-brand-col .brand-name {
    color: #FFFFFF;
}

.footer-description {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-top: 1.5rem;
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: #F1C40F;
    margin-bottom: 1rem;
}

.footer-link {
    color: #ECF0F1;
    transition: color 0.3s ease;
    padding: 5px 0;
    display: block;
}

.footer-link:hover {
    color: #F1C40F;
}

/* Cookie Banner */
.cookie-banner {
    background-color: #2C3E50 !important;
    color: #ECF0F1 !important;
    border-top: 3px solid #F1C40F;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.cookie-banner p {
    font-size: 0.95rem;
}

.cookie-banner .btn-primary {
    background-color: #F1C40F;
    border-color: #F1C40F;
    color: #2C3E50;
    font-weight: 600;
}

.cookie-banner .btn-primary:hover {
    background-color: #e0b98a;
    border-color: #e0b98a;
    color: #2C3E50;
}

.cookie-banner .btn-secondary {
    background-color: #5a6e7f;
    border-color: #5a6e7f;
    color: #ECF0F1;
    font-weight: 600;
}

.cookie-banner .btn-secondary:hover {
    background-color: #4a5d6e;
    border-color: #4a5d6e;
    color: #ECF0F1;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
        left: 0 !important;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
        transform: translateX(0);
    }

    .timeline-icon {
        left: 20px;
    }

    .nav-tabs .nav-link {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-logo {
        height: 60px;
    }

    .hero-badge {
        padding: 2rem !important;
    }

    .footer-brand-col, .footer-nav-col, .footer-policies-col {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-title::after {
        width: 60px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-cta-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .service-step .step-number {
        font-size: 1.5rem;
    }

    .service-icon {
        font-size: 3rem;
    }

    .founder-avatar {
        width: 120px;
        height: 120px;
    }

    .founder-name {
        font-size: 1.5rem;
    }

    .team-avatar {
        width: 80px;
        height: 80px;
    }

    .member-name {
        font-size: 1.1rem;
    }

    .nav-tabs .nav-link {
        font-size: 0.8rem;
        padding: 0.7rem 0.3rem;
    }

    .cta-zigzag-container {
        padding: 2rem !important;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 0.95rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .footer-brand-col, .footer-nav-col, .footer-policies-col {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-brand-col .navbar-brand {
        justify-content: center;
    }

    .footer-nav-col ul, .footer-policies-col ul {
        padding-left: 0;
    }

    .footer-nav-col li, .footer-policies-col li {
        display: inline-block;
        margin: 0 5px;
    }

    .footer-nav-col li a, .footer-policies-col li a {
        font-size: 0.9rem;
    }

    .cookie-banner .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    .cookie-banner .btn:last-child {
        margin-bottom: 0;
    }
}/* Styles for the main content wrapper for terms/privacy pages */
.secureTermsHub {
    /* Top and bottom padding for the content area */
    padding-top: 3rem;
    padding-bottom: 3rem;
    /* Horizontal padding for the content area */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    /* Maximum width to improve readability on large screens */
    max-width: 960px;
    /* Center the content block horizontally */
    margin: 0 auto;
    /* Background color for the content block */
    background-color: #ffffff;
    /* Subtle shadow for visual separation */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Slightly rounded corners for a softer look */
    border-radius: 8px;
}

/* Heading 1 styles within the content hub */
.secureTermsHub h1 {
    /* Font size for the main title, not excessively large */
    font-size: 2.2rem;
    /* Top margin for spacing above the heading */
    margin-top: 2.5rem;
    /* Bottom margin for spacing below the heading */
    margin-bottom: 1.5rem;
    /* Line height for better readability */
    line-height: 1.2;
    /* Heading color, consistent with brand palette */
    color: #2C3E50;
    /* Heading font family, consistent with previous styles */
    font-family: 'Playfair Display', serif;
}

/* Heading 2 styles within the content hub */
.secureTermsHub h2 {
    /* Font size for secondary headings */
    font-size: 1.8rem;
    /* Top margin */
    margin-top: 2rem;
    /* Bottom margin */
    margin-bottom: 1.2rem;
    /* Line height */
    line-height: 1.3;
    /* Heading color */
    color: #2C3E50;
    /* Heading font family */
    font-family: 'Playfair Display', serif;
}

/* Heading 3 styles within the content hub */
.secureTermsHub h3 {
    /* Font size for tertiary headings */
    font-size: 1.5rem;
    /* Top margin */
    margin-top: 1.8rem;
    /* Bottom margin */
    margin-bottom: 1rem;
    /* Line height */
    line-height: 1.4;
    /* Heading color */
    color: #34495E;
    /* Heading font family */
    font-family: 'Playfair Display', serif;
}

/* Heading 4 styles within the content hub */
.secureTermsHub h4 {
    /* Font size for minor headings */
    font-size: 1.3rem;
    /* Top margin */
    margin-top: 1.5rem;
    /* Bottom margin */
    margin-bottom: 0.8rem;
    /* Line height */
    line-height: 1.5;
    /* Heading color */
    color: #34495E;
    /* Heading font family */
    font-family: 'Playfair Display', serif;
}

/* Heading 5 styles within the content hub */
.secureTermsHub h5 {
    /* Font size for very minor headings */
    font-size: 1.1rem;
    /* Top margin */
    margin-top: 1.2rem;
    /* Bottom margin */
    margin-bottom: 0.6rem;
    /* Line height */
    line-height: 1.6;
    /* Heading color */
    color: #555;
    /* Heading font family */
    font-family: 'Playfair Display', serif;
}

/* Paragraph styles within the content hub */
.secureTermsHub p {
    /* Standard font size for body text */
    font-size: 1rem;
    /* Bottom margin for spacing between paragraphs */
    margin-bottom: 1rem;
    /* Line height for optimal text readability */
    line-height: 1.7;
    /* Text color, consistent with general body text */
    color: #333333;
}

/* Unordered list styles within the content hub */
.secureTermsHub ul {
    /* Top margin for spacing above the list */
    margin-top: 1rem;
    /* Bottom margin for spacing below the list */
    margin-bottom: 1rem;
    /* Left padding for list item indentation */
    padding-left: 1.5rem;
    /* Default list item marker style */
    list-style-type: disc;
}

/* List item styles within the content hub */
.secureTermsHub li {
    /* Bottom margin for spacing between list items */
    margin-bottom: 0.5rem;
    /* Line height for list item text */
    line-height: 1.6;
    /* Text color for list items */
    color: #333333;
}

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

    .secureTermsHub h1 {
        font-size: 1.8rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .secureTermsHub h2 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .secureTermsHub h3 {
        font-size: 1.3rem;
        margin-top: 1.2rem;
        margin-bottom: 0.7rem;
    }

    .secureTermsHub h4 {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 0.6rem;
    }

    .secureTermsHub h5 {
        font-size: 1rem;
        margin-top: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .secureTermsHub p {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
        line-height: 1.6;
    }

    .secureTermsHub ul {
        padding-left: 1.2rem;
        margin-top: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .secureTermsHub li {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        line-height: 1.5;
    }
}
