/* Outfit font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

html {
    scrollbar-width: none;
}

body {
    font-family: "Outfit", sans-serif;
    scroll-behavior: smooth;
}

.hero_logo {
    width: 100px;
    position: relative;
    left: 1.5rem;
    bottom: 1rem;
}

.request_quote_btn {
    background-color: #152440;
    border: none;
    border-radius: 20px;
    padding: 10px;
    font-weight: 500;
}
.request_qute_btn {
    background-color: #F3525A;
    border: none;
    border-radius: 20px;
    padding: 10px;
    font-weight: 500;
}

.request_quote_btn:hover {
    background-color: #f6f6f6;
    color: #152440;
}

.cardLogo {
    width: 50px;
    margin: 30px;
    align-self: center;
    border-radius: 50%;
}

/* Why choose Us */
.contents {
    border: #152440 1px solid;
    border-radius: 11px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.6);
    height: auto;
}

.choose_us {
    font-family: "Outfit", sans-serif;
}

.chooseUs_div1 {
    padding-top: 20px;
}

.whyChooseUs {
    padding-bottom: 20px;
}

.icon_img {
    width: 30px;
}

/* Services */
.marytechenockTransparent {
    width: 50px;
    display: inline-block;
}

.services {
    font-family: "Outfit";
}

.services1 {
    color: #fff;
    background-color: #152440;
}

.services2 {
    color: #fff;
    background-color: #F3525A;
}

.services1, .services2 {
    padding-top: 20px;
}

.techHeading {
    margin-top: 20px !important;
    background: #FAF9F6;
    border: 1px solid #000000;
    box-shadow: 4px 10px 4px rgba(0, 0, 0, 0.25);
    border-radius: 17px;
    width: 350px;
    padding: 15px;
    position: relative;
    margin: 0 auto;
}

/* Located in about us */
.content {
    color: #000000;
}

.process {
    background-color: #F3525A;
    color: #fff;
}

/* Located in about us */
.techHeadingAbt {
    margin-top: 20px !important;
    background: #FAF9F6;
    border: 1px solid #000000;
    box-shadow: 4px 10px 4px rgba(0, 0, 0, 0.25);
    border-radius: 17px;
    width: 350px;
    height: 70px;
    padding: 15px;
    position: relative;
    margin: 0 auto;
}

.proposition {
    margin-top: 70px;
}

/*team about us section */
.team {
    height: auto;
    width: 100%;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.teamBody {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ensuring */
.teamBody img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
}

/* Adjust the text and padding inside the card */
.card-body figcaption {
    flex-grow: 1;
    padding: 1rem; /* Adjust as needed */
}

.teamBody h4 {
    margin-bottom: 0.5rem;
}

.card-body p {
    margin-bottom: 0;
}

.contactUs {
    background-color: #152440;
    color: #fff;
    border-bottom: #fff 1px solid;
}

.contact-UsBtn {
    width: 100px;
    border-radius: 10px;
    background-color: #F3525A;
    border: none;
}

.contact-UsBtn:hover {
    background-color: #010101;
}

.contactUS-icon {
    color: #F3525A;
    margin-left: 10px;
}

/* Beatroute - ORIGINAL DESKTOP STYLING */
#Beatroute {
    margin-top: 40px;
    width: 400px;
}

.beatroute__section {
    height: 70vh;
    background-color: yellow;
}

.beatrouteBtn {
    background-color:#152440;
    font-weight: 500;
}

.beatrouteBtn:hover {
    background-color:#F3525A;
    color: #152440;
}

.beatrouteHeading {
    color: #152440;
}

/* Odoo */
.OdooSection {
    background-color: #152440;
    color: #fff;
}

.OdooBtn {
    background-color: #F3525A;
    font-weight: 500;
    border: #F3525A;
}

.OdooBtn:hover {
    background-color: #fff;
    color: #F3525A;
}

/* Server2Server */
.Server2ServerBtn {
    background-color: #F3525A;
    font-weight: 500;
    border: none;
}

.request_quote_btn_Beatroute {
    background-color: #F3525A;
    border: none;
}

.request_quote_btn_Beatroute:hover {
    background-color: #010101;
}

.Server2ServerBtn:hover {
    background-color: #152440;
}

/* Testimonials */
.testimonials {
    background-color: #152440;
}

.testimonials h2 {
    color: #fff;
}

.testimonials .lead {
    color: #fff;
}

.testimonials p {
    color: #152440 !important;
}

.testimonials .card-body {
    padding: 25px;
}

.testimonialCard {
    margin-bottom: 30px;
}

.testimonials img {
    object-fit: cover;
}

.testimonials h2 {
    font-weight: bold;
}

.testimonials p {
    font-size: 16px;
}

/* Request QUote */
.requestQuote {
    margin-top: 100px;
    background-color: #F3525A;
}

.requestQuote h2 {
    color: #fff;
}

.requestQuote p {
    font-size: 15px;
}

.reqImg {
    border: #f6f6f6 10px solid;
}

.serverBody {
    border: #fff 2px solid;
    border-right: none;
    border-left: none;
    background-color: #152440;
    color: #fff;
    margin-top: 20px;
}

/* footer */
.marytechenockFooter {
    margin-top: 0;
    width: 200px;
}

.server2serverImg {
    width: 200px;
}

.s2sTable {
    width: 100% !important;
    border-collapse: collapse;
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Add a subtle shadow */
    overflow: hidden; /* For the rounded corners */
    border-radius: 8px; /* Rounded corners */
}

th, td {
    padding: 15px;
    border-bottom: 1px solid #ffffff; /* Subtle bottom border */
    text-align: left;
}

th {
    background-color: #152440; /* Blue header */
    color: rgb(255, 255, 255);
    font-weight: bold;
}

tbody tr:nth-child(even) {
    background-color: #f5e1e1; /* Alternating row colors */
}

tbody tr:hover {
    transform: scale(1.02);
    background-color: #e8eafc; /* Light green background on hover */
}

.advantage {
    color: #152440; /* Green text for advantages */
    font-weight: bold;
}

@media (max-width: 600px) {
    table {
        display: block;
        overflow-x: auto;
    }
}

/* Layout on Small Devices */
@media (max-width: 575.98px) {
    .rowMain {
        flex-direction: column-reverse;
    }

    .hero_img {
        margin-top: 1.5rem;
    }

    /* Reset height and padding for small screens */
    .hero {
        height: auto; /* Allow content to determine height */
    }
}

/* Layout on Medium Devices (Tablets) */
@media (min-width: 576px) and (max-width: 768px) {
    .hero_img {
        max-width: 90%;
        margin-top: 1rem;
    }

    .hero_logo {
        width: 100px;
        position: relative;
        left: 1.5rem;
        bottom: 1rem;
    }

    .rowMain {
        padding: 0 1.5rem;
    }

    /* Custom height for medium devices */
    .hero {
        height: 50vh;
    }

    .rowMain {
        height: 47vh;
    }

    .chooseUs_div2 {
        padding-bottom: 30px !important;
    }
}

/* For smaller laptop screens or larger tablets */
@media (min-width: 769px) and (max-width: 992px) {
    .chooseUs_div2 {
        padding-bottom: 30px !important;
    }

    /* Reduce height for larger devices */
    .hero {
        height: 50vh;
    }

    .rowMain {
        height: 50vh;
    }
}

/* Located in BeatRoute page */
.techHeadingBR {
    background: #FAF9F6;
    border: 1px solid #000000;
    box-shadow: 4px 10px 4px rgba(0, 0, 0, 0.25);
    border-radius: 17px;
    width: 380px;
    height: 70px;
    padding: 15px;
    position: relative;
    margin: 0 auto;
}

.techHeadingOdoo {
    background: #FAF9F6;
    border: 1px solid #000000;
    box-shadow: 4px 10px 4px rgba(0, 0, 0, 0.25);
    border-radius: 17px;
    width: 380px;
    height: 70px;
    padding: 15px;
    position: relative;
    margin: 0 auto;
    color: #000000;
}

.techHeadingMargin {
    padding-top: 10px !important;
    padding-bottom: 30px;
}

.accordionImg {
    border: 5px solid #F3525A;
    padding: 10px;
    display: inline-block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 58vh;
}

/* =========================================== */
/* MOBILE RESPONSIVE FIXES (768px and below) */
/* =========================================== */

@media (max-width: 768px) {
    /* Fix BeatRoute images on mobile */
    #Beatroute {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-top: 20px !important;
    }
    
    /* Make sure all images are responsive */
    .container img.img-fluid {
        width: 100% !important;
        height: auto !important;
    }
    
    /* Specifically for the BeatRoute section image */
    section .container .row .col-lg-6 img#Beatroute {
        width: 100% !important;
        height: 250px !important;
        object-fit: cover !important;
    }
    
    /* Navigation fixes */
    .company_name {
        font-size: 0.8rem !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        max-width: none !important;
        margin-left: 10px !important;
    }
    
    .navLogo {
        max-width: 40px !important;
    }
    
    /* Hero carousel fixes */
    .carousel-item img {
        height: 50vh !important;
    }
    
    .carousel-caption {
        padding: 10px !important;
    }
    
    .carousel-caption h1 {
        font-size: 0.9rem !important;
        padding: 5px 8px !important;
        margin-bottom: 5px !important;
    }
    
    .carousel-caption h2 {
        font-size: 0.8rem !important;
        margin-bottom: 5px !important;
    }
    
    .carousel-caption h5 {
        font-size: 0.7rem !important;
    }
    
    /* Make carousel captions visible on mobile */
    .carousel-caption.d-none.d-md-block {
        display: flex !important;
    }
    
    /* Text sizing */
    .beatrouteText, .OdooText {
        font-size: 1rem;
    }
    
    h2.fw-bold, h3.fw-bold, .h2.fw-bold {
        font-size: 1.2rem;
    }
    
    h4.h4 {
        font-size: 1.1rem;
    }
    
    .lead {
        font-size: 0.95rem;
    }
    
    /* BeatRoute section - keep hidden on mobile */
    .beatroute__section.d-none.d-lg-block {
        display: none !important;
    }
    
    /* Partners section */
    .partners__section {
        height: auto !important;
        padding: 20px 0;
    }
    
    .partners_card {
        height: 80px !important;
        padding: 10px !important;
    }
    
    /* Request quote section */
    .requestQuote .row {
        flex-direction: column-reverse;
    }
    
    .request_quote_img {
        margin-bottom: 20px;
    }
    
    .reqImg {
        max-height: 250px;
        object-fit: cover;
        width: 100%;
    }
    
    /* Form elements */
    .form-control, .form-select {
        font-size: 14px;
    }
    
    /* Footer */
    .mary-footer .row > div {
        margin-bottom: 20px;
    }
    
    .mary-footer hr.w-100.clearfix.d-md-none {
        margin: 10px 0;
    }
    
    .marytechenockFooter {
        max-width: 80px;
    }
    
    /* Remove excessive spacing paragraphs */
    body > p {
        margin: 5px 0 !important;
    }
}

@media (max-width: 576px) {
    /* Extra small devices */
    .company_name {
        font-size: 0.7rem !important;
        margin-left: 8px !important;
    }
    
    .carousel-item img {
        height: 40vh !important;
    }
    
    /* BeatRoute image on extra small screens */
    section .container .row .col-lg-6 img#Beatroute {
        height: 200px !important;
        margin-top: 10px !important;
    }
    
    #Beatroute {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    h2, h3 {
        font-size: 1.1rem;
    }
}

/* =========================================== */
/* DESKTOP PROTECTION (769px and above) */
/* =========================================== */
@media (min-width: 769px) {
    /* Restore original desktop styling */
    #Beatroute {
        width: 400px; /* Original desktop width */
        max-width: none; /* Remove mobile constraints */
    }
    
    .company_name {
        font-size: 20px !important;
        margin-left: -25px !important; /* Original desktop positioning */
    }
    
    .carousel-item img {
        height: 100vh !important; /* Original full height */
    }
    
    .carousel-caption h1 {
        font-size: inherit !important; /* Restore original size */
        padding: inherit !important;
    }
    
    .carousel-caption h2 {
        font-size: inherit !important;
    }
    
    .carousel-caption h5 {
        font-size: inherit !important;
    }
    
    .navLogo {
        max-width: 150px !important;
    }
    
    .beatroute__section.d-none.d-lg-block {
        display: block !important; /* Show on desktop */
    }
}

/* General styles for all screens */
.navbar-brand {
    display: flex;
    align-items: center;
}

.company_name {
    margin-left: 10px;
}
/* Add to style.css - Hero carousel images */
.hero-carousel-img {
    object-fit: cover;
    height: 100vh;
}

/* Beatroute images - desktop styling */
.beatroute-image {
    width: 400px;
    margin-top: 40px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-carousel-img {
        height: 50vh !important;
    }
    
    .beatroute-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-top: 20px !important;
    }
}

@media (max-width: 576px) {
    .hero-carousel-img {
        height: 40vh !important;
    }
    
    .beatroute-image {
        margin-top: 10px !important;
    }
}

/* Desktop protection */
@media (min-width: 769px) {
    .hero-carousel-img {
        height: 100vh !important;
    }
    
    .beatroute-image {
        width: 400px !important;
        max-width: none !important;
    }
}
