/* Navigation Bar Styles */

.flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
}

/* Offset for the sticky header to prevent content overlap */
body {
    padding-top: 130px; /* Adjust based on header height */
}

h1, h2 {
    font-size: 33px;
}

/* Top Bar Styles */
.top-bar {
    background-color: #e42b29;
    color: #fff;
    padding: 14px 0;
    font-size: 13px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.top-bar-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.top-bar-item i {
    color: #fff;
}



.top-bar-right {
    display: flex;
    gap: 20px;
}

@media (max-width: 991px) {
    .top-bar-container {
        flex-direction: column;
        gap: 5px;
    }
    .top-bar-right {
        gap: 15px;
    }
    body {
        padding-top: 150px;
    }
}

@media (max-width: 600px) {
    .top-bar-right {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    body {
        padding-top: 170px;
    }
}

/* Container */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.l {
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.cont {
    width: 100%;
    padding: 1rem 0;
    background: white;
    /* Ensure background is defined if needed */
}

.left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;

}

.image {
    width: 10rem;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    /* justify-content: space-evenly; */
    gap: 2rem;
}

.nav li {
    list-style-type: none;
}

.nav li a {
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    color: #000;
}

.nav li a:hover {
    color: #e42b29;
}

.nav li a.active {
    color: #e42b29;
}

.fab:hover {
    color: #e42b29;
    cursor: pointer;
}

.sidebar ul li a:hover {
    color: #e42b29;
}

.fab {
    font-size: 16px;
}

i.fa-brands {
    font-size: 16px;
    color: black;
}

i.fa-brands:hover {
    color: #e42b29;
    cursor: pointer;
}

/* Hide hamburger by default */
.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;

}

/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    padding: 2rem 1.5rem;
    padding-top: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: right 0.3s ease;
    z-index: 1000;
}

.sidebar.active {
    right: 0;
}

.sidebar .close-btn {
    color: #333;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: block;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.sidebar ul li {
    margin: 1rem 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Company Profile Button */
.company-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #e42b29;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
}

.company-profile-btn:hover {
    background-color: #c82321;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(228, 43, 41, 0.3);
}

.company-profile-btn i {
    font-size: 16px;
    color: #fff !important;
    display: inline-block;
    line-height: 1;
}

/* Responsive tweaks */
@media screen and (max-width: 1500px) {

    .nav .nav-item,
    .right i {
        display: none;
    }

    .hamburger {
        display: block;
        padding: 0 2rem;
    }

    .navbar {
        justify-content: space-between;
    }

    .left,
    .right {
        width: auto;
    }

    .right .language-select {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    .sidebar {
        width: 100vw;
    }
}

.language-select {
    background-color: unset;
    border: none;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    font-size: 16px;
}

.language-select:hover {
    color: #e42b29;
}

.language-select option {
    border: none;
}

.language-select option:active {
    border: none;
}

@media screen and (min-width: 1500px) {
    .sidebar .language-select {
        display: none;
    }
}

.sidebar .language-select {
    color: #000;
}

/* Styles for Footer */

.color {
    background-color: #f9f9f9f9;
}

.footer {
    background-color: #f9f9f9;
    width: 90%;
    padding: 3rem 0rem 2rem;
    margin: 3rem auto 0;
    color: #000;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.footer-column {
    flex: 1 1 200px;
    min-width: 200px;
}

.footer-column h4 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-size: 16px;
    line-height: 23.34px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #000;
}

.footer-column ul li a:hover {
    color: #e42b29;
}

.footer-links a:hover {
    color: #e42b29;
}

.company p {
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 16px;
    line-height: 28.34px;
}

.newsletter p {
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: 16px;
    line-height: 23.34px;
}

.newsletter-form {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    max-width: 100%;
    margin-bottom: 1rem;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.newsletter-form input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 12px;
    color: #000;
}

.newsletter-form input::placeholder {
    color: #000;
    opacity: 0.8;
}

.newsletter-form button {
    background-color: #000;
    border: none;
    padding: 0.6rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    min-width: 20px;
    min-height: 20px;
}

.newsletter-form button:hover {
    background-color: #e42b29;
}

.newsletter-form button img {
    width: 14px;
    height: 14px;
}

.social-icons span {
    font-weight: 700;
    font-size: 15.41px;
    line-height: 23.38px;
}

.social-icon {
    text-decoration: none !important;
    display: inline-block;
    border-bottom: none !important;
    box-shadow: none !important;
}

.social-icon:hover {
    text-decoration: none !important;
}

.icons i {
    margin-right: 1rem;
    cursor: pointer;
    color: black !important;
}

/* Bottom footer row */
.footer-bottom {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 16px;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    margin: 0 0.25rem;
    font-weight: 400;
    font-size: 16px;
    line-height: 23.34px;
}

.footer-links span {
    margin: 0 0.25rem;
}

.highlight {
    color: #e42b29;
}

/* Responsive */
@media (max-width: 1119.5px) {
    .newsletter-form {
        max-width: 45%;
    }
}

@media (max-width: 829.8px) {
    .newsletter-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
    }

    .newsletter-input {
        flex-direction: column;
    }

    .newsletter-input input,
    .newsletter-input button {
        width: 100%;
    }

    .newsletter-form {
        max-width: 80%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .newsletter-form {
        align-items: stretch;
        border-radius: 10px;
        /* padding: 1rem; */
    }

    .newsletter-form button {
        align-self: flex-end;
        border-radius: 50%;
        margin-top: 0.5rem;
    }
}

/* ================= TABLET (max-width: 991px) ================= */
@media (max-width: 991px) {
    .description-box h1 {
        font-size: 33px;
        line-height: 56px;
    }

    .description-box p,
    .detail,
    .card-cont p,
    .card-content p,
    .w-para,
    .company p {
        font-size: 16px;
        line-height: 25px;
    }

    .b-head {
        font-size: 24px;
        line-height: 40px;
    }

    .t-head,
    .s-r p {
        font-size: 16px;
    }

    .card-content h3,
    .card-cont h3 {
        font-size: 20px;
    }

    .cta-btn,
    .b-wrap button,
    .card-content a,
    .w-para a,
    .social-icons span {
        font-size: 16px;
    }

    .newsletter-form input,
    .footer-links a,
    .newsletter p,
    .footer-column ul li {
        font-size: 13px;
    }

    .custom-nav {
        font-size: 16px;
    }

    .footer-bottom {
        font-size: 13px;
    }
}

/* ================= MOBILE (max-width: 600px) ================= */
@media (max-width: 600px) {


    .description-box .cta-btn {
        padding: 2px 10px;
        font-size: 13px;
        line-height: 45px;
    }

    .custom-nav {
        left: 34px;
    }

    .swiper {
        height: 70vh;
    }

    .description-box h1 {
        font-size: 33px;
        line-height: 42px;
    }

    .description-box p,
    .detail,
    .card-cont p,
    .card-content p,
    .w-para,
    .company p {
        font-size: 16px;
        line-height: 22px;
    }

    .b-head {
        font-size: 22px;
        line-height: 34px;
    }

    .t-head,
    .s-r p {
        font-size: 16px;
    }

    .card-content h3,
    .card-cont h3 {
        font-size: 18px;
    }

    .cta-btn,
    .b-wrap button,
    .card-content a,
    .w-para a,
    .social-icons span {
        font-size: 13px;
    }

    .newsletter-form input,
    .footer-links a,
    .newsletter p,
    .footer-column ul li {
        font-size: 12px;
    }

    .custom-nav {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

@media screen and (min-width: 1900px) and (max-width: 2800px) {
    .left {
        width: auto;
    }

    .footer {
        width: 100%;
    }
}

@media screen and (min-width: 1600px) and (max-width: 1900px) {
    .left {
        width: auto;
    }

    .footer {
        width: 100%;
    }
}
