@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

:root {
    --bg-color: #FAF7EE;
    --text-color: #141617;
    --nav-bg-color: #F1F5F9;
    --nav-link-color: #141617;
    --link-color-light: #141617;  /* Default link color in light theme */
    --hero-bg-color: #4A956D;
    --hero-button-text: #E8F9F7;
    --hero-button-hover: #3A8356;
    --footer-bg-color: #F1F5F9;
    --footer-text-color: #141617;
    --circle-bg-color: #E8F9F7;
    --border-color: #141617;
    --highlight-color: #00BD8F;
}

/* Dark Theme Variables */
body.dark-theme {
    --bg-color: #141617;
    --text-color: #E8F9F7;
    --nav-bg-color: #082D17;
    --nav-link-color: #E8F9F7;
    --link-color-dark: #E8F9F7; /* Default link color in dark theme */
    --hero-bg-color: #3A8356;
    --hero-button-text: #141617;
    --hero-button-hover: #4A956D;
    --footer-bg-color: #082D17;
    --footer-text-color: #E8F9F7;
    --circle-bg-color: #3A8356;
    --border-color: #E8F9F7;
    --highlight-color: #4A956D;
}
/* Global Styles Using Variables */

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0 !important;
    padding: 0 ;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif !important;
    min-height: calc(100vh - 80px);
    padding-top: 56px;
}
a {
    color: var(--link-color-light); /* Default to light theme link color */
    text-decoration: none;  /* Remove default underline */
}
body.dark-theme a {
    color: var(--link-color-dark); /* Change link color to dark theme when it's applied */

}
footer .btn-primary {
    --bs-btn-border-color: #00BD8F;
}
.navbar {
    background-color: var(--nav-bg-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.theme-toggle {
    font-size: 1.5rem;
    color: var(--theme-toggle-color) !important;
}
.navbar a {
    color: var(--nav-link-color);
    text-decoration: none;
    position: relative;
}
.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background-color: var(--text-color);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
}
a:-webkit-any-link {
    text-decoration: none;  /* Remove underline */
    color: var(--link-color-light);
}
.navbar a:hover::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}
/* Prevent hover link color change in dark theme */
body.dark-theme .navbar a {
    color: var(--nav-link-color);  /* Ensure link color remains the same on hover */
}

body.dark-theme .navbar a:hover {
    color: var(--nav-link-color);  /* Prevent hover color change */
    text-decoration: underline;  /* Keep the underline on hover */
}
.navbar-brand {
    background-image: url('img/Logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 40px;  /* Adjust the height based on your logo */
    width: 60px;   /* Or set a specific width */
}
/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: row;
    }

    /* Theme toggle on the left of the hamburger menu */
    .theme-toggle {
        order: 1; /* Ensure it comes before the hamburger menu */
        margin-right: 10px;
    }

    .navbar-toggler {
        order: 2; /* Hamburger menu comes after the toggle */
    }

    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-nav .nav-item {
        width: 100%;
        text-align: center;
    }

    .navbar-nav .nav-item:not(:last-child) {
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none; /* Removes the border from the last nav-item */
    }
}

.fa-regular.fa-moon {
    color: inherit;
}

.dark-theme .fa-solid.fa-sun {
    color: #ffffff;
}
/* Default Hamburger Menu Style */


.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    background-color: inherit;
    display: block;
    width: 20px;
    height: 3px;
    
  
    transition: background-color 0.3s, transform 0.3s;
}
.light-theme .navbar-toggler {
    border-color: #4A956D; /* Use your custom color for light theme */
}

.dark-theme .navbar-toggler {
    border-color: #00BD8F; /* Use the same custom color for dark theme */
}
.navbar-toggler i {
    color: inherit; /* Use inherited color (can customize further if needed) */
    transition: color 0.3s ease;
}

/* Dark Theme Overrides */
body.dark-theme .navbar-toggler-icon {
    background-color: #F1F5F9;
}

body.dark-theme .navbar-toggler-icon::before,
body.dark-theme .navbar-toggler-icon::after {
    background-color: #F1F5F9;
}


/* ABOUT ME */
.about-section {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    background-color: var(--circle-bg-color); /* Shared background for image and text */
}

.about-section .image-container {
    flex: 3; /* Image takes 60% of width */
    max-width: 60%; /* Restricts to 60% */
    display: flex;
    justify-content: center; /* Centers the circle horizontally */
    align-items: center; /* Centers the circle vertically */
}

.about-section .image-container img {
    width: 20vw; /* Fixed width for the circle */
    height: 20vw; /* Fixed height to match width */
    border-radius: 50%; /* Makes the image perfectly circular */
    object-fit: cover; /* Ensures image fills the circle without distortion */
    display: block;
    border: 4px solid #082D17; /* Optional: Adds a border to enhance the profile look */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow */
}

.about-section .text-container {
    flex: 2; /* Text takes 40% of width */
    max-width: 40%; /* Restricts to 40% */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.about-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-section p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        align-items: center; /* Centers content for smaller screens */
    }

    .about-section .image-container,
    .about-section .text-container {
        max-width: 100%; /* Both containers stack full width */
        flex: none; /* Removes flex sizing */
    }

    .about-section .text-container {
        padding: 1.5rem; /* Adjust padding for readability */
        text-align: center; /* Optional: centers text for smaller screens */
        align-items: center;
    }

    .about-section .image-container img {
        border: 4px solid #082D17; /* Slightly smaller border for responsiveness */
    }
}
/* Styling the Button Container */
.about-section .button-container {
    margin-top: 1.5rem; /* Adds space above the buttons */
    display: flex;
    gap: 1rem; /* Adds spacing between buttons */
}

/* Common Button Styles */
.about-section .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none; /* Ensures the link button doesn’t have underlines */
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Primary Button for CV */
.about-section .btn-primary {
    background-color: #082D17;
    color: #fff;
    border: 2px solid #082D17;
}

.about-section .btn-primary:hover {
    background-color: #fff;
    color: #082D17;
    border: 2px solid #082D17;
}

/* Secondary Button for Contact */
.about-section .btn-secondary {
    background-color: #ccc;
    color: #333;
    border: 2px solid #ccc;
}

.about-section .btn-secondary:hover {
    background-color: #333;
    color: #fff;
    border: 2px solid #333;
}

/* Adjustments for Mobile */
@media (max-width: 768px) {
    .about-section .button-container {
        flex-direction: column; /* Stacks buttons vertically */
        gap: 1rem; /* Maintains spacing */
    }

    .about-section .btn {
        width: 100%; /* Buttons take full width on small screens */
    }
}
.more-text {
    display: none;
}

.more-text.show {
    display: inline;
}

#read-more-btn {
    background-color: var(--highlight-color);
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    margin-top: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#read-more-btn:hover {
    background-color: var(--hero-button-hover);
}


.skills-section {
    text-align: center;
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Ensures at least 2 per row */
    gap: 30px;
    justify-content: center;
     place-items: center; /* Centers both rows */
}

  
  .skill-icon {
    text-align: center;
    padding: 15px;
    border: 2px solid #00bd8f; /* Green outline */
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 120px; /* Fixed width for each icon container */
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .skill-icon img,
  .skill-icon i {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }
  
  .skill-icon p {
    margin-top: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--text-color);
  }
  
  .skill-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 189, 143, 0.3);
  }
  
.circle-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--circle-bg-color);
    margin: auto;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 50%);
    border: 5px solid var(--border-color);
}

.contact-info {
    display: flex;
    justify-content: space-between;
    padding: 2rem 4rem;
}

.contact-info div {
    text-align: center;
}

.contact-info i {
    font-size: 2rem;
    color: var(--highlight-color);
}

.contact-form-container {
    background-color: var(--circle-bg-color);
    padding: 2rem;
    margin-top: 5rem;
    border-radius: 10px;
}

footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
}

.NameLogo {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content:center;
}


/* Tehtud TÖÖD */
/* Fullscreen gallery styles */
.image-gallery {
    display: flex;
    width: 100%;
    height: 70vh; /* Adjust height as needed */
    overflow: hidden;
    position: relative;
}
/* Make the entire image gallery clickable */
.image-gallery {
    cursor: pointer;
}

/* Style for individual images */
.image-gallery img {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}


.gallery-image {
    position: relative;
    flex: 1; /* Equal width for each image */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; /* Full height of the container */
}

/* Separator between images */
.gallery-image:first-child {
    border-right: 2px solid black; /* Vertical black line */
}

.gallery-image img {
    width: 100%; /* Makes the image responsive to the container's width */
    height: 100%; /* Full height of the container */
    object-fit: cover; /* Ensures the image covers the entire area */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

/* Vignette effect */
.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 70%, rgba(0, 0, 0, 0.5));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Text animation */
.hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 10;
}

/* Hover Effects */
.gallery-image:hover {
    transform: scale(1.1);
    z-index: 10;
}

.gallery-image:hover .vignette {
    opacity: 1;
}

.gallery-image:hover img {
    transform: scale(1.1);
}

.image-gallery:hover .gallery-image {
    filter: grayscale(100%);
}

.image-gallery:hover .gallery-image:hover {
    filter: grayscale(0%);
}

.gallery-image:hover .hover-text {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .image-gallery {
        flex-direction: column; /* Stack images vertically on smaller screens */
    }

    .gallery-image {
        width: 100%; /* Full width for stacked layout */
        height: 50vh; /* Half height for each image */
        border-right: none; /* Remove vertical separator */
        border-bottom: 2px solid black; /* Add horizontal separator */
    }

    .gallery-image:last-child {
        border-bottom: none; /* Remove bottom border for the last image */
    }
}
/* New Section */
.text-container {
    width: 100%;
}

.text-container h2 {
    font-size: 2rem;
    font-weight: bold;
}

.text-container p {
    font-size: 1rem;
}

.text-container .btn {
    font-size: 1rem;
}

/* Image styles */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Adjustments for mobile responsiveness */
@media (max-width: 768px) {
    .col-md-4, .col-md-8 {
        text-align: center;
        margin-bottom: 20px;
    }

    .text-container {
        width: 100%;
    }

    .image-gallery {
        height: 50vh; /* Adjust height for smaller screens */
    }

   
}
/* Text container styles */
.custom-text-container {
    width: 100%;
}

.custom-text-container h2 {
    font-size: 2rem;
    font-weight: bold;
}

.custom-text-container p {
    font-size: 1rem;
}

.custom-text-container .btn {
    font-size: 1rem;
}

/* Image styles */
.img-fluid {
    max-width: 90%;
    height: auto;
}

/* Scrollable image container */
.custom-container {
    padding: 20px 0; /* Adjust padding as needed */
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between text and image containers */
}

.custom-col-md-4 {
    flex: 0 0 30%; /* Text container takes 30% width */
    max-width: 30%;
}

.custom-col-md-8 {
    flex: 0 0 65%; /* Image container takes 65% width */
    max-width: 65%;
}

.custom-text-container {
    text-align: left; /* Align text to the left */
}

.custom-image-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 10px; /* Space between images */
}

.custom-scrollable-image {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 200px; /* Set a fixed width for smaller images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: Add rounded corners */
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
}

.custom-scrollable-image:hover {
    transform: scale(1.05); /* Hover effect */
}

/* Hide scrollbar for a cleaner look */
.custom-image-scroll-container::-webkit-scrollbar {
    display: none;
}

.custom-image-scroll-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Navigation arrows */
.custom-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    z-index: 1;
}

.custom-left-arrow {
    left: 10px;
}

.custom-right-arrow {
    right: 10px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .custom-col-md-4,
    .custom-col-md-8 {
        flex: 0 0 100%; /* Full width on mobile */
        max-width: 100%;
    }

    .custom-text-container {
        text-align: center; /* Center text on mobile */
    }

    .custom-scrollable-image {
        width: 150px; /* Smaller images on mobile */
    }

    .custom-scroll-arrow {
        font-size: 1rem; /* Smaller arrows on mobile */
        padding: 8px;
    }
}
.sample {
    background: #000;
    margin-bottom: 15px;
    position: relative;
    text-align: center;
    box-shadow: 5px 5px 10px #888;
    overflow: hidden;
}

.sample img {
    max-width: 100%;
    transition: transform 0.35s ease;
    height: 20vh;
    object-fit: cover;
}

/* GitHub Icon */
.sample .github-link {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 24px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.sample:hover .github-link {
    opacity: 1;
}

/* Hover Content (Title & Description) */
.sample .hover-content {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px;
    text-align: center;
    transition: bottom 0.35s ease;
}

.sample .hover-content .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.sample .hover-content .description {
    font-size: 14px;
    margin: 0;
}

.sample:hover .hover-content {
    bottom: 0;
}

/* Border Animations */
.sample span {
    position: absolute;
    background: #542222;
}

.sample .top, .sample .bottom {
    height: 2px;
    width: 90%;
    left: 5%;
}

.sample .top {
    top: 5%;
}

.sample .bottom {
    bottom: 5%;
}

.sample .right, .sample .left {
    width: 2px;
    height: 90%;
    top: 5%;
}

.sample .right {
    right: 5%;
}

.sample .left {
    left: 5%;
}

.sample:hover img {
    transform: scale(1.1);
}

.sample span:after {
    content: "";
    position: absolute;
    background: #ff0000;
    transition: all 0.35s ease;
}

.sample .top:after, .sample .bottom:after {
    width: 50px;
    height: 2px;
}

.sample .right:after, .sample .left:after {
    width: 2px;
    height: 50px;
}

.sample:hover .top:after, 
.sample:hover .bottom:after {
    width: 100%;
    background: #fff;
}

.sample:hover .left:after, 
.sample:hover .right:after {
    height: 100%;
    background: #fff;
}
/* Override Bootstrap button styles */
.btn-primary {
    background: linear-gradient(-135deg, #00BD8F, #55D2AA, #B2ECC8); /* Gradient background */
    border: none; /* Remove border to keep it clean */
    color: white; /* White text color */
    font-size: 16px; /* Adjust text size */
    padding: 10px 20px; /* Add some padding */
    border-radius: 8px; /* Rounded corners */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
  }
  
  .btn-primary:hover {
    background: linear-gradient(-135deg, #00BD8F, #55D2AA, #B2ECC8); /* Keep gradient on hover */
    transform: scale(1.05); /* Slightly scale the button on hover */
  }
  
  @media (max-width: 768px) {
    .btn-primary {
      font-size: 14px; /* Slightly smaller text */
      padding: 8px 16px; /* Adjust padding for smaller screens */
    }
  }
  
  @media (max-width: 480px) {
    .btn-primary {
      font-size: 12px; /* Smaller text for small screens */
      padding: 6px 12px; /* Further reduce padding */
    }
  }
.main-timeline {
    position: relative;
}

.main-timeline:before {
    content: "";
    display: block;
    width: 2px;
    height: 100%;
    background: #c6c6c6;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.main-timeline .timeline {
    margin-bottom: 40px;
    position: relative;
}

.main-timeline .timeline:after {
    content: "";
    display: block;
    clear: both;
}

.main-timeline .date-content {
    position: relative;
    width: 50%;
    float: left;
    margin-top: 22px;
}

.main-timeline .date-content:before {
    content: "";
    width: 36.5%;
    height: 2px;
    background: #c6c6c6;
    position: absolute;
    top: 50%; /* Align with the middle of the date */
    right: 10px;
    transform: translateY(-50%); /* Center vertically */
    z-index: 1; /* Ensure the line is below the date */
}


.main-timeline .timeline:nth-child(2n) .date {
    left: 50%; /* Center horizontally for alternate items */
    transform: translate(-50%, -50%); /* Adjust for perfect centering */
}
.main-timeline .timeline:nth-child(2n) .date-content {
    float: right;
}

.main-timeline .timeline:nth-child(2n) .date-content:before {
    left: 10px;
    right: auto;
}

.main-timeline .date-outer {
    width: 150px;
    height: 150px;
    position: relative;
    margin: auto;
    z-index: 2; /* Ensure the date is above the line */
    border-radius: 50%;
    text-align: center;
    color: black;
}

.main-timeline .date-outer:before,
.main-timeline .date-outer:after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    border-radius: 50%;
    top: 0;
    left: 0;
    transition: all 0.33s ease-out;
}

.main-timeline .date-outer:before {
    background: #fff;
    border: 4px solid #232323;
    transform: translate(-6px, -6px);
    z-index: 1; /* Ensure the image is below the overlay */
}

.main-timeline .date-outer:after {
    border: 4px solid #00BD8F;
    transform: translate(6px, 6px);
    
}

.main-timeline .timeline:hover .date-outer:before {
    transform: translate(0px, 0px);
    background-color: transparent;
}

.main-timeline .timeline:hover .date-outer:after {
    transform: translate(0px,0px);
    
}
/* Dark overlay on hover */
.main-timeline .date-outer:after {
    background-color: transparent; /* No overlay by default */
    z-index: 2; /* Ensure the overlay is above the image */
}

.main-timeline .date-outer:hover::after {
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay on hover */
}
.main-timeline .date {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for perfect centering */
    color: white;
    font-weight: bold;
    text-shadow: 
        -1px -1px 0 black, /* Top-left shadow */
        1px -1px 0 black,  /* Top-right shadow */
        -1px 1px 0 black,  /* Bottom-left shadow */
        1px 1px 0 black;   /* Bottom-right shadow */
    z-index: 3; /* Ensure the date is above the overlay */
}

.main-timeline .timeline-years {
    font-size: 16px;
    font-weight: bold;
    color: #232323;
    margin-bottom: 4px;
}

.main-timeline .timeline-date {
    font-size: 32px;
    font-weight: bold;
    color: #232323;
    line-height: 1;
    text-align: center;
}

.main-timeline .timeline-content {
    width: 50%;
    padding: 20px 0 20px 50px;
    float: right;
}

.main-timeline .title {
    font-size: 19px;
    font-weight: 700;
    line-height: 24px;
    margin: 0 0 15px 0;
}

.main-timeline .description {
    margin-bottom: 0;
}

.main-timeline .timeline:nth-child(2n) .timeline-content {
    padding: 20px 50px 20px 0;
    text-align: right;
}

@media only screen and (max-width: 991px) {
    .main-timeline .date-content {
        margin-top: 35px;
    }
    .main-timeline .date-content:before {
        width: 22.5%;
    }
    .main-timeline .timeline-content {
        padding: 10px 0 10px 30px;
    }
    .main-timeline .title {
        font-size: 17px;
    }
    .main-timeline .timeline:nth-child(2n) .timeline-content {
        padding: 10px 30px 10px 0;
    }
}

@media only screen and (max-width: 767px) {
    .main-timeline:before {
        margin: 0;
        left: 7px;
    }
    .main-timeline .timeline {
        margin-bottom: 20px;
    }
    .main-timeline .timeline:last-child {
        margin-bottom: 0;
    }
    .main-timeline .date-content {
        width: 95%;
        float: right;
        margin-top: 0;
    }
    .main-timeline .date-content:before {
        display: none;
    }
    .main-timeline .date-outer {
        width: 110px;
        height: 110px;
    }
    .main-timeline .date-outer:before,
    .main-timeline .date-outer:after {
        width: 110px;
        height: 110px;
    }
    .main-timeline .date {
        top: 40%;
        font-size: 12px;
    }
    .main-timeline .timeline-content,
    .main-timeline .timeline:nth-child(2n) .timeline-content {
        width: 95%;
        text-align: center;
        padding: 10px 0;
    }
    .main-timeline .title {
        margin-bottom: 10px;
    }
}
.main-timeline .timeline:nth-child(1)  .date-outer:before {
    background-image: url('img/Voco\ logo.png'); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
    
}

.main-timeline .timeline:nth-child(2)  .date-outer:before {
    background-image: url('img/storybook\ logo.png'); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
}

.main-timeline .timeline:nth-child(3)  .date-outer:before {
    background-image: url('img/Missioon.jpg'); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
}

.main-timeline .timeline:nth-child(4)  .date-outer:before {
    background-image: url('img/Voco\ logo.png'); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
}

/* Contact*/

input {
	outline: none;
	border: none;
}

textarea {
  outline: none;
  border: none;
}

textarea:focus, input:focus {
  border-color: transparent !important;
}

input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; }
input:focus::-moz-placeholder { color:transparent; }
input:focus:-ms-input-placeholder { color:transparent; }

textarea:focus::-webkit-input-placeholder { color:transparent; }
textarea:focus:-moz-placeholder { color:transparent; }
textarea:focus::-moz-placeholder { color:transparent; }
textarea:focus:-ms-input-placeholder { color:transparent; }

input::-webkit-input-placeholder { color: #999999; }
input:-moz-placeholder { color: #999999; }
input::-moz-placeholder { color: #999999; }
input:-ms-input-placeholder { color: #999999; }

textarea::-webkit-input-placeholder { color: #999999; }
textarea:-moz-placeholder { color: #999999; }
textarea::-moz-placeholder { color: #999999; }
textarea:-ms-input-placeholder { color: #999999; }

/*---------------------------------------------*/
button {
	outline: none !important;
	border: none;
	background: transparent;
    border-radius: vh;
}

button:hover {
	cursor: pointer;
}

iframe {
	border: none !important;
}





/*//////////////////////////////////////////////////////////////////
[ Contact 2 ]*/
.bg-contact2 {
  width: 100%;  
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.container-contact2 {
  width: 100%;  
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
 
}

.wrap-contact2 {
  width: 790px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  padding: 72px 55px 90px 55px;
}


/*------------------------------------------------------------------
[  ]*/

.contact2-form {
  width: 100%;
}

.contact2-form-title {
  display: block;
  font-family: Poppins-Bold;
  font-size: 39px;
  color: #333333;
  line-height: 1.2;
  text-align: center;
  padding-bottom: 90px;
}



/*------------------------------------------------------------------
[  ]*/

.wrap-input2 {
  width: 100%;
  position: relative;
  border-bottom: 2px solid #adadad;
  margin-bottom: 37px;
}

.input2 {
  display: block;
  width: 100%;

  font-family: Poppins-Regular;
  font-size: 15px;
  color: #555555;
  line-height: 1.2;
}

.focus-input2 {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-input2::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  
}

.focus-input2::after {
  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0;

  font-family: Poppins-Regular;
  font-size: 13px;
  color: #999999;
  line-height: 1.2;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

/*---------------------------------------------*/
input.input2 {
  height: 45px;
}

input.input2 + .focus-input2::after {
  top: 16px;
  left: 0;
}

textarea.input2 {
  min-height: 115px;
  padding-top: 13px;
  padding-bottom: 13px;
}

textarea.input2 + .focus-input2::after {
  top: 16px;
  left: 0;
}

.input2:focus + .focus-input2::after {
  top: -13px;
}

.input2:focus + .focus-input2::before {
  width: 100%;
}

.has-val.input2 + .focus-input2::after {
  top: -13px;
}

.has-val.input2 + .focus-input2::before {
  width: 100%;
}

/*------------------------------------------------------------------
[ Button ]*/
.container-contact2-form-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 13px;
}

.wrap-contact2-form-btn {
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 8px;
  width: auto;
  overflow: hidden;
  margin: 0 auto;
}

.contact2-form-bgbtn {
  position: absolute;
  z-index: -1;
  width: 300%;
  height: 100%;
  background: -webkit-linear-gradient(-135deg, #00BD8F, #55D2AA, #B2ECC8 );
  background: -o-linear-gradient(-135deg,-135deg, #00BD8F, #55D2AA, #B2ECC8);
  background: -moz-linear-gradient(-135deg,-135deg, #00BD8F, #55D2AA, #B2ECC8);
  background: linear-gradient(-135deg,-135deg, #00BD8F, #55D2AA, #B2ECC8);
  top: 0;
  left: -100%;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.contact2-form-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  min-width: 244px;
  height: 50px;

 

  font-family: Poppins-Medium;
  font-size: 16px;
  color: #fff;
  line-height: 1.2;
  

}

.wrap-contact2-form-btn:hover .contact2-form-bgbtn {
  left: 0;
}

/*------------------------------------------------------------------
[ Responsive ]*/

@media (max-width: 576px) {
  .wrap-contact2 {
    padding: 72px 15px 90px 15px;
  }
}



/*------------------------------------------------------------------
[ Alert validate ]*/

.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  background-color: white;
  border: 1px solid #c80000;
  border-radius: 2px;
  padding: 4px 25px 4px 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 0px;
  pointer-events: none;

  font-family: Poppins-Regular;
  color: #c80000;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;

  visibility: hidden;
  opacity: 0;

  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.alert-validate::after {
  content: "\f12a";
  font-family: FontAwesome;
  display: block;
  position: absolute;
  color: #c80000;
  font-size: 16px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 8px;
}

.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 992px) {
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
}