body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #212529;
}

.text-orange {
    color: #fd7e14 !important;
}

.bg-orange {
    background-color: #fd7e14 !important;
}

.btn-orange {
    background-color: #fd7e14;
    border-color: #fd7e14;
    color: #fff;
}

.btn-orange:hover {
    background-color: #e66a00;
    border-color: #e66a00;
    color: #fff;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.gradient-text-logo {
    background: linear-gradient(45deg, #fd7e14, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.5rem;
    transition: font-size 0.3s ease;
}

.navbar-brand .gradient-text-logo {
    font-size: 1.5rem;
}

.navbar-brand {
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .navbar-nav {
        overflow-x: auto;
        white-space: nowrap;
    }
    .navbar-nav .nav-item {
        display: inline-block;
        float: none;
    }
}

.custom-transparent-nav {
    background-color: #000;
    transition: background-color 0.3s ease-in-out;
}

.custom-transparent-nav.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fd7e14 !important;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 70px;
}

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

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

.gradient-text-title {
    background: linear-gradient(45deg, #fd7e14, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(2.2rem,5vw,3.5rem) !important;
}

.btn-ghost {
    background-color: transparent;
    border: 2px solid #fd7e14;
    color: #fd7e14;
    padding: 1rem 2.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background-color: #fd7e14;
    color: #fff;
    box-shadow: 0 0.5rem 1.5rem rgba(253, 126, 20, 0.4) !important;
}

.animate-hover-shadow {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.animate-hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.about-section .milestone-item {
    position: relative;
}

.about-section .milestone-item .timeline-number {
    position: absolute;
    left: -20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background-color: #fd7e14;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 1;
}

.about-section .milestone-item .timeline-line {
    position: absolute;
    left: 0;
    top: 60px;
    bottom: -20px;
    width: 2px;
    background-color: #ddd;
    z-index: 0;
}

.about-section .milestone-item:last-of-type .timeline-line {
    display: none;
}

.bg-light-grey {
    background-color: #f2f2f2;
}

.about-section img {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.animate-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animate-hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.175) !important;
}

.team-member-card img, .founder-bio img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #fd7e14;
}

.team-member-card {
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.portfolio-section {
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow-y: scroll;
}

.portfolio-container {
    height: calc(100vh - 70px); /* Adjust for header if fixed */
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

.portfolio-item {
    height: 100vh;
    width: 100vw;
    background-size: cover;
    background-position: center;
    position: relative;
    scroll-snap-align: start;
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.portfolio-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.industries-section .stats-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
}

.industries-section .stat-item {
    text-align: center;
}

.stats-comparison-section .progress {
    height: 25px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.stats-comparison-section .progress-bar {
    height: 100%;
    transition: width 1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

.how-it-works-section .step-number {
    width: 45px;
    height: 45px;
    min-width: 45px;
    font-size: 1.5rem;
}

.contact-section .contact-info a {
    color: #fff;
    text-decoration: none;
}

.contact-section .contact-info a:hover {
    color: #f8f9fa;
}

.contact-section form .form-control, .contact-section form .form-select {
    border-color: rgba(253, 126, 20, 0.5);
}

.contact-section form .form-control:focus, .contact-section form .form-select:focus {
    border-color: #fd7e14;
    box-shadow: 0 0 0 0.25rem rgba(253, 126, 20, 0.25);
}

.contact-section .email-break {
    word-break: break-all;
}

footer .footer-logo {
    height: 30px;
    width: auto;
}

footer .gradient-text-logo {
    font-size: 1.2rem;
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

footer .text-white-50:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer .icon-small {
    font-size: 0.9rem;
    color: #fd7e14;
}

.modal-header.bg-orange {
    background-color: #fd7e14 !important;
}

.modal-title {
    color: #fff;
}

.modal-body p strong {
    color: #fd7e14;
}

.modal-dialog-scrollable .modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* Responsive Typography */
@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem; /* ~56px */
    }
    h2 {
        font-size: 2.5rem; /* ~40px */
    }
    h3 {
        font-size: 2rem; /* ~32px */
    }
    .gradient-text-logo {
        font-size: 1.8rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: 2.8rem; /* ~45px */
    }
    h2 {
        font-size: 2.2rem; /* ~35px */
    }
    h3 {
        font-size: 1.8rem; /* ~29px */
    }
    .gradient-text-logo {
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {

  

    #contact li{
        flex-direction: column;
        text-align: center;
    }
    h1 {
        font-size: 1.8rem; /* ~29px */
    }
    h2 {
        font-size: 1.5rem; /* ~24px */
    }
    h3 {
        font-size: 1.25rem; /* ~20px */
    }
    .gradient-text-logo {
        font-size: 1.25rem;
    }
    .navbar-logo {
        height: 30px;
    }
    .hero-section {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    .about-section .milestone-item .timeline-number {
        left: 50%;
        transform: translateX(-50%);
        top: -20px;
    }
    .about-section .milestone-item .timeline-line {
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        height: 100%;
        bottom: 0;
    }
    .about-section .milestone-item:not(:last-of-type) .timeline-line {
        bottom: -50px; /* Extend line to next item */
    }
    .about-section .milestone-item .p-4 {
        margin-top: 30px;
        text-align: center;
    }
    .about-section .milestone-item img {
        margin-top: 20px;
    }
    .portfolio-item {
        height: 70vh;
    }
    .portfolio-content h3 {
        font-size: 1.8rem;
    }
    .portfolio-content p {
        font-size: 0.9rem;
    }
    .industries-section .stats-grid {
        flex-direction: column;
    }
    .industries-section .stat-item {
        margin-bottom: 1rem;
    }
    .how-it-works-section .how-it-works-illustration {
        order: 1;
    }
    .how-it-works-section .steps-list {
        order: 2;
    }
    .how-it-works-section .step-item .d-flex {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }
    .how-it-works-section .step-number {
        margin-bottom: 1rem;
        margin-right: 0 !important;
    }
    .contact-info li {
        justify-content: center;
    }
    footer .footer-contact-info li {
        justify-content: center !important;
    }
    footer .navbar-brand {
        justify-content: center;
        width: 100%;
    }
    footer .list-unstyled.d-flex {
        justify-content: center;
    }
    footer .list-unstyled.d-flex li {
        margin-bottom: 0.5rem;
    }

    .about-section .milestone-item .timeline-line{
        display: none !important;
    }
}
/*
 * Base styles for the .legalFoldBox container
 * Provides internal padding for content.
 */
.legalFoldBox {
    padding-top: 32px; /* Top padding for the legal content box */
    padding-left: 24px; /* Left padding for the legal content box */
    padding-right: 24px; /* Right padding for the legal content box */
    padding-bottom: 32px; /* Bottom padding for the legal content box */
    /* Consider adding a max-width and margin: 0 auto; if this box needs to be centered and constrained */
}

/*
 * Heading styles for H1-H5 within .legalFoldBox
 * Designed to be moderate in size, not excessively large.
 */
.legalFoldBox h1 {
    font-size: 2.2em; /* Moderate H1 font size, approx 35px if base is 16px */
    line-height: 1.2; /* Tighter line height for headings */
    margin-top: 1.5em; /* Space above H1 */
    margin-bottom: 0.8em; /* Space below H1 */
    font-weight: 700; /* Bold font weight */
    color: #333; /* Darker color for emphasis */
}

.legalFoldBox h2 {
    font-size: 1.8em; /* Moderate H2 font size, approx 29px */
    line-height: 1.25;
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    font-weight: 700;
    color: #333;
}

.legalFoldBox h3 {
    font-size: 1.5em; /* Moderate H3 font size, approx 24px */
    line-height: 1.3;
    margin-top: 1.3em;
    margin-bottom: 0.6em;
    font-weight: 700;
    color: #333;
}

.legalFoldBox h4 {
    font-size: 1.25em; /* Moderate H4 font size, approx 20px */
    line-height: 1.4;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    font-weight: 700;
    color: #333;
}

.legalFoldBox h5 {
    font-size: 1.1em; /* Moderate H5 font size, approx 18px */
    line-height: 1.5;
    margin-top: 1.1em;
    margin-bottom: 0.4em;
    font-weight: 700;
    color: #333;
}

/*
 * Paragraph styles within .legalFoldBox
 */
.legalFoldBox p {
    font-size: 1em; /* Base font size, inherits from body if not set */
    line-height: 1.6; /* Comfortable line height for readability */
    margin-top: 0; /* No top margin if preceded by another block element */
    margin-bottom: 1em; /* Standard space between paragraphs */
    color: #555; /* Slightly lighter color for body text */
}

/*
 * Unordered list styles within .legalFoldBox
 */
.legalFoldBox ul {
    list-style-type: disc; /* Standard bullet points */
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 2em; /* Indentation for bullet points */
    color: #555;
}

/*
 * List item styles within .legalFoldBox
 */
.legalFoldBox li {
    font-size: 1em; /* Inherit base font size */
    line-height: 1.6; /* Match paragraph line height for consistency */
    margin-bottom: 0.5em; /* Space between list items */
    color: #555;
}

/* Remove bottom margin from the last list item to prevent extra space */
.legalFoldBox li:last-child {
    margin-bottom: 0;
}


.offcanvas-header .btn-close{
    filter: invert(1);
    --webkit-filter: invert(1);
}

#hero,
#about,
#services,
#team,
#portfolio,
#industries,
#stats,
#how-it-works,
#contact{
    overflow: hidden !important;
}
