/* =================== Global Styles =================== */

/* General Reset and Box Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #12111F; /* Mörk bakgrund */
        color: #ffffff; /* Ljusa texter */
    }

    .navbar {
        background-color: rgba(18, 17, 31, 0.95); /* Anpassad mörk navigering */
    }

    /* Justera andra element för mörkt tema här */
}


img {
    -webkit-user-drag: none;
    user-select: none;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0); /* Transparent */
    cursor: default;
}

.image-container {
    width: 300px; /* Bredd på din bild */
    height: 200px; /* Höjd på din bild */
    background-image: url('path/to/your/image.jpg');
    background-size: cover;
    background-position: center;
}

/* Modal stil */
.modal {
    display: none; /* Dölj modalen som standard */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

/* Modal innehåll (bilden) */
.modal-content {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
}

/* Stäng-knappen */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


* {
    margin: 0;
    padding: 0;
}

body, html {
    font-family: 'Roboto', sans-serif;
    background-color: #12111F;
    color: #000;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Dölj horisontell scroll */
    overflow-y: auto; /* Tillåt vertikal scroll */
    text-align: center;
    scroll-behavior: smooth;
    padding-top: 70px; 
}


/* =================== Section Spacing & Container =================== */

/* Maxbredd och centrering för innehåll */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: hidden;
}

/* White spacing för sektioner */
section {
    margin-bottom: 2rem;
    padding-bottom: 50px;
}

/* Gemensam stil för alla specifika sektioner */
.custom-section {
    margin-bottom: 80px; /* Lägg till önskat mellanrum mellan sektionerna */
    padding-top: 80px;   /* Eventuell extra padding för att ge sektionerna mer luft */
}


.experience, .values {
    margin-top: 10px;
    width: 100%; /* Säkerställ att sektionen alltid är 100% bred */
    background-image: url('bilder/sectionbackground.webp'); /* Ange sökvägen till din bild */
    background-size: 50%; /* Gör bakgrundsbilden 50% mindre */
    background-position: center; /* Centrerar bakgrundsbilden */
    background-repeat: no-repeat; /* Hindrar bakgrundsbilden från att upprepas */
}

/* =================== Text Styling =================== */

h2 {
    color: #ffffff;
}

h3 {
    color: #777777;
}

p {
    font-size: 18px;
}

/* =================== Animation for Sections =================== */

.section-to-animate {
    opacity: 0;
    transform: translateY(20px); /* Ger en liten uppåtgående rörelse */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* Justera för att inkludera transform */
}

.section-to-animate.animate {
    opacity: 1;
    transform: translateY(0); /* Återställ till ursprungsläget */
}


/* =================== Title Styling for Sections =================== */

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(145, 71, 255, 0.6)), 
                url('gif/background.gif') center/cover no-repeat;
    background-size: 800px 600px;
    background-position: 50% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1;
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
    display: inline-block;
    position: relative;
}

.title-container {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.title-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    opacity: 0.5;
    z-index: -1;
}

#main-content {
    position: relative;
    z-index: 1;
    opacity: 1;
    visibility: hidden; /* Lägg till detta */
}

img[loading="lazy"] {
    /* Om bilder inte visas korrekt, lämna detta tomt */
}


/* =================== Intro Animation Styles =================== */

#intro-animation {
    background-color: #12111F;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: background-color 2.5s ease;
    overflow: hidden;
    z-index: 100; /* Högre z-index under animationen */
}

#intro-animation.roll-up {
    animation: rollUp 2s ease forwards;
    z-index: -1; /* Detta gör att innehållet syns under animationen */
}

#main-content.show {
    visibility: visible; /* Gör huvudinnehållet synligt när det är klart */
}


.word {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 6.5rem;
    font-weight: 900;
    font-family: 'Arial Black', sans-serif;
    background: linear-gradient(45deg, #896D97, #9E7AB0, #B581CD, #BF8DD0);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: wordOpacity 0.5s ease-in-out forwards, complexGradientShift 0.7s linear infinite;
    transition: opacity 0.5s ease;
}

@keyframes wordOpacity {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes complexGradientShift {
    0% { background-position: 0% 50%; background-color: #896D97; }
    100% { background-position: 0% 50%; background-color: #BF8DD0; }
}

#word1, #word2, #word3, #word4, #word5 {
    position: absolute;
}

@keyframes showWord {
    0% { opacity: 0; transform: scale(0.4); }
    20% { opacity: 1; transform: scale(0.8); }
    80% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(1.6); }
}

#word1 { animation: showWord 0.375s ease-in-out forwards; }
#word2 { animation: showWord 0.375s ease-in-out 0.40s forwards; }
#word3 { animation: showWord 0.575s ease-in-out 0.80s forwards; }
#word4 { animation: showWord 0.875s ease-in-out 1.60s forwards; }
#word5 { animation: showWord 1.375s ease-in-out 2.40s forwards; }

/* For mobile-specific handling */
@media (max-width: 768px) {
    .word {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .word {
        font-size: 2rem;
    }
}

/* =================== Social Media Icons =================== */

.social-media-icons {
    list-style: none;
    display: flex;
    gpa: -10px;
}

.social-media-icons a {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social-media-icons a img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.social-media-icons a:hover {
    background-color: rgba(145, 71, 255, 0.8);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(145, 71, 255, 0.5);
}

/* =================== Intro Bubble Styles =================== */

/* Popup Chat Bubble */
.chat-bubble {
    position: fixed;
    bottom: 80px;
    right: 20px;
    min-width: 120px;
    min-height: 170px;
    max-width: 350px;
    max-height: 350px;
    padding: 5px;
    background: #1E1E2E; /* Mörk bakgrundsfärg */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Mjuk, ljus kantlinje */
    border-radius: 10px; /* Rundade hörn */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3), 0 0 15px rgba(0, 0, 0, 0.6); /* Svag vit skugga och en mörkare skugga */
    z-index: 1000;
    transform: scale(0);
    overflow: auto;
    text-align: center;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Arial', sans-serif; /* Modern sans-serif-teckensnitt */
    color: #E0E0E0; /* Ljusare textfärg */
    font-weight: normal;
}


/* Bubble Text */
#bubble-text {
    font-size: 18px; /* Justerat textstorleken */
    margin: 0;
    padding: 0;
    max-width: 80%;
    color: #E0E0E0; /* Enkel textfärg för bättre läsbarhet */
}

/* Feedback Link */
.feedback-link {
    display: block;
    color: #B399FF; /* Ljuslila färg */
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    font-size: 14px;
}

/* Close Button */
#close-popup {
    background-color: rgba(255, 255, 255, 0.1); /* Genomskinlig vit bakgrund */
    color: #E0E0E0; /* Ljus textfärg */
    border: 1px solid #444; /* Mörk kantlinje */
    padding: 5px 10px;
    border-radius: 8px; /* Rundade hörn */
    cursor: pointer;
    font-size: 14px;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: background-color 0.3s ease; /* Smooth hover-effekt */
}

/* Hover-effekt för stäng-knappen */
#close-popup:hover {
    background-color: #444; /* Mörkare bakgrund vid hover */
}

/* klass som aktiveras av JS */
.chat-bubble.is-visible {
  display: flex;
  animation: popup-animation 0.5s forwards;
}

/* Popup Animation */
@keyframes popup-animation {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Media Query för mindre skärmar */
@media (max-width: 600px) {
    .chat-bubble {
        max-width: 150px;
        max-height: 150px;
        padding: 10px;
    }

    #bubble-text {
        font-size: 14px; /* Justerat fontstorlek för mindre skärmar */
    }

    .feedback-link {
        font-size: 12px;
    }

    #close-popup {
        padding: 3px 6px;
        font-size: 12px;
    }
}

/* =================== Header =================== */

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem; /* Minskar padding på vänster och höger sida */
    background: rgba(18, 17, 31, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    z-index: 1000;
    transition: transform 0.3s ease, border-radius 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0 0 15px 15px;
    box-shadow: none;
}

/* Logo Styling */
.navbar .logo img {
    height: 40px;
    padding-left: 0; /* Tar bort padding till vänster */
    padding-right: 0; /* Tar bort padding till höger */
}

.navbar.scrolled-up {
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.navbar.hidden {
    transform: translate(-50%, -100%);
}

.navbar-left,
.navbar-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-right {
    margin-left: auto;
}

.navbar-links {
    list-style: none;
    display: flex;
    gap: 10px;
}

.navbar-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.navbar-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-icons {
    display: none;
    list-style: none;
    gap: 20px;
}

/* Bottom Navbar Styling */
.bottom-navbar {
    display: none; /* Dölj från början, visa bara på mobila enheter */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 17, 31, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    border-radius: 15px 15px 0 0;
}

.bottom-navbar-icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bottom-navbar-icons li {
    text-align: center;
}

.bottom-navbar-icons a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-navbar-icons .icon {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

/* Show bottom navbar on mobile devices */
@media (max-width: 768px) {
    .bottom-navbar {
        display: block;
    }
    
    /* Hide the original icons in the top navbar */
    .navbar-icons {
        display: none;
    }
}

/* =================== Language Menu =================== */


.language-menu {
    position: relative;
    display: inline-block;
    margin-left: -20px;
    margin-top: 5px;
}

.language-selector {
    cursor: pointer;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    background-color: rgba(18, 17, 31, 0.9);
    border-radius: 25px;
    padding: 5px;
    width: 40px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-left: -5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.language-icon-wrapper {
    display: inline-flex; /* Ensures the child elements align properly */
    justify-content: center; /* Center the icon */
    align-items: center; /* Center the icon */
    width: 50px; /* Adjust as needed */
    height: 50px; /* Adjust as needed */
    margin: 5px; /* Add spacing between icons */
    border-radius: 50%; /* Keeps the circular appearance */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* Pointer to indicate it's clickable */
}

.language-icon-wrapper:hover {
    background-color: rgba(145, 71, 255, 0.8);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(145, 71, 255, 0.5);
}

.language-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Updated transition */
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px;
    z-index: 100;
}

.language-icon:hover {
    background-color: rgba(145, 71, 255, 0.8);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(145, 71, 255, 0.5);
}

#current-language-icon {
    width: 30px;
    height: 30px;
    display: inline-block; /* Se till att bilden visas som en inline-block */
}


img:not(.language-icon) {
    -webkit-user-drag: none;
    user-select: none;
}

/* =================== Hero Image and Title Styling =================== */

.hero {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    min-height: 45vh;
    box-sizing: border-box;
    margin-top: 0px;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%; /* Säkerställ att sektionen alltid är 100% bred */
    background-image: url('bilder/sectionsbackground.webp'); /* Ange sökvägen till din bild */
    background-size: 50%; /* Gör bakgrundsbilden 50% mindre */
    background-position: center; /* Centrerar bakgrundsbilden */
    background-repeat: no-repeat; /* Hindrar bakgrundsbilden från att upprepas */
}

.hero-title-container {
    position: relative;
    z-index: 1;
    display: inline-block;
}

.hero-title {
    font-size: 5.0rem;
    font-weight: 900;
    color: transparent;
    max-width: 920px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(145, 71, 255, 0.4)), 
                url('gif/background2.gif') center/cover no-repeat;
    background-size: 1000px 800px;
    background-position: 50% calc(50% + 150px);
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1;
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
}

.hero-title-overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    opacity: 0.5;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: -20px;
}

/* =================== Profile Section =================== */

.profile-section,
.profile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 10px;
    padding-bottom: 0;
}

.profile-container {
    flex-direction: column;
    width: 100%;
}

.profile-slideshow {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    margin-bottom: -50px;
}

.profile-picture {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    padding: 5px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(145, 71, 255, 0.2));
    -webkit-mask-image: radial-gradient(circle, white 100%, transparent 100%);
    mask-image: radial-gradient(circle, white 100%, transparent 100%);
    opacity: 0;
    transition: opacity 1s ease;
}

.emoji-slideshow {
    position: relative; /* Changed from absolute to relative */
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    z-index: 10;
    margin-top: 140px; /* Adjust as necessary */
}


.emoji-icon {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0; /* Changed to 0 */
    left: 0; /* Changed to 0 */
    right: 0; /* Added to center within the container */
    bottom: 0; /* Added to center within the container */
    margin: auto; /* This centers the emoji in the parent container */
    opacity: 0;
    transform-origin: center;
    z-index: 10;
    transition: opacity 0.5s ease;
}

.email-link {
    text-decoration: none;
    color: inherit; /* Behåller färgen från temat */
}

/* Justera layouten för e-post och ikoner */
.email-container {
    display: inline-flex; /* Placera ikonerna bredvid e-postadressen */
    align-items: center;
    gap: 5px; /* Mellanrum mellan e-post och ikoner */
    margin-left: 10px; /* Litet avstånd mellan 'Email:' och adressen */
}

.copy-icon {
    cursor: pointer; /* Gör bara Copy-ikonen klickbar */
}

.mail-icon:hover {
    transform: scale(1.2); /* Liten zoom vid hover */
}

.copy-icon:hover {
    transform: scale(1.2); /* Liten zoom vid hover */
}

/* Keyframe animation for bounce effect */
@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Add bounce class to activate bounce effect */
.bounce {
    animation: bounceIn 0.5s ease both;
}


/* =================== Scroll Animations =================== */

@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%); /* Flyttar hela innehållet till vänster */
    }
}

/* För stora företagets logotypstorlek */
.company-logo.large-company-logo {
    width: 200px; /* Sätt bredden till exakt 200px */
    height: auto;
    display: inline-block;
    margin: 0 10px; /* Marginal mellan logotyperna */
    object-fit: contain; /* Gör så att logotyperna anpassar sig proportionellt inom sin ram */
}


/* =================== Project Cards =================== */

.info-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    align-items: center;
    width: 100%; /* Säkerställ att sektionen alltid är 100% bred */
    background-image: url('bilder/sectionbackground.webp'); /* Ange sökvägen till din bild */
    background-size: 50%; /* Gör bakgrundsbilden 50% mindre */
    background-position: center; /* Centrerar bakgrundsbilden */
    background-repeat: no-repeat; /* Hindrar bakgrundsbilden från att upprepas */
}

.info-card {
    background-size: 200% 200%;
    animation: gradientShiftParkingTime 10s ease infinite;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    padding: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 20px);
    margin: 10px;
    max-width: 650px;
}

.info-card-content {
    background: linear-gradient(135deg, #1A1A1A, #000000);
    border-radius: 15px;
    padding: 20px;
}

/* =================== Areas of Work Cards =================== */

.areas-of-work {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    gap: 10px;
}

.area-card {
    display: flex;
    align-items: center;
    padding: 25px;
    width: 100%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Specifik hover-styling för varje kort */

/* UI & UX Design Card - Gul Dropshadow */
.area-card.uiux-design:hover {
    background-color: rgba(255, 255, 0, 0.05);
    box-shadow: 0 2px 8px rgba(255, 255, 0, 0.3);
}

.area-card.uiux-design:hover .area-icon {
    filter: drop-shadow(0 0 3px rgba(255, 255, 0, 0.5));
}

/* Conceptionalize Card - Rosa Dropshadow */
.area-card.conceptionalize:hover {
    background-color: rgba(255, 20, 147, 0.05);
    box-shadow: 0 2px 8px rgba(255, 20, 147, 0.3);
}

.area-card.conceptionalize:hover .area-icon {
    filter: drop-shadow(0 0 3px rgba(255, 20, 147, 0.5));
}

/* Brand Design Card - Grön Dropshadow */
.area-card.brand-design:hover {
    background-color: rgba(0, 255, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.3);
}

.area-card.brand-design:hover .area-icon {
    filter: drop-shadow(0 0 3px rgba(0, 255, 0, 0.5));
}

/* Platforms Card - Blå Dropshadow */
.area-card.platforms:hover {
    background-color: rgba(0, 0, 255, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 255, 0.3);
}

.area-card.platforms:hover .area-icon {
    filter: drop-shadow(0 0 3px rgba(0, 0, 255, 0.5));
}

/* Agile Mythology Card - Orange Dropshadow */
.area-card.agile-mythology:hover {
    background-color: rgba(255, 165, 0, 0.05);
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

.area-card.agile-mythology:hover .area-icon {
    filter: drop-shadow(0 0 3px rgba(255, 165, 0, 0.5));
}

/* Analytics Card - Lila Dropshadow */
.area-card.analytics:hover {
    background-color: rgba(138, 43, 226, 0.05);
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.3);
}

.area-card.analytics:hover .area-icon {
    filter: drop-shadow(0 0 3px rgba(138, 43, 226, 0.5));
}

.area-icon {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.area-text h3 {
    color: #fff;
    font-size: 18px;
    margin: 0;
    font-weight: bold;
    text-align: left;
}

.area-text h4 {
    color: #bbb;
    font-size: 14px;
    margin: 0;
    font-weight: normal;
    text-align: left;
}

/* =================== Card Content Styling =================== */

.info-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
}

.info-card {
    background-size: 200% 200%;
    animation: gradientShiftParkingTime 10s ease infinite;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    padding: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 20px); /* Behåller en tredjedel av bredden */
    max-width: 650px; /* Maximal bredd för varje kort */
    margin: 10px;
}

.info-card-content {
    background: linear-gradient(135deg, #1A1A1A, #000000);
    border-radius: 15px;
    padding: 20px;
    position: relative; /* Ensure relative positioning for inner elements */
    z-index: 1; /* Make sure content is above other layers */
}

/* =================== Project Header Styling =================== */

.project-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.project-details {
    display: flex;
    justify-content: space-between; /* Space between title and company info */
    align-items: center; /* Vertically align items */
    margin-bottom: 20px;
}

.project-details h2 a {
    color: #6c1ba7;
    text-decoration: none;
}

.project-details h4 {
    color: #ffffff;
    margin-top: 10px;
}

.project-title {
    flex-grow: 1; /* Allow title to take available space */
    text-align: left;
    color: #ffffff;
}

.company-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 10;
}

.popup-body .company-info {
    display: flex;
    flex-direction: column; /* Tvinga innehållet i en kolumn */
    align-items: center;    /* Centrerar elementen horisontellt */
    justify-content: center; /* Centrerar elementen vertikalt om utrymme finns */
    z-index: 10;
    width: 100%;            /* Gör att innehållet tar upp full bredd */
}

.popup-body .company-info h2, 
.popup-body .company-info h4 {
    text-align: center;      /* Justera texten för att vara centrerad */
}

.company-info img {
    margin-bottom: 10px;
    width: 120px; /* Öka storleken på logotypen */
    height: auto;
}

.company-info h2 a {
    font-size: 18px; /* Standard font size for larger screens */
    color: #6c1ba7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-info h2 a:hover {
    color: #4b0082;
    text-decoration: underline;
}

.popup-body .project-details {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centerar allt i mitten */
    gap: 10px;
}

.project-logo img {
    width: 40px;
    height: 40px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}

.info-card h2 {
    font-size: 18px;
    color: #8a2be2;
    margin: 10px 0;
}

.project-link {
    font-size: 14px;
    color: #6c1ba7;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #4b0082;
    text-decoration: underline;
}


/* =================== Project Image Styling =================== */

.project-image {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 15px 15px 0 0; /* Rundade hörn bara för toppen */
    margin-bottom: 15px;
    position: relative; /* Behåll position relativ för att kontrollera before-pseudoelementet */
}

.project-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    pointer-events: none; /* Detta gör att pseudoelementet inte blockerar klick */
    transition: background-color 0.3s ease;
}

.info-card:hover .project-image::before {
    background-color: rgba(0, 0, 0, 0.1);
}

.info-card h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    text-align: left;
}


/* =================== Hover Effects for Info Cards =================== */

.info-card:hover {
    transform: scale(1.01); /* Subtle zoom effect */
    box-shadow: 0 0 30px rgba(145, 71, 255, 0.7); /* Stronger shadow effect */
}

.info-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    border-radius: 20px;
    background: linear-gradient(135deg, #1E90FF, #00BFFF, #87CEEB, #4682B4);
    background-size: 200% 200%;
    opacity: 0.7;
    animation: gradientShiftParkingTime 10s ease infinite;
    transition: opacity 0.3s ease;
}

.info-card:hover::before {
    background: linear-gradient(135deg, #4b0082, #8a2be2, #FF8A00, #00ff7f);
    opacity: 1;
    animation: hoverGradientParkingTime 5s ease infinite;
}

/* =================== Unique Backgrounds for Each Project Card =================== */

#parking-time-card {
    background: linear-gradient(135deg, #1E90FF, #00BFFF, #87CEEB, #4682B4);
    background-size: 200% 200%;
    animation: gradientShiftParkingTime 5s ease infinite;
}

#parking-time-card:hover::before {
    background: linear-gradient(135deg, #00BFFF, #1E90FF, #4682B4, #87CEEB);
    opacity: 1;
    animation: hoverGradientParkingTime 5s ease infinite;
}

/* Parking Time: Blå Gradient */
.info-card:nth-child(1) {
    background: linear-gradient(135deg, #1E90FF, #00BFFF, #87CEEB, #4682B4);
}

/* Red Milk LLC: Gold/Yellow Gradient */
.info-card:nth-child(2) {
    background: linear-gradient(135deg, #FFD700, #FF8C00, #FFE135, #FFA500);
    background-size: 200% 200%;
    animation: gradientShiftRedMilk 5s ease infinite;
}

.info-card:nth-child(2):hover::before {
    background: linear-gradient(135deg, #FF0084, #FFC837, #8A2BE2, #1E90FF);
    opacity: 1;
    animation: hoverGradientRedMilk 5s ease infinite;
}

/* Ahum: Pink/Red Gradient */
.info-card:nth-child(3) {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DB7093, #FF4500);
    background-size: 200% 200%;
    animation: gradientShiftAhum 5s ease infinite;
}

.info-card:nth-child(3):hover::before {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #4b0082, #FF6347);
    opacity: 1;
    animation: hoverGradientAhum 5s ease infinite;
}

/* Carl F: Green Gradient */
.info-card:nth-child(4) {
    background: linear-gradient(135deg, #66ff66, #009933, #00cc66, #33ff99);
    background-size: 200% 200%;
    animation: gradientShiftCarlF 5s ease infinite;
}

.info-card:nth-child(4):hover::before {
    background: linear-gradient(135deg, #00ff7f, #32CD32, #8A2BE2, #FF8A00);
    opacity: 1;
    animation: hoverGradientCarlF 5s ease infinite;
}

/* =================== Animation for Background Shift =================== */

@keyframes gradientShiftParkingTime {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientShiftRedMilk {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientShiftAhum {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientShiftCarlF {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =================== Hover Animation for Gradient =================== */

@keyframes hoverGradientParkingTime {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes hoverGradientRedMilk {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes hoverGradientAhum {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes hoverGradientCarlF {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* =================== Individual Info Card Text Styling =================== */

.info-card p {
    font-size: 14px;
    color: #fff;
    margin-top: 10px;
    text-align: left;
    line-height: 1.5;
}

.info-card p {
    position: relative;
    z-index: 2;
}


/* =================== Individual Project Cards =================== */

/* Unique Styles for each Project Card */
#parking-time-card {
    background: linear-gradient(135deg, #1E90FF, #00BFFF, #87CEEB, #4682B4);
    background-size: 200% 200%;
    animation: gradientShiftParkingTime 5s ease infinite;
}

#parking-time-card:hover::before {
    background: linear-gradient(135deg, #00BFFF, #1E90FF, #4682B4, #87CEEB);
    opacity: 1;
    animation: hoverGradientParkingTime 5s ease infinite;
}

/* Red Milk LLC: Guld/Gul Gradient */
.info-card:nth-child(2) {
    background: linear-gradient(135deg, #FFD700, #FF8C00, #FFE135, #FFA500);
    background-size: 200% 200%;
    animation: gradientShiftRedMilk 5s ease infinite;
}

.info-card:nth-child(2):hover::before {
    background: linear-gradient(135deg, #FF0084, #FFC837, #8A2BE2, #1E90FF);
    opacity: 1;
    animation: hoverGradientRedMilk 5s ease infinite;
}

/* Ahum: Rosa/Röd Gradient */
.info-card:nth-child(3) {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #DB7093, #FF4500);
    background-size: 200% 200%;
    animation: gradientShiftAhum 5s ease infinite;
}

.info-card:nth-child(3):hover::before {
    background: linear-gradient(135deg, #FF69B4, #FF1493, #4b0082, #FF6347);
    opacity: 1;
    animation: hoverGradientAhum 5s ease infinite;
}

/* Carl F: Grön Gradient */
.info-card:nth-child(4) {
    background: linear-gradient(135deg, #66ff66, #009933, #00cc66, #33ff99);
    background-size: 200% 200%;
    animation: gradientShiftCarlF 5s ease infinite;
}

.info-card:nth-child(4):hover::before {
    background: linear-gradient(135deg, #00ff7f, #32CD32, #8A2BE2, #FF8A00);
    opacity: 1;
    animation: hoverGradientCarlF 5s ease infinite;
}

/* =================== Animations =================== */

/* Background Shift Animation for Project Cards */
@keyframes gradientShiftParkingTime {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientShiftRedMilk {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientShiftAhum {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientShiftCarlF {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hover Gradient Animation */
@keyframes hoverGradientParkingTime {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes hoverGradientRedMilk {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes hoverGradientAhum {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes hoverGradientCarlF {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =================== Title Styling for Values Section =================== */
.values-title-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.custom-values-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
}

.custom-values-header {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* =================== Values Section Styling =================== */
.work-values-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin: 0 auto;
    max-width: 1400px;
    padding: 20px;
    height: auto;
    overflow: visible;
}

.value-card-custom {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 15px 20px;
    margin-top: 10px;
    max-width: 400px;
    max-height: 100px;
    min-height: 180px;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    border: 2px solid rgba(221, 160, 221, 0.1);
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.3s ease-in-out, box-shadow 0.2s ease-in-out;
    will-change: transform;
}

/* Bounce on hover */
.value-card-custom:hover {
    animation: bounce-up 0.7s cubic-bezier(.43,1.47,.68,1.09);
    box-shadow: 0 20px 40px rgba(145, 71, 255, 0.18), 0 3px 6px rgba(0,0,0,0.05);
    z-index: 1; /* Så den syns över de andra om de överlappar */
}

@keyframes bounce-up {
    0%   { transform: translateY(0); }
    40%  { transform: translateY(-20px); }
    60%  { transform: translateY(-15px); }
    80%  { transform: translateY(-5px);}
    100% { transform: translateY(0);}
}


/* Justera textinnehåll */
.value-card-custom h4 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 5px;
}

.value-card-custom p.value-description {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
}

/* Bildikonen */
.value-card-custom img.value-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

/* Icon position */
.icon-wrapper {
    position: absolute;
    top: 10px;
    left: 10px;
}

/* Dot scroll container */
.dots-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background-color: white;
}


/* =================== Value Card: Dot scroll container =================== */
.dots-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background-color: white;
}



/* =================== Previous Companies: Scroll with Infinite Effect =================== */

.scroll-container {
    display: flex;
    justify-content: flex-start; /* Säkerställ att innehållet börjar till vänster */
    align-items: center;
    width: 100%;
    overflow-x: auto;
    padding: 0; /* Ta bort eventuell padding */
    margin: 0; /* Ta bort eventuell margin */
}


.scroll-content {
    display: flex;
    gap: 20px; /* Mellanrum mellan korten */
    animation: scrollInfinite 20s linear infinite; /* Kontinuerlig scroll */
}

.scroll-content .company-card {
    flex: 0 0 auto; /* Förhindrar att kortens storlek ändras */
    width: 250px; /* Fast bredd */
}

.scroll-clone {
    display: flex;
    gap: 20px; /* Samma gap som originalet */
}

/* Infinite scroll keyframes */
@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsiv design för mindre skärmar */
@media (max-width: 600px) {
    .scroll-content .company-card {
        width: 150px; /* Minskad bredd för mindre skärmar */
    }

    .scroll-container {
        max-width: 90%;
    }
}


/* New Scroll Container Styling */
.new-scroll-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Minsta bredd på 200px */
    gap: 5px; /* Mellanrum mellan bilder */
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsiv design för mindre skärmar */
@media (max-width: 600px) {
    .partner-logo {
        width: 100%;
        height: auto;
    }
    
    .new-scroll-container, .new-scroll-content, .companies-logos {
        width: 100%;
        max-width: none; /* Ta bort max-width-begränsningen */
        margin: 0; /* Ta bort eventuell marginal för att fylla hela bredden */
    }
}

/* För att ändra opacity vid hover */
.partner-logo:hover {
    opacity: 1;
}

/* Partner Logo Styling */
.partner-logo {
    width: 250px; /* Fast bredd */
    height: auto; 
    object-fit: contain;
    opacity: 0.5; 
    transition: opacity 0.3s ease;
    padding: 15px;
}

/* Styling för bakgrundsbild i sektionen */
.companies-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Säkerställ att sektionen alltid är 100% bred */
    background-image: url('bilder/sectionsbackground.webp'); /* Ange sökvägen till din bild */
    background-size: 50%; /* Gör bakgrundsbilden 50% mindre */
    background-position: center; /* Centrerar bakgrundsbilden */
    background-repeat: no-repeat; /* Hindrar bakgrundsbilden från att upprepas */
}

/* Responsiv design för mindre skärmar */
@media (max-width: 600px) {
    .partner-logo {
        width: 150px; /* Minska bredden till 100px */
        height: auto;
        padding: 5px;
    }

    .new-scroll-container, .new-scroll-content, .companies-logos {
        width: 100%;
        max-width: none; /* Ta bort max-width-begränsningen */
        margin: 0;
    }
}

/* Ta bort blå underlinje från länkar */
a {
    text-decoration: none;
    color: inherit;
}



/* Previous Companies Section */
.previous-companies {
    position: relative; /* Behåll relativ positionering för att placera gradient-skuggorna */
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    width: 50%; /* Ändra till full bredd */
    max-width: 1200px; /* Sätt en maxbredd */
    margin: 0 auto; /* Centrera sektionen horisontellt */
}

/* Fade Gradient Effects for Previous Companies - Global Styling for All Screen Sizes */
.previous-companies::before,
.previous-companies::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px; /* Justera bredden på skuggan för att synas bättre på större skärmar */
    height: 100%;
    z-index: 10; /* Se till att gradienten ligger ovanför annat innehåll */
    pointer-events: none;
}

.previous-companies::before {
    left: 0;
    background: linear-gradient(to right, #10101F, rgba(16, 16, 31, 0));
}

.previous-companies::after {
    right: 0;
    background: linear-gradient(to left, #10101F, rgba(16, 16, 31, 0));
}

/* Company Card Styling for Previous Companies */
.previous-companies .company-card {
    width: 250px;
    flex-shrink: 0; /* Förhindrar att korten krymper */
    margin-right: 20px; /* Mellanrum mellan korten */
}

.company-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 10px;
    width: 250px;
    color: #fff;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card img.company-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 10px;
    margin-bottom: 10px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    background-color: rgba(255, 255, 255, 0.1);
    mask-image: radial-gradient(circle, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0) 100%);
}

.company-card p {
    margin: 10px 0;
    font-size: 14px;
}

.company-link {
    color: #8a2be2;
    text-decoration: none;
    font-weight: bold;
}

.company-link:hover {
    text-decoration: underline;
}

/* Minska storleken på company-card för mindre skärmar */
@media (max-width: 768px) {
    .company-card {
        width: 125px; /* 50% av den ursprungliga bredden */
        padding: 5px; /* Justera padding för att matcha storleken */
    }

    .company-card img.company-logo {
        width: 60px; /* 50% av den ursprungliga logostorleken */
        height: 60px;
    }

    .company-card p {
        font-size: 12px; /* Justera fontstorleken för mindre kort */
    }
}

/* Hover-info-text styling */
.hover-info-text {
    position: absolute;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 12px;
    border-radius: 5px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    transform-origin: center;
}


/* Animation för text */
.animated-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid rgba(255, 255, 255, 0.75);
    animation: typing 2s steps(30, end), blink-caret 0.5s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: rgba(255, 255, 255, 0.75);
    }
}

/* Pop-in animation */
.pop-in {
    animation: popInBounce 0.4s ease forwards;
}

/* Animation för att studsa in */
@keyframes popInBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =================== Testimonials Section Styling =================== */

/* Testimonials Container Styling */
.testimonials-container {
    max-width: 1200px; /* Sätter maxbredd */
    margin: 0 auto; /* Centrerar innehållet */
    padding: 0 20px; /* Lägger till lite padding för mindre skärmar */
}

/* Testimonials Section */
.testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

/* Styling för varje testimonial-kort */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    height: auto;
    color: #fff;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    position: relative;
    border: 2px solid rgba(221, 160, 221, 0.1);
    transition: all 0.3s ease;
}


.testimonial-card p {
    text-align: left;
}

.testimonial-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
}

.testimonial-logo {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.company-name {
    font-size: 18px;
    color: #fff;
    margin: 0;
    font-weight: bold;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 1px;
}

.profile-info {
    text-align: center;
}

.profile-info h4 {
    margin: 5px 0 3px 0;
    font-size: 16px;
}

.profile-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.testimonial-content {
    margin-top: 20px;
    line-height: 1.6;
    font-size: 14px;
}

.testimonial-content p {
    text-align: left;
}

.review-button {
    margin-top: 20px;
}

.review-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.review-button a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.linkedin-review {
    width: 10px;
    height: 10px;
    margin-right: 5px;
}

/* =================== Popup Styling =================== */

.project-popup {
    display: none; /* Dölj popupen initialt */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9); /* Bakgrundsfärg */
    z-index: 1000;
    overflow: hidden;
    border-radius: 25px;
}

.popup-content {
    background-color: rgba(18, 17, 31, 0.9);
    border-radius: 25px;
    overflow: hidden;
}


.project-popup .popup-content {
    background-color: rgba(18, 17, 31, 0.9);
    border: 2px solid rgba(221, 160, 221, 0.2);
    border-radius: 10px;
    width: 99%;
    max-width: 1000px;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    color: #f0f0f0;
}

.popup-header {
    display: flex;
    justify-content: space-between; /* Ser till att alla element är placerade korrekt horisontellt */
    align-items: center; /* Centrerar alla element vertikalt */
    padding: 30px 20px;
    position: sticky;
    top: 0;
    background-color: rgba(18, 17, 31, 0.8);
    z-index: 10;
    box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.2);
}

.popup-header .cta-button {
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 25px;
    background: linear-gradient(to right, #4c0082eb, #6c1ba7eb);
    color: #fff;
    border: none;
    cursor: pointer;
    margin-right: auto;
    position: absolute;
    left: 20px;
}

.popup-header h2 {
    margin: 0;
    font-size: 24px;
    text-align: center;
    flex-grow: 1;
    color: #ffffff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.popup-header .close-btn {
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
    margin-left: auto;
}

.popup-header .close-btn:hover {
    color: #d3d3d3;
}

.popup-body {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    color: #f0f0f0;
    text-align: left;
    overflow-x: hidden; /* Tar bort horisontell scroll */
    max-width: 100%; /* Säkerställer att innehållet inte överskrider förälderns bredd */
    margin: 0;
}

.popup-body {
    padding-top: 0;
    padding-bottom: 30px;
    margin-top: 100;
    margin-bottom: 10px;
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.2);
}


.popup-body h2 {
    text-align: center;
}

.popup-section {
    width: 100%;
    color: #f0f0f0;
}

.popup-section h3 {
    text-align: center;
    font-size: 18px;
    color: #f0f0f0;
    margin-top: 10px;
}

.popup-section h2 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* =================== Popup Section: HEADER 2 LINES =================== */
.popup-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.popup-section h2 {
    text-align: center;
    font-size: 24px;
    color: #f0f0f0;
    position: relative;
    display: inline-block; /* Gör rubriken så att den har sin egen bredd */
    z-index: 1; /* För att säkerställa att texten är ovanför linjerna */
}

.popup-section h2::before,
.popup-section h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 200px; /* Bestämmer längden på linjerna, här 100px */
    height: 2px;
    background-color: #f0f0f0;
    transform: translateY(-50%); /* Centrerar linjerna vertikalt i förhållande till texten */
}

.popup-section h2::before {
    left: -250px; /* Placera linjen till vänster om rubriken */
}

.popup-section h2::after {
    right: -250px; /* Placera linjen till höger om rubriken */
}

/* =================== Popup Section: P & UL Designs =================== */

.popup-section p, ul, li {
    text-align: left;
    line-height: 1.6;
    letter-spacing: 0;
}

.popup-section p {
    margin-bottom: 10px;
}

.popup-section ul {
    text-align: left;
}

/* General two-column layout for popup sections */
.popup-section.two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
}

/* Ensuring that columns stack vertically on small screens */
@media (max-width: 768px) {
    .popup-section.two-columns {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }
}

/* Styling for each column */
.column {
    padding: 10px; /* Add padding inside each column for spacing */
}

/* Full-width section (optional if needed for distinction) */
.popup-section.single-column {
    width: 100%;
}

.selling-points {
    max-width: 50%; /* Begränsa bredden på större skärmar */
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.selling-points p {
    margin: 0;
    padding: 10px 0; /* Lägg till vertikalt mellanrum för textblock */
    line-height: 1.6; /* Förbättrar läsbarheten */
    letter-spacing: 0.5px; /* För bättre textflöde */
    width: 100%; /* Gör texten lika bred som containern */
}

@media (max-width: 768px) {
    .selling-points {
        max-width: 100%; /* Gör det fullbrett på mindre skärmar */
        padding: 0 10px;
    }
}


/* =================== Popup Section: Larger Images =================== */

.popup-image {
    width: 100%; /* Bilden tar upp hela bredden på kortet */
    height: auto; /* Fixerad höjd för att skapa "teaser"-effekten */
    background-size: cover; /* Skalar bilden för att täcka hela bakgrunden */
    background-position: center; /* Centrerar bilden så att den beskärs lika från båda sidor */
    border-radius: 5px; /* Rundade hörn för bilderna */
    cursor: pointer; /* Förändrar pekaren till en hand vid hover */
    transition: transform 0.2s ease; /* Animeringseffekt vid hover */
    display: block;
    margin: 0 auto;
    pointer-events: auto;
}


.popup-image:hover {
    transform: scale(1.05); /* Förstorar bilden något vid hover */
}

.image-popup {
    display: inline-block; /* Gör länken inline-block för att passa bildstorleken */
    text-decoration: none; /* Ingen understrykning på bilder */
}

.image-popup img {
    display: block; /* Gör att bilderna visas som block-element i länken */
}

.full-image-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%; /* Minskat från 90% för att testa påverkan */
    max-height: 80%;
    z-index: 1001;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-color: rgba(0, 0, 0, 0.8);
}

.full-image-popup {
    transition: transform 0.3s ease; /* Smooth zoom transition */
}

.zoomed-in {
    transform: scale(1.5); /* Zoom level, kan justeras */
    cursor: zoom-out;
}

.zoomed-out {
    transform: scale(1); /* Normal storlek */
    cursor: zoom-in;
}


/* Rubrik under bilder */
.image-caption {
    font-size: 12px; /* Mindre fontstorlek för bildrubriken */
    color: #cccccc; /* Ljusgrå färg */
    text-align: center; /* Centrera texten */
    margin-top: 5px; /* Avstånd mellan bilden och rubriken */
}

/* Teaser images styling */
.popup-image-teaser {
    width: 100%; /* Fyller hela bredden av föräldraelementet (.image-item) */
    height: auto; /* Bevarar bildens proportioner */
    border-radius: 5px; /* Rundade hörn på bilderna */
    display: block; /* Förhindrar att det finns extra utrymme under bilderna */
    margin: 0 auto; /* Centrerar bilden inom .image-item */
}

.popup-image-gallery {
    width: auto; /* Anpassar bredden efter bilden */
    max-width: 50px; /* Maximal bredd för att begränsa storleken */
    height: auto; /* Behåller bildens proportioner */
    border-radius: 5px; /* Rundade hörn */
    margin: 5px; /* Mellanrum mellan bilderna */
    cursor: pointer; /* Förändrar pekaren till en hand vid hover */
    transition: transform 0.2s ease; /* Animeringseffekt vid hover */
}

/* Ensures only images in .teaser-gallery are affected */
.teaser-gallery {
    display: flex; /* Gör innehållet till en flexbox för horisontell layout */
    flex-wrap: nowrap; /* Förhindrar radbrytning */
    justify-content: center; /* Centrerar bilderna horisontellt */
    gap: 40px; /* Mellanrum mellan bilderna */
}

.teaser-gallery img {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effect */
}

.teaser-gallery img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3); /* Adds shadow for depth */
}


/* Teaser images styling */
.teaser-gallery .popup-image-teaser {
    width: auto;
    max-width: 150px; /* Ensures that images are not too large */
    height: auto;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* Media query to handle mobile screens */
@media (max-width: 768px) {
    .teaser-gallery {
        flex-direction: column;
        align-items: center;
    }

    /* Stänger av transition- och hover-effekter på mobil */
    .popup-image,
    .teaser-gallery img,
    .popup-image-teaser {
        transition: none;
    }

    .popup-image:hover,
    .teaser-gallery img:hover,
    .popup-image-teaser:hover {
        transform: none;
        box-shadow: none;
    }
}


/* =================== Popup Section: Profile Picture Styling =================== */

.popup-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.popup-profile-image {
    width: 80px; /* Justera storleken på profilbilden */
    height: 80px;
    border-radius: 50%; /* Rundad bild */
    padding: 2.5px; /* Utrymme för gradientkanten */
    background: linear-gradient(135deg, #4b0082, #8a2be2); /* Lila gradient runt profilbilden */
    object-fit: cover; /* För att hålla bilden proportionerlig */
    box-shadow: 0 0 15px rgba(145, 71, 255, 0.5); /* Skuggeffekt för djup */
    margin: 5px;
}

.popup-profile-subtitle {
    font-size: 14px;
    color: #cccccc; /* Ljusgrå färg för text */
    margin-top: 10px; /* Avstånd från profilbilden */
    text-align: center; /* Centrera texten */
}

/* =================== Popup Project Cards =================== */

.projects  {
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    width: 100%; /* Säkerställ att sektionen alltid är 100% bred */
    background-image: url('bilder/sectionbackground.webp'); /* Ange sökvägen till din bild */
    background-size: 50%; /* Gör bakgrundsbilden 50% mindre */
    background-position: center; /* Centrerar bakgrundsbilden */
    background-repeat: no-repeat; /* Hindrar bakgrundsbilden från att upprepas */
}
    

/* Begränsar styling till projektkorten i popup-sektionen */
.popup-body .info-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    align-items: center;
}

.popup-body .info-card .project-image {
    height: auto; /* Anpassa höjden för popup-korten */
}

/* Justera kolumnlayout för mindre skärmar */
@media (max-width: 768px) {
    .popup-body .two-columns {
        grid-template-columns: 1fr; /* Gör att kolumnerna staplas vertikalt */
    }
}

.popup-body .info-card {
    background-size: 200% 200%;
    animation: gradientShiftParkingTime 10s ease infinite;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    padding: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 20px); /* Behåller en tredjedel av bredden */
    max-width: 650px; /* Maximal bredd för varje kort */
}

.popup-body .info-card-content {
    background: linear-gradient(135deg, #1A1A1A, #000000);
    border-radius: 15px;
    padding: 20px;
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center; /* Ensure elements inside the column are centered */
    padding: 15px; /* Inre avstånd för innehåll */
}

.column-card {
    display: flex;
    flex-direction: column; /* Vertikal layout */
    justify-content: center; /* Centrera vertikalt */
    align-items: center; /* Centrera horisontellt */
    background-color: rgba(210, 240, 255, 0.2) !important;
    border: 2px solid rgba(180, 220, 240, 0.8) !important;
    border-radius: 10px; /* Rundade hörn */
    max-width: 99%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Lätt skugga för djup */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animera hover-effekten */
}

.popup-section.column-card {
    text-align: center; /* Centrerar texten horisontellt */
    max-width: 60%; /* Gör att innehållet inte tar upp hela bredden */
    margin: 0 auto; /* Centrerar hela sektionen i mitten av föräldern */
    background-color: rgba(255, 255, 255, 0.2); /* Ljusgråvit bakgrund */
    border: 2px solid rgba(0, 0, 0, 0.1); /* Lätt svart kant */
    border-radius: 10px; /* Rundade hörn */
    padding: 5px; /* Inre avstånd för innehåll */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Lätt skugga */
    padding: 25px;
}

.clickable-card {
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

/* =================== Popup Project Header Styling =================== */

.popup-body .project-header {
    display: flex;
    flex-direction: column; /* Ändrar layouten till en kolumn */
    align-items: center; /* Centrerar elementen horisontellt */
    text-align: center; /* Gör att texten i rubrikerna centreras */
}

.popup-body .project-header h2,
.popup-body .project-header h3,
.popup-body .project-header h4 {
    margin: 5px 0; /* Mellanrum mellan rubrikerna */
    width: 100%; /* Gör rubrikerna fullbredd inom sin container */
    text-align: center; /* Centrerar texten i rubrikerna */
}

/* =================== Popup Project Image Styling =================== */

.popup-body .project-image {
    width: 100%;
    height: 100px; /* Justera höjden för popup-kort */
    background-size: cover;
    background-position: center;
    border-radius: 5px; /* Om du vill behålla rundade hörn */
    margin: 10px;
}

/* Justera eventuell pseudo-element för popup om du har det */
.popup-body .project-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Justera täckningsfärgen för popupen */
    pointer-events: none;
    transition: background-color 0.3s ease;
}

/* För att undvika att hover-effekter stör popupen */
.popup-body .info-card:hover .project-image::before {
    background-color: rgba(0, 0, 0, 0.1);
}


/* Override global popup-body img rules for the profile image */
.popup-body .popup-profile img {
    max-width: 100px; /* Custom max-width for profile image */
    width: 100%; /* Responsive within its container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensures no space under the image */
    object-fit: cover; /* Ensure the image fits well in its container */
    border-radius: 50%; /* Makes the profile image circular */
    border: 3px solid rgba(255, 255, 255, 0.2); /* Optional: add a border for styling */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Optional: adds a shadow for depth */
}

/* General rule for images within the popup body */
.popup-body img {
    max-width: 400px; /* Larger max-width for general images */
    width: 100%; /* Make images responsive */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure no space under images */
}

.popup-body .icon {
    max-width: 30px;
    display: block;
    margin: 20px auto;
}

.popup-body .project-logo img {
    max-width: 100px; /* Maxbredd för logotypen */
    width: 100%; /* Gör den responsiv */
    height: auto; /* Behåller original proportioner */
    border-radius: 50%; /* Gör logotypen rund */
    border: 2px solid rgba(255, 255, 255, 0.2); /* Lägger till en lätt kant */
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.1); /* Lätt bakgrundsfärg */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Lägger till en skugga */
    margin: 10px;
}


.popup-body .info-card:hover .project-image::before {
    background-color: rgba(0, 0, 0, 0.1);
}

.popup-body .info-card h4 {
    font-size: 18px;
    color: #fff;
    text-align: left;
}

/* =================== Hover Effects for Popup Info Cards =================== */

.popup-body .info-card:hover {
    transform: scale(1.01);
    box-shadow: 0 0 30px rgba(145, 71, 255, 0.7);
}

.popup-body .info-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    border-radius: 20px;
    background: linear-gradient(135deg, #1E90FF, #00BFFF, #87CEEB, #4682B4);
    background-size: 200% 200%;
    opacity: 0.7;
    animation: gradientShiftParkingTime 10s ease infinite;
    transition: opacity 0.3s ease;
}

.popup-body .info-card:hover::before {
    background: linear-gradient(135deg, #4b0082, #8a2be2, #FF8A00, #00ff7f);
    opacity: 1;
    animation: hoverGradientParkingTime 5s ease infinite;
}

.popup-body .project-info h3 {
    font-size: 18px; /* Standardstorlek för större skärmar */
}

.popup-body .project-info h4 {
    font-size: 14px; /* Standardstorlek för tidsperioden */
}

/* =================== Popup Header: CTA Button =================== */

.popup-header .contact-btn {
    font-size: 14px;
    padding: 10px 20px; /* Justera storlek på knappen */
    border-radius: 25px;
    background: linear-gradient(to right, #4b0082, #8a2be2);
    color: #fff;
    border: none;
    cursor: pointer;
    margin-right: 10px; /* Behåller lite avstånd till vänster */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block; /* Säkerställer korrekt blockering */
    order: -1; /* Flyttar knappen till första plats i flexrad */
}

.popup-header .contact-btn:hover {
    background-image: linear-gradient(to right, #6c1ba7, #4c0082); /* Mörkare gradient vid hover */
    box-shadow: 0 0 10px 3px #45637A, 0 4px 15px rgba(145, 71, 255, 0.7); /* Glow-effekt */
    color: #ffffff;
}

/* =================== Profile Section: Icons and Buttons =================== */

.contact-profile-image {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(145, 71, 255, 0.2));
}

.availability-btn {
    display: flex;
    align-items: center;
    margin: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    color: #fff;
    cursor: default;
    transition: background-color 0.3s ease, background-image 0.3s ease, box-shadow 0.3s ease;
}

/* Green Dot Icon Sizing */
.availability-icon {
    width: 10px; /* Ensures the green dot is small */
    height: 10px;
    margin-right: 5px; /* Adds some space between the dot and text */
    display: inline-block;
    object-fit: cover; /* Ensure the image fits within the defined dimensions */
}

/* Green dot size fix within internship-btn */
.popup-body .popup-profile .internship-status .internship-btn .availability-icon {
    width: 15px;
    height: 15px;
}


/* =================== Popup Section: PDF Links =================== */

.pdf-link {
    font-size: 14px;
    color: #BF8DD0;
    text-decoration: none;
    display: block;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.pdf-link:hover {
    color: #4b0082;
    text-decoration: underline;
}

/* =================== Video Popup Card =================== */

/* Popup styling */
.project-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease; /* Smidig övergång för popup */
    opacity: 0;
}

.project-popup[style*="display: flex"] {
    opacity: 1; /* Gör popupen synlig när display är 'flex' */
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    position: relative; /* För att placera stängningsknappen rätt */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.popup-body iframe {
    width: 100%;
    height: 400px;
}

/* =================== Video Popup Styling =================== */
.video-popup, .video-gallery {
    display: none; /* Dölj popupen initialt */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center; /* Centrera innehållet horisontellt */
    align-items: center; /* Centrera innehållet vertikalt */
    z-index: 1000;
}

/* Popupinnehåll centreras och behåller sin storlek */
.video-popup .popup-content {
    background-color: rgba(18, 17, 31, 0.9);
    border-radius: 10px;
    width: 90%; /* Anpassa bredden på popupinnehållet */
    max-width: 800px; /* Maximal bredd på popupen */
    padding: 20px;
    box-sizing: border-box; /* Inkludera padding i bredden */
}

.video-popup .close-btn-video {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
}

.video-popup iframe {
    width: 100%;
    height: 500px; /* Justera höjden för videon */
}


/* Video popup close button styling */
.close-btn-video {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
}


/* =================== Agile Mythology and Analytics Cards =================== */

/* Agile Mythology Card - Orange Dropshadow */
.area-card.agile-mythology:hover {
    background-color: rgba(255, 165, 0, 0.05);
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

.area-card.agile-mythology:hover .area-icon {
    filter: drop-shadow(0 0 3px rgba(255, 165, 0, 0.5));
}

/* Analytics Card - Lila Dropshadow */
.area-card.analytics:hover {
    background-color: rgba(138, 43, 226, 0.05);
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.3);
}

.area-card.analytics:hover .area-icon {
    filter: drop-shadow(0 0 3px rgba(138, 43, 226, 0.5));
}

.area-icon {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.area-text h3 {
    color: #fff;
    font-size: 18px;
    margin: 0;
    font-weight: bold;
    text-align: left;
}

.area-text h4 {
    color: #bbb;
    font-size: 14px;
    margin: 0;
    font-weight: normal;
    text-align: left;
}

/* =================== Services Section =================== */

.service-btn {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    margin: 20px auto;
}

.service-btn:hover {
    background-color: inherit; /* Behåll original bakgrundsfärg */
    color: inherit; /* Behåll original textfärg */
    box-shadow: none; /* Inget skuggeffekt */
    transform: none; /* Ingen skalning eller transformation */
}


.service-btn:active {
    transform: scale(0.98);
    box-shadow: 0 0 5px 2px rgba(145, 71, 255, 0.4);
}

.done-icon {
    width: 12px; /* Anpassa bredden efter behov */
    height: 12px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

/* =================== Tools Scroll Cards Styling =================== */

.tools-card {
    max-width: 600px; /* Begränsa maxbredden */
    overflow: hidden; /* Göm överflödigt innehåll */
    padding: 10px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#tools-scroll {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: start;
    align-items: center;
}

.scroll-content {
    display: flex;
    width: max-content; /* Bredden baseras på innehållet */
    gap: 20px;
    animation: scrollLeft 70s linear infinite; /* Infinite scroll animation */
    width: max-content; /* Gör att innehållet tar upp så mycket plats som det behöver */
}

.scroll-content img {
    width: 40px; /* Justera ikonstorlek */
    height: auto;
    display: inline-block;
    margin: 0 10px;
    transition: opacity 0.5s ease; /* Fade-effekt */
}

/* Infinite scroll keyframes */
@keyframes scrollLeft {
    0% {
        transform: translateX(0); /* Startar från 0 */
    }
    100% {
        transform: translateX(-50%); /* Flyttar till hälften av innehållets bredd */
    }
}

/* Förbättrad Fade-effekt på kanterna */
.tools-card::before,
.tools-card::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px; /* Öka bredden för en längre fade-effekt */
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.tools-card::before {
    left: 0;
    background: linear-gradient(to right, rgba(18, 17, 31, 1), rgba(18, 17, 31, 0.2), rgba(18, 17, 31, 0)); /* Längre gradient för mjukare övergång */
}

.tools-card::after {
    right: 0;
    background: linear-gradient(to left, rgba(18, 17, 31, 1), rgba(18, 17, 31, 0.2), rgba(18, 17, 31, 0)); /* Längre gradient för mjukare övergång */
}

/* =================== Scroll Container Images =================== */

/* Scroll Container */
.scroll-container {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.scroll-content {
    display: flex;
    gap: 20px;
}

/* Justera storleken för bild- och videoelement */
.image-item, .video-item {
    min-width: 100px; /* Öka bredden för varje objekt */
    max-width: 200px; /* Sätt en maxbredd för att begränsa storleken */
    cursor: pointer;
    text-align: center;
}

.image-item {
    flex: 1 1 auto; /* Hindrar elementet från att växa eller krympa */
    width: 150px; /* Ställ in en fast bredd för varje bild-item */
    box-sizing: border-box; /* Inkluderar padding och border i totalbredden */
    text-align: center; /* Centrera innehållet inom varje kort */
}

/* Justera storleken för bilder */
.image-item img, .video-item img {
    width: 100%; /* Ta upp hela bredden på förälderelementet */
    object-fit: cover; /* Gör att bilden täcker hela utrymmet utan att deformeras */
    border-radius: 5px; /* Rundade hörn för en snyggare effekt */
    display: block;
    margin: 0 auto; /* För att centrera bilden inom kortet */
}

.image-gallery {
    display: flex; /* Gör innehållet till en flexbox */
    flex-wrap: wrap; /* Tillåter radbrytning om nödvändigt */
    justify-content: center; /* Centrerar alla kort i galleriet */
    gap: 10px; /* Mellanrum mellan korten */
}

.popup-image-teaser {
    width: 100%; /* Gör bilden responsiv inom sitt kort */
    border-radius: 5px; /* Valfritt: rundar hörnen på bilderna */
}

.image-caption {
    margin-top: 5px; /* Lägger till lite avstånd mellan bilden och texten */
    font-size: 12px; /* Justera storlek på texten om nödvändigt */
}



/* Fullskärmspopup */
.fullscreen-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.fullscreen-popup img, .fullscreen-popup iframe {
    max-width: 90%;
    max-height: 90%;
}

/* =================== Contact Card Styling =================== */

.contact-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(18, 17, 31, 0.9);
    border: 1px solid rgba(145, 71, 255, 0.5);
    border-radius: 15px;
    margin: 40px auto;
    padding: 40px;
    width: 90%;
    max-width: 1000px;
    box-shadow: 0 0 15px rgba(145, 71, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Lägg till övergångseffekt */
    position: relative;
    background-image: url('bilder/sectionbackground.webp'); /* Ange sökvägen till din bild */
    background-size: 50%; /* Gör bakgrundsbilden 50% mindre */
    background-position: center; /* Centrerar bakgrundsbilden */
    background-repeat: no-repeat; /* Hindrar bakgrundsbilden från att upprepas */
}

/* Hover-effekt för Contact-kortet */
.contact-card:hover {
    transform: scale(1.01); /* Ökar storleken lite för en subtil zoom-effekt */
    box-shadow: 0 0 30px rgba(145, 71, 255, 0.7); /* Öka skuggans storlek och intensitet */
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    max-width: 65%;
    text-align: left;
}

.contact-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 50%;
}

/* Specifik stil för profilbilden & Availability button i Contact-kortet */
.contact-profile-image {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    padding: 3px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(145, 71, 255, 0.2));
    -webkit-mask-image: radial-gradient(circle, white 100%, transparent 100%);
    mask-image: radial-gradient(circle, white 100%, transparent 100%);
    display: block;
    margin-right: 10px;
}

.profile-info-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.availability-btn {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: default;
    transition: background-color 0.3s ease, background-image 0.3s ease, box-shadow 0.3s ease;
}

.availability-icon {
    width: 10px;
    height: 10px;
    margin-right: 5px;
}

.social-media-links {
    display: flex;
    gap: 8px;
}

/* Specifik stil för sociala media ikoner i Contact-kortet */
.contact-card .social-media-links img {
    width: 50px;
    height: 50px;
}

/* Profilbilden i Contact-kortet */
.contact-profile-picture {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    padding: 3px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(145, 71, 255, 0.2));
    -webkit-mask-image: radial-gradient(circle, white 100%, transparent 100%);
    mask-image: radial-gradient(circle, white 100%, transparent 100%);
}

/* =================== Contact Card and Availability Button =================== */

.contact-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(18, 17, 31, 0.9);
    border: 1px solid rgba(145, 71, 255, 0.5);
    border-radius: 15px;
    margin: 40px auto;
    padding: 40px;
    width: 90%;
    max-width: 1000px;
    box-shadow: 0 0 15px rgba(145, 71, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background-image: url('bilder/contact.webp'); /* Uppdaterad sökväg till bakgrundsbild */
    background-size: cover; /* Bilden täcker hela kortet */
    background-position: center; /* Centrerar bakgrundsbilden */
    background-repeat: no-repeat; /* Hindrar upprepning av bakgrundsbilden */
}


/* Hover-effekt för Contact-kortet */
.contact-card:hover {
    transform: scale(1.01);
    box-shadow: 0 0 30px rgba(145, 71, 255, 0.7);
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    max-width: 65%;
    text-align: left;
}

.contact-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 50%;
}

/* Specifik stil för profilbilden & Availability button i Contact-kortet */
.contact-profile-image {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    padding: 3px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(145, 71, 255, 0.2));
    -webkit-mask-image: radial-gradient(circle, white 100%, transparent 100%);
    mask-image: radial-gradient(circle, white 100%, transparent 100%);
    display: block;
    margin-right: 10px;
}

.availability-btn {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: default;
    transition: background-color 0.3s ease, background-image 0.3s ease, box-shadow 0.3s ease;
}

.availability-icon {
    width: 10px;
    height: 10px;
    margin-right: 5px;
}

/* Specifik stil för sociala media ikoner i Contact-kortet */
.contact-card .social-media-links img {
    width: 50px;
    height: 50px;
}

/* Specifik stil för profilbilden i Contact-kortet */
.contact-card .profile-picture {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    padding: 3px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(145, 71, 255, 0.2));
    -webkit-mask-image: radial-gradient(circle, white 100%, transparent 100%);
    mask-image: radial-gradient(circle, white 100%, transparent 100%);
}


/* =================== Footer: Bas =================== */

.footer {
  background-color: #12111F;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  width: 100%;
  background-image: url('bilder/sectionsbackground.webp');
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 120px;
  margin-top: 50px;
}

/* Loggan i mitten står still */
.footer-logo-circle {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  position: absolute;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* =================== Footer: Cirkulär text =================== */

/* SVG placeras över mittenloggan och är responsiv */
.footer-logo-svg {
  width: clamp(160px, 22vw, 260px);
  height: clamp(160px, 22vw, 260px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  overflow: visible;                 /* fixar klipp i Safari iOS */
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Själva ringtexten. Låt textLength styra avståndet mellan tecken */
.footer-logo-svg .ring-text {
  font: inherit;
  font-size: clamp(9px, 1.2vw, 12px);
  letter-spacing: 0;
  text-transform: inherit;
  fill: #fff;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
}

/* =================== Footer: Innehåll =================== */

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  margin: 20px auto;
  padding: 10px 20px;
  color: #fff;
  max-width: 100%;
  transition: all 0.3s ease;
}

.footer-icon {
  width: 20px;
  height: auto;
  margin: 0 5px;
  vertical-align: middle;
}

.footer .footer-logo img {
  width: 15px;
  height: auto;
  display: inline-block;
  margin: 0 10px;
  align-items: center;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10px;
}

/* =================== Popup footer och social =================== */

.popup-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 20px;
  margin-top: 20px;
}

.footer-section h3,
.footer-social h3 {
  text-align: center;
  width: 100%;
}

.footer-social {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 20px;
}

.social-media-icons {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0;
}

.social-media-icons li { display: inline-block; }

.social-media-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social-media-icons a img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.social-media-icons a:hover {
  background-color: rgba(145, 71, 255, 0.8);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(145, 71, 255, 0.5);
}

.popup-footer p,
.popup-footer a {
  margin: 5px 0;
}

/* =================== Global Button Styling =================== */

.cta-btn,
.project-cta-btn,
.popup-btn,
.contact-cta-btn,
.project-ahum-cta-btn {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, background-image 0.3s ease, box-shadow 0.3s ease;
    width: auto;
    white-space: nowrap;
    margin: 10px auto;
}

/* =================== Hover-effekter för alla knappar =================== */
.cta-btn:hover,
.project-cta-btn:hover,
.popup-btn:hover,
.contact-cta-btn:hover,
.project-ahum-cta-btn:hover {
    background-image: linear-gradient(to right, #4b0082, #8a2be2);
    box-shadow: 0 0 10px 3px #45637A, 0 4px 15px rgba(145, 71, 255, 0.3);
    color: #fff;
}

/* =================== Global Internship Button Styling =================== */

.internship-btn {
    color: #fff;
    text-decoration: none;
    margin: 20px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: default;
    transition: background-color 0.3s ease, background-image 0.3s ease, box-shadow 0.3s ease;
}

.internship-btn .availability-icon {
    width: 10px;
    height: 10px;
}

/* Disable hover effect for all internship buttons */
.internship-btn:hover {
    pointer-events: none;
    background-color: inherit;
    color: inherit;
    box-shadow: none;
    transform: none;
}

.popup-body .internship-btn:hover {
    pointer-events: none;
    background-color: inherit;
    color: inherit;
    box-shadow: none;
    transform: none;
}

/* =================== Contact CTA Button =================== */
.contact-cta-btn {
    position: relative;
    min-width: 180px;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-block;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-cta-btn .hover-text {
    display: none;
}

.contact-cta-btn .original-text {
    display: inline-block;
    transition: opacity 0.3s ease;
}

/* Vid hover döljer vi originaltexten och visar hover-texten */
.contact-cta-btn:hover .original-text {
    opacity: 0;
}

.contact-cta-btn:hover .hover-text {
    display: inline-block;
    opacity: 1;
}

/* Justeringar för CTA-knappens utseende vid hover */
.contact-cta-btn:hover {
    background-image: linear-gradient(to right, #4b0082, #8a2be2);
    box-shadow: 0 0 10px 3px #45637A, 0 4px 15px rgba(255, 255, 255, 0.5);
    min-width: 280px;
    padding: 10px 30px;
    transition: all 0.5s ease;
}


/* =================== Contact HOVER =================== */

.cta-btn.contact-cta-btn {
    position: relative;
    display: inline-block;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn.contact-cta-btn .hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    white-space: nowrap; /* Förhindrar att texten bryts */
}

.cta-btn.contact-cta-btn:hover .hover-text {
    content: "Let's create magic together ✨";
    display: block;
}



/* =================== Service Button =================== */

.service-btn {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-block;
    margin: 20px auto;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Ta bort hover-effekt för service-knapparna */
.service-btn:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
    pointer-events: none;
}

/* =================== Project CTA Button =================== */

.popup-body .project-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    background-color: #6c1ba7;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.popup-body .project-cta-btn:hover {
    background-color: #4b0082;
}

/* =================== Clickable Card Link =================== */

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-link .info-card {
    position: relative;
}

.card-link button.project-cta-btn {
    z-index: 10;
    position: relative;
}


/* Responsive styling for Mobiles */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        transform: translateY(0); /* Startposition för navbar */
        transition: transform 0.3s ease; /* Lägg till smooth transition */
        z-index: 1000;
    }

    .navbar.hidden {
        transform: translateY(-100%); /* Döljer navbar genom att flytta utanför skärmen */
    }

    .navbar.scrolled-up {
        transform: translateY(0); /* Visar navbaren igen när användaren scrollar upp */
    }

    .navbar-icons {
        display: flex;
        gap: 20px;
    }

    .navbar-icons .icon {
        width: 30px;
        height: 30px;
    }

    .navbar-links {
        display: none; /* Dölj textlänkar i mobil och tablet */
    }
  

    .info-card {
        width: calc(50% - 20px);
        height: auto;
        margin: 0 auto;
    }

    .info-card h2 {
        font-size: 28px;
    }

    .popup-btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .company-logo {
        width: 100px;
    }
    
    .contact-card {
        flex-direction: column; /* Ändra layouten till kolumn för mindre skärmar */
        align-items: center; /* Centrera innehållet */
        padding: 20px; /* Behåll padding */
        width: 90%; /* Minska bredden för mindre skärmar */
        max-width: 100%; /* Sätt maxbredd till 100% */
    }

    .contact-left h2,
    .contact-left h3 {
        text-align: center; /* Centrera text */
    }

    .social-media-links {
        justify-content: center; /* Centrera sociala media ikonerna */
        flex-wrap: wrap; /* Tillåt ikonerna att brytas i flera rader om det behövs */
    }
    
    .hero {
        min-height: 35vh;
    }
    
    .hero-title {
        font-size: 3.3rem;
    }

    .hero-subtitle {
        font-size: 1.9rem;
    }
    
    .experience {
        margin-top: 10px;
    }
    
    .social-media-icons {
        display: flex; /* Se till att listan visas */
        justify-content: center; /* Centrera ikonen om du vill */
    }

    .social-media-icons li {
        display: inline-block;
    }

    .social-media-icons img {
        width: 24px; /* Justera storleken på ikonen */
        height: 24px;
    }
    
    .popup-body .project-header {
        flex-direction: column; /* Se till att layouten förblir en kolumn på mindre skärmar */
        align-items: center; /* Centrera rubrikerna på små skärmar */
        gap: 10px; /* Bibehåll mellanrum mellan elementen */
    }

    .popup-body .project-info h3 {
        font-size: 14px; /* Minska textstorleken för titlar */
    }

    .popup-body .project-info h4 {
        font-size: 12px; /* Minska storleken på tidsperioden */
    }

    .popup-body .project-cta-btn {
        font-size: 14px; /* Minska storleken på CTA-knappen */
        padding: 10px 15px; /* Justera padding för en bättre passform */
    }
    
    .popup-body .company-info {
        width: 100%;         /* Full bredd på mindre skärmar */
        align-items: center;  /* Se till att allt centreras horisontellt */
    }
    
    .popup-body .project-details {
        flex-direction: column;
        align-items: center;
    }

    .popup-body .company-info {
        width: 100%; /* Gör så att company-info tar upp hela bredden */
    }

    .popup-body .project-cta-btn {
        width: 100%;
        padding: 10px;
    }
    
    .popup-section.column-card {
        text-align: center;
        max-width: 99%;
    }
    
    .previous-companies {
        width: 100%;
    }
    
    .section {
        padding: 0px;
        margin: 0px;
    }
}

/* Small Devices (Max-width: 480px) */
@media (max-width: 480px) {
    .navbar {
        display: flex;
        flex-direction: row;
        padding: 1rem;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .navbar.scrolled-up {
        transform: translateY(0);
    }

    .navbar-icons {
        display: flex;
        gap: 15px;
    }

    .navbar-icons .icon {
        width: 25px;
        height: 25px;
    }

    .info-cards {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .info-card {
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .info-card h2 {
        font-size: 24px;
    }

    .popup-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .hero {
        min-height: 35vh;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.6rem;
    }

    .company-logo {
        width: 80px;
    }
    
    .language-menu {
        margin-left: -20px;
    }
    
    .social-media-icons {
        margin-left: -12px;
    }
    
    .social-media-links {
        justify-content: center; /* Centrera sociala media ikonerna */
        flex-wrap: wrap; /* Tillåt ikonerna att brytas i flera rader om det behövs */
        gap: 0px;
    }
    .popup-body .project-header {
        gap: 8px; /* Mindre mellanrum mellan elementen */
    }

    .popup-body .project-info h3 {
        font-size: 14px; /* Ännu mindre textstorlek */
    }

    .popup-body .project-info h4 {
        font-size: 12px;
    }

    .popup-body .project-cta-btn {
        font-size: 12px; /* Mindre storlek på CTA-knappen */
        padding: 8px 12px;
    }
    
    .popup-section.column-card {
        text-align: center;
        width: 100%;
    }
    
    .experience {
        margin-top: 10px;
    }
    
    .contact-left,
    .contact-right {
        max-width: 100%; /* Sätt maxbredd till 100% */
        text-align: center; /* Centrera texten */
        align-items: center; /* Centrera innehållet vertikalt */
    }
    
    .contact-card {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align elements */
        text-align: center; /* Center text */
    }

    .contact-right {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center align the button */
        gap: 20px;
        max-width: 100%; /* Take full width */
    }

    .cta-btn.contact-cta-btn {
        margin: 0 auto; /* Center the button */
    }
    
    .previous-companies {
        width: 100%;
    }
    
    .section {
        padding: 0px;
        margin: 0px;
    }
}

/* =================== Media Queries =================== */

/* Styling för surfplattor (max-width: 1024px) */
@media (max-width: 1024px) {
    .testimonial-card {
        max-width: 100%; /* Sätt bredden till 45% för tablets */
    }

    .info-card {
        flex: 1 1 100%; /* Gör korten 100% breda på skärmar under 768px */
        max-width: 100%; /* Sätt maxbredd till 100% */
        margin: 0px 0; /* Justera marginalen runt korten */
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .navbar-icons .icon {
        width: 20px;
        height: 20px;
    }
}


/* Styling för mobiler (max-width: 768px) */
@media (max-width: 768px) {
    .testimonial-card {
        max-width: 100%; /* Sätt bredden till 90% för mobiler */
    }
    
    .navbar-links {
        display: none; /* Dölj textlänkar */
    }
    .navbar-icons {
        display: flex; /* Visa ikonerna */
    }
}

/* Styling för mindre mobiler (max-width: 480px) */
@media (max-width: 480px) {
    .testimonial-card {
        max-width: 100%; /* Sätt bredden till 100% för små mobiler */
    }
}

/* För tabletstorlekar */
@media (max-width: 1024px) {
    .info-card {
        flex: 1 1 calc(50% - 20px); /* Byter till två kolumner */
        max-width: calc(50% - 20px); /* Begränsar bredden till hälften av förälderelementets bredd */
    }
}

/* För mindre skärmar som mobil */
@media (max-width: 768px) {
    .info-card {
        flex: 1 1 100%; /* Full bredd för mobilskärmar */
        max-width: 100%; /* Korten tar upp 100% av bredden */
    }

    .info-cards {
        flex-direction: column; /* Lägger korten i en kolumnlayout */
    }
}

/* För ännu mindre skärmar */
@media (max-width: 480px) {
    .info-card {
        flex: 1 1 100%; /* Behåller full bredd även på små mobilskärmar */
        max-width: 100%; /* Full bredd på korten */
        margin: 10px 0; /* Ger lite mellanrum mellan korten */
    }
}

/* =================== Responsive Adjustments for Smaller Devices =================== */

@media (max-width: 768px) {
    .info-cards {
        flex-direction: column;
        align-items: center;
    }

    .info-card {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* Responsive styling for Small Mobiles */
@media (max-width: 480px) {
    .info-card {
        flex: 1 1 100%;
        width: 100%;
        margin: 10px 0;
        margin-bottom: 20px;
    }
}

/* =================== Media Queries =================== */

/* För tabletstorlekar och mindre */
@media (max-width: 1024px) {
    .info-card {
        flex: 1 1 calc(50% - 20px); /* Byter till två kolumner */
        max-width: calc(50% - 20px); /* Begränsar bredden till hälften av förälderelementets bredd */
    }
}

/* För mindre skärmar som mobil */
@media (max-width: 768px) {
    .info-cards {
        flex-direction: column; /* Lägger korten i en kolumnlayout */
        align-items: center; /* Centrera korten */
    }

    .info-card {
        flex: 1 1 100%; /* Full bredd för mobilskärmar */
        max-width: 100%; /* Korten tar upp 100% av bredden */
        width: 100%; /* Korten tar upp hela bredden */
    }

    .popup-image {
        height: 100vh;
        width: auto;
        object-fit: cover;
    }
    
    .project-details {
        flex-direction: column; /* Change the layout to vertical */
        align-items: flex-start; /* Align items to the left */
    }

    .company-info {
        margin-top: 10px; /* Add some spacing between title and company info */
        width: 100%; /* Make the company info take up the full width */
        display: flex;
        justify-content: flex-start; /* Align items to the left */
    }

    .company-info h2 {
        font-size: 24px; /* Adjust font size for smaller screens */
    }

    .project-logo img {
        width: 40px;
        height: 40px;
    }
    
    .popup-body .project-info h3 {
        font-size: 14px; /* Minska textstorleken för titlar */
    }


    .popup-body .project-info h4 {
        font-size: 12px; /* Minska storleken på tidsperioden */
    }

    .popup-body .project-cta-btn {
        font-size: 14px; /* Minska storleken på CTA-knappen */
        padding: 10px 15px; /* Justera padding för en bättre passform */
    }
}

/* För ännu mindre skärmar */
@media (max-width: 480px) {
    .info-card {
        flex: 1 1 100%;
        max-width: 100%; /* Full bredd på korten */
        margin: 10px 0; /* Ger lite mellanrum mellan korten */
        margin-bottom: 20px; /* Extra mellanrum nedtill */
    }

    .popup-image {
        height: 80vh;
        width: auto;
        object-fit: cover;
    }
    
    .company-info {
        justify-content: flex-start; /* Ensure the items are aligned to the left on small screens */
    }

    .project-logo img {
        width: 40px;
        height: 40px;
    }

    .company-info h2 {
        font-size: 18px; /* Smaller font for mobile */
    }
    
    .popup-body .project-info h3 {
        font-size: 12px; /* Ännu mindre textstorlek */
    }

    .popup-body .project-info h4 {
        font-size: 12px;
    }

    .popup-body .project-cta-btn {
        font-size: 12px; /* Mindre storlek på CTA-knappen */
        padding: 8px 12px;
    }
    
    .testimonials {
        width: 100%;
    }
}

/* =================== Responsive Adjustments for Popup and Social Media =================== */

@media (max-width: 600px) {
    .popup-content {
        width: 100%;
        border-radius: 0;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        margin: 0;
    }

    .popup-header .cta-button {
        left: 10px;
        padding: 4px 8px;
    }

    .popup-header h2 {
        font-size: 20px;
    }
}

/* =================== Responsive Adjustments Popup Section: HEADER 2 LINES =================== */

/* Anpassning för mobil */
@media (max-width: 768px) {
    .popup-section h2 {
        font-size: 18px; /* Minska fontstorleken för mindre skärmar */
    }

    .popup-section h2::before,
    .popup-section h2::after {
        width: 100px; /* Minska linjernas längd för mindre skärmar */
    }

    .popup-section h2::before {
        left: -120px; /* Justera placeringen av vänstra linjen */
    }

    .popup-section h2::after {
        right: -120px; /* Justera placeringen av högra linjen */
    }
}






















