* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #fffaf3;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background-color: #4b2e05;
    color: #fff;
}

header h1 {
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffd47f;
}

img {
    max-width: 250px;
    max-height: 200px;
    min-width: 200px;
    min-height: 200px;
    display: block;
    object-fit: cover;
}

/* Hero Section */
.hero {
    background: url('Jeff.gif') center/cover no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
}

.hero-content h2 {
    font-size: 3rem;
}

.hero-content p {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

button {
    background-color: #ffd47f;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1.5rem;
}

button:hover {
    background-color: #ffb84d;
    transform: scale(1.1);
}

footer {
    background-color: #4b2e05;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.25rem;
}

.section {
    margin-bottom: 1.75rem;
}

.container h1,
.container h2 {
    text-align: center;
    margin-bottom: 0.75rem;
    color: #3a2a17;
}

.container p,
.container li {
    line-height: 1.6;
    color: #333;
    margin-bottom: 0.75rem;
    text-align: justify;
}

.container ol {
    margin-left: 1.1rem;
}

footer {
    padding: 1.25rem 0;
}

.team {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.25rem;
}
.team h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #3a2a17;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: start;
}
.team-member {
    background: #fff8f2;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.team-member img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 0.6rem;
}
.team-member h3 {
    margin: 0.25rem 0 0;
    font-size: 1rem;
}
.team-member .role {
    margin: 0.25rem 0 0;
    color: #6b6b6b;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 540px) {
    .team-member img { width: 72px; height: 72px; }
}

.team-member img {
    transition: transform 320ms cubic-bezier(.2,.9,.3,1), box-shadow 320ms;
    will-change: transform, box-shadow;
}

.team-member:hover img,
.team-member img:focus {
    transform: translateY(-8px) scale(1.06);
    box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}

.team-member {
    transition: transform 520ms ease, box-shadow 520ms ease;
}
.team-member:hover {
    transform: translateY(-6px);
}

@keyframes teamFadeUp {
    from { opacity: 0; transform: translateY(12px) scale(0.99); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.team-member {
    opacity: 0;
    animation: teamFadeUp 560ms cubic-bezier(.22,.9,.32,1) forwards;
    animation-delay: calc(var(--i, 0) * 110ms);
}

.team-grid .team-member:nth-child(1) { --i: 0; }
.team-grid .team-member:nth-child(2) { --i: 1; }
.team-grid .team-member:nth-child(3) { --i: 2; }
.team-grid .team-member:nth-child(4) { --i: 3; }
.team-grid .team-member:nth-child(5) { --i: 4; }
.team-grid .team-member:nth-child(6) { --i: 5; }

@media (prefers-reduced-motion: reduce) {
    .team-member,
    .team-member img {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

body {
    position: relative;
    overflow-x: hidden; 
    background-color: #fffaf3;
}

body::before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 160px;
    background: linear-gradient(180deg, rgba(75,46,5,0.08), rgba(255,212,127,0.06));
    transform: skewY(-6deg);
    filter: blur(20px);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 160px;
    background: linear-gradient(180deg, rgba(255,212,127,0.06), rgba(75,46,5,0.04));
    transform: skewY(6deg);
    filter: blur(20px);
    pointer-events: none;
    z-index: 0;
}

.decor-shape {
    position: fixed;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,212,127,0.18), rgba(255,212,127,0.06) 40%, transparent 60%);
    filter: blur(14px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}
.decor-shape.shape-1 { left: 120px; top: 80px; transform: translateY(0) scale(0.9); }
.decor-shape.shape-2 { right: 120px; bottom: 100px; transform: translateY(20px) scale(1.05); }

main.container,
header,
footer,
.team,
.section {
    position: relative;
    z-index: 2;
}

main.container {
    background: rgba(255,255,255,0.85);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 6px 20px rgba(10,10,10,0.04);
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after,
    .decor-shape {
        transition: none !important;
        animation: none !important;
        filter: none !important;
    }
}