/*
Theme Name: hello-elementor-child
Description: Child-theme
Author: Fits
Author URI: https://ntg.dreamhosters.com/
Author Email: web@milleradagency.com
Version: 1.0.0
Text Domain: hello-elementor-child
Template: hello-elementor
*/
/*
Add your custom styles here
*/
.main-input {
        position: relative;
    }

    .reset-button {
        position: absolute;
        right: 50px; /* Adjust according to submit button width */
        top: 50%;
        transform: translateY(-50%);
        background:#e8f0fe !important;
        border: none;
        color: red;
        font-size: 16px;
        cursor: pointer;
        display: none;
    }

    .reset-button i {
        pointer-events: none;
		color: red;
        font-size: 24px;
    }
.reset-button:hover{
	background:#e8f0fe !important;
}
    input#gsearch {
        padding-right: 80px; /* Adjust if needed for space */
    }
.tabs ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px 0px;
    max-width: 1250px;
    margin: 0 auto;
}

section.flag-service-section.gallery-section .container {
    max-width: 1660px;
    width: 100%;
    margin: 0 auto;
    padding: 15px 0px;
}

.tabs ul li a {
    padding: 10px 20px;
    color: #1D51A3;
    border-bottom: 2px solid transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid a {
    position: relative;
    display: block;
}

.gallery-grid a img {
    width: 100%;
    height: 100%;
}

div#tabs-content {
    padding-bottom: 30px;
}

.titalgallery {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0);
    max-width: 100%;
    width: 100%;
    text-align: center;
    z-index: 9;
    padding: 10px 0;
    background: #063255de;
}

.gallery-grid a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: rgb(6 50 85 / 20%);
    left: 0;
    opacity: 0;
    transition: 0.3s ease-in;
}

.titalgallery p {
    font-size: 21px;
    color: #ffff;
    opacity: 0.9;
    line-height: 1.2;
    transition: 0.3s ease-in;
    font-weight: 400;
    margin: 0;
}

.gallery-grid a:hover p,
.gallery-grid a:hover:after {
    opacity: 1;
}

.gallery-grid a:hover p {
    text-shadow: 0px 0px 4px white;
}

.tabs ul li {
    margin-bottom: 15px;
}

.search-from {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.main-input input {
    padding: 12px 30px;
    border: 1px solid #c4c4c4;
    outline: none;
}
.main-input {
    display: flex;
    position: relative;
}

.tabs ul li a.active {
    border-bottom: 2px solid #1D51A3;
}

.reset {
    margin-left: 10px;
    opacity: 0;
  transition: 0.3s ease-in;
}

section.universal-banner h1 {
    text-align: center;
    color: #063255;
    margin: 50px 0px;
    font-size: 50px;
}


.main-input .reset {
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 18px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #063255;
    margin: 0;
}

.main-input input:focus + .reset {
  opacity: 1;
}
button.reset:hover {
    background: transparent;
}

/* new form css  by sahil */

@media(max-width:1600px) {
    section.flag-service-section.gallery-section .container {
        max-width: 1300px
    }

    .tabs ul li a {
        font-size: 16px;
        padding: 8px 15px;
    }

    .tabs ul li {
        margin-bottom: 15px;
    }

    .tabs ul {
        padding: 20px 0px;

    }

    div#tabs-content {
        padding-bottom: 20px;
    }

    .titalgallery p {
        font-size: 16px;
        padding: 0px 10px;
    }

section.universal-banner h1 {
    font-size: 40px;
    line-height: 45px;
}
.gallery-grid{
        max-width: 1200px;
}
section.universal-banner h1{
        margin: 40px 0px;
}

}

@media(max-width:1400px) {
    section.universal-banner h1 {
    font-size: 30px;
    line-height: 35px;
}
.tabs ul {
max-width: 1000px;
}
section.universal-banner h1{
        margin: 30px 0px;
}
}

@media(max-width:1200px) {
    .tabs ul li a {
        font-size: 14px;
        padding: 7px 12px;
    }

    .tabs ul {
        max-width: 1000px;
    }

    div#tabs-content {
        max-width: 1000px;
        width: 100%;
        margin: 0 auto;
    }

    .main-input input {
        padding: 10px 27px;
        border: 1px solid #c4c4c4;
    }

    .tabs ul {
        padding: 15px 0px;
    }
    section.universal-banner h1 {
    font-size: 25px;
    line-height: 30px;
}
.tabs ul {
max-width: 900px;
}
section.universal-banner h1{
        margin: 20px 0px;
}
}

@media (max-width: 995px) {
    .tabs ul {
        padding: 15px 0px;
    }

    div#tabs-content {
        padding: 0px 20px;
    }

    .search-from {
        max-width: 600px;

    }
}

@media (max-width: 575px) {
    .search-from {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}
}

@media (max-width: 400px) {
    .search-from {
          padding: 0px 10px;
    margin: 0 auto;
}
}