html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Playfair Display', serif; /* Apply Playfair Display font */
    margin: 0;
    padding: 0;
    background-color: #e7e7e7; /* Off-White background */
    color: #3A3F3C; /* Charcoal Gray text color */
    
}
a[href^="tel:"] {
  color: #3A3F3C !important;   /* Force the color to black */
  text-decoration: none;     /* Optional: remove underline */
}
u[href^="tel:"] {
  color: #3A3F3C !important;   /* Force the color to black */
       /* Optional: remove underline */
}
.body-section.esittely{
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-image: url('../images/ChatGPT Image May 24, 2025, 03_23_28 PM.png');
}
.body-section-2{
    background-color:#e7e7e7;
    padding: 4rem 10%;

}
.contact-card.esittely {
    padding: 4rem 7%; /* Add more padding on the sides */
    border-radius: 5px;
    
}
header {
    position: sticky;
    top: 0; /* Stick to the top of the viewport */
    z-index: 1000; /* Ensure it stays above other elements */
    background-color: #ffffff4f; /* Keep the background color */
    backdrop-filter: blur(10px);
    padding: 1rem 15%;
    margin-bottom: -6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color:#3A3F3C; /* Warm Beige text color */
    margin: 0;
    font-weight: bolder;
}
.header-img {
    max-width: 150px; /* Adjust logo size */
    height: auto; /* Maintain aspect ratio */
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color:#3A3F3C; /* Off-White text color */
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color:#757575; /* Dusty Rose hover color */
}
a {
    
    color:#f4f4f4; /* Off-White text color */
}

.hero {
    position: relative;
    width: 100%;
    height: 800px; /* Adjust height as needed */
    background-image: url('../images/round-table-828546_1920.jpg'); /* Correct relative path */
    background-size: cover; /* Ensure the image covers the entire section */
    background-position: center 70%; /* Center the image */
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4); /* Add a semi-transparent overlay */
    display: flex;
    align-items: center;
    justify-content: left;
    
}

.hero-text.bakcground-square {
    
    margin-left: 15%;
    margin-top: 6rem;
    padding:2rem;
    padding-bottom: 15rem;
    margin-bottom: -6rem;
    
    background-color: rgba(250, 249, 247, 0.8); /* Off-White background with opacity */
    
    border-radius: 10px; /* Optional: Rounded corners for the text box */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Subtle shadow for depth */
    
}
.hero-text.bakcground-square.home {
    
    margin-left: 15%;
    margin-top: 2rem;
    padding:2rem;
    padding-bottom: 20rem;
    margin-bottom: -10rem;
    
    background-color: rgba(250, 249, 247, 0.8); /* Off-White background with opacity */
    
    border-radius: 10px; /* Optional: Rounded corners for the text box */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Subtle shadow for depth */
    z-index: 0;
    
}


.hero-text {
     /* White background with opacity */
    color: #FAF9F7;
    padding: 15%;
    
    text-align: left;
    
    width: 30%;
    
}
.hero.hinnottelu {
    height: 500px;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3A3F3C; /* Dark text color */
}
.hero-text h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #3A3F3C; /* Dark text color */
}
.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #3A3F3C; /* Slightly lighter text color */
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #e7e7e7; /* Sage Green */
    border-radius: 5px;
    border-color:#3A3F3C; /* Dusty Rose border */
    border-width: 3px;
    border-style: solid;
    color: #3A3F3C; /* Off-white text */
    text-decoration: none;
    
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color:#3a3f3c7c; /* Dusty Rose */
}


.hero-image {
    flex: 2;
    text-align: right;
    max-width: 50%;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    display: block; /* Removes the default inline spacing below the image */
    margin: 0; /* Ensures no margin around the image */
    padding: 0; /* Ensures no padding around the image */
}

.services {
    display: flex;
    flex-direction: row;
    gap: 2rem; /* Add spacing between service items */
    padding: 4rem 15%;
    background-color: #e7e7e7; /* Warm Beige background */
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    color: #3A3F3C; /* Charcoal Gray text color */
    
    padding-bottom: 2rem;
    
}
.cardsBox {
    padding: 2rem 0rem;
     /* Warm Beige background */
    
}
.cards {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    
}

.card {
    display: flex;
    flex-direction: column;
    position: relative; /* Required for positioning the notch */
    flex: 1;
    background-color: #FAF9F7; /* Off-White card background */
    padding: 1.5rem;
    border-radius: 10px;
    border-color:#123458; /* Dusty Rose border */
    border-width: 0px;
    border-style: solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #3A3F3C; /* Charcoal Gray text color */
}
.card span {
    margin-top: auto; /* Push the span to the bottom of the flex column */
    font-size: 6em;
    text-align: center; /* Optional: Center the text horizontally */
}

.card::before {
    content: '';
    position: absolute;
    top: 0; /* Aligns the notch with the top edge */
    left: 50%; /* Centers the notch horizontally */
    transform: translateX(-50%); /* Adjusts for the notch's width */
    width: 60px;
    height: 8px;
    background-color: inherit; /* Matches the card's background color */
    border-radius: 0 0 3px 3px; /* Rounded bottom corners for the notch */
    z-index: 1; /* Ensures the notch is above the card's background */
}

.card:nth-child(1)::before {
    background-color: #eb552c; /* Dark blue notch for the first card */
}

.card:nth-child(2)::before {
    background-color: #eb552c; /* Beige notch for the second card */
}

.card:nth-child(3)::before {
    background-color: #eb552c;/* Light cream notch for the third card */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.contact-card {
    padding: 4rem 15%; /* Add more padding on the sides */
    background-color: #f4f4f4;
    border-radius: 10px; /* Slightly rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid #c6c9cd; /* Light Gray border */
    color: #242e3d; /* Dark Charcoal text color */
}

.contact-header {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    justify-content: space-between;
    gap: 2rem; /* Add more spacing between the form and image */
}

.contact-header form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Add spacing between input fields */
}

.contact-card label {
    font-size: 1rem;
    color: #242e3d; /* Dark Charcoal text color */
    text-align: left;
    font-weight: bold;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    border: none; /* Remove the box border */
    border-bottom: 2px solid #c6c9cd; /* Light Gray underline */
    background-color: transparent; /* Transparent background */
    padding: 0.5rem 0; /* Add padding for spacing */
    font-size: 1rem;
    color: #242e3d; /* Dark Charcoal text color */
    outline: none; /* Remove the default focus outline */
    transition: border-color 0.3s ease; /* Smooth transition for focus */
}

.contact-card input:focus,
.contact-card textarea:focus {
    border-bottom: 2px solid #eb552c; /* Red underline on focus */
}

.contact-image {
    width: 400px; /* Adjust the width */
    height: 400px; /* Adjust the height */
    border-radius: 10px; /* Boxy corners */
    object-fit: cover; /* Ensure the image scales properly */
    border: 2px solid #242e3d; /* Dark Charcoal border */
    margin-right: 0; /* Remove extra margin */
}

.contact-message {
    margin-top: 2rem; /* Add more spacing above the message section */
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Add spacing between the textarea and button */
}

.contact-card textarea {
    border-bottom: 2px solid #c6c9cd; /* Light Gray underline */
    resize: none; /* Disable resizing */
}

.contact-card button {
    padding: 0.75rem 1.5rem;
    background-color: #eb552c; /* Red button background */
    color: #e7e7e7; /* Light Peach text color */
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-card button:hover {
    background-color: #242e3d; /* Dark Charcoal on hover */
    color: #e7e7e7; /* Light Peach text color */
}





.footer {
    background-color: #13120f; /* Dark Charcoal background */
    color: #e7e7e7; /* Light text color */
    padding: 2rem 0;/* Add padding for spacing */
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Ensure responsiveness */
    gap: 2rem; /* Add spacing between items */
}
.footer-info {

    flex: 1; /* Allow the info section to take up space */
    align-self: center; /* Align the info section to the right */
    text-align: left; /* Align text to the left */
    font-size: 1rem;
    margin-left: 0;
}
.footer-logo img{
    margin-left: -15%;
    margin-right: -15%;
    flex: 1; /* Allow the logo to take up space */
    width:100%;
    max-width: 400px;
}
.body-section {
    display: flex;
    padding: 4rem 20rem;
    background-color: #FAF9F7; /* Off-White background */
    flex-direction:row;
}
.body-section.esittely {
   
    padding: 8rem 15%;
    
}
.left-side-esittely {
    flex: 7;
    padding-right: 5%;
    
}
.right-side-esittely {
    flex: 3;
    display: flex;
    flex-direction: column;
   
   
    
}


.right-side-esittely img {
    
    max-width: 100%;
    height: auto;
    display: block; /* Removes the default inline spacing below the image */
    margin-top: 4rem; /* Ensures no margin around the image */
    padding: 0; /* Ensures no padding around the image */
    border-radius: 5px;
    
}
.esittely-info {
    display: flex;
    flex-direction: row;
}
.esittely-info span {
    margin: 10px;
    color: #9CAF88;
}
.esittely-info u{
    margin: 10px;
}
.esittely-info p{
    margin: 10px;
}
.angled-section {
    display: flex;
    width: 100%;
    height: 800px; /* Adjust height as needed */
    position: relative;
    overflow: hidden;
}
.section-text.zero{
    margin-left: 10%;
    padding : 0;
    width: 100%;
    
}

.angled-section.reverse.zero p {
    margin-right: 25%;
    font-size: 1rem;
    width: 60%;
    color: #3A3F3C;
    line-height: 1.5;
}
.angled-section.reverse.zero h2 {
    margin-right: 25%;
    margin-left: 10%;
    width: 80%;
    color: #3A3F3C;
    line-height: 1.5;
}
.angled-section.reverse.zero a {
    margin-right: 25%;
    margin-left: 10%;
    
    
    line-height: 1.5;
}
.angled-section.first .angled-image {
    flex: 4; /* 30% width */
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%); /* Adjusted for 30% width */
}

.angled-section.first .angled-content {
    background-color: #e7e7e7;
    flex: 6; /* 70% width */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%); /* Adjusted for 70% width */
}


.angled-section.third .angled-content {
    background-color: #e7e7e7;


}


.angled-image {
    flex: 1;
    background: url('../images/sliderImage.jpg') no-repeat center center;
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    margin-right: -16%; /* Adjust to create the angled effect */
}

.angled-content {
    flex: 1;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 40px; /* Add padding for spacing */
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
    text-align: left;
    transition: background-color 1s ease;
}
.angled-content a {
    
     /* Sage Green */
    width: 60%;
    border-width: 3px;
    
}

.angled-content h2 {
    margin-left: 25%;
    font-size: 2rem;
    margin-bottom: 5px;
    color:#3A3F3C;
}
.angled-content h3 {
    margin-left: 25%;
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 0;
    color:#3A3F3C;
}

.angled-content p {
    width: 40%;
    margin-left: 25%;
    font-size: 1rem;
    color: #3A3F3C;
    line-height: 1.5;
}

.angled-content a {
    margin-left: 25%;
    margin-top: 10px;
    width: fit-content;

    transition: background-color 1s ease;
}

.dropdown-menu input {
        width: 15px; /* Adjust checkbox size for smaller screens */
        height: 15px; /* Adjust checkbox size for smaller screens */
    }

.angled-section.reverse p {
    margin-right: 25%;
    font-size: 1rem;
    width: 40%;
    color: #3A3F3C;
    line-height: 1.5;
}

.pricing-section{
    padding: 0 15%;
}
.angled-section.reverse .angled-image {
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -15%; /* Adjust to create the angled effect */
}

.angled-section.reverse .angled-content {
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}
.angled-section.fourth .angled-image {
    flex: 6; /* 30% width */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);

}

.angled-section.fourth .angled-content {
    
    flex: 4; /* 70% width */
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    
}

.angled-image.Due-Diligence {
    background: url('../images/job-5382501_1280.jpg') no-repeat center center;
    background-size: cover;
}
.angled-image.Arvonmäärityspalvelut {
    background: url('../images/stock-exchange-3087396_1280.jpg') no-repeat;
    background-size: cover;
    background-position: 20% center;
}
.angled-image.Mallinnuspalvelut {
    background: url('../images/ai-generated-8615473_1280.png') no-repeat center center;
    background-size: cover;
}
.angled-image.Rahoitus {
    background: url('../images/IMG_3712.JPG') no-repeat center center;
    background-size: cover;
}
.angled-image.Yrityskauppaprosessipalvelut {
    background: url('../images/handshake-4608297_1280.jpg') no-repeat center center;
    background-size: cover;
}
.popup {
    position: fixed;
    bottom: 2%;
    left: 10%;
    width: 80%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.9) 25%,
        rgba(0, 0, 0, 0.7) 50%, /* Highlight streak */
        rgba(0, 0, 0, 0.9) 75%,
        rgba(0, 0, 0, 0.9) 100%
    ); /* Higher-definition gradient with a 45-degree angle */
    background-size: 300% 300%; /* Larger gradient for smoother scrolling */
    animation: scrollHighlight 10s linear infinite; /* Seamless scrolling animation */
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none; /* Initially hidden */
}

/* Keyframes for the scrolling effect */
@keyframes scrollHighlight {
    0% {
        background-position: 0 0; /* Start position */
    }
    100% {
        background-position: 300% 0; /* End position for seamless scrolling */
    }
}
.giveaway-section {
    background-color: #e7e7e7; /* Dark Charcoal background */
    color: #e7e7e7; /* Light text color */
    padding: 40px 20px;
    margin-top: 0;
}

.giveaway-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #242e3d; /* Slightly lighter dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid #eb552c; /* Orange border */
    width: 60%;
    margin: 0 auto;
}
.required-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 1rem;
    color: #242e3d;
}

.required-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: #eb552c; /* Orange checkbox color */
}

.required-asterisk {
    color: #eb552c; /* Orange color for the asterisk */
    font-weight: bold;
}

/* Dropdown styling */
.dropdown {
    margin-bottom: 20px;
    position: relative;
}

.dropdown-container {
    position: relative;
}

.dropdown-toggle {
    background-color: #242e3d;
    color: #e7e7e7;
    border: 2px solid #eb552c;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.dropdown-toggle:hover {
    background-color: #eb552c;
    color: #fff;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #242e3d;
    border: 2px solid #eb552c;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-menu label {
    display: block;
    margin: 5px 0;
    color: #e7e7e7;
}

.dropdown-menu input {
    margin-right: 10px;
    accent-color: #eb552c; /* Orange checkbox color */
}

.dropdown-container.open .dropdown-menu {
    display: block;
}

.giveaway-text {
    flex: 1;
    text-align: left;
}
.countdown-timer {
    display: flex;
    justify-content: center;
    width: 60%;
    gap: 40px;
    margin: 0 auto;
    background-color: #11171f; /* Dark background */
    padding: 15px;
    border-radius: 10px 10px 0 0 ;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.time-box {
    text-align: center;
    color: #e7e7e7; /* Light text color */
}
@font-face {
    font-family: 'Digital-7';
    src: url('../fonts/digital_7/digital-7.ttf') format('truetype');
}
.time {
    font-size: 2.5rem;
    font-weight: bold;
    color: #eb552c; /* Orange color for numbers */
    display: block;
    line-height: 1;
    font-family: 'Digital-7', sans-serif;
}

.giveaway-text h2 {
    font-size: 1.8rem;
    color: #eb552c; /* Orange color for the heading */
    margin-bottom: 10px;
}

.giveaway-text h3 {
    font-size: 1.8rem;
    color: #eb552c;/* Light text color */
    margin: 20px 0 10px;
}

.giveaway-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 10px 0;
}

.nbf-link {
    color: #eb552c; /* Orange link color */
    font-weight: bold;
    
}

.nbf-link:hover {
    text-decoration: underline;
    color: #f1b671; /* Lighter orange on hover */
}

.divider {
    width: 50%;
    height: 2px;
    background-color: #eb552c; /* Orange divider */
    margin: 20px 0;
    border: none;
}

.cta-button.arvonta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #eb552c; /* Orange button background */
    color: #e7e7e7; /* Light text color */
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.cta-button.arvonta:hover {
    background-color: #f1b671; /* Lighter orange on hover */
    color: #13120f; /* Dark text color */
}

.rules-link {
    color: #eb552c; /* Orange link color */
    text-decoration: underline;
    font-weight: bold;
    background-color: "transparent"; /* Ensure no background color */
}
.rules-link a{
    color: #eb552c; /* Orange link color */
    text-decoration: underline;
    font-weight: bold;
    background: "transparent"; /* Ensure no background color */
}
.hinnasto-link{
    color: #3A3F3C;
    
}
.hinnasto-link:hover{
    color: #919995;
    text-decoration: none;
}

.rules-link:hover {
    color: #f1b671; /* Lighter orange on hover */
    text-decoration: none;
}

.giveaway-icon {
    flex: 0.4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.giveaway-icon .gift-icon {
    font-size: 16rem; /* Large icon size */
    color: #eb552c; /* Orange color */
    transform: rotate(30deg); /* Rotate the icon */
    opacity: 0.8; /* Slight transparency */
}

.popup-content {
    padding: 20px;
    position: relative;
    display: flex;
}
.right-side-pop-up {
    flex: 1;
    display: flex; /* Enable flexbox for alignment */
    justify-content: flex-end; /* Align items to the right */
    align-items: center; /* Center items vertically */
}

.cta-button.arvonta {
    display: inline-block;
    padding: 1rem 1.5rem;
    background-color: #eb552c; /* Red button background */
    color: #e7e7e7; /* Light Peach text color */
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 5%; /* Ensure no extra margin */
}
.gift-icon.pop{
    margin-top: 25%;
    margin-right: 20px; /* Add space between the icon and text */
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.close-btn:hover {
    color: #f00;
}
/* Sliding box container */
.sliding-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    overflow: hidden;
    
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
    transition: height 0.5s ease;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sliding-box.left {
    left: 0;
    right: auto; /* Override right alignment */
    width: 70%; /* Set width for left-aligned box */
    color: #FAF9F7;
}
.sliding-box.right {
    left: 0;
    right: auto; /* Override right alignment */
    width: 70%; /* Set width for right-aligned box */
    color: #FAF9F7;
}
.sliding-box.right.zero p {
    color: #FAF9F7;
    width: 40%;
    align-self: flex-end;
    padding-right: 0;
    margin-right: 0;
    padding-right: 5%;
}
.sliding-box.right.second p{
    
    color: #FAF9F7;
    width: 40%;
    align-self: flex-end;
    padding-right: 0;
    margin-right: 0;
    padding-right: 5%;
   
}
.sliding-box.right.second a{
    
    color: #FAF9F7;
    width: 40%;
    align-self: flex-end;
    padding-right: 0;
    margin-right: 0;
    padding-right: 5%;
   
}
.sliding-box.right.second{
    
    left: auto;
    right: 0; /* Align to the right */
    width: 70%; /* Set width for right-aligned box */
    padding: 0;
}
.sliding-box.left.first p{
    
    color: #FAF9F7;
    width: 40%;
    align-self: flex-start;
    padding-left: 5%;
}
.sliding-box.right.fourth p{
    
    color: #FAF9F7;
    width: 40%;
    align-self: flex-end;

}
.sliding-box.left.third p{
    
    color: #FAF9F7;
    width: 30%;
    align-self: flex-start;
    padding-left: 20%;
}

/* Sliding box for reverse sections (right-aligned image) */
.angled-section.reverse .sliding-box {
    left: auto;
    right: 0;
}

/* Show the sliding box */
.sliding-box.show {
    height: 100%; /* Expand to full height */
    padding: 20px; /* Add padding when visible */
}

.section-headding {
    position: relative;
    margin: -0px 0;
    
    padding: 2rem 2rem 2rem 15%;
    background-color: #f4f4f4; /* Off-white background */
    
    text-align: left;
    
    font-size: 5rem;
    color: #3A3F3C; /* Charcoal Gray text color */
    
}
.section-headding.yhteys {
    position: relative;
    margin: 0;
    padding: 2rem 2rem 2rem 15%;
    background-color: #242e3d; /* Off-white background */
    
    text-align: left;
    
    font-size: 5rem;
    color: #e7e7e7; /* Charcoal Gray text color */
    
}
.gold-divider {
    width: 100%; /* Full width */
    height: 4px; /* Thickness of the divider */
    background-image: linear-gradient(90deg, #eb552c, #f1b671, #eb552c); /* Base color with highlight and shadow */ /* Darker orange gold gradient */
    background-size: 200% 100%; /* Make the gradient larger than the element */
    background-position: 0 0; /* Start position of the gradient */
    background-attachment: fixed; /* Makes the gradient move with scrolling */
    animation: goldScroll 6s linear infinite; /* Add animation for movement */
    z-index: 20;
}
.image-tablet {
    display: none; /* Hide the image on larger screens */
}
.tablet-tuote-btn {
    display: none; /* Hide the button on larger screens */
}
.header-bottom{
        display: none;
        
    }
.cta-button.arvonta.phone{
    display: none;
    
}
.pricing-link{
    color: #eb552c;
    font-size: 1.2rem;
    
}
.pricing-link:hover{
    color: #eb552c;
    font-size: 1.5rem;
    background-color: #f1b57100;
}
/* Keyframes for the scrolling effect */
@keyframes goldScroll {
    0% {
        background-position: 0 0; /* Start position */
    }
    100% {
        background-position: -200% 0; /* End position */
    }
}
    .tablet-tuote-btn {
    display: none; /* Ensure the button takes up the full width */
    
}
/* Responsive styles */


@media screen and (max-width: 768px) {
    .hero {
        height: 900px;
    }
    .services {
        display: flex;
        flex-direction: column;
        gap: 2rem; /* Add spacing between service items */
        padding: 1rem;
    }
    .section-headding.yhteys {
        font-size: 2rem; /* Adjust font size for smaller screens */
        text-align: center;
        
    }
    .section-headding {
        font-size: 2rem; /* Adjust font size for smaller screens */
        text-align: center;
        padding: 2rem 0;
        
    }
    .pricing-section {
        padding: 2rem 1rem; /* Adjust padding for smaller screens */
    }
    .pricing-section ul{
        padding-left: 1rem; /* Adjust padding for smaller screens */
    }
    .pricing-section li{
        overflow-wrap: break-word; /* Adjust padding for smaller screens */
    }
    
    .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4); /* Add a semi-transparent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    
    
    }   
    .hero-text.bakcground-square {
    
    margin-left: 0%;
    margin-top: 6rem;
    padding: 0rem 2rem;
    padding-bottom: 2rem;
    margin-bottom: 0rem;
    width: 90%;
    background-color: rgba(250, 249, 247, 0.8); /* Off-White background with opacity */
    
    border-radius: 10px; /* Optional: Rounded corners for the text box */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Subtle shadow for depth */
    
    }
    .hero-text.bakcground-square.home {
        
        margin-left: 0%;
        margin-top: 0rem;
        padding:0rem;
        padding-bottom: 0rem;
        margin-bottom: -0rem;
        padding: 2rem 2rem; /* Add padding for smaller screens */
        width: 90%;
        align-self: center;
        background-color: rgba(250, 249, 247, 0.8); /* Off-White background with opacity */
        
        border-radius: 10px; /* Optional: Rounded corners for the text box */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Subtle shadow for depth */
        z-index: 0;
        
    }
    .header-img {
        max-width: 100px; /* Adjust logo size for smaller screens */
        height: auto; /* Maintain aspect ratio */
    }
    header {
    position: sticky;
    top: 0; /* Stick to the top of the viewport */
    z-index: 1000; /* Ensure it stays above other elements */
    background-color: #ffffff4f; /* Keep the background color */
    backdrop-filter: blur(10px);
    padding: 1rem 1rem;
    margin-bottom: -6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    }
    .body-section.esittely{
        display: flex;
        flex-direction: column-reverse; /* Stack elements vertically */
        padding: 2rem 0.5rem;
    }
    .header-top {
        display: none;
        
    }
    .header-bottom {
        display: block;
        
        
    }
    .dropdown-menu label {
        font-size: 0.9rem; /* Adjust label font size for smaller screens */
    }
    .dropdown-menu input {
        width: 15px; /* Adjust checkbox size for smaller screens */
        height: 15px; /* Adjust checkbox size for smaller screens */
    }
    .checkbox-area {
        display: flex; /* Adjust label font size for smaller screens */
        flex-direction: row;
    }
    .right-side-esittely img {
        margin-top: 10px; /* Hide the stamp on smaller screens */
    }

    .contact-image {
        display: none;
    }
    .footer-info {
        flex: 1; /* Allow the info section to take up space */
        align-self: center; /* Align the info section to the right */
        text-align: center; /* Center text for smaller screens */
        font-size: 0.8rem; /* Adjust font size for smaller screens */
        margin-left: 0; /* Remove left margin for smaller screens */
    }
    .angled-image {
        display: none;
    }
    .angled-section {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto; /* Adjust height as needed */
        position: relative;
        overflow: hidden;
    }
    .angled-content {
        flex: 1;
        background-color: #f4f4f4;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 20px 0px; /* Add padding for spacing */
        clip-path: none;
        text-align: left;
        transition: background-color 1s ease;
        height: auto;
    }
    .angled-content a {
        
         /* Sage Green */
        width: 60%;
        border-width: 3px;
        
        
    }

    .angled-content h2 {
        margin: 0 0 10px 0;
        font-size: 1.5rem;

        color:#3A3F3C;
        align-self: center;
    }
    .angled-content h3 {
        margin: 0 0 10px 0;
        font-size: 1rem;

        color:#4b504d;
        align-self: center;
    }


    .angled-content p {
        width: 90%;
        margin-left: 0;
        font-size: 1rem;
        color: #3A3F3C;
        line-height: 1.5;
        align-self: center;
        
    }

    .angled-content a {
        align-self: center;
        margin-left: 0%;
        margin-top: 10px;
        width: fit-content;
        transition: background-color 1s ease;
    }

    .angled-content a:hover {
        background-color: #9e9e9eb4;
    }
    .angled-section.reverse p {
        width: 90%;
        margin: 0;
        font-size: 1rem;
        color: #3A3F3C;
        line-height: 1.5;
        align-self: center;
    }
    .section-text {
        align-self: center;
        
    }
    .section-text.zero p{
        color:#3A3F3C;
    }


    .angled-section.reverse .angled-image {
        clip-path: none;
        
    }
    .angled-section.reverse .angled-content {
        clip-path: none;
    }
    .angled-section.fourth .angled-image {
        flex: 6; /* 30% width */
        clip-path: none;
    }
    .angled-section.fourth .angled-content {
        flex: 4; /* 70% width */
        clip-path: none;
    }
    .angled-section.first .angled-image {
        flex: 4; /* 30% width */
        clip-path: none; /* Adjusted for 30% width */
    }

    .angled-section.first .angled-content {
        background-color: #e7e7e7;
        flex: 6; /* 70% width */
        clip-path: none; /* Adjusted for 70% width */
    }
    .image-tablet {
        display: block; /* Show the image on smaller screens */
        height: 300px; /* Adjust height as needed */
        width: 100%; /* Ensure the image takes up the full width of its container */
        object-fit: cover;
    }
    .angled-content a {
        background-color: transparent; /* Sage Green */
        
    }
    .tablet-tuote-btn {
    display: none; /* Ensure the button takes up the full width */
    text-align: left; /* Align text to the left */
    font-size: 1rem; /* Adjust font size */
    color: #FAF9F7; /* Dark Charcoal text color */
    background: black;
    align-self: left;
    text-decoration: none; /* Remove default underline */
    position: relative; /* Position for the underline */
    padding: 0.5rem 0; /* Add padding for spacing */
}
    .tablet-tuote-btn :hover {
    
    background: none;
    
}

.tablet-tuote-btn span {
    font-size: 1.2rem; /* Adjust the size of the down arrow */
    vertical-align: middle; /* Align the arrow with the text */
}

.tablet-tuote-btn::after {
    content: ""; /* Create the underline */
    position: absolute;
    bottom: 0; /* Position at the bottom of the button */
    left: -100%; /* Start from the left edge */
    width: 300%; /* Stretch across the parent container */
    height: 2px; /* Thickness of the underline */
    background-color: #eb552c; /* Red underline color */
}
.tablet-tuote-btn.blue::after {
    content: ""; /* Create the underline */
    position: absolute;
    bottom: 0; /* Position at the bottom of the button */
    left: -100%; /* Start from the left edge */
    width: 300%; /* Stretch across the parent container */
    height: 2px; /* Thickness of the underline */
    background-color:#FAF9F7 ; /* Red underline color */
}
.toggle-list {
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: none; /* Light background */
    padding: 10px; /* Add padding inside the list */
    display: none; /* Initially hidden */
    line-height: 2; /* Adjust line height for better readability */
}

.toggle-list li {
    padding: 5px 0; /* Add spacing between list items */
    color: #FAF9F7; /* Dark text color */
}
.toggle-list a {
    padding: 5px 0; /* Add spacing between list items */
    color: #FAF9F7; /* Dark text color */
}
   
    .angled-content.cta-button {
    margin-left: 25%;
    margin-top: 10px;
    width: fit-content;
    background-color: #f4f4f4;
    
    transition: background-color 1s ease;
}
.contact-card.esittely{
    width: 85%;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
    margin-left: 1%;
    
}
.left-side-esittely {
    flex: 1; /* Adjusted to take full width on smaller screens */
    padding-right: 0; /* Remove right padding for smaller screens */
    text-align: left;
}
.body-section-2 {
    padding: 0; /* Adjust padding for smaller screens */
    margin: 0;
    align-content: center;
    align-items: center;
}

.giveaway-content {
    flex-direction: column;
    width: 90%;
    padding: 20px;
}

.giveaway-text {
    text-align: center;
    margin-bottom: 20px;
}

.giveaway-icon {
    margin: 0 auto;
}

.hero-text.bakcground-square.home h2 {
    font-size: 1.6rem; /* Adjust font size for smaller screens */
    line-height: 1.5;
    margin-bottom: 1rem;
}

.giveaway-content {
    padding: 15px;
}

.giveaway-text h2 {
    font-size: 1.5rem;
}

.giveaway-text h3 {
    font-size: 1.2rem;
}

.giveaway-text p {
    font-size: 1rem;
}
.countdown-timer {
    display: flex;
    justify-content: center;
    width: 90%;
    gap: 40px;
    margin: 0 auto;
    margin-bottom: -10px;
    background-color: #11171f; /* Dark background */
    padding: 15px;
    border-radius: 10px 10px 0 0 ;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.center-pop-up{
    font-size: small;
}
.center-pop-up h2{
    margin: 0;
}
.left-side-pop-up{
    display: none;
}
.right-side-pop-up{
    display: none;
}
.cta-button.arvonta.phone{
    margin: 0 auto; /* Center the button */
    display: block; /* Ensure the button is displayed as a block element */
    
}
.divider {
    width: 100%; /* Full width */
    height: 2px; /* Thickness of the divider */
    background-color: #eb552c; /* Orange divider */
    margin: 20px 0;
    border: none;
}

.popup {
    left: 2.5%;
    width: 95%;
}
.popup-content{
    padding: 0.5rem;
}
.angled-section.reverse.zero a{
    
    margin: 0;
}
}