@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');

:root {
    --color-primary: hsl(50, 85%, 54%);
    --color-secondary: hsl(221, 89%, 67%);
    --color-black: hsl(220, 15%, 22%);
    --color-gray: hsl(220, 14%, 96%);

    --shadow-small: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --ff: 'Inter', sans-serif;
    ;
    --h1: bold 54px/64px var(--ff);
    --h2: bold 36px/36px var(--ff);
    --h3: bold 24px/30px var(--ff);
    --p: 18px/30px var(--ff);
    --links: bold 18px/18px var(--ff);
    --subtext: 12px/20px var(--ff);
    --transition: 0.3s;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    list-style-type: none;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1 {
    color: var(--color-black-100);
    font: var(--h1);
}

h2 {
    color: var(--color-black-100);
    font: var(--h2);
}

h3 {
    color: var(--color-black-100);
    font: var(--h3);
}

p {
    color: var(--color-black-100);
    font: var(--p);
}

a,
button {
    cursor: pointer;
    border: none;
    outline: none;
    user-select: none;
    background: none;
    box-shadow: none;
    text-decoration: none;
}

html {
    font-size: 100%;
    box-sizing: inherit;
    scroll-behavior: smooth;
    height: -webkit-fill-available;
    background: var(--color-gray);
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5;
    height: -webkit-fill-available;
    overflow-x: hidden;
    /* Prevents horizontal scrolling for the entire page */
}

.container {
    max-width: 1560px;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    padding: 0 1.4rem;
    height: 4rem;
    border-radius: 50px;
    background: hsl(50, 90%, 49%);
    color: var(--color-black);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-small);
    transition: var(--transition);
}

.btn:hover {
    background: var(--color-primary);
    box-shadow: var(--shadow-medium);
    transform: scale(1.025);
}

#topBtn {
    display: none;
    position: fixed;
    bottom: 6rem;
    /* Default bottom spacing */
    right: 6rem;
    /* Default right spacing */
    z-index: 99;
    outline: none;
    background-color: var(--color-black);
    border: 3px solid gainsboro;
    border-radius: 20%;
    color: var(--color-primary);
    cursor: pointer;
    padding: 15px;
    transition: var(--transition);
    font-size: 1.2rem;
}

/* Hover Effect */
#topBtn:hover {
    background-color: #32363d;
    border: 7px solid rgb(230, 228, 228);
}

/* ==================== Preloader ==================== */

.preloader {
    pointer-events: all;
    position: fixed;
    z-index: 9999999999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5rem);
    transition: opacity 0.5s ease-in-out;
    width: 100%;
}

.preloader-content {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 5rem;
    padding: 1rem 2rem;
    width: 40rem;
    /* Wider for better spacing */
    max-width: 90%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    gap: 1rem;
    /* Space between elements */
}

.preloader-content img {
    width: 3rem;
}

.preloader-content h3 {
    font-size: 1.2rem;
    white-space: nowrap;
}

.preloader-line {
    width: 100%;
    height: 0.5rem;
    background-color: #f3f4f6;
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
}

.pre-text {
    white-space: nowrap;
    margin-left: 1rem;
    text-align: left;
}

/* ==================== Header ==================== */

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
    :root {
        --normal-font-size: 1rem;
    }
}

/*=============== HEADER & NAV ===============*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: white;
    z-index: 100;
}

.nav {
    position: relative;
    height: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo img {
    width: 50px;
    margin-right: 1rem;
}

.nav__logo h1 {
    font-size: 1.6rem;
    color: var(--color-black);
}

.nav__close,
.nav__toggle {
    display: flex;
    color: var(--color-black);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
    .nav__menu {
        position: fixed;
        left: -100%;
        top: 0;
        background-color: white;
        width: 100%;
        height: 100%;
        padding: 6rem 3.5rem 4.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: left .4s;
    }

    .nav__item {
        transform: translateX(-150px);
        visibility: hidden;
        transition: transform .4s ease-out, visibility .4s;
    }

    .nav__item:nth-child(1) {
        transition-delay: .1s;
    }

    .nav__item:nth-child(2) {
        transition-delay: .2s;
    }

    .nav__item:nth-child(3) {
        transition-delay: .3s;
    }

    .nav__item:nth-child(4) {
        transition-delay: .4s;
    }

    .nav__item:nth-child(5) {
        transition-delay: .5s;
    }
}

.nav__list,
.nav__social {
    display: flex;
}

.nav__list {
    flex-direction: column;
    row-gap: 3rem;
}

.nav__link {
    position: relative;
    color: #323842;
    letter-spacing: 0.1rem;
    font-weight: 550;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: opacity .4s;
}

.nav__link i {
    font-size: 2rem;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility .4s;
}

.nav__link span {
    position: relative;
    transition: margin .4s;
}

.nav__link span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width .4s ease-out;
}

/* Animation link on hover */
.nav__link:hover span {
    margin-left: 2.5rem;
}

.nav__link:hover i {
    opacity: 1;
    visibility: visible;
}

.nav__link:hover span::after {
    width: 100%;
}

/* Sibling fade animation */
.nav__list:has(.nav__link:hover) .nav__link:not(:hover) {
    opacity: .4;
}

.nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.nav__social {
    column-gap: 1rem;
}

.nav__social-link {
    color: var(--color-black);
    font-size: 1.5rem;
    transition: transform .4s;
}

.nav__social-link:hover {
    transform: translateY(-.25rem);
}

/* Show menu */
.show-menu {
    left: 0;
}

/* Animation link when displaying menu */
.show-menu .nav__item {
    visibility: visible;
    transform: translateX(0);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (min-width: 1150px) {
    .nav {
        height: calc(3.5rem + 2rem);
    }

    .nav__toggle,
    .nav__close {
        display: none;
    }

    .nav__link {
        font-size: var(--normal-font-size);
    }

    .nav__link i {
        font-size: 1.5rem;
    }

    .nav__list {
        flex-direction: row;
        column-gap: 3.5rem;
    }

    .nav__menu {
        display: flex;
        align-items: center;
        column-gap: 3.5rem;
    }
}

/* ==================== Hero ==================== */

/* Main container styles */
main {
    padding-top: 11rem;
}

.hero {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.row {
    /* 
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    */

    display: flex;
    flex-wrap: wrap;

    /* 
    margin-top: calc(-1* var(--bs-gutter-y));
    margin-right: calc(-0.5* var(--bs-gutter-x));
    margin-left: calc(-0.5* var(--bs-gutter-x));
   */
}


.hero-top {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.hero-bottom {
    padding-top: 1.5rem;
    margin-bottom: 5rem;
}

.hero-bottom .row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}

/* Div 1 (Title) */
.div1 {
    flex: 0 0 calc(58.3333% - 0.75rem);
    /* Keep consistent width */
}

/* Title section inside div1 */
.main-title {
    display: flex;
    flex-direction: column;
    padding: 4rem 0;
}

.column-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.title-1 h1,
.title-2 h1,
.title-3 h1 {
    font-family: "Outfit", sans-serif;
    color: #323842;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0.075rem;
    color: #333;
    font-size: 6rem;
}

.title-1 svg {
    position: absolute;
    top: 14rem;
    left: 29%;
    transform: translateX(-50%);
    width: 80px;
    height: auto;
}

.title-3 svg {
    position: absolute;
    top: 31rem;
    left: 12%;
    transform: translateX(-50%);
    width: 60px;
    height: auto;
}

.title-1 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-1 p {
    font-size: 14px;
    font-weight: 500;
    color: #8792a4;
    margin-top: 10px;
    margin-left: 3rem;
    line-height: 1.4rem;
    text-align: left;
}

.title-2,
.title-3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-2 img {
    width: 8rem;
    height: auto;
    border-radius: 8.5rem;
    object-fit: cover;
    object-position: center;
    transform: translateY(10%);
}

.title-3 img {
    margin: 0 1rem;
    height: 4.5rem;
    width: 4.5rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    transform: translateY(10%);
}

/* Buttons styling */
.title-4 {
    margin-top: 3rem;
    display: flex;
    gap: 10px;
    width: 100%;
}

/* Div 2 (Hero Image) */
.div2 {
    flex: 0 0 calc(41.6666% - 0.75rem);
    /* Matches div5 width */
}

.hero-img {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-img img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: top center;
}

/* Bottom Section */
.div3,
.div4,
.div5 {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    padding: 2rem 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-large);
}


/* Distribute remaining space between div3 and div4 */
.div3 {
    flex: 0 0 calc(33.3333% - 0.75rem);
    background: var(--color-secondary);
    color: var(--color-gray);
}

.div3 h3 {
    font-size: 28px;
    margin-left: 20px;
}

.div3 i {
    font-size: 24px;
    color: var(--color-primary);
}

.stars {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.div4 {
    flex: 0 0 calc(25% - 0.75rem);
    background: white;
    padding: 3.5rem;
}

.div4 h3 {
    color: var(--color-black);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.div4 .btn-s {
    color: rgb(95, 95, 95);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.075rem;
}

.div4 .btn-s i {
    padding: 0.5rem;
    margin-left: 0.6rem;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 100;
    background-color: var(--color-primary) !important;
    color: var(--color-black);
}

.price-container img {
    filter: invert(100%) brightness(130%);
}

.price-container {
    position: relative;
    width: 100%;
    height: 150px; /* Height of the container */
    overflow: hidden; /* Prevents the image from overflowing the container */
    display: flex;
    justify-content: center; /* Centers the h1 horizontally */
    align-items: center; /* Centers the h1 vertically */
}

.price-container h1 {
    position: relative;
    z-index: 1; /* Ensures the text is above the image */
    margin: 0; /* Removes any margin around the h1 */
    padding: 1rem; /* Optional padding for spacing */
    font-size: 4rem; /* Adjust font size for better readability */
}

.price-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ensures the image covers the container width */
    height: 100%; /* Ensures the image covers the container height */
    object-position: center; /* Centers the image */
    z-index: 0; /* Ensures the image stays behind the text */
}

.div5 {
    position: relative;
    flex: 0 0 calc(41.6666% - 0.75rem);
    background: var(--color-primary);
    color: var(--color-black);
}

.div5-wrapper {
    gap: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.div5 h1 {
    font-size: 40px;
    color: var(--color-black);
}

.div5 h3 {
    margin-bottom: 10px;
}

.div5 p {
    font-size: 14px;
    line-height: 1.2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.sale {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.div5 .btn-s {
    background: var(--color-gray);
    padding: 15px;
    border-radius: 25px;
    color: var(--color-black);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.075rem;
    margin-top: 10px;
    transition: var(--transition);
}

.div5 .btn-s i {
    padding: 0.5rem;
    margin-left: 0.6rem;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 100;
    background-color: var(--color-primary);
    color: var(--color-black);
}

.div5 .btn-s:hover {
    transform: scale(1.03);
}

.sale .btn {
    background: var(--color-gray);
}

.sale .btn i {
    background: v;
}

.title-4 .btn.left i {
    width: 2.4rem;
    height: 2.4rem;
    margin-left: 2rem;
    border-radius: 50%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-gray) !important;
    color: var(--color-black);
}

.title-4 .btn.right {
    background: none;
    transform: none;
    box-shadow: none;
}

.title-4 .btn.right i {
    width: 2.4rem;
    height: 2.4rem;
    margin-right: 1rem;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-secondary) !important;
    color: var(--color-gray);
}

/* ==================== Service ==================== */

.service {
    padding-top: 5rem;
}

.title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Space between elements */
    justify-content: space-between;
    /* Balances spacing */
}

.title h3 {
    color: var(--color-black);
    white-space: nowrap;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    /* Scales with screen size */
    font-weight: 600;
    letter-spacing: 0.01rem;
}

.title b {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    color: rgba(135, 146, 164, 0.4);
    font-weight: 600;
}

.title-dots {
    flex-grow: 1;
    margin: 0 3rem;
    border-bottom: dotted clamp(0.2rem, 0.3vw, 0.4rem) rgba(135, 146, 164, 0.3);
}


.main-service {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 5rem 0;
}

.card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: var(--shadow-large);
    transition: var(--transition);
}

.card:hover {
    transform: scale(1.01);
}

.card:hover .left .btn {
    background: var(--color-primary);
}

.card .left {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 50px;
}

.card .left .btn {
    background: var(--color-gray);
    transform: none;
    box-shadow: none;
    padding: 0 2rem;
    height: 3rem;
}

.card h3 {
    color: var(--color-black);
}

.card .right ul li::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f058";
    margin-right: 10px;
    color: #5A8CF5;
}

.card .right {
    flex: 0 0 auto;
    width: 58%;
}

/* ==================== Additional Service ====================

.main-additional {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 5rem 0;
}

.box {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-large);
    transition: var(--transition);
}

.box:hover {
    transform: scale(1.01);
}

.box:hover .bottom .btn {
    background: var(--color-primary);
}

.box .top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.box .top img {
    width: 60px;
}

.box .bottom h3 {
    color: var(--color-black);
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.box .bottom .btn {
    background: var(--color-gray);
    transform: none;
    box-shadow: none;
    padding: 0 2rem;
    height: 3rem;
    width: 10rem;
}
*/

/* ==================== About ==================== */

.main-about {
    padding: 5rem 0;
}

.about-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    row-gap: 1rem;
}

.about-card {
    flex: 0 0 calc(33.333% - 1.5rem);
    height: 450px;
    border-radius: 5px;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.about-card .left img {
    position: relative;
    right: 30px;
    opacity: 0.05;
    width: 150px;
    border-radius: 5px;
}

.about-card:nth-child(2) {
    background: var(--color-black);
    display: flex;
    align-items: center;
    padding: 3rem;
}

.about-card:nth-child(2) .right {
    display: flex;
    flex-direction: column;
}

.about-card .right i {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 4rem;
}

.about-card:nth-child(2) .right h1 {
    color: #f3f4f6;
    margin-bottom: 20px;
}

.about-card:nth-child(2) .right span {
    color: var(--color-primary);
}

.about-card:nth-child(2) h1 {
    font-size: 2.5rem;
    line-height: 3rem;
}

.about-card:nth-child(2) p {
    color: var(--color-gray);
    opacity: 0.6;
    font-size: 1.01rem;
    line-height: 1.4rem;
    margin-bottom: 10px;
}

.about-card:nth-child(4) {
    background: var(--color-secondary);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-card:nth-child(4) h3 {
    color: white;
    font-weight: 600;
    font-size: 2rem;
    line-height: 2.3rem;
}

.about-card:nth-child(4) p {
    color: #f3f4f6;
    opacity: 0.7;
    font-size: 1.05rem;
    line-height: 1.4rem;
}

.about-card:nth-child(6) {
    background: var(--color-primary);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.about-card:nth-child(6) h3 {
    color: var(--color-black);
    font-weight: 600;
    font-size: 2rem;
    line-height: 2.3rem;
}

.about-card:nth-child(6) p {
    color: var(--color-black);
    font-size: 1.01rem;
    line-height: 1.4rem;
}

/* ==================== Voice ==================== */

.voice-main {
    padding: 5rem 0;
}

h2.title {
    text-align: center;
    font-size: 30px;
    margin: 32px 0;
    text-transform: uppercase;
    font-weight: 900;
    position: relative;
}

h2.title::after {
    position: absolute;
    content: "";
    width: 80px;
    height: 2px;
    background: #1a1a1a;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonials-container {
    display: flex;
    gap: 32px;
    margin-inline: auto;
    height: 500px;
    width: 100%;
    padding: 24px;
}

.column {
    height: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 15%,
            black 85%,
            transparent 100%);
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.column:hover .testimonials {
    animation-play-state: paused;
}

.card {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card .profile img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cove;
}

.card .profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.card .profile .name {
    font-weight: 600;
    color: #1a1a1a;
}

.card .profile .role {
    font-size: 14px;
    color: #666;
}

.card .content {
    color: #444;
    line-height: 1.5;
}

.column:nth-child(1) .testimonials {
    animation-name: scrollUp;
    animation-duration: 23s;
}

.column:nth-child(2) .testimonials {
    animation-name: scrollDown;
    animation-duration: 50s;
}

.column:nth-child(3) .testimonials {
    animation-name: scrollUp;
    animation-duration: 30s;
}

@keyframes scrollUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    from {
        transform: translateY(-50%);
    }

    to {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .testimonials-container {
        gap: 16px;
        padding: 16px;
    }

    .column:nth-child(3) {
        display: none;
    }

    .column:hover .testimonials {
        animation-play-state: running;
    }
}

@media (max-width: 640px) {
    .column {
        display: none;
    }

    .column:first-child {
        display: block;
    }
}

/* ==================== Team ==================== */

.main-team {
    padding: 5rem 0;
}

.team-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.team-wrapper {
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    width: 16%;
}

.team-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.team-details {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgba(50, 56, 66, 0.95);
    width: 80%;
    height: auto;
    padding: 5px;
    border-radius: 5px;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.team-wrapper:hover .team-details {
    opacity: 1;
    transform: translateX(-50%) translateY(-1rem);
}

.team-details h3,
.team-details p {
    position: relative;
    z-index: 1;
}

.team-details h3 {
    color: white;
    font-size: 14px;
}

.team-details p {
    color: #8792a4;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.team-add {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    height: 230px;
    flex-wrap: wrap;
    /* Allow the content to wrap on smaller screens */
}

.add-content {
    height: 100%;
    padding: 3rem;
}

/* Left section styles */
.add-content.left {
    flex: 0 0 auto;
    width: calc(58.33333333% - 20px);
    background: var(--color-primary);
    border-radius: 10px;
    margin-right: 20px;
}

/* Right section styles */
.add-content.right {
    flex: 0 0 auto;
    width: calc(41.66666667%);
    background: white;
    border-radius: 10px;
}

/* Text and button styles for the left section */
.add-details1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-details1 h3 {
    font-size: 1.1rem;
    color: var(--color-black);
}

.add-details1 .btn {
    background: var(--color-black);
    color: white;
    padding: 0 1.2rem;
}

.add-details1 .btn i {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-black);
    background: var(--color-primary);
    padding: 5px;
    width: 50px;
    border-radius: 50%;
    margin-left: 10px;
    font-size: 18px;
}

/* Text and button styles for the right section */
.add-details2 {
    display: flex;
    flex-direction: column;
    align-items: self-start;
}

.add-details2 h3 {
    font-size: 1rem;
    color: var(--color-black);
}

.add-details2 .btn {
    color: rgb(95, 95, 95);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.075rem;
    padding: 0;
    background: none;
    box-shadow: none;
    transition: none;
    transform: none;
}

.add-details2 .btn i {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-black);
    background: var(--color-gray);
    padding: 5px;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    margin-left: 10px;
    font-size: 18px;
}

/* ==================== Abonnemang ==================== */

.main-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    flex-wrap: wrap;
}

.sub-content {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: 1rem;
}

.sub-content.left {
    flex: 0 0 auto;
    width: calc(50% - 15px);
    margin-right: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 6rem;
    color: white;
    z-index: 2;
}

.sub-content.right {
    flex: 0 0 auto;
    width: calc(50%);
}

.sub-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    backdrop-filter: blur(3rem);
}

.sub-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(1.8rem);
}

.sub-bg::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(24, 26, 31, 0.75);
    position: absolute;
    top: 0;
    left: 0;
}

.sub-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.sub-top i {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.sub-top p {
    text-align: start;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.3rem;
    color: #8792a4;
}

.sub-title h1 {
    text-align: start;
    margin-bottom: 1.5rem;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.sub-title p {
    text-align: start;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #8792a4;
    margin-bottom: 1.5rem;
}

.sub-btn {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.sub-btn .btn.left {
    background: var(--color-primary);
    color: var(--color-black);
    padding: 1rem 1rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.sub-btn .btn.left i {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary);
    background: var(--color-black);
    padding: 5px;
    height: 45px;
    width: 45px;
    border-radius: 50%;
    margin-left: 10px;
    font-size: 16px;
}

.sub-btn .btn.right {
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.075rem;
    padding: 0;
    background: none;
    box-shadow: none;
}

.sub-btn .btn.right i {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-black);
    background: var(--color-primary);
    padding: 5px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    margin-left: 10px;
    font-size: 16px;
}

.sub-content.right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== FAQ ==================== */

.main-faq {
    padding: 5rem 0;
}

.faq-content {
    flex: 0 0 auto;
    width: calc(50% - 15px);
    margin-right: 15px;
}

.faq-box {
    margin-bottom: 1rem;
}

.faq-box button {
    text-align: left;
    background-color: #fff;
    width: 100%;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1.8rem;
    border-radius: 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    color: #323842;
    transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.faq-box button.active {
    margin-bottom: 1rem;
    /* Keep margin only when open */
}

.faq-box .faq-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(24, 26, 31, 0.1);
    padding: 10px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: var(--color-gray);
    transition: transform 0.3s ease-in-out;
    font-size: 20px;
    font-weight: bold;
}

.faq-panel {
    background-color: #5A8CF5;
    max-height: 0;
    overflow: hidden;
    border-radius: 1rem;
    transition: max-height 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.faq-text {
    font-size: 0.9rem;
    line-height: 1.2rem;
    color: #fff;
    padding: 2rem;
    margin: 0;
}

.faq-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.faq-info {
    flex: 0 0 auto;
    width: 50%;
}

.faq-info p {
    font-size: 0.9rem;
    line-height: 1.6rem;
    color: #8792a4;
}

.faq-info.right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.faq-btn .btn {
    background: var(--color-gray);
    width: 210px;
}

.faq-btn .btn {
    background-color: #e4e7eb !important;
    color: var(--color-black);
    padding: 1.2rem 0.6rem 1.2rem 1.2rem;
}

.faq-btn .btn i {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-black);
    background: white;
    padding: 5px;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin-left: 30px;
    font-size: 18px;
}

/* ==================== Blog ==================== */

.blog-content {
    padding: 5rem 0;
    display: flex;
    justify-content: center;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.blog-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.blog-box-left {
    width: 50%;
    position: relative;
}

.blog-box-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-box-left ul {
    position: absolute;
    top: 20px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    list-style: none;
    display: flex;
    gap: 10px;
}

.blog-box-left ul li {
    font-size: 0.9rem;
}

.blog-box-right {
    width: 60%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blox-box-title h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-black);
}

.blox-box-text p {
    font-size: 0.9rem;
    color: #555;
}

.blox-box-name p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.blox-box-name span:first-child {
    padding: 5px;
    border-radius: 25px;
    background: var(--color-gray);
}

.blox-box-name span:last-child {
    color: var(--color-secondary);
}

/* ==================== Footer ==================== */

footer {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-image: url('/assets/footer-bg.jpg');
    background-position: center;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(1rem);
    z-index: 0;
}

.footer-parent {
    z-index: 1;
    position: relative;

    width: 100%;
    height: auto;
    padding: 5rem 0;
}

.footer1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 8rem;
    border-bottom: dotted 0.2rem rgba(135, 146, 164, 0.3);
    min-height: auto;
}

.footer-news {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 60%;
}

.footer-links {
    display: flex;
    align-items: flex-start;
    flex: 0 0 auto;
    width: 40%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.footer-logo h1 {
    color: white;
    font-size: 2rem;
}

.footer-logo img {
    width: 70px;
}

.footer-sub p {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #8792a4;
}

.input-group {
    width: 40%;
}

.input-group input {
    border: solid 0.1rem rgba(135, 146, 164, 0.3);
    width: 100%;
    height: 3.5rem;
    padding: 0 2rem;
    color: #f3f4f6;
    background: var(--color-black);
    border-radius: 7rem 0 0 7rem;
}

.input:focus,
.input input:valid {
    outline: none;
    background: var(--color-black);
}

.input-group button {
    border: none;
    height: 3.5rem;
    border-radius: 0 7rem 7rem 0;
    position: absolute;
    color: #323842 !important;
    padding: 0 1.3rem 0 1.2rem;
    font-size: 2rem;
    cursor: pointer;
    background: var(--color-primary);
}

.footer-link.left,
.footer-link.right {
    flex: 0 0 auto;
    width: 50%;
}


.footer-link.left a {
    color: white;
    font-weight: 600;
    font-size: 1.3rem;
    transition: var(--transition);
}

.footer-link.left a:hover {
    color: var(--color-primary);
}

.footer-link.left li {
    margin-bottom: 0.8rem;
}

.footer-link.right a {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.09rem;
    color: #8792a4;
    transition: var(--transition);
}

.footer-link.right a:hover {
    color: white;
}

.footer-link.right li {
    margin-bottom: 0.4rem;
}

.footer2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 4rem;
    border-bottom: dotted 0.2rem rgba(135, 146, 164, 0.3);
}

.footer-social {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 60%;
}

.social ul {
    display: flex;
}

.social.top li {
    color: #f3f4f6;
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.social.top li:hover {
    color: var(--color-primary);
}

.social.bottom a {
    color: #8792a4;
    font-size: 0.8rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.social.bottom a:hover {
    color: white;
}

.footer-address {
    display: flex;
    flex: 0 0 auto;
    width: 40%;
    justify-content: flex-end;
}

.footer-location.left,
.footer-location.right {
    flex: 0 0 auto;
    width: 50%;
}

.footer-location h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.6rem;
}

.footer-location p {
    font-size: 0.9rem;
    line-height: 1.2rem;
    color: #8792a4;
    margin-bottom: 0.6rem;
}

.footer-location a {
    font-size: 0.8rem;
    color: var(--color-primary);
}

.footer-copy {
    padding: 4rem 0;
    display: flex;
    justify-content: space-between;
}

.footer-copy p {
    font-size: 0.8rem;
    color: #8792a4;
}

.footer-copy span {
    color: var(--color-primary);
}

/* ======================================== Page-Subscription ======================================== */

/* ==================== Sub-Container ==================== */

.sub-container {
    padding-top: 16rem;
    padding-bottom: 10rem;
}

.sub-parent {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* Allow content to wrap on smaller screens */
}

.sub-box1 {
    flex: 1 1 60%;
    /* Take 60% width on large screens */
    margin-bottom: 2rem;
    /* Add space between sections */
}

.sub-box2 {
    flex: 1 1 35%;
    /* Take 35% width on large screens */
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
    /* Add space between sections */
}

.sub-box2 {
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

.sub-box-top ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.sub-box-top ul li::after {
    margin: 0 0.6rem;
    font-size: 0.9rem;
    content: "/";
}

.sub-box-top ul li:last-child::after {
    content: "";
    margin: 0;
}

.sub-box-top a {
    font-size: 0.9rem;
    color: #323842;
}

.sub-box-top a:hover {
    color: var(--color-secondary);
}

.sub-box-top li:last-child a {
    pointer-events: none;
    color: #8792a4;
}

.sub-box3 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.scroll-down {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scroll-down i {
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    color: var(--color-primary);
    animation: bounce 1.5s infinite;
}

.scroll-text {
    position: absolute;
    font-size: 1rem;
    letter-spacing: 0.5rem;
    color: var(--color-black);
    font-weight: bold;
    top: -7rem;
    transform: rotate(90deg);
    white-space: nowrap;
    text-transform: uppercase;
}

/* Bounce animation */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
        /* Start and end at normal position */
    }

    50% {
        transform: translateY(-10px);
        /* Move up at 50% of the animation */
    }
}



/* ==================== Info ==================== */

.info-content {
    padding: 5rem 0;
}

.info-parent {
    display: flex;
    align-items: center;
    align-items: stretch;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.info-box {
    position: relative;
    flex: 1;
    width: calc(33.333% - 1rem);
    background: white;
    padding: 2rem;
    border-radius: 1rem;
}

.info-box::after {
    content: "";
    width: 2rem;
    height: 1rem;
    background-color: white;
    position: absolute;
    top: 6.2rem;
    right: -2rem;
}

.info-box:nth-last-child(1)::after {
    display: none;
}

.info-box h1 {
    color: #5A8CF5;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-box h3 {
    color: var(--color-black);
    font-size: 1.6rem;
    margin-bottom: 1.6rem;
}

.info-box p {
    font-size: 1rem;
}

/* ==================== Abonnemang ==================== */

.abonnemang-main {
    padding: 5rem 0;
}

.abonnemang-parent {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.abonnemang-box {
    position: relative;
    flex: 1;
    width: calc(50% - 1rem);
    background: white;
    padding: 4rem;
    border-radius: 1rem;
}

.abonnemang-title h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.abonnemang-under p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--color-black);
}

.abonnemang-list h3 {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--color-black);
}

.abonnemang-list ul {
    margin-bottom: 2rem;
}

.abonnemang-list ul li {
    padding: 1rem;
    color: var(--color-black);
}

.abonnemang-list ul p {
    font-size: 1rem;
}

.abonnemang-list ul li:nth-child(odd) {
    background: var(--color-gray);
}

.abonnemang-price h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--color-secondary);
}

.abonnemang-price span {
    font-size: 1.4rem;
    margin-left: -1rem;
}

.abonnemang-text p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--color-black);
}

.abonnemang-btn {
    width: 50%;
}

/* ==================== Price ==================== */

.price-main {
    padding: 5rem 0;
}

.price-parent {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: white;
    border-radius: 15px;
}

.price-box {
    position: relative;
    flex: 1;
    width: 50%;
    padding: 5rem;
}

.price-title h3 {
    margin-bottom: 2rem;
    color: var(--color-black);
}

.price-price h3 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-black);
}

.price-under p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--color-black);
}

.price-list ul {
    margin-bottom: 3rem;
}

.price-list li {
    display: flex;
    justify-content: space-between;
}

.price-list p {
    font-size: 1rem;
}

.price-list ul li {
    padding: 1rem;
    color: var(--color-black);
}

.price-list ul li:nth-child(odd) {
    background: var(--color-gray);
}

.price-border {
    border-top: 1px solid var(--color-secondary);
    width: 11rem;
    margin-bottom: 1rem;
}

.price-text span {
    color: var(--color-secondary);
}

.price-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

/* ==================== Abonnemang ==================== */

.result-content {
    padding: 5rem 0;
}

.result .title-dots {
    margin: 0;
}

/* ==================== Add-on ==================== */

.addon-main {
    padding: 5rem 0;
}

.addon-parent {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: white;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.addon-box {
    position: relative;
    flex: 1;
    width: 50%;
    padding: 5rem;
}

.addon-title h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.addon-under p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--color-black);
}

.addon-list ul {
    margin-bottom: 3rem;
}

.addon-list li {
    display: flex;
    justify-content: space-between;
}

.addon-list p {
    font-size: 1rem;
}

.addon-list ul li {
    padding: 1rem;
    color: var(--color-black);
}

.addon-list ul li:nth-child(odd) {
    background: var(--color-gray);
}

.addon-box:not(:last-child)::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 50%;
    background: var(--color-secondary);
    right: 0;
    top: 6rem;
}

.addon-main .faq-btn .btn {
    padding: 1rem;
    width: 100%;
}

/* ======================================== Page-Service ======================================== */

/* ==================== Why-us ==================== */

.why-main {
    padding-top: 5rem;
}

.why-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5rem 8rem;
    margin-bottom: 5rem;
    border-radius: 1rem;
    background: white;
    flex-wrap: wrap;
    /* Allows wrapping of the .why-card elements when necessary */
}

.why-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 300px;
    height: 200px;
    margin-bottom: 2rem;
    /* Adds space between stacked cards */
}

.why-card img {
    width: 80px;
    margin-bottom: 30px;
}

.why-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

/* ==================== Process ==================== */

.process-content {
    padding: 5rem 0;
}

.process-parent {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    /* ← this is the magic! */
}

.process-box {
    flex: 0 0 auto;
    width: calc(25% - 20px);
    margin-right: 20px;
    padding: 1.2rem 2rem;
    min-height: 300px;
    /* or any value that fits your content */
    border-radius: 10px;
    background: white;
    position: relative;
}

.process-box:last-child {
    margin-right: 0;
    /* Removes margin from the last item */
}

.process-box::after {
    content: "";
    width: 2rem;
    height: 1rem;
    background-color: white;
    position: absolute;
    top: 6.2rem;
    right: -2rem;
}

.process-box:nth-last-child(1)::after {
    display: none;
}

.process-box h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bolder;
    color: var(--color-secondary);
}

.process-box h3 {
    font-weight: 700;
    letter-spacing: -0.1rem;
    margin-bottom: 0.6rem;
    color: var(--color-black);
}

.process-box p {
    font-size: 1rem;
}

/* ==================== Special-sub ==================== */

.special.sub .main-sub {
    padding: 0;
}

.special.sub .title {
    padding-bottom: 3rem;
}

.special.sub .hero-bottom {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

/* ======================================== Page-Contact ======================================== */

/* ==================== Contact ==================== */

.contact-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 5rem 0;
}

.contact-box {
    padding: 3rem;
    border-radius: 1rem;
    background: white;
    width: 100%;
}

/* Grid Layout for Form */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.half-width-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.full-width {
    grid-column: span 2;
}

/* Floating Label Styles */
.form-group {
    position: relative;
}

.contact-box input,
.contact-box select,
.contact-box textarea {
    width: 100%;
    height: 4rem;
    padding: 12px 2rem 12px 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    appearance: none;
}

.form-group.form-text label {
    top: 20px;
    left: 16px;
}

.form-group.form-text i {
    top: 20px;
}

.form-text textarea {
    height: 12rem;
}

.form-text textarea {
    resize: vertical;
    overflow: auto;
}

.contact-box input:focus,
.contact-box select:focus,
.contact-box textarea:focus {
    border-color: var(--color-secondary);
    outline: none;
    box-shadow: 0 0 5px rgba(33, 122, 255, 0.5);
}

.contact-box label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #aaa;
    transition: 0.3s;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
}

.contact-box input:focus+label,
.contact-box input:not(:placeholder-shown)+label,
.contact-box select:focus+label,
.contact-box select:not(:placeholder-shown)+label,
.contact-box textarea:focus+label,
.contact-box textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 16px;
    font-size: 12px;
    color: var(--color-secondary);
}

.contact-box select {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23999" d="M10 15l5-5H5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.contact-box select::-ms-expand {
    display: none;
}

.contact-box select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-group {
    display: flex;
    gap: 50px;
}

.btn-group p {
    font-size: 0.9rem;
    line-height: 1.6rem;
    color: #8792a4;
}

.contact-box button {
    background: var(--color-primary);
    color: var(--color-black);
    border: none;
    padding: 12px;
    width: 50%;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.1rem;
    letter-spacing: 0.05rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: var(--transition);
}

.contact-box button:hover {
    transform: scale(1.01);
}

/* Icon Styling */
.form-group i {
    font-size: 18px;
    color: #aaa;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.form-group:hover i {
    color: var(--color-secondary);
}

.contact-box input:focus+label+i,
.contact-box textarea:focus+label+i {
    color: var(--color-secondary);
}

/* Flex styling for form group (input, label, icon) */
.form-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group input {
    padding-right: 40px;
}

/* ===== Contact-price ===== */
.contact-price-title {
    border-bottom: 1px solid var(--color-black);
    margin-bottom: 1.5rem;
}

.contact-price-title h3 {
    color: var(--color-black);
    margin-bottom: 1.5rem;
}

.contact-price ul {
    margin-bottom: 2rem;
}

.contact-price ul li {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    color: var(--color-black);
}

.contact-price span {
    color: var(--color-secondary);
}

.contact-price ul p {
    font-size: 1rem;
}

.contact-price ul li:nth-child(odd) {
    background: var(--color-gray);
}

.contact-price-text-border {
    border-top: 1px solid var(--color-black);
    width: 11rem;
    margin-bottom: 1rem;
}

.contact-price-info ul {
    display: flex;
}

.contact-price-info ul p {
    font-size: 1rem;
}

.contact-price-info ul li {
    padding-right: 30px;
    margin-bottom: 1rem;
    color: var(--color-black);
}

/* ==================== Special-Why ==================== */

.special.why .why-main {
    padding-bottom: 5rem;
}

/* ======================================== About-page ======================================== */

/* ==================== Story ==================== */

.story-main {
    padding: 5rem 0;
}

.story-content {
    display: flex;
    align-items: flex-start;
}

.story-box:nth-last-child(2) {
    margin-left: 0;
}

.story-box p {
    padding: 3rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.story-box p:last-child {
    margin-bottom: 0;
}

.story-box p:nth-child(1) {
    color: var(--color-gray);
    background: var(--color-black);
}

.story-box p:nth-child(2) {
    background: var(--color-secondary);
    color: var(--color-gray);
}

.story-box p:nth-child(3) {
    background: var(--color-primary);
}

.story-img {
    height: 100%;
}


/* ======================================== Page-Integritetspolicy och Avtalsvillkor ======================================== */

.sub-container.avtal {
    position: relative;
    background-image: url("/assets/policy-bg2.webp");
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

.sub-container.avtal.second {
    background-image: url("/assets/policy-bg1.webp");
}

.sub-container.avtal::before {
    content: "";
    position: absolute; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}



.title-1.avtal h1 {
    color: white;
    z-index: 2;
}

.sub-box-top.avtal {
    z-index: 2;
}

.sub-box-top.avtal li:nth-child(1) a {
    color: white;
}

.policy-content {
    width: 1400px;
    margin: 0 auto;
    margin-bottom: 5rem;
    background: white;
    padding: 5rem;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.policy-text {
    margin-bottom: 2rem;
}

.policy-text p {
    font-size: 1rem;
}

.font-semibold {
    font-weight: 600;
}

/* Media Queries for Responsiveness */

/* Tablet screens (max-width: 768px) */
@media (max-width: 768px) {
    .policy-content {
        width: 90%; /* Makes the container width 90% of the screen */
        padding: 3rem; /* Reduces padding on smaller screens */
    }

    .policy-text {
        margin-bottom: 1.5rem; /* Adjusts bottom margin for text */
    }
}

/* Mobile screens (max-width: 480px) */
@media (max-width: 480px) {
    .policy-content {
        width: 95%; /* Makes the container width 95% of the screen */
        padding: 2rem; /* Further reduces padding on mobile */
        margin-bottom: 3rem; /* Reduces bottom margin */
    }

    .policy-text {
        margin-bottom: 1rem; /* Further adjusts margin for text */
    }

    .font-semibold {
        font-size: 1.1rem; /* Adjust font size for mobile */
    }
}


.insta-content {
    padding: 5rem 0;
}