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




body {
    margin: 0;
    padding: 0;
}

main {
    width: 100%;
}



.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: rgba(43, 69, 87, 0.3) !important;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo-img {
    height: 62px !important;
    width: auto;
    display: block;
}

/* Default: homepage (white logo) */
.logo-white {
    display: block !important;
}

.logo-black {
    display: none !important;
}

body:not(.homepage) .logo-white {
    display: none !important;
}

body:not(.homepage) .logo-black {
    display: block !important;
}

body.homepage .logo-white {
    display: block !important;
}

body.homepage .logo-black {
    display: none !important;
}

body.homepage .nav-link:hover {
    color: #ffffff !important;
}


.nav-desktop {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
    font-family: 'Bebas'; 
}

.nav-item {
    display: flex;
    align-items: center;
}

/* Default: homepage (white nav links) */
.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px !important;
    font-weight: 500;
    transition: opacity 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

body:not(.homepage) .nav-link {
    color: #000000;
}

.nav-link:hover {
    opacity: 0.8;
}

.dropdown-arrow {
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    width: 12px;
    height: 12px;
}

.dropdown-arrow svg {
    width: 12px;
    height: 12px;
    display: block;
}

.dropdown {
    position: relative;
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
    z-index: 998;
    pointer-events: auto;
}

.dropdown:hover .dropdown-arrow,
.dropdown .mega-menu:hover ~ .nav-link .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown .nav-link {
    position: relative;
    z-index: 1001;
}

.mega-menu {
    position: fixed;
    top: calc(var(--header-height, 82px));
    left: 0;
    right: 0;
    width: 100vw;
    background-color: #ffffff;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    pointer-events: none;
    overflow: visible;
    transform: translateY(-5px);
    margin: 0;
    box-sizing: border-box;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 30px;
    background: transparent;
    pointer-events: auto;
    z-index: 1000;
}

.dropdown:hover .mega-menu,
.mega-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-content {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 60px;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.mega-menu-column {
    flex: 0 0 auto;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mega-menu-column:not(:first-child) {
    border-left: 1px solid #e5e5e5;
    padding-left: 60px;
}

.mega-menu-column-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
    border-left: 1px solid #e5e5e5;
    padding-left: 60px;
    height: 100%;
    width: 100%;
    align-items: stretch;
}

.mega-menu-column-right .mega-menu-column {
    border-left: none;
    padding-left: 0;
    height: auto;
    flex: 1;
}

.mega-menu-column-right .mega-menu-column:not(:last-child) {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 40px;
}

.mega-menu-column-with-sub {
    max-width: 380px;
}

.mega-menu-sub-columns {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.mega-menu-sub-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.mega-menu-title {
    font-size: 13px;
    font-weight: 400;
    color: #2b455799;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 0;
    margin: 0 0 20px 0;
    font-family:'bebas';
}

.mega-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mega-menu-list li {
    margin: 0;
    padding: 0;
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    padding: 12px 0;
    border-bottom: none;
    margin: 0;
    font-family: 'Montserrat';
    font-size: 15px;
    font-weight: 600;
}

.mega-menu-item:hover {
    opacity: 0.8;
}

.mega-menu-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 2px;
}

.mega-menu-icon svg {
    width: 24px;
    height: 24px;
}

.mega-menu-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    align-items: flex-start;
}

.mega-menu-name {
    color: #000;
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    word-wrap: break-word;
    margin: 0;
    letter-spacing: -0.2px;
    font-family: 'Montserrat';
}

.mega-menu-desc {
    color: #2b455799;
    font-size: 13px !important;
    font-weight: 400;
    line-height: 1.5;
    display: block;
    margin: 0;
    word-wrap: break-word;
    letter-spacing: 0;
    font-family: 'Montserrat';
}

/* Default: homepage (white phone) */
.phone-link {
    font-size: 18px !important;
    color: #ffffff;
    transition: color 0.2s ease;
}

body:not(.homepage) .phone-link {
    color: #000000;
}

.btn-quote {
    background-color: #28292b;
    color: #fff;
    padding: 10px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px !important;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-quote:hover {
    background-color: #000 !important;
    color:#fff !important;
    transform: translateY(-1px);
}




.btn-quote:active {
    transform: translateY(0);
}

.nav-mobile {
    display: none;
    align-items: center;
    gap: 20px;
}

.mobile-phone-icon {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: opacity 0.2s ease, color 0.2s ease;
}

body:not(.homepage) .mobile-phone-icon {
    color: #000000;
}

body:not(.homepage) .mobile-phone-icon svg {
    stroke: #000000;
}

.mobile-phone-icon:hover {
    opacity: 0.8;
}

.mobile-phone-icon svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-toggle {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle .hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    display: block;
}

body:not(.homepage) .mobile-menu-toggle .hamburger-line {
    background-color: #000000;
}

.mobile-menu-toggle .close-icon {
    position: absolute;
    font-size: 28px;
    color: #ffffff;
    line-height: 1;
    display: none;
    font-weight: 300;
    transition: color 0.2s ease;
}

body:not(.homepage) .mobile-menu-toggle .close-icon {
    color: #000000;
}

.mobile-menu-toggle.active .hamburger-line {
    display: none;
}

.mobile-menu-toggle.active .close-icon {
    display: block;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background-color: #ffffff;
    padding: 0;
    overflow: hidden;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10000;
    will-change: transform;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

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

.mobile-logo-img {
    height: 50px !important;
    width: auto;
    display: block;
}

.mobile-menu-header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-header-phone,
.mobile-header-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    transition: opacity 0.2s ease;
}

.mobile-header-phone:hover,
.mobile-header-close:hover {
    opacity: 0.8;
}

.mobile-header-phone svg,
.mobile-header-close svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-main {
    padding: 0;
    animation: slideInDown 0.3s ease-out;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: 'Montserrat';
    font-size: 14px;
    font-weight: 600;
}

.mobile-menu-main > .mobile-menu-item,
.mobile-menu-main > .mobile-menu-back {
    flex-shrink: 0;
    font-family: 'Montserrat';
    font-weight: 600;
}

.mobile-menu-main > .mobile-menu-phone {
    margin-top: auto;
    flex-shrink: 0;
    flex-grow: 0;
    font-family: 'Montserrat';
    font-weight: 600;
    color: #202020;
}

.mobile-menu-main > .mobile-menu-quote {
    flex-shrink: 0;
    flex-grow: 0;
    font-family: 'Montserrat';
    font-weight: 600;
    background:#202020;
    color:white;
}
.mobile-menu-quote:hover{
    background:#202020  !important;
    color:white !important;
}

.mobile-menu-submenu {
    padding: 0;
    animation: slideInRight 0.3s ease-out;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: 'Montserrat';
    font-weight: 600;
}

.mobile-menu-submenu > .mobile-menu-item,
.mobile-menu-submenu > .mobile-menu-back {
    flex-shrink: 0;
        font-family: 'Montserrat';
    font-weight: 600;
}

.mobile-menu-submenu > .mobile-menu-phone {
    margin-top: auto;
    flex-shrink: 0;
    flex-grow: 0;
    font-family: 'Montserrat';
    font-weight: 600;
}

.mobile-menu-submenu > .mobile-menu-quote {
    flex-shrink: 0;
    flex-grow: 0;
    font-family: 'Montserrat';
    font-weight: 600;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-menu-back {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333333;
    transition: background-color 0.2s ease;
    font-size: 14px !important;
}

.mobile-menu-back:hover {
    background-color: #f8f8f8;
}

.mobile-menu-back svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.mobile-back-text {
    font-size: 14px !important;
    color: #333333;
}

.mobile-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    color: #333333;
    text-decoration: none;
    font-size: 14px !important;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
    position: relative;
}

.mobile-menu-item:active {
    background-color: #f8f8f8;
    transform: scale(0.98);
}

.mobile-menu-item:hover {
    background-color: #fafafa;
}

.mobile-menu-item:hover {
    color: #202020;
}

.mobile-arrow {
    color: #999999;
    font-size: 20px;
}

.mobile-menu-phone {
    display: block;
    padding: 20px;
    color: #202020;
    text-decoration: none;
    font-size: 14px !important;
    font-weight: 500;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
}

.mobile-menu-quote {
    display: block;
    margin: 20px;
    padding: 14px 24px;
    background-color: #202020;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px !important;
    font-weight: 500;
    text-align: center;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    margin-top: 0;
    margin-bottom: 20px;
}

.mobile-menu-quote:hover {
    background-color: #5a6fc9;
}

@media (max-width: 1200px) {
    .mega-menu-content {
        gap: 40px;
        padding: 0 30px;
    }
    
    .mega-menu-column {
        max-width: 280px;
    }
    
    .mega-menu-column:not(:first-child) {
        padding-left: 40px;
    }
    
    .mega-menu-column-right {
        padding-left: 40px;
    }
    
    .mega-menu-column-with-sub {
        max-width: 340px;
    }
    
    .mega-menu-sub-columns {
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .mega-menu-content {
        gap: 30px;
        padding: 0 25px;
    }
    
    .mega-menu-column {
        max-width: 240px;
    }
    
    .mega-menu-column:not(:first-child) {
        padding-left: 30px;
    }
    
    .mega-menu-column-right {
        padding-left: 30px;
    }
    
    .mega-menu-column-with-sub {
        max-width: 300px;
    }
    
    .mega-menu-sub-columns {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .nav-desktop {
        display: none;
    }

    .nav-mobile {
        display: flex;
    }

    .logo-img {
        height: 42px !important;
    }
    
    .mega-menu-content {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }
    
    .mega-menu-column {
        max-width: 100%;
    }
    
    .mega-menu-column:not(:first-child) {
        border-left: none;
        border-top: 1px solid #e5e5e5;
        padding-left: 0;
        padding-top: 30px;
    }
    
    .mega-menu-column-right {
        border-left: none;
        border-top: 1px solid #e5e5e5;
        padding-left: 0;
        padding-top: 30px;
    }
    
    .mega-menu-column-right .mega-menu-column:not(:last-child) {
        border-bottom: 1px solid #e5e5e5;
        padding-bottom: 30px;
    }
    
    .mega-menu-sub-columns {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 16px;
    }

    .logo-img {
        height: 42px !important;
    }
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}



.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-content {
    color: #ffffff;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 14px !important;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #ffffff;
    opacity: 0.95;
    max-width: 500px;
}

.hero-form {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 14px !important;
    border: none;
    border-radius: 8px;
    background-color: #ffffff;
    color: #333333;
}

.hero-input::placeholder {
    color: #999999;
}

.hero-button {
    padding: 16px 32px;
    font-size: 14px !important;
    font-weight: 600;
    background-color: #202020;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.hero-button:hover {
    background-color: #5a6fc9;
}

.hero-rating {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #ffffff;
    margin-top: 8px;
}

.stars {
    font-size: 14px !important;
    color: #ffffff;
    letter-spacing: 2px;
    opacity: 0.9;
}

.rating-text {
    font-size: 14px !important;
    opacity: 0.9;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-person-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.content-section {
    padding: 80px 40px;
    background-color: #ffffff;
    min-height: 100vh;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
}

.content-container h2 {
    font-size: 48px;
    color: #333333;
    margin-bottom: 24px;
}

.content-container p {
    font-size: 18px;
    color: #666666;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-person-img {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-form {
        flex-direction: column;
    }

    .hero-button {
        width: 100%;
    }
}