:root {
    --c1: #f5f9f0;
    --c2: #7dc142;
    --c3: #5a9e2f;
    --c4: #2d5a1b;
    --c5: #1a3a0f;
    --c6: #1c2b10;
    --accent: #d4f06b;
    --white: #ffffff;
    --text: #1c2b10;
    --text-light: #4a6035;
    --shadow: 0 8px 32px rgba(44,80,20,0.1);
    --shadow-lg: 0 20px 60px rgba(44,80,20,0.18);
}
@font-face { font-family: myFont; src: url(./font/Comfortaa-Regular.ttf); }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: myFont; font-size: 1rem; }

body {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(125,193,66,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(212,240,107,0.2) 0%, transparent 50%),
        linear-gradient(160deg, #eef7e5 0%, #f8fdf4 100%);
    overflow-x: hidden; padding: 2rem 1rem;
}

.header {
    position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
    width: 92%; height: 4rem;
    display: none; justify-content: space-between; align-items: center;
    padding: 0 1.5rem; border-radius: 2rem;
    border: 1px solid rgba(125,193,66,0.25);
    background: transparent; backdrop-filter: blur(20px);
    z-index: 1000; box-shadow: 0 4px 24px rgba(44,80,20,0.08);
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo img { width: 2rem; object-fit: cover; }
.logo h1 { font-size: 1.1rem; font-weight: bold; color: var(--c4); }
.menu, .exit_menu { display: none; cursor: pointer; color: var(--c4); }
.mob_nav_links { display: none; }

/* CONTACT CONTAINER */
.contact_container {
    width: 85%; max-width: 1100px; min-height: 85vh;
    display: flex; border-radius: 2rem; overflow: hidden;
    border: 1px solid rgba(125,193,66,0.2);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

/* LEFT PANEL */
.contact_container .part1 {
    width: 40%;
    background: linear-gradient(160deg, var(--c4) 0%, var(--c5) 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 2rem; position: relative; overflow: hidden;
}
.contact_container .part1::before {
    content: ''; position: absolute;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(212,240,107,0.15), transparent 70%);
    bottom: -80px; right: -80px;
}
.contact_container .part1::after {
    content: ''; position: absolute;
    width: 200px; height: 200px; border-radius: 50%;
    border: 1px solid rgba(212,240,107,0.15);
    top: 30px; left: -60px;
}

.contact_container .part1 .logo2 {
    position: absolute; top: 1.5rem; left: 1.5rem;
    display: flex; align-items: center; gap: 0.5rem; cursor: pointer;
}
.contact_container .part1 .logo2 img { width: 1.8rem; }
.contact_container .part1 .logo2 h1 { font-size: 1rem; color: var(--accent); font-weight: bold; }
.contact_container .part1 .logo2 i { color: rgba(255,255,255,0.5); transition: color 0.3s, transform 0.3s; }
.contact_container .part1 .logo2:hover i { color: var(--accent); transform: translateX(-3px); }

.contact_container .part1 .Mob_links { position: absolute; top: 5rem; left: 1.5rem; display: flex; flex-direction: column; gap: 0.3rem; opacity: 0; pointer-events: none; }
.contact_container .part1 .Mob_links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; padding: 0.3rem 0.8rem; border-radius: 0.5rem; transition: all 0.3s ease; }
.contact_container .part1 .Mob_links a:hover { color: var(--accent); background: rgba(212,240,107,0.1); }

.contact_container .part1 .contact_images { width: 85%; position: relative; display: flex; align-items: center; justify-content: center; }
.contact_container .part1 .img1,
.contact_container .part1 .img2 { width: 100%; border-radius: 1.2rem; position: absolute; transition: opacity 0.6s ease; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.contact_container .part1 .img2 { opacity: 0; }

/* RIGHT PANEL */
.contact_container .part2 { width: 60%; display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; background: var(--c1); }

/* FLIP CARD */
.contact_container .part2 .subscription {
    flex: 1; border-radius: 1.5rem; position: relative;
    transition: transform 0.8s cubic-bezier(0.4,0.2,0.2,1);
    transform-style: preserve-3d;
}
.subscription.flipped { transform: rotateY(180deg); }

.flip-card-front,
.flip-card-back {
    position: absolute; width: 100%; height: 100%;
    backface-visibility: hidden; border-radius: 1.5rem;
    display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid rgba(125,193,66,0.2);
    box-shadow: var(--shadow);
}
.flip-card-front { background: var(--white); }
.flip-card-back { background: var(--c1); transform: rotateY(180deg); }

.nav_form {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: var(--c4);
    border-bottom: 1px solid rgba(125,193,66,0.15);
}
.nav_form p {
    padding: 0.35rem 1rem; border-radius: 2rem;
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 0.82rem; cursor: pointer;
    color: rgba(255,255,255,0.65); transition: all 0.3s ease;
}
.nav_form p:hover { color: var(--accent); border-color: var(--accent); }
.nav_form p[style*="background"] { background: rgba(212,240,107,0.15) !important; color: var(--accent) !important; border-color: var(--accent) !important; }

.flip-card-front .canditate_form,
.flip-card-back .volunteer_form {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: space-evenly; padding: 1rem 0;
}

.flip-card-back .volunteer_form{
    overflow: auto; 

}

.canditate_form div { position: relative; display: flex; align-items: center; width: 70%; }
.volunteer_form div label,
.canditate_form div label { position: absolute; left: 0.8rem; color: var(--c3); }
.volunteer_form div label svg,
.canditate_form div label svg { width: 1rem; height: 1rem; }

.volunteer_form div input,
.canditate_form div input {
    width: 100%; height: 2.5rem;
    padding: 0 0.8rem 0 2.5rem;
    background: var(--c1); border: 1.5px solid rgba(125,193,66,0.25);
    border-radius: 2rem; color: var(--text); font-size: 0.88rem;
    transition: border-color 0.3s; outline: none;
}
.volunteer_form div input:focus,
.canditate_form div input:focus { border-color: var(--c3); background: var(--white); }
.canditate_form div input::placeholder { color: rgba(28,43,16,0.35); }

.canditate_form span { width: 70%; display: flex; align-items: center; gap: 1rem; }
.canditate_form span label { color: var(--text-light); font-size: 0.85rem; }
.canditate_form select {
    flex: 1; height: 2.5rem; padding: 0 0.8rem;
    background: var(--c1); border: 1.5px solid rgba(125,193,66,0.25);
    border-radius: 2rem; color: var(--text); font-size: 0.88rem; outline: none; cursor: pointer;
}
.canditate_form select option { background: var(--white); }

.volunteer_form button,
.canditate_form button {
    width: 70%; height: 2.8rem;
    background: var(--c4); border: none; border-radius: 2rem;
    color: var(--white); font-weight: bold; font-size: 0.95rem;
    cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(45,90,27,0.25);
}
.volunteer_form button:hover,
.canditate_form button:hover { background: var(--c3); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(45,90,27,0.35); }

/* DONATE INFO */
.donate_info {
    width: 85%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.donate_info span {
    display: flex;
    flex: 1;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    background: var(--c1);
    border: 1.5px solid rgba(125,193,66,0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
}
.donate_info span:hover {
    border-color: var(--c2);
    background: rgba(125,193,66,0.07);
    transform: translateX(4px);
}

.donate_info span  svg { width: 2rem; }
.donate_info span div { display: flex; flex-direction: column; gap: 0.2rem; }
.donate_info span div p { font-size: 0.82rem; color: var(--text-light); line-height: 1.5; }
.donate_info span div p strong { color: var(--c4); font-size: 0.88rem; }

/* FEEDBACK */
.contact_container .part2 .feedback {
    height: 22%; border-radius: 1.5rem;
    background: var(--white); border: 1.5px solid rgba(125,193,66,0.2);
    transition: border-color 0.3s; box-shadow: var(--shadow);
}
.contact_container .part2 .feedback:focus-within { border-color: var(--c3); }
.contact_container .part2 .feedback form { height: 100%; display: flex; align-items: flex-end; position: relative; padding: 0.5rem; }
.contact_container .part2 .feedback form label {
    position: absolute; top: 0.8rem; left: 1rem;
    font-size: 0.85rem; color: rgba(28,43,16,0.4);
    pointer-events: none; transition: all 0.3s ease;
}
.contact_container .part2 .feedback textarea:focus + label,
.contact_container .part2 .feedback textarea:not(:placeholder-shown) + label {
    top: -0.5rem; font-size: 0.72rem; color: var(--c3);
    background: var(--white); padding: 0 0.4rem; border-radius: 0.3rem; left: 0.8rem;
}
.contact_container .part2 .feedback textarea {
    flex: 1; height: 100%; background: transparent; border: none; outline: none;
    color: var(--text); font-size: 0.85rem; padding: 0.8rem 1rem; resize: none; border-radius: 1rem;
}
.contact_container .part2 .feedback textarea::-webkit-scrollbar { width: 3px; }
.contact_container .part2 .feedback textarea::-webkit-scrollbar-thumb { background: var(--c2); border-radius: 2px; }
.contact_container .part2 .feedback button {
    width: 2.5rem; height: 2.5rem; border-radius: 50%; border: none;
    background: var(--c4); color: var(--white);
    display: grid; place-items: center; cursor: pointer; flex-shrink: 0;
    transition: all 0.3s ease; box-shadow: 0 4px 16px rgba(45,90,27,0.25);
}
.contact_container .part2 .feedback button:hover { background: var(--c3); transform: scale(1.1); }
.contact_container .part2 .feedback button svg { width: 1rem; height: 1rem; }

/* RESPONSIVE */
@media screen and (max-width: 55rem) { 
    .contact_container { width: 95%; } 
}
@media screen and (max-width: 37rem) {
    body { padding: 5rem 0.5rem 1rem; justify-content: flex-start; }
    .header { display: flex; }
    .menu { display: block; }
    .mob_nav_links { display: flex; position: fixed; top: 5rem; right: -100%; z-index: 1000; transition: right 0.4s ease; }
    .mob_nav_links .mob_links { padding: 1rem 0.8rem; width: 55vw; border-radius: 1rem; display: flex; flex-direction: column; gap: 0.4rem; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border: 1px solid rgba(125,193,66,0.3); box-shadow: 0 20px 50px rgba(44,80,20,0.2); }
    .mob_links a { color: var(--text-light); padding: 0.5rem 1rem; border-radius: 0.5rem; text-decoration: none; transition: all 0.3s ease; font-size: 0.9rem; }
    .mob_links a:hover { background: rgba(125,193,66,0.1); color: var(--c4); }
    .contact_container { flex-direction: column; width: 98%; min-height: unset; }
    .contact_container .part1 { width: 100%; min-height: 40vh; padding-top: 3rem; }
    .contact_container .part1 .logo2{display: none;}
    .contact_container .part1 .contact_images { width: 80%; position: static; }
    .contact_container .part1 .img1, .contact_container .part1 .img2 { width: 80%; }
    .contact_container .part2 { width: 100%; }
    .contact_container .part2 .subscription { min-height: 55vh; position: relative; }
    .contact_container .part2 .feedback { height: 15vh; }
    .volunteer_form div, .canditate_form div, .canditate_form span, .volunteer_form button, .canditate_form button { width: 90%; }
}
/******************/