﻿/* ==========================
   Navigation & Header
   ========================== */

.header, .navbar {
    background: #FCEADC;
    transition: all .4s ease;
    position: relative;
    z-index: 999;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--grey-light);
}

/*.navbar-brand {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 2rem;
}*/

.navbar-brand {
    font-size: clamp(1.5rem, 5vw, 2.5rem); /* responsiv storlek */
    text-align: center;
    margin-bottom: 10px;
    word-break: break-word; /* för att undvika att långa titlar går utanför */
}


    .navbar-nav .nav-link {
        color: #781538;
        text-transform: uppercase;
        font-size: 1rem;
    }

.navbar-toggler {
    border: none;
    outline: none;
}

.icon-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    color: #fff;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
    margin-top: 50px;
}

.div1, .div2, .div3, .div4, .div5, .div6, .div7, .div8, .div9, .div10, .div11 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .div1 img, .div2 img, .div3 img, .div4 img {
        margin-bottom: 10px;
        width: 80px;
        height: auto;
        min-height: 125px;
    }

.top-bar {
    height: 100px;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px 0;
    margin: 10px !important;
}

header .top-bar {
    margin: 10px !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.m_container_735 {
    width: 70%;
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    border-radius: 3px;
}

@media screen and (max-width: 768px) {
    .m_container_735 {
        width: 95% !important;
        padding: 0 15px;
    }
}



/* ==========================
   Banner Section
   ========================== */

.banner {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay-content {
    position: absolute;
    z-index: 2;
    text-align: center;
    color: white;
}

.banner-logo {
    max-width: 300px;
    margin-bottom: 20px;
}

.banner-heading {
    font-size: 3rem;
    font-weight: bold;
    color: #f4f4f4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* ==========================
   Logo Section
   ========================== */

.logo-style-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
    margin-top: -120px; /* slight overlap with banner */
}

.hc-logo {
    width: 350px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
}

    .hc-logo img {
        max-width: 350px;
        height: 200px;
        border-radius: 3px;
    }



/* ==========================
   Text Section
   ========================== */

.welcome-text-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 5;
    flex: 1 1 400px;
    max-width: 500px;
}
.bg-light-grey {
    background-color: #FCEADC;
    padding: 30px;
    border-radius: 3px;
    max-width: 800px;
}

.bg-light-beige {
    background-color: #FCEADC;
    padding: 40px 40px;
    margin: 40px auto;
    border-radius: 3px; 
    max-width: 1200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* diskret skugga för “kort”-effekt */
    border: 1px solid rgba(0,0,0,0.05); /* tunn linje runt */
}

    .bg-light-beige h1,
    .bg-light-beige h2,
    .bg-light-beige h3,
    .bg-light-beige p {
        color: #5A1D2B;
    }

#hc-welcome-text {
    /*margin-top: -1120px;*/
    align-items: center;
}

.welcome-text-img {
    margin-top: 20px;
    width: 100%;
    max-width: 900px;
    text-align: center;
    align-items: center;
    border-radius: 3px;
}

    .welcome-text-img img {
        width: 100%;
        height: auto;
        border-radius: 3px;
        flex: 1 1 400px;
        max-width: 500px;
    }


.bg-pattern-1-b {
    width: 100%;
    background: url('/background/BROMMA_HCC_backgroundpattern.svg') no-repeat center center;
    background-size: cover;
    margin-top: -55px;
}

.bg-pattern-2-b {
    width: 100%;
    background: url('/background/BROMMA_HCC_backgroundpattern.svg') no-repeat center center;
    background-size: cover;
    margin-top: -55px;
}

.container_full_width {
    /*background-color: #5a1d2b;*/
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

#bg-pattern-logo {
    height: 1200px;
    margin-top: -55px;
    z-index: 0;
}

#bg-pattern-member {
    position: relative;
    height: 1600px;
    margin-top: -1500px;
    z-index: 0;
}

#bg-pattern-forman {
    position: relative;
    height: 125px;
    z-index: 0;
}


/* ==========================
    Recruit section
   ========================== */

/* Bakgrund och textfärg */
.recruit-section {
    background-color: #FCEADC;
    color: #781538;
    text-align: center;
    padding: 40px 20px;
}

    /* Gör även h3 rätt färg */
    .recruit-section h3 {
        color: #781538 !important;
        margin-bottom: 40px;
    }

/* Knappstil */
.btn-recruit {
    display: inline-block;
    background-color: #781538;
    color: #fff;
    padding: 12px 30px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .btn-recruit:hover {
        background-color: #5A1D2B;
    }


/* ==========================
   Countdown Timer & Text
   ========================== */
.style-2-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.hc-text-box h3 {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #f4f4f4;
    margin-bottom: 15px;
    font-weight: bold;
}

.hc-text-box p {
    font-size: 20px;
    color: #f4f4f4;
    text-align: center;
    line-height: 1.5;
}

.countdown-timer {
    font-size: 20px;
    font-weight: bold;
    color: var(--hc-red-dark, #5a1d2b);
    margin-top: 10px;
    background-color: #f4f4f4;
}

.countdown-wrapper-with-pattern {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background-size: cover;
}

.countdown-inner-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    width: 100%;
}

.countdown-combo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 60px 20px;
    flex-direction: column;
}

.image-container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.welcome-image {
    width: 100%;
    height: auto;
    border-radius: 3px;
    object-fit: cover;
}

.countdown-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #5a1d2b;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 30px 20px;
    border-radius: 3px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

    .countdown-overlay h3 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }


/* ==========================
   Icon section
   ========================== */

.logo-style-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    margin-top: -120px;
}

.hc-logo img {
    max-width: 100%;
    height: auto;
}

.container-icon-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    margin-top: 3rem;
    z-index: 5;
    margin-bottom: 4rem;
}


/* ==========================
   Icon Grid
   ========================== */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    color: #f4f4f4;
    padding: 20px 0;
}

    .icon-grid img {
        width: 100px;
        height: auto;
        margin-bottom: 10px;
    }

    .icon-grid p {
        font-family: var(--font-crimson);
        font-size: 14px;
        text-align: center;
    }

    .icon-grid > div {
        min-height: 250px;
    }


/* end grid code */

.div1, .div2, .div3, .div4, .div5, .div6, .div7, .div8, .div9, .div10, .div11 {
    /* transform: scale(0.6); */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .div1 img, .div2 img, .div3 img, .div4 img, .div5 img, .div6 img, .div7 img, .div8 img, .div9 img, .div10 img, .div11 img {
        margin-bottom: 10px;
        width: 80px;
        height: auto;
        min-height: 125px;
    }


.light-blue-text {
    color: var(--blue-1) !important;
}

#hc-h3-omoss {
    color: white !important;
}

.hc-h3-light {
    font-size: 24px;
    padding-bottom: 15px;
}

#hc-h3 {
    padding-bottom: 15px;
    font-size: 24px;
    margin-top: 25px;
    line-height: 1.8;
}

.hc-p {
    font-size: 20px;
}

#hc-p-icon {
    max-width: 85%;
}

.link-hc-member {
    font-family: 'Nobel', sans-serif !important;
    margin: 0 !important;
    font-style: normal !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

#link-hc-member-forman {
    color: var(--grey-light) !important;
}

#btn-member-formaner {
    margin: 35px auto 35px;
    background-color: black;
    width: 100%;
}


/* ==========================
   Swiper Carousel
   ========================== */
.swiper-container {
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
    border-radius: 3px;
}

.swiper-slide img {
    width: 100%;
    border-radius: 3px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 200px !important;
    max-height: 600px !important;
    border-radius: 3px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--hc-red-dark, #5a1d2b);
}

.swiper-pagination-bullet-active {
    background: var(--hc-blue-light);
}

.swiper-hc-pagination-bma .swiper-pagination-bullet {
    border: white 1px solid;
    opacity: .8;
    background: #5a1d2b;
    width: 18px;
    height: 18px;
    margin: 0 10px !important;
}

.swiper-hc-pagination-bma .swiper-pagination-bullet-active {
    opacity: 1;
    background: white !important;
    border: white 1px solid;
}

#swiper-wrapper-hc {
    /*margin-bottom: 100px;*/
    margin-bottom: 0;
    padding-bottom: 120px;
}

#swiper-wrapper-hc,
.swiper-container {
    position: relative;
    z-index: 1;
}

.swiper-wrapper-container {
    width: 100%;
    max-width: 100%;
    margin: 50px auto;
    padding: 0 20px;
}

/* ==========================
   Membership & Application Section
   ========================== */

.container_full_width_bma {
    padding-bottom: 50px;
}

.member-include {
    padding: 50px;
}


/* ==========================
   Section for förmåner
   ========================== */
.container-forman {
    position: relative;
    margin-top: auto;
    z-index: 8;
}

.forman-inner {
    margin: 0 auto;
    padding: 100px 15px;
}

#forman-box-white {
    background-color: var(--grey-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

    #forman-box-white h2 {
        margin: 35px 0;
    }

    #forman-box-white h3 {
        padding-bottom: 10px;
    }

    #forman-box-white p {
        line-height: 1.1;
        font-size: 16px;
    }

/* Grid */

.forman-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}


/* ==========================
   Section for membercard
   ========================== */

#text-box-trana-idag {
    margin: -45px auto 50px;
    z-index: 8;
}

.bg-red-dark {
    background-color: #5a1d2b;
    margin-top: 30px;
}

#guldkort-container {
    padding: 15px 15px 200px;
}

    #guldkort-container img {
        transform: rotate(-10deg);
    }

.hc-text-box {
    position: relative;
    text-align: center;
    margin: 0 auto;
    color: #f4f4f4;
}

#hc-text-icon {
    padding: 45px 15px;
}

#apply-container {
    background-color: #f4f4f4; /* Mörkröd bakgrund */
    padding: 30px;
    border: 3px solid white; /* Vit ram */
    text-align: center;
    width: 80%;
    margin: auto;
    border-radius: 3px;
}

.hc-text-box-b {
    color: white; 
    padding: 20px;
    text-align: center;
}

    .hc-text-box-b h2 {
        font-size: 32px; /* Större överskrift */
        font-weight: bold;
        text-align: center;
    }

    .hc-text-box-b h3 {
        font-size: 24px; /* Mindre överskrift under */
        font-weight: normal;
        text-align: center;
    }

.intro-text-b p {
    font-size: 18px;
}


#bottom-banner {
    margin-top: 50px;
}

/* ==========================
   Become Member
   ========================== */

#membership-column {
    background-color: var(--hc-red-light);
    margin-top: -50px;
    border: 0px;
}

.membership-box {
    margin-top: 50px;
    color: var(--blue-1);
}

    .membership-box h2 {
        text-align: center;
        margin-bottom: 10px;
    }

#member-kort-info {
    text-align: center;
    font-style: italic;
    margin-bottom: 10px;
}

#hc-member-row {
    align-items: flex-start;
    margin-top: 60px;
}

    #hc-member-row > div {
        padding: 0 30px;
    }

#bli-medlem-form label,
#bli-medlem-form p,
.bli-medlem-form-box h2 {
    color: var(--blue-1) !important;
}

#hc-bli-medlem-form-section {
    position: relative;
    padding-bottom: 0;
}

#container-970-medlem-form > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    position: relative;
}

/* ==========================
   Partners
   ========================== */

#partner-container {
    margin-top: 50px;
}

#hc-partner-welcome-text {
    margin-top: -180px;
    max-width: 700px;
    margin: 0 auto 40px; /* centrerar rutan + lite marginal under */
    text-align: center;
    background-color: #f4f4f4;
    border-radius: 3px;
}

.partner-col {
    padding: 35px;
}

.bg-red-dark > img {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    object-fit: cover;
}

.partner-item {
    background-color: #f4f4f4;
    padding: 25px;
}

.partner-description h3,
.partner-description h2 a,
.partner-description p {
    color: var(--blue-1);
}

#partner-title-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: -30px auto -30px;
    padding: 25px;
    width: 290px;
}

    #partner-title-section h2 {
        margin: 0 0 30px;
    }

#event-list-partners {
    margin-top: 100px;
}

.partner-img {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    object-fit: cover;
}

.hc-partner-row {
    align-items: flex-start;
}

.hc-partner-h3 {
    margin-top: 25px;
}

.mb-0 {
    margin-bottom: 0px;
}

/* ==========================
   & Care
   ========================== */

.care-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin: 60px auto;
    padding: 0 20px;
    max-width: 1000px;
}

.care-feature-box {
    background-color: #FCEADC;
    padding: 20px;
    border-radius: 3px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

    .care-feature-box:hover {
        transform: translateY(-5px);
    }

    .care-feature-box img {
        width: 60px;
        height: auto;
        margin-bottom: 15px;
    }

    .care-feature-box h4 {
        margin-bottom: 10px;
        font-size: 18px;
        color: #5a1d2b;
    }

    .care-feature-box p {
        font-size: 14px;
        margin-bottom: 15px;
        color: #333;
    }

    .care-feature-box a {
        font-weight: bold;
        color: #5a1d2b;
        text-decoration: none;
        font-size: 14px;
    }


/* ==========================
   Länkar
   ========================== */

.white-links a {
    color: white;
    text-decoration: underline; 
}

 
/* ==========================
   Buttons
   ========================== */

.btn-member,
.btn-hc-member {
    display: inline-block;
    padding: 12px 30px;
    background-color: white;
    color: var(--hc-red-dark, #5a1d2b);
    border: 2px solid var(--hc-red-dark, #5a1d2b);
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 3px;
    margin: 25px auto;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: fit-content
}

    .btn-hc-member:hover {
        background-color: var(--hc-red-dark, #5a1d2b);
        color: white;
    }


    .btn-member:hover {
        background-color: #fff;
    }

.btn-hc-member {
    background-color: white;
    color: var(--hc-red-dark, #5a1d2b);
    border: 2px solid var(--hc-red-dark, #5a1d2b);
    margin: 50px auto 150px;
}

    .btn-hc-member:hover {
        background-color: rgba(0, 0, 0, 0.1);
        color: white;
    }

    .btn-hc-member .link-hc-member {
        font-family: 'Nobel', sans-serif !important;
        color: var(--hc-red-dark, #5a1d2b) !important;
        font-weight: bold;
        font-size: 16px;
        display: block;
        width: 100%;
        height: 100%;
        padding: 12px 30px;
        text-decoration: none !important;
    }

    .btn-hc-member:hover .link-hc-member {
        color: white !important;
    }

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Endast på kontaktsidan */
.kontakt-knappar {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 2em auto;
    background-color: #ED733A;
}

    .kontakt-knappar .btn-member {
        flex: 1 1 45%;
        min-width: 180px;
        text-align: center;
    }


/* Newsletter section */

.newsletter-section {
    background-color: #ed773a;
    text-align: center;
    padding: 30px 15px;
    width: 100%;
}

    .newsletter-section h3 {
        color: #781538;
        font-weight: bold;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }

.newsletter-wrapper {
    text-align: center;
    width: 100%;
    padding: 0 20px; 
}


.newsletter-btn {
    background-color: white;
    color: #000;
    border: 1px solid #000;
    padding: 8px 20px;
    font-weight: bold;
    cursor: pointer;
}

    .newsletter-btn:hover {
        background-color: #f2f2f2;
    }

/* ===========================
    Membership/partner boxes
   =========================== */

.membership-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    font-size: 14px;
    line-height: 1.6;
    color: white;
    text-align: left;
}

    .membership-list li {
        margin-bottom: 0.75rem;
    }

.center-partner-section {
    display: grid;
    justify-content: center;
    align-items: center;
    padding: 0px 20px;
    min-height: 70vh; /* Gör att sektionen fyller hela skärmen */
    box-sizing: border-box;
    background-color: #5a1d2b;
    margin-top: 50px;
}

.hc-text-box-black h3 {
    font-size: 24px;
    color: #5A1D2B;
    margin-bottom: 15px;
    font-weight: bold;
}

.hc-text-box-black p {
    font-size: 20px;
    color: #5A1D2B;
    text-align: center;
    line-height: 1.5;
}

.partner-boxes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    align-items: center;
    background-color: transparent;
}

.partner-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #FCEADC;
    padding: 20px;
    border-radius: 3px;
}

/*.partner-box {
    background-color: #FCEADC;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}*/

    /*.partner-box:hover {*/
        /*transform: scale(1.02);*/
        /*transform: translateY(-8px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }*/

    .partner-box a {
        display: block;
        text-decoration: none;
        color: inherit;
        padding: 1rem;
    }

   
    .partner-box h3 {
        margin: 1rem;
        font-size: 18px;
        font-weight: bold;
        color: black;
    }
    .partner-box h4 {
        margin: 1rem;
        font-size: clamp(1rem, 5vw, 1.5rem);
        font-weight: bold;
        color: black;
    }

    .partner-box p {
        margin:1rem;
        font-size: 18px;
        color: black;
    }

    .partner-box span {
        font-weight: bold;
        color: black;
        font-size: 16px;
        margin: 1rem;
    }

.section-gap {
    padding-top: 200px;
}

.partner-boxes-triangle {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
}

    .partner-boxes-triangle .top-box {
        width: 100%;
        max-width: 400px;
    }

.partner-boxes .addon-description {
    display: block !important;
}

.partner-box .accordion-toggle {
    display: block !important;
}

/* Jämna ut höjd på de två första boxarna */
.partner-box.membership-equal {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 600px; /* Justera efter behov */
}

    /* Säkerställ att Add-ons alltid är synliga och på rätt plats */
    .partner-box.membership-equal .accordion-toggle,
    .partner-box.membership-equal .addon-description {
        display: block !important;
    }

    /* Jämna ut spacing */
    .partner-box.membership-equal h4,
    .partner-box.membership-equal p,
    .partner-box.membership-equal span,
    .partner-box.membership-equal .accordion-toggle,
    .partner-box.membership-equal ul {
        margin-bottom: 1rem;
    }


.accordion-toggle::after {
    content: "▼";
    float: right;
    margin-right: 15px;
    font-size: 12px;
}

.accordion-toggle.open::after {
    content: "▲";
}


/* ==========================
   Care page
   ========================== */

.care-style-match {
    background-color: #FCEADC;
    color: #333;
    font-family: var(--font-crimson); /* matchar care-feature-box */
}

    .care-style-match h3 {
        color: #781538;
        font-family: var(--font-crimson);
        font-size: 18px;
        margin-bottom: 10px;
    }

    .care-style-match p {
        color: #781538;
        font-family: var(--font-crimson);
        font-size: 14px;
        line-height: 1.6;
    }

/* ==========================
   Map & Contakt
   ========================== */


.contact-info {
    margin-top: 30px;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    margin-top: 30px;
}

    .map-responsive iframe {
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute;
        border: 0;
    }

/* ==========================
   Popup Medlemsformulär 
   ========================== */

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 5px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

    .popup-content input {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border: 1px solid #ccc;
        border-radius: 3px;
    }

        .popup-content input[type="submit"] {
            background: var(--hc-red-dark, #5a1d2b);
            color: white;
            font-weight: bold;
            border: none;
            cursor: pointer;
        }

            .popup-content input[type="submit"]:hover {
                background: #7a2d42;
            }

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--hc-red-dark, #5a1d2b);
}



/* ==========================
   Popup Newsletter Form
   ========================== */



.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 5px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
}

    .popup-content h2,
    .popup-content p {
        color: var(--hc-red-dark, #5a1d2b);
    }

    .popup-content input[type="text"],
    .popup-content input[type="email"] {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .popup-content input[type="submit"] {
        background: var(--hc-red-dark, #5a1d2b);
        color: white;
        padding: 12px 25px;
        border: none;
        border-radius: 3px;
        cursor: pointer;
        transition: background 0.3s;
    }

        .popup-content input[type="submit"]:hover {
            background: #7a2d42;
        }

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--hc-red-dark, #5a1d2b);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ==========================
   Om Oss Accordion 
   ========================== */


.faq-accordion {
    margin: 2rem auto;
    max-width: 700px;
    padding: 0 1rem;
}

.faq-question {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 1rem 0;
    text-align: left !important;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    display: block;
}

.faq-answer {
    display: none;
    padding: 0.5rem 0 1rem 0;
    color: #f4f4f4;
    text-align: left;
}

    .faq-answer.show {
        display: block;
    }

.faq-question::after {
    content: '';
    display: none;
}

.always-open .faq-answer {
    display: block !important;
}

.always-open .faq-question {
    display: none !important;
}


/* ==========================
   Member Accordion 
   ========================== */

.addon-item {
    cursor: pointer;
    margin-bottom: 8px;
    list-style-type: none;
    text-align: left;
}

    .addon-item strong {
        display: inline-block;
        font-weight: bold;
        color: #000;
    }

.addon-list {
    list-style-type: disc;
    padding-left: 0,5rem;
}

.addon-description {
    display: none;
    margin-top: 5px;
    padding-left: 13px;
    padding-right: 15px;
    color: #444;
    font-size: 0.75em;
    text-align: left;
    margin-bottom: 0,5rem;
}


.accordion-toggle {
    font-weight: bold;
    margin-top: 15px;
    text-align: left;
    padding-left: 15px;
    text-decoration: underline;
}

/* ==========================
   Privacy
   ========================== */

.centered-white-box {
    background-color: #ffffff;
    max-width: 800px;
    margin: 50px auto;
    padding: 40px 20px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    text-align: left;
    width: 90%;
}

    .centered-white-box h2 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        color: #5a1d2b; 
    }

    .centered-white-box p {
        font-size: 1rem;
        line-height: 1.6;
        color: #333;
    }

    .centered-white-box a {
        color: #5a1d2b;
        text-decoration: underline;
        font-weight: bold;
    }


/* ==========================
   Footer 
   ========================== */
    

.footer {
    background-color: #FCEADC !important;
    padding: 40px 50px;
    font-family: Arial, sans-serif;
    color: #781538;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    clear: both;
    padding-top: 100px;
    min-height: 120px;
}

.footer-top {
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-wrap: wrap; /* Gör att de bryter rad på små skärmar */
    gap: 50px; 
    max-width: 1000px; 
    margin: 0 auto; 
    text-align: left;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo img {
    max-width: 450px;
    height: auto;
}

.footer-contact {
    font-size: 16px;
    line-height: 0.6;
}

    .footer-contact h4 {
        font-size: 18px;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 12px;
        font-weight: bold;
    }

    .footer-contact strong {
        font-weight: bold;
        text-transform: uppercase;
        margin-right: 5px;
    }

.footer-bottom {
    margin-top: 15px;
    text-align:center;
    font-size: 14px;
    color: #781538;
}

    .footer-bottom a {
        color: #781538;
        text-decoration: none;
    }

        .footer-bottom a:hover {
            text-decoration: underline;
        }


/* Mobilanpassning */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-contact {
        margin-top: 10px;
    }

    .footer {
        padding: 10px;
        line-height: 5px;
    }
}






/* ==========================
   Responsive Design
   ========================== */





/* ========================================
   Responsive Design: Telefoner <320px
   ======================================== */

@media screen and (max-width: 320px) {

    main {
        padding: 0 15px;
    }

    body {
        font-size: 14px;
    }

    .banner {
        position: relative;
        width: 100%;
        height: 250px !important;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar {
        padding: 8px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-toggler {
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .navbar-toggler-icon {
        width: 25px;
        height: 2px;
        background-color: #5a1d2b;
        display: block;
        margin: 6px 0;
        transition: 0.4s;
    }


    .btn-member,
    .btn-hc-member {
        font-size: 12px;
        padding: 8px 16px;
    }

    .hc-text-box p,
    .hc-p,
    .hc-text-box-black p {
        font-size: 14px;
    }

    .hc-h3-light,
    .hc-text-box h3,
    .hc-text-box-black h3 {
        font-size: 16px;
    }

    .hc-text-box h2,
    .hc-text-box p {
        padding: 0 10px;
        line-height: 1.5;
    }

    .icon-grid img {
        width: 80px;
    }

    .popup-content {
        padding: 15px 10px;
        font-size: 0.85rem;
    }

        .popup-content h2 {
            font-size: 1.1rem;
        }

        .popup-content input[type="submit"] {
            font-size: 0.85rem;
        }

    .container,
    .swiper-wrapper-container,
    .forman-inner,
    .style-2-box {
        padding: 0 10px;
    }

    .logo-style-1 {
        margin-top: 0 !important;
        padding: 20px 10px;
    }

    .hc-logo img {
        max-width: 200px;
        height: auto;
    }

    .swiper-slide {
        max-height: 200px !important;
    }

    .countdown-overlay h3 {
        font-size: 1.2rem;
    }

    .countdown-overlay {
        padding: 20px 10px;
    }

    .m_container_735 {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        margin: 0 auto;
        border-radius: 3px;
    }


    .partner-boxes {
        max-width: 90%;
        margin:auto;
        padding: 0 5px;
        gap: 1.5rem;
    }

    .partner-box {
        padding: 1rem;
    }

    .partner-box h4 {
        font-size: 1.2rem;
    }

    .partner-box p,
    .partner-box span,
    .partner-box li {
        font-size: 0.95rem;
    }


    .footer-title {
        font-size: 16px;
    }

    .copy-right {
        font-size: 12px;
    }

    footer p {
        font-size: 14px;
    }
}


.swiper-button-prev,
.swiper-button-next {
    display: none;
}


/* ========================================
   Responsive Design: Telefoner <420px
   ======================================== */


@media screen and (max-width: 375px) {
    .hc-h3-light {
        font-size: 16px;
    }

    .container-icon-info {
        width: 100%;
        margin-top: 0px;
    }

    .hc-text-box p,
    .hc-p {
        font-size: 18px;
    }

    #hc-h3 {
        font-size: 20px;
    }
}

@media screen and (max-width: 420px) {
    .popup-content {
        padding: 20px 15px;
    }

        .popup-content h2 {
            font-size: 1.4rem;
        }

        .popup-content p {
            font-size: 0.9rem;
        }

        .popup-content input[type="submit"] {
            font-size: 0.9rem;
            padding: 10px 20px;
        }
}


/* ========================================
   Responsive Design: Telefoner <480px
   ======================================== */

@media screen and (max-width: 480px) {
    /* Navbar justering */
    .navbar {
        flex-direction: column;
        padding: 10px;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .navbar-toggler {
        margin-bottom: 10px;
    }

    /* Logo-fix */
    .logo-style-1 {
        margin-top: 0;

    }

    .hc-logo img {
        max-width: 250px;
    }

    /* Välkomsttext justering */
    #hc-welcome-text {
        margin-top: 0;
        padding: 0 10px;
    }

    .welcome-text-img {
        margin-top: 0;
    }

    /* Icon-grid en kolumn */
    .icon-grid {
        grid-template-columns: 1fr;
    }

    /* Popup */
   /* .popup-content {
        width: 90%;
        padding: 20px 10px;
    }*/

    .popup-content {
        padding: 15px;
        width: 90%;
        font-size: 0.9rem;
    }

        .popup-content input {
            font-size: 0.9rem;
        }

    #bg-pattern-member {
        height: 300px;
        margin-top: -250px;
    }
    
   /* Parnter box */

    .partner-box {
        padding: 1rem;
    }

        .partner-box h4 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        .partner-box p,
        .partner-box li,
        .partner-box span {
            font-size: 0.95rem;
            line-height: 1.4;
        }


    /* Swiper bildspel lägre höjd */
    .swiper-slide {
        max-height: 250px !important;
        /*width: auto;*/
    }

    /* Textstorlek med dynamik */
    .hc-h3-light,
    .hc-text-box h3,
    .hc-text-box-black h3 {
        font-size: 18px;
    }

 
    .hc-text-box p,
    .hc-text-box-black p,
    .hc-p {
        font-size: 16px;
    }

   
  
    /* Knappstorlek */
    .btn-member,
    .btn-hc-member {
        font-size: 14px;
    }


 
    .kontakt-knappar {
        flex-direction: column;
    }

    .kontakt-knappar .btn-member {
        max-width: 30%;
    }

        /* Countdown text */
        .countdown-overlay h3 {
            font-size: 1.5rem;
        }

    .centered-white-box {
        padding: 25px 15px;
    }

        .centered-white-box h2 {
            font-size: 1.25rem;
        }

        .centered-white-box p {
            font-size: 0.95rem;
        }

        
     footer {
         padding: 30px 15px;
     }

    .footer-title {
        font-size: 12px;
        letter-spacing: 1px;
        text-align: center;
        
    }

    .copy-right {
        font-size: 12px;
        text-align: center;
        padding: 5px;
    }

    footer p {
        font-size: 14px;
        line-height: 0.6;
        text-align: center;
    } 

    footer a {
        display: block;
        text-align: center;
        margin-top: 5px;
    }

    .footer-links,
    .white-links,
    .footer-title a {
        text-align: center;
        font-size: 14px;
        display: block;
        margin: 5px 0;
    }

}


/* ============================================
   Responsive Design: Surfplattor (481px-767px)
   ============================================ */

@media screen and (min-width: 375px) {
    .hc-logo {
        margin-top: -77px;
    }

    .bg-green-light {
        background-color: var(--hc-green-light) !important;
        margin-top: -50px;
        padding: 25px;
    }

    .container-icon-info {
        padding: 0 20px;
        width: 100%;
    }
}


@media screen and (min-width: 481px) and (max-width: 767px) {

/* Navbar centrerad */

    .navbar {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        position: sticky;
        top: 0;
        background-color: white;
        z-index: 1000;
        /*height: auto;*/
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }



/* Logo och överlapp-fix */
    .logo-style-1 {
        margin-top: -30px;
    }

    .hc-logo img {
        max-width: 280px;
    }



/* Välkomsttext layout */
    #hc-welcome-text {
        margin-top: 0;
        max-width: 90%;
        padding: 0 10px;
    }

    .welcome-text-img {
        margin-top: 0;
        /*margin-top: -120px;
        z-index: 1;*/
    }

        
    

 /* Icon-Grid i två kolumner */
    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        width: 100%;
    }


/* Swiper bildspel höjd */
    .swiper-slide {
        max-height: 320px !important;
    }


/* Popup Layout */
    .popup-content {
        width: 85%;
        padding: 25px 15px;
    }


/* Textstorlek justering */
    .hc-text-box h3,
    .hc-text-box-black h3 {
        font-size: 20px;
    }

    .hc-text-box p,
    .hc-text-box-black p,
    .hc-p {
        font-size: 16px;
    }

   
/* Knapp-anpassning */
    .btn-member,
    .btn-hc-member {
        font-size: 15px;
        padding: 12px 24px;
    }

    .container,
    .swiper-wrapper-container,
    .container-icon-info,
    .forman-inner,
    .style-2-box,
    .bg-light-grey {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }


    .m_container_735 {
        width: 100% !important;
        padding-left: 20px;
        padding-right: 20px;
        margin: 0 auto;
        border-radius: 3px;
        box-sizing: border-box;
    }

    

    /* Countdown text */
    .countdown-overlay h3 {
        font-size: 2rem;
    }

    /*.countdown-inner-wrapper {
        flex-direction: column;
        gap: 30px;
    }*/

    /*.banner {
        height: 300px;
    }*/

    /*#map {
        width: 100% !important;
    }*/
}



/* ==================================================
   Responsiv design: Mindre laptops (768px–1024px)
   ================================================== */

@media screen and (min-width: 768px) and (max-width: 1024px) {

   

    .navbar {
        padding: 20px 30px;
    }

    .navbar-nav {
        justify-content: center;
        gap: 20px;
    }

    
    .hc-logo img {
        max-width: 350px;
    }

    .logo-style-1 {
        margin-top: -60px;
        
    }


    #hc-welcome-text {
        max-width: 80%;
        margin-top: -400px;
    }

    .welcome-text-img {
        margin-top: -40px;
       
    }


    .icon-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

   

    .div1 img,
    .div2 img,
    .div3 img,
    .div4 img,
    .div5 img,
    .div6 img,
    .div7 img,
    .div8 img,
    .div9 img,
    .div10 img,
    .div11 img {
        width: 70px;
        min-height: 125px;
    }

  
    .swiper-slide {
        max-height: 400px !important;
    }

    .hc-text-box h3,
    .hc-text-box-black h3 {
        font-size: 22px;
    }

    .hc-text-box p,
    .hc-text-box-black p,
    .hc-p {
        font-size: 18px;
    }

 
    .popup-content {
        width: 70%;
        padding: 30px 25px;
    }

    .countdown-overlay h3 {
        font-size: 2.2rem;
    }

    .btn-member,
    .btn-hc-member {
        font-size: 16px;
        padding: 14px 28px;
        margin: 35px auto;
    }

    .partner-item {
        align-items: center;
    }

    #hc-partner-welcome-text {
        margin-top: -135px;
    }

    .partner-boxes {
        grid-template-columns: repeat(2, 1fr);
        height: 100%;
    }

    .partner-boxes-triangle {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "top top"
            "left right";
        justify-items: center;
    }

        .partner-boxes-triangle .top-box {
            grid-area: top;
        }

        .partner-boxes-triangle .bottom-box:nth-child(2) {
            grid-area: left;
        }

        .partner-boxes-triangle .bottom-box:nth-child(3) {
            grid-area: right;
        }


    .forman-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 80%;
        grid-gap: 65px;
        padding: 0 50px;
    }


    #forman-box-white h2 {
        margin: 50px 0;
        font-size: 38px;
    }

    #forman-box-white h3 {
        font-size: 18px;
    }

    
    #bg-pattern-member {
        max-height: 950px;
        margin-top: -845px;
        z-index: -0;
    }

    #container-970-medlem-form {
        position: relative;
        z-index: 1;
    }

    #btn-icon-member {
        margin-bottom: 100px;
    }

    #text-box-trana-idag {
        margin: -90px auto 50px;
        z-index: 8;
    }

    #bottom-banner {
        margin-top: -45px;
    }

    .bg-light-beige {
            padding: 20px 15px;
            margin: 20px 10px; /* lite mindre marginaler */
            border-radius: 4px; /* lite mindre rundning på små skärmar */
            box-shadow: 0 2px 8px rgba(0,0,0,0.06); /* mjukare skugga */
        }
    }



/* ==================================================
   Responsiv design: Större skärmar (min 1025px)
   ================================================== */


@media screen and (min-width: 1025px) {
    .partner-boxes {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .partner-boxes-triangle {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: "left top right";
    }

        .partner-boxes-triangle .top-box {
            grid-area: top;
        }

        .partner-boxes-triangle .bottom-box:nth-child(2) {
            grid-area: left;
        }

        .partner-boxes-triangle .bottom-box:nth-child(3) {
            grid-area: right;
        }
}




/* ====== Fix för horisontell scroll och feljustering på små skärmar ====== */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    max-width: 100%;
}

/* Justering av container och section på små skärmar */
@media (max-width: 460px) {
    .container,
    .newsletter-section,
    .newsletter-wrapper,
    .footer,
    section,
    header,
    nav {
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
        width: 100% !important;
    }
}

/* ====== Extra fix för extremt små skärmar (<290px) ====== */
@media (max-width: 290px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
        max-width: 100%;
    }

    .container,
    .newsletter-section,
    .newsletter-wrapper,
    .footer,
    section,
    header,
    nav {
        padding-left: 10px;
        padding-right: 10px;
        margin-left: auto;
        margin-right: auto;
        width: 100% !important;
    }
}