/* ================= CSS FILE ================= */
/* File: style.css */
:root {
    --green: #0b7d3e;
    --orange: #f7931e;
    --text: #1f2937;
    --light: #f9fafb;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;}
 nav{position:relative;}

.main-nav {list-style:none; display:flex; gap:15px; margin:10px; padding:10px; }
.main-nav li a { text-decoration: none; color: #fff; font-weight:500; 
transition:none; color: 0.3s ease; }
   
   .menu-toggle { display:none; background:transparent; box-shadow:none;
border:none; font-size: 20px; color:white; cursor: pointer; }

.membership {
    background-color: #ffffff;
    color: #333;
    justify-items: center;

}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.site-header {
    background: var(--green);
    padding: 0px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}


.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
  
}

.logo-left img {
    height: 100px;
    padding:-10px,0px;
    margin-bottom:-20px;
}

.logo-right img {
    height: 60px;
    opacity: 0.9;
}

/* NAV */
.main-nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    font-size:1.2rem;
}

.main-nav a:hover {
    color: var(--orange);
}
.hero {
    position: relative;
    background: url('images/tppa logo.jpeg') no-repeat center;
    background-size: 450px;
    min-height: 30vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0.0;
    background: rgba(255,255,255,0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    color: #0b7d3e;
}

.hero p {
    margin: 15px 0;
    font-size: 1.1rem;
}
.aims{
    position: relative;
    background: url('images/tppa logo.jpeg') no-repeat center;
    background-size: 450px;
    min-height: 30vh;
    display: flex;
    align-items: center;
}
.structure{
    position:relative;
    background: url('images/tppa logo.jpeg') no-repeat center;
    background-size: 450px;
    min-height: 30vh;
    display: flex;
    align-items:center;
}
.structure-overlay {
    position: relative;
    inset:0.0
    

}

.btn-primary {
    display: inline-block;
    background: #f7931e;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

button {
    display: inline-block;
    background: #f7931e;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

section {
    padding: 60px 0;
}

h2 {
    color: #0b7d3e;
    margin-bottom: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    padding: 30px;
    background: #f5f5f5;
    border-left: 5px solid #f7931e;
}

.rights-list {
    list-style: square;
    margin-left: 20px;
}

.membership-form {
    display: grid;
    gap: 15px;
    max-width: 550px;
}
.log{
    display: grid;
    gap: 15px;
    max-width: 300px;
}

.membership-form input,
.membership-form select {
    padding: 10px;
}

.site-footer {
    background: #0b7d3e;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}
.container2 {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    align-content: center;
    justify-items: center;
}

.contact-container {
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    font-size: 1rem;
}

.contact-info p {
    margin-bottom: 12px;
}

.contact-info strong {
    color: var(--tppa-green);
}

form {
    background: #ffffff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: var(--tppa-green);
}

form button {
    background: var(--tppa-orange);
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
}

form button:hover {
    background: #d97706;
}


@media (max-width:768px) {
.container{width:80%;
}
   
.main-nav {display:none; flex-direction:column;
justify-content:flex-start;  
background:#ff9800;
position:fixed;
right:15px;
top:75px;
width:120px;
border-radius:10px;
margin:0;
padding:0px;
z-index:999;}

.main-nav.show{display: flex; right:0; margin:0;
padding:0;}
.menu-toggle{ display:block; }
.main-nav  li {margin:5px; gap:0;}


.main-nav a {margin:0px; padding:0; gap:2px;}
}