* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/*-----Header Style--------*/
a {
    text-decoration: none;
    color: inherit;
}

.top-bar {
    position: relative;
    background-color: #0a2a4f;
    color: #fff;
    font-size: 14px;
    padding: 15px 15px;
}

.top-bar .top-container {
    max-width: 1440px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.top-bar .top-container span {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-family: Helvetica;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
}

.top-bar .top-container strong {
    font-weight: 600;
    margin: 0 8px;
}

.top-bar .top-container span i {
    height: 25px;
    margin-right: 10px;
}

.top-bar .top-links {
    display: flex;
    align-items: center;
}

.top-bar .top-links a {
    display: flex;
    align-items: center;
    color: #fff;
    font-family: Helvetica;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    margin-left: 35px;
}

.top-bar .top-links a i {
    margin-right: 6px;
    height: 22px;
}

.main-header {
    background-color: #fff;
    padding: 0 15px;
}

.header-container {
    max-width: 1440px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #777777;
}

.logo img {
    height: 48px;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #000;
    transition: 0.4s;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav */
.navbar {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: start;
    padding-left: 50px;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.navbar ul li {
    position: relative;
}

.navbar ul li:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #00BDE3;
    border-radius: 100px;
    width: 100%;
    height: 5px;
}

.navbar .dropdown-menu li:hover::after {
    content: unset;
}

.navbar .dropdown-menu li a:hover {
    color: #00BDE3;
}

.navbar ul li a {
    padding: 35px 10px;
    display: block;
    color: #000;
    font-family: Helvetica;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
}

.navbar ul li .dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    top: 100%;
    left: 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
}


.dropdown-menu li {
    padding: 10px 0;
}

.dropdown .dropdown-menu li a {
    font-family: Helvetica;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    padding: 0;
}

/* Search */
.search-box {
    display: flex;
    border-radius: 3px;
    overflow: hidden;
    width: calc(25% - 7px);
}

.search-box input {
    border: 0.58px solid #162E51;
    border-right: 0;
    border-radius: 6px 0 0 6px;
    padding: 14px 20px;
    outline: none;
    font-family: Helvetica;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    color: #162E51;
    width: 100%;
    min-width: 180px;
    height: 50px;
}

.search-box button {
    border: 1px solid #00BDE3;
    background-color: #00BDE3;
    border-radius: 0 6px 6px 0;
    padding: 8px 15px !important;
    cursor: pointer;
    width: 50px !important;
    height: 50px !important;
    transition: all .3s;
}

.search-box button:hover {
    background-color: #00d4fff5;
}

#mainHeader {
    transition: all 0.3s ease;
  }
  
  .sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

@keyframes smoothScroll {
    0% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Dropdown Box (initial hidden) */
.dropdown-box {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    padding: 0 20px;
    position: absolute;
    width: 100%;
    z-index: 999;
    top: 100%;
    left: 0;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

/* Show Class (added on click) */
.dropdown-box.show {
    max-height: 300px;
    padding: 20px 15px;
}

.dropdown-box .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#contactToggle svg {
    width: 12px;
    height: 8px;
    transition: all .3s;
}

.top-bar a:hover {
    color: #00BDE3;
    transition: all .3s;
}

.top-bar a:hover svg path {
    stroke: #00BDE3;
}

#contactToggle:hover svg path {
    fill: #00BDE3;
}

/* Box Layout */
.box-section {
    display: flex;
    width: calc(50% - 10px);
    max-width: 408px;
    align-items: flex-start;
    background-color: #0a2a4f;
    padding: 20px;
    border-radius: 6px;
}

.box-section h4 {
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    margin-bottom: 15px;
    min-height: 52px;
}

.box-section .icon {
    font-size: 24px;
    color: #162E51;
    margin-top: 3px;
    margin-right: 15px;
}

.box-section .icon svg {
    width: 33px;
    height: 33px;
}

.box-section a {
    font-family: Helvetica;
    font-weight: 600;
    font-size: 18px;
    line-height: normal;
    text-align: center;
    border: none;
    color: #ffffff;
    transition: all .3s;
    cursor: pointer;
    text-decoration: underline;
}

.box-section a:hover {
    color: #00BDE3;
}

@media only screen and (min-width:992px){

.navbar ul li:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 15px 15px;
}
}

@media (max-width: 1360px) {
    .top-bar .top-container span {
        font-size: 18px;
    }

    .top-bar .top-links a {
        font-size: 18px;
        margin-left: 20px;
    }

    .navbar {
        padding-left: 40px;
    }

    .navbar ul li a {
        font-size: 17px;
    }

    .navbar ul {
        gap: 5px;
    }
}

@media (max-width: 1199px) {
    .top-bar .top-container span {
        font-size: 16px;
    }

    .top-bar .top-links a {
        font-size: 16px;
        margin-left: 15px;
    }

    .navbar {
        padding-left: 30px;
    }

    .navbar ul li a {
        font-size: 15px;
    }

    .navbar ul {
        gap: 0;
    }
}

@media (max-width: 1043px) {
    .top-bar .top-container span {
        font-size: 15px;
    }

    .top-bar .top-links a {
        font-size: 15px;
        margin-left: 14px;
    }

    .navbar ul li a {
        padding: 35px 7px;
    }

    .logo img {
        height: 45px;
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {

    .navbar ul li a {
        font-size: 16px;
    }

    .main-header {
        position: relative;
    }

    .main-header.sticky {
        position: fixed;
    }

    .main-header .navbar {
        position: absolute;
        top: 100%;
        left: -15px;
        right: -15px;
        z-index: 9;
        background: #fff;
        width: auto !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar ul li a {
        padding: 8px 20px;
    }

    .navbar ul li .dropdown-menu {
        padding: 10px 15px;
        border-top: 1px solid #ccc;
    }

    .navbar ul li .dropdown-menu li {
        padding: 0;
    }

    .navbar ul li .dropdown-menu li a {
        padding: 5px 10px;
        font-size:15px;
    }

    .navbar ul li:hover::after{display: none !important;}

    .navbar ul li a:hover {
        color: #00BDE3;
    }

    .navbar>ul>li {
        border-top: 1px solid #ccc;
    }

    .navbar>ul>li.dropdown>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar>ul>li.dropdown>a i {
        width: 40px;
        text-align: right;
    }

    .top-bar .top-container {
        justify-content: center;
    }

    .top-bar .top-container span,
    .top-bar .top-links a {
        font-size: 16px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .header-container {
        padding: 20px 0;
        border-bottom: 0
    }

    .navbar {
        display: none;
        width: 100%;
    }

    .navbar.active {
        display: block;
        animation: slideDown 0.4s ease forwards;
    }

    @keyframes slideDown {
        from {
            max-height: 0;
            opacity: 0;
        }

        to {
            max-height: 1000px;
            opacity: 1;
        }
    }

    .navbar ul {
        flex-direction: column;
        background-color: white;
        padding: 10px 0;
    }

    .navbar ul li {
        width: 100%;
    }

    .navbar ul li .dropdown-menu {
        position: relative;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .navbar ul li .dropdown-menu.open {
        display: block;
    }

    .search-box {
        width: 100%;
        margin-top: 10px;
    }

    .top-bar .top-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-bar .top-links {
        margin-top: 5px;
    }

    .navbar ul li:hover::after {
        height: 3px;
    }
}

@media (max-width: 767px) {
    .logo img {
        height: 40px;
    }

    .search-box input {
        padding: 8px 15px;
        font-size: 16px;
        height: 40px;
    }

    .search-box button {
        height: 40px !important;
    }

    .navbar ul li:hover::after {
        height: 2px;
    }

    .top-bar .top-container span {
        justify-content: center;
        line-height: 24px;
    }

    .top-bar .top-links a {
        font-size: 0;
    }

    .top-bar .top-links {
        margin-top: 10px;
    }

    .dropdown-box .container {
        gap: 10px;
    }

    .box-section {
        width: 100%;
        max-width: 100%;
    }

    .box-section .icon svg {
        width: 30px;
        height: 30px;
    }

    .box-section h4 {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 15px;
        min-height: auto;
    }

    .box-section a {
        font-size: 16px;
    }
    .search-box form{
        width: 100%;
    }
}

@media only screen and (max-width: 991px) and (min-width:768px) {

    .header-container {
        position: relative;
        padding-right: 70px;
    }
    
    .hamburger {
        position: absolute;
        right: 9px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .search-box {
        margin-top: 0;
        flex: 1;
        justify-content: flex-end;
        padding-left: 20px;
    }
    
}