/* main.css - Styles for NY Tech Support Website */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: #eef2f7;
    font-size: 16px;

    height: fit-content;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;

    min-height: 120vh;
    background: url('/img/est/bg.jpg') no-repeat center center fixed;
    background-size: cover;

    overflow-x: hidden;

    /*backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);*/

    position: relative;
}

main {

    flex: 1;
    margin-bottom: 0;
    padding-bottom: 100px !important;
    /*background: linear-gradient(to bottom, rgba(238, 242, 247, 0) 85%, #0000009c 99%);/* #eef2f7 */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 52%, #0000009c 100%);

    min-width: 100vw;
}



h2 {
    /*font-size: 28px;*/
    margin-bottom: 15px;
    padding-bottom: 8px;
    display: inline-block;
}

#home h3 {
    min-width: 150px;
}

header {
    color: #7b7676;
    padding: 20px 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo {
    margin-right: auto;
    flex-shrink: 0;
}


nav {
    flex-grow: 1;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #7b7676;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

a.nav-link {
    color: rgba(0,0,0,.65);
    font-size: medium;
    max-height: 34px;
    overflow: hidden;
}

li.nav-item {
    border-radius: 12px;
}
nav ul li a:hover {
    color: #7373ff;
}

li.nav-item:hover {
    /*background: #ffffff77;*/
    border-radius: 12px;
    color: #1760b0;
    border-bottom: 3px solid #1976d2;
    margin-bottom: -3px;
}

li.nav-item:active, .cActive {
    background: linear-gradient(to bottom, rgba(238, 242, 247, 0) 10%, #eeeeee33 100%);
    border-bottom: 1px solid #0f477e99!important;
    margin-bottom: -1px!important;
}


#main-navbar {
    background: rgba(255,255,255,0);
    transition: background 0.3s, backdrop-filter 0.3s;
    position: sticky;
    top: 0;
    z-index: 9999;
    max-height: 100px;
}

.menu-separator {
    height: 24px;
    width: 1px;
    background-color: #ffffff24;
    margin: 0 10px;
    align-self: center;
    box-shadow: 0 0 10px 1px #00000011;
}

.logo img {
    max-width: 180px;
}

.contact-info {
    margin-left: auto;
}

.contact-info .phone {
    font-size: 18px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    background: #f17216;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

.contact-info .phone:hover {
    background: #e65c00;
}

.banner {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    max-width: 90%;
}

.buttonX {
    display: block;
    margin: 12px auto;
    padding: 15px 25px;
    border: none;
    background: #007BFF;
    color: white;
    font-size: 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
    width: 100%;
    max-width: 350px;
}

button:hover {
    background: #0056b3;
}

#backButton {
    background: #dc3545;
}

#backButton:hover {
    background: #a71d2a;
}

.servicesX {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 50px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    max-width: 90%;
}

.service-box {
    background: #fff;
    padding: 25px;
    margin: 15px;
    border-radius: 12px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 320px;
    transition: transform 0.3s;
    height: 300px;
}

.service-box:hover {
    transform: translateY(-5px);
}

.service-box img {
    max-width: 60px;
}

footer {
    text-align: center;
    background: #0000009c; /* 000000cc  #ffffff3b */
    color: #fff;
    font-size: 16px;
    /*margin-top: 20px;*/
    border-radius: 0 0 10px 10px;
    width: 100%;
    padding: 25px 0;
}

/* Banner Section */
section {

    position: relative;
    /*background: url("/img/banner.png") repeat-x center center;*/
    background-size: auto 100%;

    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    border-radius: 15px;
    color: black;
    text-align: left;
    margin: 20px auto;
}

/* Banner Content */
.banner-content {
    max-width: 60%;
    z-index: 2;
}

.banner-content h2 {
    font-size: 32px;
}

.banner-content p {
    font-size: 18px;
    line-height: 1.6;
}


.floating-image {
    max-width: 35%;
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.floating-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.img-72 {
    width: 72px;
}

body {
    transition: backdrop-filter .2s ease;
}

#service-cont {
   /* background: red;*/
    border-radius: 14px;
    margin: 50px auto;

}

#service-cont .nav-link.active {
    color: var(--bs-nav-tabs-link-active-color);
    background-color: #ffffff8f;
    border-color: var(--bs-nav-tabs-link-active-border-color);
}

.gloss {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    /*text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);*/
    box-shadow: 0 7px 7px rgba(0, 0, 0, 0.2);
}

.glossy {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    display: inline-block;
    width: 100%;
    text-align: center;
    /*text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);*/
    box-shadow: 0 7px 7px rgba(0, 0, 0, 0.2);
    padding: 30px;
    margin: 10px auto;
    max-width: 900px;
    position: relative;
}

.menu-bar {
    display: flex;
    flex-direction: row;
    gap: 0px;
    align-items: center;
    background: #f7f7fb;
    border-bottom: 1.5px solid #e0e0e0;
    padding: 10px 20px;
    min-height: 52px;
    box-shadow: 0 2px 8px #0001;
    position: sticky;
    top: 0;
    z-index: 1200;
    font-family: Segoe UI, Arial, sans-serif;
    justify-content: center;
}
.menu-bar .menu-item {
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: #1b4ca4;
    padding: 0 28px;
    height: 40px;
    width: auto;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    transition: background 0.16s, border-bottom 0.18s, color 0.18s;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 7px;
}
.menu-bar .menu-item:hover,
.menu-bar .menu-item:focus {
    background: #e7f0fd;
    color: #1760b0;
    border-bottom: 3px solid #1976d2;
}
.menu-bar .menu-item:active {
    background: #d9e9fa;
    color: #133b74;
}
.menu-bar .feedback {
    color: #219d38;
    font-weight: 600;
    font-size: 12px;
    margin-left: 18px;
    align-self: center;
}

.locContainer {
    position: relative;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.form-control, .form-select {
    background-color: #ffffffd4;
}

@media (max-width: 990px) {


    #navbarNav {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(48px);
        border-radius: 0 0 20px 20px;
    }

    #navbarNav .cActive {
        border-top: 1px;
    }

}


@media (max-width: 900px) {
    section {
        display: block !important;
    }
    section > h3 {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 24px;
    }
    section > .row {
        display: flex;
        flex-direction: column !important;
        width: 100%;
    }
    section .col-md-4,
    section .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

}

@media (max-width: 768px) {


    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        border-color:transparent;
        border-radius: 0;
    }

    main {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 84%, #0000009c 100%)!important;
    }


}