
:root {
    --hazton-primary: #5bd1d5;
    --hazton-primary-strong: #3a9698;
    --hazton-primary-deep: #2e7f83;
    --hazton-ocean: #276871;
    --hazton-forest: #16444d;
    --hazton-slate: #0f2a37;
    --hazton-ink: #0a1626;
    --hazton-mist: #90efef;
    --hazton-teal: #48adaf;
    --hazton-primary-rgb: 91, 209, 213;
    --hazton-deep-rgb: 46, 127, 131;

    --bs-primary: var(--hazton-primary);
    --bs-secondary: var(--hazton-teal);
    --bs-info: var(--hazton-mist);
    --bs-dark: var(--hazton-ink);
    --bs-blue: var(--hazton-primary);
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}


/*** Topbar Start ***/ 
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/* Mega dropdown for About */
@media (min-width: 992px) {
    .mega-dropdown {
        position: static;
    }

    .mega-dropdown .dropdown-menu.mega-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity .3s ease, transform .3s ease;
        width: 100%;
        max-width: none;
        left: 0;
        right: auto;
        margin: 20px 0 0 0;
        border: 0;
        border-radius: 12px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.12);
        background: #fff;
        z-index: 1050;
    }

    .mega-dropdown:hover .dropdown-menu.mega-menu,
    .mega-dropdown:focus-within .dropdown-menu.mega-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .mega-dropdown .mega-card {
        border-left: 1px solid rgba(0,0,0,0.05);
        border-radius: 8px;
        background: #f8f9fb;
        height: 100%;
    }

    .mega-dropdown .mega-card p {
        margin-bottom: 0.75rem;
    }
}

/* Services dropdown (single column) */
@media (min-width: 992px) {
    .services-dropdown {
        position: static;
    }

    .services-dropdown .dropdown-menu.services-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity .3s ease, transform .3s ease;
        width: 320px;
        max-width: 95vw;
        left: 0;
        right: auto;
        margin: 20px 0 0 0;
        border: 0;
        border-radius: 10px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.12);
        background: #f2f2f2;
        z-index: 1050;
    }

    .services-dropdown:hover .dropdown-menu.services-menu,
    .services-dropdown:focus-within .dropdown-menu.services-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .services-dropdown .dropdown-menu.services-menu .dropdown-item {
        color: #1f2d3d;
        font-weight: 500;
    }
}

/* Solutions mega dropdown */
@media (min-width: 992px) {
    .solutions-dropdown {
        position: static;
    }

    .solutions-dropdown .dropdown-menu.solutions-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity .3s ease, transform .3s ease;
        width: 100%;
        max-width: none;
        left: 0;
        right: auto;
        margin: 20px 0 0 0;
        border: 0;
        border-radius: 12px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.12);
        background: #fff;
        z-index: 1050;
    }

    .solutions-dropdown:hover .dropdown-menu.solutions-menu,
    .solutions-dropdown:focus-within .dropdown-menu.solutions-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .solutions-list {
        background: #f2f2f2;
        border-radius: 10px;
    }

    .solutions-list .dropdown-item {
        color: #1f2d3d;
        font-weight: 500;
    }

    .solutions-feature img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .solutions-mini-card img {
        width: 64px;
        height: 64px;
        object-fit: cover;
    }

    .solutions-mini-card {
        border: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
}

/* Remove caret arrows from nav dropdown toggles */
.navbar .nav-link.dropdown-toggle::after {
    display: none !important;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-white);
    transition: 1s;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--bs-primary);
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--bs-light);
        border-radius: 10px;
    }

    /* Create breathing room so nav links aren't overlapped by search/CTA */
    .navbar .navbar-nav {
        column-gap: 18px;
        padding-right: 36px; /* reserve space for search + CTA */
    }

    .navbar .navbar-nav .nav-btn {
        margin-left: 22px;
    }

    /* Give the contact block a bit more offset on wide screens */
    .navbar .d-none.d-xl-flex.flex-shrink-0.ps-4 {
        margin-left: 22px;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 20px;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}
/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

@keyframes haztonFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes haztonFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes haztonPulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(var(--hazton-primary-rgb), 0.45); }
    50% { box-shadow: 0 0 30px rgba(var(--hazton-primary-rgb), 0.75); }
}

.hazton-hero {
    background: var(--hazton-ink);
}

.hazton-slider {
    overflow: hidden;
}

.hazton-slider-track {
    width: auto;
    flex-wrap: nowrap;
    transition: transform 700ms ease;
    will-change: transform;
}

.hazton-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    animation: haztonFadeIn 0.9s ease-out;
}

.hazton-slide-1 {
    background: linear-gradient(90deg, var(--hazton-slate), var(--hazton-ocean));
}

.hazton-slide-2 {
    background: linear-gradient(90deg, var(--hazton-ink), var(--hazton-forest));
}

.hazton-slide-3 {
    background: linear-gradient(90deg, var(--hazton-ocean), var(--hazton-ink));
}

.hazton-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.hazton-accent {
    color: var(--hazton-mist);
}

.hazton-btn-glow {
    animation: haztonPulseGlow 2s infinite;
}

.hazton-hero-icon-wrap {
    width: 340px;
    height: 340px;
}

.hazton-hero-ring {
    border-radius: 50%;
}

.hazton-hero-ring-1 {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.14);
}

.hazton-hero-ring-2 {
    width: 72%;
    height: 72%;
    background: rgba(255, 255, 255, 0.18);
}

.hazton-hero-icon {
    font-size: 5rem;
    color: #fff;
    animation: haztonFloat 3s ease-in-out infinite;
}

.hazton-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

.hazton-orb-1 {
    width: 90px;
    height: 90px;
    background: var(--hazton-primary);
    top: -10px;
    left: -10px;
}

.hazton-orb-2 {
    width: 140px;
    height: 140px;
    background: var(--hazton-mist);
    bottom: -18px;
    right: -18px;
}

.hazton-orb-3 {
    width: 110px;
    height: 110px;
    background: var(--hazton-teal);
    top: -22px;
    right: -22px;
}

.hazton-orb-4 {
    width: 80px;
    height: 80px;
    background: var(--hazton-primary-deep);
    bottom: -18px;
    left: -18px;
}

.hazton-service-card {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    transition: transform 0.25s ease;
}

.hazton-service-card:hover {
    transform: translateY(-3px);
}

.hazton-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bs-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.hazton-partner-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(var(--hazton-primary-rgb), 0.35);
    border-radius: 18px;
    overflow: hidden;
}

.hazton-partner-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--hazton-primary), var(--hazton-primary-deep));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.hazton-divider {
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background: var(--bs-primary);
}

.hazton-controls {
    bottom: 20px;
    z-index: 2;
}

.hazton-control {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hazton-control:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.26);
}

.hazton-indicator {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
}

.hazton-indicator.is-active {
    background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 991px) {
    .hazton-hero-icon-wrap {
        width: 260px;
        height: 260px;
    }

    .hazton-hero-icon {
        font-size: 3.75rem;
    }

    .hazton-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hazton-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 767px) {
    .hazton-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hazton-pill {
        font-size: 0.75rem;
        padding: 0.4rem 0.85rem;
    }

    .hazton-hero-icon-wrap {
        width: 220px;
        height: 220px;
    }

    .hazton-hero-icon {
        font-size: 3rem;
    }

    .hazton-actions {
        align-items: stretch;
    }

    .hazton-actions .btn {
        max-width: 100%;
    }

    .hazton-service-card {
        padding: 1rem;
    }

    .hazton-controls {
        bottom: 12px;
    }
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-light);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-secondary);
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }

    /* Stack hero CTAs on small screens/tablets */
    .header-carousel .carousel-caption .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .header-carousel .carousel-caption .btn {
        width: 100%;
        max-width: 260px;
    }
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, var(--hazton-slate), var(--hazton-ocean)), url(../img/bg-breadcrumb.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.5s;
}

.about-hero-banner {
    background: linear-gradient(90deg, var(--hazton-slate), var(--hazton-ocean)), url(../img/bg-breadcrumb.jpg);
}

.bg-breadcrumb {
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Feature Start ***/
.feature .feature-item {
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

.feature .feature-item:hover {
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
    position: relative;
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.feature .feature-item:hover .feature-icon i {
    z-index: 9;
}

.feature .feature-item .feature-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.feature .feature-item:hover .feature-icon::after {
    height: 100%;
}

.feature .feature-item .feature-icon {
    color: var(--bs-primary);
}

.feature .feature-item .feature-icon,
.feature .feature-item h4,
.feature .feature-item p {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
    color: var(--bs-white);
}
.feature .feature-item:hover h4,
.feature .feature-item:hover p {
    color: var(--bs-white);
}

.feature .feature-item:hover a.btn {
    background: var(--bs-white);
    color: var(--bs-primary);
}

.feature .feature-item:hover a.btn:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Feature End ***/


/*** Service Start ***/
.service .service-item {
    border-radius: 10px;
}
.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.1);
}

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(var(--hazton-primary-rgb), 0.2);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-img::after {
    height: 100%;
}

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    right: 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 9;
}

.service .service-item .service-img .service-icon i {
    color: var(--bs-primary);
    transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
    transform: rotateX(360deg);
    color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
    bottom: 0;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: var(--bs-primary);
    background: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: var(--bs-dark);
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}
/*** Service End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: rgba(var(--hazton-deep-rgb), 0.85);
    font-size: 18px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-primary);
    background: var(--bs-light);
}
/*** FAQs End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.blog .blog-item:hover .blog-content {
    background: var(--bs-white);
}

.blog .blog-item .blog-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(var(--hazton-primary-rgb), 0.2);
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 9;
}

.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.blog .blog-item .blog-content a.btn {
    color: var(--bs-dark);
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
} 

.team .team-item .team-img img {
    transition: 0.5s;
}
/*** Team End ***/

/*** Pricing Toggle Start ***/
.pricing-toggle {
    cursor: pointer !important;
    appearance: none;
    -webkit-appearance: none;
    width: 3rem;
    height: 1.5rem;
    background: #d3d3d3;
    border: none;
    border-radius: 1.5rem;
    position: relative;
    outline: none;
    transition: all 0.3s ease;
}

.pricing-toggle::before {
    content: '';
    position: absolute;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: white;
    top: 0.15rem;
    left: 0.15rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pricing-toggle:checked {
    background: var(--hazton-primary);
}

.pricing-toggle:checked::before {
    left: 1.65rem;
}

.billing-period-label {
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.billing-period-label.active {
    color: var(--hazton-primary);
    font-weight: 700;
}

/* Pricing card animation when switching */
.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hazton-primary);
    display: inline-block;
}

.price-period {
    font-size: 1rem;
    margin-left: 0.25rem;
}
/*** Pricing Toggle End ***/

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: -100%;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: var(--bs-primary);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: var(--bs-dark);
}
/*** Team End ***/


/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Testimonial End ***/


/*** Contact Start ***/
.contact .contact-img {
    position: relative;
}

.contact .contact-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    animation-name: image-efects;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 0.5s
}

@keyframes image-efects {
    0%  {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}

    25% {border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%;}

    50% {border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%;}

    75% {border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%;}

    100% {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}
}

.contact .contact-img .contact-img-inner {
    position: relative;
    z-index: 9;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}


.footer .footer-item .footer-instagram {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-instagram img {
    transition: 0.5s;
}

.footer .footer-item .footer-instagram:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);
}

.footer .footer-item .footer-btn a {
    background: var(--bs-light);
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-white);
}
/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
}
/*** copyright end ***/


/*** Popup Forms Start ***/
/* Modal Customizations */
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--hazton-primary) 0%, var(--hazton-primary-strong) 100%);
}

.modal-header .modal-title {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

/* Ensure white text is visible on primary background */
.modal-header.bg-primary,
.modal-header.bg-primary .modal-title,
.modal-header.bg-primary .btn-close {
    color: #ffffff !important;
}

/* Alternative high-contrast header option */
.modal-header.bg-primary {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    border-bottom: 2px solid var(--hazton-primary);
}

.modal-header.bg-primary .modal-title {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.modal-header.bg-primary .btn-close-white {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem 2rem;
}

/* Form Styling */
.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--hazton-primary);
    box-shadow: 0 0 0 0.2rem rgba(91, 209, 213, 0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-check {
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--hazton-primary);
    border-color: var(--hazton-primary);
}

.form-check-input:focus {
    border-color: var(--hazton-primary);
    box-shadow: 0 0 0 0.2rem rgba(91, 209, 213, 0.25);
}

/* Honeypot field styling */
.honeypot-field {
    opacity: 0;
    position: absolute;
    height: 0;
    overflow: hidden;
}

/* Success Modal Styling */
.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.success-checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    position: relative;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
    animation: successPulse 0.8s ease-out;
}

.check-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 60px;
    border: solid white;
    border-width: 0 5px 5px 0;
    transform: rotate(45deg) scale(0);
    animation: checkmarkDraw 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s forwards;
    opacity: 0;
    border-radius: 2px;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
        box-shadow: 0 0 0 20px rgba(40, 167, 69, 0);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
    }
}

@keyframes checkmarkDraw {
    0% {
        opacity: 0;
        transform: rotate(45deg) scale(0);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) scale(1.1);
    }
    70% {
        transform: rotate(45deg) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

/* Responsive success icon */
@media (max-width: 768px) {
    .success-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 1rem;
    }
    
    .success-checkmark {
        width: 80px;
        height: 80px;
    }
    
    .check-icon::before {
        width: 28px;
        height: 48px;
        border-width: 0 4px 4px 0;
    }
}

@media (max-width: 576px) {
    .success-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 0.75rem;
    }
    
    .success-checkmark {
        width: 70px;
        height: 70px;
    }
    
    .check-icon::before {
        width: 24px;
        height: 42px;
        border-width: 0 3.5px 3.5px 0;
    }
}

@media (max-width: 480px) {
    .success-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 0.5rem;
    }
    
    .success-checkmark {
        width: 60px;
        height: 60px;
    }
    
    .check-icon::before {
        width: 20px;
        height: 35px;
        border-width: 0 3px 3px 0;
    }
}

/* Enterprise Form Special Styling */
#enterpriseTierModal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

#enterpriseTierModal .form-control:focus,
#enterpriseTierModal .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

#enterpriseTierModal .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

/* Enterprise Form Responsive Design */
@media (max-width: 1200px) {
    #enterpriseTierModal .modal-dialog {
        max-width: 95%;
        margin: 1rem auto;
    }
}

@media (max-width: 992px) {
    #enterpriseTierModal .modal-dialog {
        max-width: 98%;
        margin: 0.5rem auto;
    }
    
    #enterpriseTierModal .modal-body {
        padding: 1.5rem;
    }
    
    #enterpriseTierModal .row.g-3 {
        --bs-gutter-y: 1rem;
        --bs-gutter-x: 1rem;
    }
}

@media (max-width: 768px) {
    #enterpriseTierModal .modal-dialog {
        margin: 0.25rem;
        max-width: calc(100% - 0.5rem);
        max-height: calc(100vh - 0.5rem);
        display: flex;
        align-items: center;
    }
    
    #enterpriseTierModal .modal-content {
        max-height: calc(100vh - 0.5rem);
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    }
    
    #enterpriseTierModal .modal-body {
        padding: 1rem;
        flex: 1;
        overflow-y: auto;
        max-height: calc(100vh - 180px);
    }
    
    #enterpriseTierModal .modal-header {
        padding: 0.75rem 1rem;
        flex-shrink: 0;
    }
    
    #enterpriseTierModal .modal-footer {
        padding: 0.75rem 1rem;
        flex-shrink: 0;
    }
    
    #enterpriseTierModal .modal-header h5 {
        font-size: 1rem;
        line-height: 1.3;
        margin: 0;
    }
    
    #enterpriseTierModal .form-control,
    #enterpriseTierModal .form-select {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
        min-height: 2.5rem;
    }
    
    #enterpriseTierModal .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        font-weight: 600;
    }
    
    #enterpriseTierModal .row.g-3 {
        --bs-gutter-y: 0.75rem;
        --bs-gutter-x: 0.75rem;
    }
    
    #enterpriseTierModal .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    #enterpriseTierModal .alert {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    #enterpriseTierModal .modal {
        padding: 0 !important;
    }
    
    #enterpriseTierModal .modal-dialog {
        margin: 0;
        max-width: 100vw;
        max-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    #enterpriseTierModal .modal-content {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    
    #enterpriseTierModal .modal-body {
        padding: 0.75rem;
        flex: 1;
        overflow-y: auto;
        max-height: calc(100vh - 120px);
    }
    
    #enterpriseTierModal .modal-header {
        padding: 0.5rem 0.75rem;
        flex-shrink: 0;
        min-height: 60px;
        display: flex;
        align-items: center;
    }
    
    #enterpriseTierModal .modal-footer {
        padding: 0.5rem 0.75rem;
        flex-shrink: 0;
        min-height: 70px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.5rem;
    }
    
    #enterpriseTierModal .modal-header h5 {
        font-size: 0.95rem;
        line-height: 1.2;
        margin: 0;
        flex: 1;
        word-wrap: break-word;
    }
    
    #enterpriseTierModal .modal-header .btn-close {
        padding: 0.25rem;
        font-size: 0.75rem;
        margin-left: 0.5rem;
        flex-shrink: 0;
    }
    
    #enterpriseTierModal .form-control,
    #enterpriseTierModal .form-select {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
        min-height: 2.2rem;
    }
    
    #enterpriseTierModal .form-label {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
        font-weight: 600;
    }
    
    #enterpriseTierModal .row.g-3 {
        --bs-gutter-y: 0.5rem;
        --bs-gutter-x: 0.5rem;
    }
    
    #enterpriseTierModal .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    #enterpriseTierModal .modal-footer .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        min-height: 2.2rem;
    }
    
    #enterpriseTierModal .alert {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    #enterpriseTierModal .form-check {
        margin-bottom: 0.5rem;
    }
    
    #enterpriseTierModal .form-check-label {
        font-size: 0.75rem;
    }
    
    #enterpriseTierModal textarea.form-control {
        min-height: 3rem;
        resize: vertical;
    }
    
    /* Feature checkboxes grid for mobile */
    #enterpriseTierModal .row .col-md-6 {
        margin-bottom: 0.5rem;
    }
    
    #enterpriseTierModal .form-check {
        margin-bottom: 0.4rem;
    }
}

@media (max-width: 480px) {
    #enterpriseTierModal .modal-header h5 {
        font-size: 0.9rem;
    }
    
    #enterpriseTierModal .modal-body {
        padding: 0.5rem;
    }
    
    #enterpriseTierModal .modal-header,
    #enterpriseTierModal .modal-footer {
        padding: 0.4rem 0.5rem;
    }
    
    #enterpriseTierModal .form-control,
    #enterpriseTierModal .form-select {
        font-size: 0.8rem;
        padding: 0.35rem 0.5rem;
        min-height: 2rem;
    }
    
    #enterpriseTierModal .form-label {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    #enterpriseTierModal .modal-footer .btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
        min-height: 2rem;
    }
    
    #enterpriseTierModal .alert {
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
    }
    
    #enterpriseTierModal .form-check-label {
        font-size: 0.7rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .modal-dialog {
        max-width: 90%;
        margin: 1rem auto;
    }
    
    .modal-lg {
        max-width: 90%;
    }
    
    .modal-xl {
        max-width: 90%;
    }
}

@media (max-width: 992px) {
    .modal-dialog {
        max-width: 95%;
        margin: 0.5rem auto;
    }
    
    .modal-lg {
        max-width: 95%;
    }
    
    .modal-xl {
        max-width: 95%;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-header,
    .modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h5 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
}

@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.25rem;
        max-width: calc(100% - 0.5rem);
        max-height: calc(100vh - 0.5rem);
        display: flex;
        align-items: center;
    }
    
    .modal-lg {
        max-width: calc(100% - 0.5rem);
    }
    
    .modal-xl {
        max-width: calc(100% - 0.5rem);
    }
    
    .modal-content {
        border-radius: 12px;
        max-height: calc(100vh - 0.5rem);
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    }
    
    .modal-body {
        padding: 1rem;
        flex: 1;
        overflow-y: auto;
        max-height: calc(100vh - 180px);
    }
    
    .modal-header {
        padding: 0.75rem 1rem;
        flex-shrink: 0;
    }
    
    .modal-footer {
        padding: 0.75rem 1rem;
        flex-shrink: 0;
    }
    
    .modal-header h5 {
        font-size: 1rem;
        line-height: 1.3;
        margin: 0;
    }
    
    .modal-header .btn-close {
        padding: 0.25rem;
        font-size: 0.875rem;
    }
    
    .form-control,
    .form-select {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
        min-height: 2.5rem;
    }
    
    .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        font-weight: 600;
    }
    
    .row.g-3 {
        --bs-gutter-y: 0.75rem;
    }
    
    .success-icon {
        width: 50px;
        height: 50px;
    }
    
    .success-checkmark {
        width: 50px;
        height: 50px;
    }
    
    .check-icon {
        width: 20px;
        height: 20px;
    }
    
    .check-icon::before {
        top: 1px;
        left: 4px;
        width: 4px;
        height: 8px;
        border-width: 0 2px 2px 0;
    }
}

@media (max-width: 576px) {
    .modal {
        padding: 0 !important;
    }
    
    .modal-dialog {
        margin: 0;
        max-width: 100vw;
        max-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .modal-content {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    
    .modal-body {
        padding: 0.75rem;
        flex: 1;
        overflow-y: auto;
        max-height: calc(100vh - 120px);
    }
    
    .modal-header {
        padding: 0.5rem 0.75rem;
        flex-shrink: 0;
        min-height: 60px;
        display: flex;
        align-items: center;
    }
    
    .modal-footer {
        padding: 0.5rem 0.75rem;
        flex-shrink: 0;
        min-height: 70px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.5rem;
    }
    
    .modal-header h5 {
        font-size: 0.95rem;
        line-height: 1.2;
        margin: 0;
        flex: 1;
        word-wrap: break-word;
    }
    
    .modal-header .btn-close {
        padding: 0.25rem;
        font-size: 0.75rem;
        margin-left: 0.5rem;
        flex-shrink: 0;
    }
    
    .form-control,
    .form-select {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
        min-height: 2.2rem;
    }
    
    .form-label {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
        font-weight: 600;
    }
    
    .row.g-3 {
        --bs-gutter-y: 0.5rem;
        --bs-gutter-x: 0.5rem;
    }
    
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .modal-footer .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        min-height: 2.2rem;
    }
    
    .alert {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .form-check {
        margin-bottom: 0.5rem;
    }
    
    .form-check-label {
        font-size: 0.75rem;
    }
    
    textarea.form-control {
        min-height: 3rem;
        resize: vertical;
    }
}

@media (max-width: 480px) {
    .modal-header h5 {
        font-size: 0.9rem;
    }
    
    .modal-body {
        padding: 0.5rem;
    }
    
    .modal-header,
    .modal-footer {
        padding: 0.4rem 0.5rem;
    }
    
    .form-control,
    .form-select {
        font-size: 0.8rem;
        padding: 0.35rem 0.5rem;
        min-height: 2rem;
    }
    
    .form-label {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    .modal-footer .btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
        min-height: 2rem;
    }
}

/* Ensure modal doesn't overflow on small screens */
.modal {
    z-index: 1055;
}

.modal-backdrop {
    z-index: 1050;
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .modal-dialog {
        height: 100vh;
        margin: 0;
    }
    
    .modal-content {
        height: 100vh;
        border-radius: 0;
    }
}

/* Loading State */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn .spinner-border {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* Alert Styling */
.alert {
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
}

.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    color: #0c5460;
}

/* Feature Checkboxes Grid */
.form-check-label {
    font-size: 0.9rem;
    color: #495057;
}

.form-check-input[type="checkbox"] {
    margin-top: 0.25rem;
}

/* Enhanced Button Styling */
.modal-footer .btn {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-footer .btn-primary {
    background: var(--hazton-primary);
    border: none;
}

.modal-footer .btn-primary:hover {
    background: var(--hazton-primary-strong);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 209, 213, 0.3);
}

.modal-footer .btn-secondary {
    background: #6c757d;
    border: none;
}

.modal-footer .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}
/*** Popup Forms End ***/


