:root {
    --sand-bg: #fdf5e6;
    --sand-accent: #e3c9a1;
    --sand-dark: #b89060;
    --earth: #5d4037;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--sand-bg);
    color: var(--earth);
    scroll-behavior: smooth;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(253, 245, 230, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    border-bottom: 1px solid rgba(184, 144, 96, 0.2);
    padding: 0 20px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--earth);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.main-logo {
    height: 350px;
    max-height: 100%;
    max-width: 100%;
    margin-top: 200px;
    margin-bottom: 20px;
}

.side-logo {
    position: absolute;
    left: 20px;
    top: 90%;
    transform: translateY(-80%);
    max-height: 100px;
    width: auto;
    height: auto;

}
.side-text-nav{
    position: absolute;
    left: 10%;
}

.candidate-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, var(--sand-bg) 0%, var(--white) 50%, var(--sand-bg) 100%);
    margin-top: 100px;
}

.candidate-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 25px 50px rgba(93, 64, 55, 0.1);
    border: 1px solid var(--sand-accent);
    transition: transform 0.4s ease;
}

.candidate-container:hover {
    transform: translateY(-10px);
}

.candidate-image-box {
    flex: 1;
    min-height: 400px;
    background: var(--sand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.candidate-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.candidate-image-placeholder {
    font-weight: 600;
    color: var(--earth);
    opacity: 0.8;
    text-align: center;
    padding: 20px;
}

.candidate-info {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.candidate-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--earth);
}

.candidate-info p {
    font-size: 1.1rem;
    color: #7a6e62;
    margin-bottom: 30px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 5% 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 5% 100px;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid var(--sand-accent);
}
.secondary-nav {
    position: fixed;
    top: 90px;
    width: 100%;
    height: 40px;
    background: #a88f87;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--earth);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: 0.3s;
}

.btn:hover {
    background: var(--sand-dark);
}

@media (max-width: 850px) {
    .candidate-container {
        flex-direction: column;
    }

    .candidate-image-box {
        min-height: 300px;
    }

    .candidate-info {
        padding: 40px 30px;
        text-align: center;
    }

    .candidate-info h2 {
        font-size: 2rem;
    }

    .side-logo{
        display: none;
    }

    .side-text-nav{
        display: none;
    }
}
