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

/* Font Face Declarations */
@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat-Regular.woff2') format('woff2'),
         url('./fonts/Montserrat-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Climate';
    src: url('./fonts/ClimateCrisis-Regular-VariableFont_YEAR.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* Main Styles */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f2f2f2;
    overflow-x: hidden;
}

.main-container {
    max-width: 1920px;
    margin: 0 auto;
    background-color: #f2f2f2;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 870px;
    overflow: hidden;
}

.background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 812px;
    background: url(images/hero-pic.png) no-repeat;
    background-position: right center; /* ключевой момент */
    background-size: cover;
    z-index: 0;
}

.decorative-circle {
    position: absolute;
    right: 0px;
    top: 0;
    width: 642px;
    height: 642px;
    z-index: 1;
}

.decorative-circle svg {
    width: 100%;
    height: 100%;
}

/* Header Logo */
.header-logo {
    position: absolute;
    top: 20px;
    left: 160px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    color: #B3F0EE;
    margin-bottom: 5px;
}

.logo-text p {
    margin: 0;
    white-space: nowrap;
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    right: 10%;
    top: 25px;
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    line-height: 23px;
    text-transform: uppercase;
    color: #D5FFFE;
    cursor: pointer;
    z-index: 10;
}

/* Hero Content */
.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
   justify-content: space-between;
    z-index: 5;
}

.hero-images {
    position: relative;
    width: 946px;
    height: 765px;
}

.hero-image-1 {
    position: absolute;
    left: 60%;
    top: -40px;
    width: 491px;
    height: 407px;
    object-fit: cover;
}

.hero-image-2 {
    position: absolute;
    left: 0;
    top: 7%;
    width: 100%;
    height: 100%;

}

.hero-text-container {
    position: relative;
    text-align: right;
    padding: 0 150px 0 0;
}

.hero-title {
    font-size: 70px;
    font-weight: 400;
    color: white;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Climate', sans-serif;
}

.hero-title svg {
    width: 494px;
    height: 150px;
}

.brand-logo {
    width: 158px;
    height: 42px;
    object-fit: contain;
}

/* Decorative Line Bottom */
.decorative-line-bottom {
    position: absolute;
    left: 642px;
    bottom: 26px;
    width: 1263px;
    height: 34px;
    z-index: 4;
}

.decorative-line-bottom svg {
    width: 100%;
    height: 100%;
}

/* Content Sections */
.content-section {
    position: relative;
    padding: 80px 158px;
}
.content-section-rws {
    position: relative;
    padding: 40px 160px;
}

.content-section .section-svg {
    position: absolute;
}

.content-section .section-svg.left-bg {
    left: 0;
    top: 0%;
    height: auto;
    z-index: 0;
}
.content-section.reverse .section-svg.right-bg {
    right: 0;
    top: 0%;
    height: auto;
    z-index: 0;
}
.content-section.reverse .section-svg.right-bg-2p {
    right: 0;
    top: 0%;
    height: auto;
    z-index: 0;
}

.content-section .section-svg.right-center {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 51px;
    height: 288px;
}
.content-section .section-svg.left-center {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 51px;
    height: 288px;
}

.content-section.reverse .content-grid {
    flex-direction: row-reverse;
}

.decorative-line {
    width: 100%;
    height: 70px;
}

.decorative-line svg {
    width: 100%;
    height: 100%;
}

.content-grid {
    display: flex;
    align-items: flex-start;
}

.text-content {
    flex: 1;
    background: rgb(255, 255, 255);
    padding: 80px 70px 80px 190px;
    position: relative;
    border-radius: 40px 0px 0px 40px;
    margin-left: 40%;
     margin-right: 0%;
}
.text-content.reverse.\32 p {
    flex: 1;
    background: rgb(255, 255, 255);
    padding: 80px 190px 80px 70px;
    position: relative;
    border-radius: 0px 40px 40px 0px;
    margin-right: 40%;
    margin-left: 0%;
}
.text-content.reverse {
    border-radius: 0px 40px 40px 0px;
}

.text-content .corner-svg {
    position: absolute;
    width: 100px;
    height: 100px;
}

.text-content .corner-svg.top-right {
    top: 0;
    right: 0;
}
.text-content .corner-svg.top-left {
    top: 0;
    left: 0;
}
.text-content .corner-svg.bottom-right {
    bottom: 0;
    right: 0;
}
.text-content .corner-svg.bottom-left {
    bottom: 0;
    left: 0;
}
.text-content h2 {
    font-size: 38px;
    font-weight: 400;
    color: #008C87;
    margin-bottom: 24px;
    line-height: 51px;
    font-family: 'Climate', sans-serif;
}



.p-content {
    gap: 10px;
    display: flex;
    flex-direction: column;
    text-align: justify;
}
.text-content p {
    font-size: 23px;
    color: #005D5A;
    line-height: 1.5;
}

.image-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
        position: absolute;
    left: 210px;
    margin-top: 80px;
}
.image-content-2p {
    flex: 1;
    display: flex;
    gap: 70px;
    flex-direction: column;
        position: absolute;
    right: 210px;
    margin-top: 80px;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    z-index: 1;
}
.image-content-2p img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    z-index: 1;
}


.footer-p-rws {
    justify-items: center;
}
.footer-p-rws p {
    font-size: 18px;
    color: #979797;
    font-weight: 500;
    text-transform: uppercase;
}

/* Footer */
.footer {
    position: relative;
    height: 50px;
    background-color: #333;
    margin-top: 100px;
}

.footer-decorative {
    position: absolute;
    top: -76px;
    justify-self: center;
}

.footer-decorative svg {
    width: 100%;
    height: 100%;
}

.footer-content {
        position: relative;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 160px 0px;

}

.footer-logo {
    /* position: absolute; */
    /* top: 63px; */
    /* left: 160px; */
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-text {
    color: #21B0AB;
}

.footer-copyright {
    /* position: absolute; */
    /* right: 160px; */
    /* top: 71px; */
    font-size: 12px;
    font-weight: 600;
    color: #919EAC;
    text-transform: uppercase;
}

.footer-copyright p {
    margin: 0;
}

/* Link to Media Queries */
@import url('media.css');
