@import url('fonts.css');
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-margin-top: 100px;
}

body {
    font-family: 'Open Sans', sans-serif;
}

a{color: inherit}

/* Header Styles */

.page-template-home .desktop-menu .hardtank-cta-button:hover, .post-template-default .desktop-menu .hardtank-cta-button:hover{
    border-color: #fff;
    color: #fff;
}

.page-template-home .site-header, .post-template-default .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1)
}

/* Sticky Header - Always visible at top when scrolling */

.page-template-home .site-header, .post-template-default .site-header {
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    transform: none !important; /* Override any transform */
}

.site-header {
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    transform: none !important; /* Override any transform */
}

/* When scrolled - make sticky and always visible */
.page-template-home .site-header.scrolled, 
.post-template-default .site-header.scrolled {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(0) !important; /* Force visible */
}

.site-header.scrolled {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transform: translateY(0) !important; /* Force visible */
}

[data-elementor-type="wp-page"]{
	position: relative;
	z-index: 0;
}

.site-header {
    position: relative;
    z-index: 9999;
    background: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1)
}

.main-navigation {
    width: 100%;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px ;
    min-height: 80px;
}

.hardtank-cta-button {
    background: #39315E;
    color: white;
    padding: 16px 32px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hardtank-cta-button:hover {
    background: transparent;
    border-color: #39315E;
    transform: translateY(-2px);
    color: #39315E;
}

/* ============================================
   HEADER SEARCH BAR STYLES
   ============================================ */

/* Header Search Container */
.header-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.page-template-home .search-toggle i,
.post-template-default .search-toggle i {
    color: white;
    font-size: 18px;
}

.search-toggle i {
    color: #131414;
    font-size: 18px;
}

.search-toggle:hover i {
    color: #39315E;
    transform: scale(1.1);
}

.page-template-home .search-toggle:hover i,
.post-template-default .search-toggle:hover i {
    color: #ccc;
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    min-width: 350px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99999999999;
}

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.search-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.search-field:focus {
    border-color: #39315E;
    box-shadow: 0 0 0 3px rgba(57, 49, 94, 0.1);
}

.search-submit {
    background: #39315E;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    background: #5B21B6;
    transform: translateY(-1px);
}

.search-submit i {
    font-size: 14px;
}

/* Mobile Search */
.mobile-search {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-search .search-form {
    display: flex;
    gap: 10px;
}

.mobile-search .search-field {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
}

.mobile-search .search-field::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.mobile-search .search-field:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}
/* Mobile menu - Make links clickable and arrows toggle dropdowns */
.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.mobile-nav-link-text {
    flex: 1;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.mobile-nav-link-text:hover {
    color: #ccc;
}

/* Make dropdown arrow clickable with custom image */
.mobile-nav-item .dropdown-arrow {
    width: 20px;
    height: 20px;
    background-image: url('https://hardtank.com/wp-content/uploads/2025/12/chevron-down-svgrepo-com-2-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin: -10px;
    transition: transform 0.3s ease;
}

/* Only rotate the direct child arrow, not nested ones */
.mobile-nav-item.active > .mobile-nav-link > .dropdown-arrow {
    transform: rotate(180deg);
}

/* Remove the old ::after pseudo-element arrow */
.menu-item-has-children > .mobile-nav-link::after {
    display: none;
}

.mobile-search .search-submit {
    background: #39315E;
    color: white;
    border: none;
    padding: 14px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search .search-submit:hover {
    background: #5B21B6;
}

.mobile-search .search-submit i {
    font-size: 16px;
}

/* Responsive Styles for Search */
@media screen and (max-width: 1024px) {
    .header-search-container {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .search-dropdown {
        min-width: 300px;
        right: -20px;
    }
}

@media screen and (max-width: 430px) {
    .search-dropdown {
        min-width: 280px;
    }
    
    .search-field {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .mobile-search .search-field {
        font-size: 15px;
        padding: 12px 14px;
    }
}

/* Logo Styles */
.site-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 69px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Desktop Navigation */
.desktop-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.page-template-home .nav-menu li a, .post-template-default .nav-menu li a {
    color: white;
    text-decoration: none;
    font-family: Open Sans;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 150%;
    letter-spacing: -2.2%;
    text-align: center;
    transition: color 0.3s ease;
    position: relative;
}

.page-template-home .nav-menu .menu-item-has-children::before, .page-template-home .nav-menu .menu-item-has-children::before{
    color: white;
}

 .nav-menu li a {
    color: #131414;
    text-decoration: none;
    font-family: Open Sans;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    leading-trim: NONE;
    line-height: 150%;
    letter-spacing: -2.2%;
    text-align: center;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: #ccc;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #131414;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Desktop Submenu Styles */
.nav-menu .menu-item {
    position: relative;
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99999999999999999;
    margin-top: 15px;
}

.nav-menu > .menu-item-has-children{
    padding-right: 25px;
}


.nav-menu > .menu-item-has-children::before{
    content: '›';
    position: absolute;
    top: -1px;
    right: 10px;
    font-size: 18px;
    color: black;
}

.page-template-home .nav-menu .sub-menu {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.nav-menu .menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    display: block;
    padding: 0;
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: #131414;
    font-size: 14px;
    white-space: nowrap;
    text-align: left;
}

.page-template-home .nav-menu .sub-menu li a {
    color: white;
}

.nav-menu .sub-menu li a::after {
    display: none;
}

.nav-menu .sub-menu li a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #39315E;
}

.page-template-home .nav-menu .sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Nested submenu (third level) */
.nav-menu .sub-menu .sub-menu {
    left: 100%;
    top: 0;
    margin-top: 0;
    margin-left: 5px;
}

.nav-menu .sub-menu .menu-item-has-children {
    position: relative;
}

.nav-menu .sub-menu .menu-item-has-children > a::before {
    content: '›';
    position: absolute;
    right: 15px;
    font-size: 18px;
}
/* Mobile Submenu Styles */
.mobile-sub-menu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-top: 10px;
}

.mobile-nav-item.active > .mobile-sub-menu {
    max-height: 1000px;
    padding: 10px 0;
}

.mobile-sub-menu .mobile-nav-item {
    border-bottom: none;
    padding-left: 20px;
}

.mobile-sub-menu .mobile-nav-link {
    font-size: 16px;
    padding: 15px 10px;
}

.mobile-sub-menu .mobile-sub-menu {
    margin-left: 20px;
}

/* Dropdown Arrow for Mobile */
.menu-item-has-children > .mobile-nav-link::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid white;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.mobile-nav-item.active > .mobile-nav-link::after {
    transform: rotate(180deg);
}

.dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid white;
    transition: transform 0.3s ease;
}

.akrobat {
    font-family: 'Akrobat'!important;
}

.akrobat * {
    font-family: 'Akrobat'!important;
}

.akrobat {
    font-family: 'Akrobat'!important;
}

.akrobat * {
    font-family: 'Akrobat'!important;
}

/* Contact Button */
.contact-btn {
    background: #39315E;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-btn:hover {
    background: #5B21B6;
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.page-template-home  .hamburger-line {
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: black;
    transition: all 0.3s ease;
    display: block;
}

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

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-container {
    height: 100%;
    overflow-y: auto;
    padding: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
    display: flex;
    align-items: center;
}

.mobile-logo-image {
    height: 69px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 24px;
    height: 24px;
}

.close-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: white;
    display: block;
}

.close-line:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-line:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-content {
    padding: 30px;
}

.mobile-nav-menu {
    list-style: none;
    margin-bottom: 40px;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    padding: 20px 0;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #ccc;
}

.dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid white;
    transition: transform 0.3s ease;
}

/* Mobile Social Links */
.mobile-social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
	margin-top: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    position: relative;
}

.social-link::before {
    font-family: 'Font Awesome 5 Brands';
    font-size: 18px;
    font-weight: 400;
}

.social-link.instagram::before {
    content: '\f16d';
}

.social-link.facebook::before {
    content: '\f09a';
}

.social-link.linkedin::before {
    content: '\f0e1';
}

.social-link.youtube::before {
    content: '\f167';
}

.social-link.pinterest::before {
    content: '\f0d2';
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Mobile Webinar Link */
.mobile-webinar-link {
    margin-top: 20px;
}

.webinar-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    display: block;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #6B46C1;
    transition: background-color 0.3s ease;
}

.webinar-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hardtank-hero-image {
    position: relative;
}

.hardtank-hero-image img {
    width: 100%;
    object-fit: contain;
    border-radius: 50px;
}

.hardtank-hero-image::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -60px;
    width: 60px;
    height: 60px;
    background-image: url('../images/image-icon1.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.hardtank-hero-image::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -130px;
    width: 120px;
    height: 120px;
    background-image: url('../images/image-icon2.png');
    background-size: contain;
    background-repeat: no-repeat;
}

#hardtank-page.hardtank-hero-image::after{
    content: none;
}

.certifications-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.certifications-flex img {
    height: 115px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .certifications-flex img {
        height: 80px;
    }
}


@media screen and (max-width: 1350px){
    .nav-menu li a{
        font-size: 14px;
    }

    .desktop-menu{
        gap: 20px;
    }

    .nav-menu{
        gap: 20px;
    }
}

@media screen and (max-width: 1200px){
    .nav-container{
        padding: 20px 10px;
    }
    .logo-image{
        height: 59px;
    }
}

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .nav-container {
        padding: 20px 40px;
    }

    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        padding: 15px 20px;
        min-height: 70px;
    }
    
    .logo-image {
        height: 69px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
        .hardtank-hero-image::before {
        top: -10px;
        right: -20px;
    }

    .hardtank-hero-image {
        width: 100%;
        padding: 20px;
    }

    .hardtank-hero-image::after {
        content: none;
    }
        .hardtank-cta-button {
        width: 100%;
        text-align: center;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 430px) {
    .nav-container {
        padding: 15px 20px;
    }
    
    .logo-image {
        height: 59px;
    }
    
    .mobile-logo-image {
        height: 59px;
    }
    
    .mobile-menu-header {
        padding: 15px 20px;
    }
    
    .mobile-menu-content {
        padding: 20px;
    }
    
    .mobile-nav-link {
        font-size: 16px;
        padding: 18px 0;
    }
    
    .mobile-social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
}

/* Body scroll lock when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-item {
    animation: fadeIn 0.3s ease forwards;
}

.mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-item:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav-item:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav-item:nth-child(5) { animation-delay: 0.3s; }
.mobile-nav-item:nth-child(6) { animation-delay: 0.35s; }
.mobile-nav-item:nth-child(7) { animation-delay: 0.4s; }
.mobile-nav-item:nth-child(8) { animation-delay: 0.45s; }