﻿@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}
body {
    font-family: "Raleway", sans-serif !important;

    height: 100vh;

    margin: 0;
    padding: 0;
    font-weight: 800;
    font-size: 18px;
    line-height: 33px;
}
#form1 {
    background-color: white;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 30px;
    text-align: center;
    color: #1d7c58;
}

a:link, a:visited, a:active {
    color: #1B4D3E !important;
}

a:hover {
    background-color: white;
}

.header {
    background-color: #1B4D3E;
    transition: background-color 0.3s ease;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-family: "Orbitron", sans-serif;
}

    .logo img {
        height: 60px;
        margin-left: 100px; /* Add some left margin to the logo */
    }

.navbar {
    display: flex;
    justify-content: flex-end; /* Changed to align the navbar to the right */
    align-items: center;
    margin-right: 20px; /* Add some right margin to the navbar */
}

    .navbar .nav {
        list-style: none;
        display: flex;
        gap: 20px;
        margin: 0;
        padding: 0;
    }

    .navbar .nav-link {
        position: relative;
        display: inline-block;
        background-color: transparent;
        text-decoration: none;
        color: white !important;
        font-weight: 800;
        transition: color 0.3s ease;
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
    }

        .navbar .nav-link:hover {
            color: white;
        }

        .navbar .nav-link::after {
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 3px;
            bottom: 0;
            left: 0;
            background-color: white;
            transform-origin: bottom right;
            transition: transform 0.3s ease-out;
        }

        .navbar .nav-link:hover::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }


    .navbar .dropdown-menu {
        background-color: #fff; /* Drop-down arka plan rengini beyaz yapar */
    }

    .navbar .dropdown-item {
        color: #1d7c58; /* Drop-down öğe rengini siyah yapar */
        transition: background-color 0.3s ease;
    }

        .navbar .dropdown-item:hover {
            background-color: #1d7c58; /* Hover üzerinde arka plan rengini değiştirir */
            color: white !important; /* Hover üzerinde yazı rengini beyaz yapar */
        }

header .navbar-nav .nav-item {
    margin-right: 18px !important;
}

.navbar-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* İkon ve metinlerin ortalanması */
}

    .navbar-nav .nav-item .nav-link {
        display: flex;
        flex-direction: column; /* İkonlar metnin üzerinde olacak şekilde düzenler */
        align-items: center;
        text-align: center;
        padding: 5px 0;
    }

.navbar-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-hexagon {
    position: relative;
    width: 55px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1B4D3E; /* Altıgenin arka plan rengi */
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); /* Altıgen şekli */
    margin-bottom: 5px; /* İkon ile yazı arasındaki boşluk */
    transition: background-color 0.3s ease;
}

    /* İkonun stil ayarları */
    .icon-hexagon i {
        font-size: 20px; /* İkon boyutu */
        color: #fff; /* İkon rengi */
        position: relative;
        z-index: 2; /* İkonun altıgenin üzerinde görünmesini sağlar */
    }

/* Hover durumunda altıgenin rengini değiştirmek */
.navbar-nav .nav-link:hover .icon-hexagon {
    background-color: #145939; /* Altıgenin arka plan rengini hover durumunda değiştirir */
}

.footer {
    bottom: 0;
    background-color: #1B4D3E;
    color: white;
    text-align: center;
    padding: 10px 0;
}

.containers {
    position: relative;
    width: 100% !important;    
    background-color: #fafafa;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.flag {
    width: 20px;
    height: 15px;
    margin-right: 8px;
}

.form {
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: visible;
    display: flex; /* Flexbox kullanımı */
}

.contact-form {
    width: 35%; /* Genişlik ayarı */
    background-color: #1B4D3E;
    position: relative;
    padding: 10px;
}

.circle {
    border-radius: 50%;
    background: linear-gradient(135deg, transparent 20%, #149279);
    position: absolute;
}

    .circle.one {
        width: 130px;
        height: 130px;
        top: 130px;
        right: -40px;
    }

    .circle.two {
        width: 80px;
        height: 80px;
        top: 10px;
        right: 30px;
    }

.contact-form:before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-color: #1d7c58;
    transform: rotate(45deg);
    top: 50px;
    left: -13px;
}

form {
    padding: 2.3rem 2.2rem;
    z-index: 10;
    overflow: hidden;
    position: relative;
}

.title {
    color: #fff;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.7rem;
}

.input-container {
    position: relative;
    margin: 1rem 0;
}

.input {
    width: 100%;
    outline: none;
    border: 2px solid #fafafa;
    background: none;
    padding: 0.6rem 1.2rem;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 5px;
    transition: 0.3s;
}

textarea.input {
    padding: 0.8rem 1.2rem;
    min-height: 150px;
    border-radius: 5px;
    resize: none;
    overflow-y: auto;
}

.input-container label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    padding: 0 0.4rem;
    color: #fafafa;
    font-size: 0.9rem;
    font-weight: 400;
    pointer-events: none;
    z-index: 1000;
    transition: 0.5s;
}

.input-container.textarea label {
    top: 1rem;
    transform: translateY(0);
}

.btns {
    padding: 0.6rem 1.3rem;
    background-color: #1B4D3E;
    border: 2px solid #fafafa;
    font-size: 0.95rem;
    color: white;
    line-height: 1;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    margin: 0;
    width: 100%;
}

    .btns:hover {
        background-color: white;
        color: #1d7c58;
    }

.input-container span {
    position: absolute;
    top: 0;
    left: 25px;
    transform: translateY(-50%);
    font-size: 0.8rem;
    padding: 0 0.4rem;
    color: transparent;
    pointer-events: none;
    z-index: 500;
}

    .input-container span:before,
    .input-container span:after {
        content: "";
        position: absolute;
        width: 10%;
        opacity: 0;
        transition: 0.3s;
        height: 5px;
        background-color: #1d7c58;
        top: 50%;
        transform: translateY(-50%);
    }

    .input-container span:before {
        left: 50%;
    }

    .input-container span:after {
        right: 50%;
    }

.input-container.focus label {
    top: 0;
    transform: translateY(-50%);
    left: 25px;
    font-size: 0.8rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
    width: 50%;
    opacity: 1;
}

.contact-info {
    width: 65%; /* Genişlik ayarı */
    padding: 2.3rem 2.2rem;
    background-color: #fafafa;
    position: relative;
}

    .contact-info .title {
        color: #1d7c58;
       
    }

.text {
    color: #333;
    margin: 1.5rem 0 2rem 0;
    text-align: justify;
}

.information {
    display: flex;
    flex-direction: column;
    color: #555;
    margin: 0.7rem 0;
    align-items: flex-start;
    font-size: 0.95rem;
}

    .information i {
        color: #1d7c58;
    }

    .information p {
        margin: 0;
    }

    .information a {
        display: flex;
        align-items: center;
        color: #1d7c58;
        text-decoration: none;
        font-size: 0.9rem;
        margin-top: 5px;
    }

        .information a:hover {
            text-decoration: underline;
        }

        .information a i {
            margin-right: 5px;
        }

.social-media {
    padding: 2rem 0 0 0;
}

    .social-media p {
        color: #333;
    }

.social-icons {
    display: flex;
    margin-top: 0.5rem;
}

    .social-icons a {
        width: 35px;
        height: 35px;
        border-radius: 5px;
        background: linear-gradient(45deg, #1abc9c, #149279);
        color: #fff;
        text-align: center;
        line-height: 35px;
        margin-right: 0.5rem;
        transition: 0.3s;
    }

        .social-icons a:hover {
            transform: scale(1.05);
        }

.contact-info:before {
    content: "";
    position: absolute;
    width: 110px;
    height: 100px;
    border: 22px solid #1d7c58;
    border-radius: 50%;
    bottom: -77px;
    right: 50px;
    opacity: 0.3;
}

.square {
    position: absolute;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(181%, 11%);
    opacity: 0.2;
}

@media (max-width: 850px) {
    .form {
        grid-template-columns: 1fr;
    }

    .contact-info:before {
        bottom: initial;
        top: -75px;
        right: 65px;
        transform: scale(0.95);
    }

    .contact-form:before {
        top: -13px;
        left: initial;
        right: 70px;
    }

    .square {
        transform: translate(140%, 43%);
        height: 350px;
    }

    .big-circle {
        bottom: 75%;
        transform: scale(0.9) translate(-40%, 30%);
        right: 50%;
    }

    .text {
        margin: 1rem 0 1.5rem 0;
    }

    .social-media {
        padding: 1.5rem 0 0 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }

    .contact-info:before {
        display: none;
    }

    .square,
    .big-circle {
        display: none;
    }

    form,
    .contact-info {
        padding: 1.7rem 1.6rem;
    }

    .text,
    .information,
    .social-media p {
        font-size: 0.8rem;
    }

    .title {
        font-size: 1.15rem;
    }

    .social-icons a {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }

    .icon {
        width: 23px;
    }

    .input {
        padding: 0.45rem 1.2rem;
    }

    .btn {
        padding: 0.45rem 1.2rem;
    }
}

i {
    margin-right: 5px;
}
.img-containers{

}
.img-class {
    height: 200px;
    width: 200px;
    margin-bottom: 10px;
    margin-right:10px;
    object-fit:fill; /* Kapsama alanına göre resmi kırp */
    border-radius:5px;
}