:root {
    --primary-color: #50613b;
    --secondary-color: #d8e0cc;
    --dark-primary: #4a563a;
    --text-color: #333;
    --light-bg: #f9f5f0;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

.welcome-container {
    margin: 2rem auto 4rem;
    max-width: 1200px;
    width: 90%;
    padding: 0 1rem;
}

.welcome-banner {
    display: flex;
    flex-direction: row;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.welcome-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-content h2 {
    font-family: 'Rakkas', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.welcome-content p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #666;
    margin-bottom: 2rem;
}

.welcome-buttons {
    display: flex;
    gap: 1rem;
}

.welcome-button {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    display: inline-block;
}

.login-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.login-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.signup-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.signup-btn:hover {
    background-color: var(--dark-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.welcome-image {
    flex: 1;
    overflow: hidden;
    min-height: 300px;
}

.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefits-container {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-container h3 {
    font-family: 'Rakkas', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.benefits-container h3:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 25%;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #666;
    font-size: 0.95rem;
}

header {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 0 0 50px 50px;
}

nav {
    display: flex;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.main-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.main-logo img:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.brand-name {
    font-family: 'Rakkas', serif;
    margin-left: 1rem;
    font-size: 2rem;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.nav-links {
    display: flex;
    margin-left: auto;
    list-style: none;
    
}

.nav-links li {
    margin-left: 2rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links li a {
    color: var(--white);
    text-decoration: none;
    position: relative;
    padding: 0.5rem;
    font-size: 0.95rem;
}

.nav-links li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover:after {
    width: 100%;
}
.nav-links .active a {     
    font-weight: bold;
}
.nav-links .active a::after {     
    width: 100%;
}

footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 2rem 5%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(3px);
}

.footer-section a {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links img {
    width: 35px;
    height: auto;
    transition: transform 0.3s ease;
    filter: brightness(60%);
}

.social-links img:hover {
    transform: scale(1.1);
    filter: brightness(80%);
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(230, 201, 168, 0.3);
    font-size: 0.9rem;
}







