html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #e6e6e6;
    color: #333;
}

main {
    text-align: center;
    font-size: 14px;
    margin-bottom: 80px;
}

.site-container {
    max-width: 1920px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 60px;
}

header {
    color: white;
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 200;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.logo {
    height: 32px;
    margin-left: 70px;
    margin-right: 70px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 540px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    max-height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}


.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-slide {
    position: relative;
}

.video-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.arrow:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.arrow-left {
    left: 15px;
}

.arrow-right {
    right: 15px;
}

.menu-btn {
    position: absolute;
    border: #333 1px solid !important;
    left: 90%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background-color: rgb(11, 11, 11);
    color: #ffffff;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    z-index: 3;
    overflow: hidden;
    width: 150px;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    align-items: center;
    display: flex;
    transition: background-color 0.3s ease;
}


.menu-btn:hover {
    background-color: rgb(59, 59, 59);
}



.slide-btn {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background-color: rgb(255, 255, 255);
    color: #333;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    z-index: 3;
    overflow: hidden;
    transition: background-color 0.3s ease, padding-right 0.3s ease;
    width: 130px;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
}

.slide-btn::after {
    content: ' →';
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-left: -20px;
    right: -20px;
    position: relative;
    font-weight: 700;
}

.slide-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    padding-right: 32px;
}

.slide-btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.main-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background-color: rgb(255, 255, 255);
    color: #333;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    z-index: 3;
    overflow: hidden;
    transition: background-color 0.3s ease, padding-right 0.3s ease;
    width: 200px;
    text-align: center;
    font-size: 25px;
    font-weight: 400;
    background: linear-gradient(45deg, #de1c7a, #fd623b);
  color: white;
}

.main-btn::after {
    content: ' →';
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-left: -20px;
    right: -20px;
    position: relative;
    font-weight: 700;

}

.main-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    padding-right: 32px;
}

.main-btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.research {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 60px;
}

.media-block {
    position: relative;
    max-width: 270px;
    max-height: 380px;
    width: 100%;
    margin: 0 auto;
}

.research-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 25px;
    border-bottom: 8px black solid;
    display: block;
}

.research {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.media-block {
    position: relative;
    max-width: 263px;
    max-height: 380px;
    width: 100%;
    border-radius: 25px;
    cursor: pointer;
}

.research-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    border-bottom: 8px black solid;
    display: block;
}

.overlay-container {
    position: absolute;
    bottom: 0.1px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    color: white;
}

.overlay-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
}

.overlay-title {
    font-weight: bold;
    font-size: 14px;
    margin: 0;
    text-shadow: 0 0 10px black;
    background-color: rgba(0, 0, 0, 0.54);
    padding: 2px;
    border-radius: 10px;
}

.overlay-tag {
    font-size: 14px;
    margin: 0;
    text-shadow: 0 0 3px black;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2px;
    border-radius: 10px;
}

.overlay-description {
    background-color: rgba(0, 0, 0, 0.54);
    padding: 10px 8px;
    border-radius: 20px;
    font-size: 14px;
    margin: 0;
    text-shadow: 0 0 4px black;
    font-weight: 700;
}

.corner-badge {
    position: absolute;
    top: 12px;
    left: 190px;
    background-color: rgb(0, 0, 0);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 30px;
    text-shadow: 0 0 2px black;
    z-index: 3;
}

.media-block {
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.media-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 1.6);
}


.overlay-title2 {
    font-weight: bold;
    font-size: 27px;
    margin: 0;
    padding: 2px;
    color: black !important;
    border-radius: 10px;
}

.overlay-description2 {
    padding: 16px 8px;
    border-radius: 20px;
    font-size: 17px;
    margin: 0;
    font-weight: 700;
    color: black !important;

}

footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #111;
    color: white;
    padding: 60px 20px;
    justify-content: center;
    display: flex;
}


.full-width-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.full-width-section img {
    width: 100%;
    height: auto;
    display: block;
}


.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 20px;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #ff4040;
}

.gradient-text {
  background: linear-gradient(45deg, #de1c7a, #fd623b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}