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

body {
    background-color: rgb(242, 242, 242);
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

#topp {
    background-image: url(../Bilder/katharina-roehler-1Oni4nNyvL0-unsplash.jpg);
    background-size: cover;
    background-position: center;
    height: 732px;
    position: relative;
    overflow-x: hidden;
}

.topp-hero {
    position: absolute;
    bottom: 100px;
    left: 70px;
    text-align: left;
    color: white;
    width: 90%;
    max-width: 600px;
    padding: 20px;
}

.topp-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
}

@media screen and (max-width: 768px) {
    .topp-hero {
        left: 20px;
        bottom: 60px;
        padding: 20px;
    }
    
    .topp-hero h1 {
        font-size: 2.5rem;
    }
    
    .topp-hero p {
        font-size: 1.2rem;
    }
}

.navbar {
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.nav-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
}

.navbar.scrolled {
    background-color: #333;
}

.navbar.scrolled .nav-items {
    border-radius: 10px;
    padding: 5px 10px;
}

.navbar.scrolled .logo {
    margin-left: 10px;
}

.navbar.scrolled .nav-button,
.navbar.scrolled .dropdown-label {
    color: white;
}

.navbar.scrolled .arrow {
    border-top-color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    z-index: 20;
    transition: all 0.3s ease
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.3s ease;
}

.nav-button {
    padding: 8px 16px;
    border: none;
    background: none;
    color: #f8b400;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
}

.nav-button:hover {
    color: #CE8C2C;
    transform: translateY(-2px);
}

.dropdown {
    position: relative;
}

.dropdown-label {
    color: #f8b400;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 5px;
    padding: 8px 30px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.dropdown-label:hover {
    color: #CE8C2C;
    transform: translateY(-2px);
}

.arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #f8b400;
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.dropdown-label:hover .arrow {
    border-top-color: #CE8C2C;
}

.dropdown-toggle {
    display: none;
}

.dropdown-content {
    position: absolute;
    background-color: #444;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 30;
    top: 100%;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
    border-radius: 5px;
    overflow: hidden;
    display: none;
}

.dropdown-toggle:checked ~ .dropdown-content {
    opacity: 1;
    visibility: visible;
    display: block;
    transform: translateY(5px);
    pointer-events: auto;
}

.dropdown-toggle:checked ~ .dropdown-label .arrow {
    transform: rotate(180deg);
    border-top-color: #f8b400;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #555;
    color: #f8b400;
}

.divider {
    height: 30px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 15px;
}

.notification-btn {
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.notification-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.profile-btn {
    background-color: #f8b400;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    min-width: 120px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.profile-btn:hover {
    background-color: orange;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 180, 0, 0.2);
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 20;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

@media screen and (max-width: 1100px) {

    .topp-boks p {
        font-size: 16px;
    }

    .menu-icon {
        display: block;
    }

    .nav-items {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #333;
        padding: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        gap: 0;
        z-index: 10;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    }

    #menu-toggle:checked ~ .nav-items {
        max-height: 500px;
        padding: 20px;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        margin: 0;
        transform: none;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
        display: none;
    }

    .dropdown-toggle:checked ~ .dropdown-content {
        max-height: 200px;
        padding: 10px 0;
        transform: none;
        display: block;
    }

    #menu-toggle:checked ~ .menu-icon .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
        transition: transform 0.3s ease;
    }

    #menu-toggle:checked ~ .menu-icon .bar:nth-child(2) {
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    #menu-toggle:checked ~ .menu-icon .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
        transition: transform 0.3s ease;
    }

    .bar {
        transition: transform 0.3s ease, opacity 0.2s ease;
    }

    .nav-button, 
    .notification-btn, 
    .profile-btn,
    .dropdown,
    .divider {
        width: 100%;
        margin: 5px 0;
    }

    .nav-button, 
    .notification-btn, 
    .profile-btn {
        text-align: center;
        padding: 12px 16px;
    }

    .dropdown {
        margin: 0;
    }

    .dropdown-label {
        justify-content: center;
        padding: 12px 16px;
        width: 100%;
    }

    .divider {
        height: 1px;
        margin: 10px 0;
    }

    .nav-button:hover,
    .dropdown-label:hover,
    .notification-btn:hover,
    .profile-btn:hover {
        transform: none;
    }
    
}

.hero-section2 {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    padding: 100px 20px;
    margin: 0 auto;
    position: relative;
    min-height: 500px;
}
  
.content2 {
    width: 100%;
    max-width: 800px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}
  
.content2 h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    background: linear-gradient(45deg, #333, #f8b400);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.content2 h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #f8b400;
}
  
.content2 p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
    padding: 100px 20px;
    padding-top: 20px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
  
.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
    position: relative;
    z-index: 2;

}
  
.content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid #f8b400;
}

.content p:hover {
    transform: translateX(10px);
    transition: transform 0.3s ease-in-out;
}
  
.hero-section .image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-image: url(../Bilder/sung-jin-cho-L_cBvFzhEmo-unsplash.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hero-section .image:hover {
    transform: scale(1.02);
}

.section {
    padding: 0px 30px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin: 0 120px;
    margin-bottom: 60px;
}

.feature-card {
    padding: 20px;
    height: 100%;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
    position: relative;
    background-color: white;
    transition: all 0.3s ease;
    text-align: center;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.feature-card:hover::before, .feature-card:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    padding: 5px;
    background-image: conic-gradient(from var(--angle),transparent 70%, #f8b400);
    animation: spin 2.5s linear infinite;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-card:hover::before {
    filter: blur(20px);
    opacity: 0.5;
}

@keyframes spin {
    from{
        --angle: 0deg;
    }
    to{
        --angle: 360deg;
    }
}

.feature-card p {
    color: #333;
}

.feature-card h3 {
    color: black;
    text-decoration: underline #f8b400;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
    margin-bottom: 15px;
}

.feature-card:hover {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    scale: 1.05;
    z-index: 100;
    background-color: white;
}

.feature-card > * {
    position: relative;
    z-index: 2;
}

.feature-card > div {
    position: absolute;
    inset: 0;
    background: white;
    z-index: 1;
    border-radius: 10px;
}

.team-section {
    text-align: center;
    padding: 40px 20px;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #CE8C2C;
}

.team-section p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.3rem;
}

.slider {
    position: relative;
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 200%; 
}

.slide {
    display: flex;
    justify-content: space-between; 
    gap: 20px;
    width: 50%; 
    padding: 0 20px; 
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 370px;
    height: 500px;
}

.card .image {
    background: linear-gradient(to bottom, #000, #444);
    height: 330px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 20px;
}

.card .image2 {
    background-image: url(../Bilder/nan-wisanmongkol-AUwXJkPUgzs-unsplash.jpg);
    background-size: cover;
    background-position: center;
    height: 330px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 20px;
}

.card .image3 {
    background-image: url(../Bilder/ranurte-3ffq6Kkw3JE-unsplash.jpg);
    background-size: cover;
    background-position: center;
    height: 330px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 20px;
}

.card .image4 {
    background-image: url(../Bilder/Nabolags.jpg);
    background-size: cover;
    background-position: center;
    height: 330px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.2rem;
    margin-left: 20px;
}

.card p {
    color: #666;
    font-size: 0.9rem;
    margin-left: 20px;
}

.card a {
    color: #313030;
    font-size: 0.9rem;
    text-decoration: none;
    margin-left: 20px;
    margin-top: 0;
}

.card a:hover {
    color: #CE8C2C;
}

.dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 17px;
    height: 17px;
    margin: 0 5px;
    background: #cac5c5;
    border-radius: 50%;
    cursor: pointer;
}

input[type="radio"] {
    display: none;
}

#slide1:checked ~ .slides {
    transform: translateX(0);
}

#slide2:checked ~ .slides {
    transform: translateX(-50%);
}

#slide1:checked ~ .dots .dot:nth-child(1),
#slide2:checked ~ .dots .dot:nth-child(2) {
    background: #CE8C2C;
}

footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
    clear: both;
    z-index: 1;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: #f8b400;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f8b400;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-link {
    color: white;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #CE8C2C;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

@media screen and (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section {
        padding: 40px 20px;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 60px 20px;
    }

    .content2 h1 {
        font-size: 2.5rem;
    }

    .content2 {
        padding: 30px 20px;
    }

    .content p {
        font-size: 1rem;
        padding-left: 15px;
    }

    .hero-section .image {
        min-height: 300px;
    }
}

@media screen and (max-width: 1200px) {
    .slider {
        width: 100%;
        padding: 0 20px;
    }

    .slide {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .card {
        width: 100%;
        max-width: 370px;
        height: auto;
        min-height: 450px;
    }

    .dot {
        width: 15px;
        height: 15px;
        margin: 0 8px;
    }
}

