:root {
    --primary-color: #663732;
    --secondary-color: #f4f4f4;
    --text-dark: #333333;
    --text-light: #ffffff;
    --accent-color: #a35d55;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

/* Header & Navigation */
header {
    background: var(--text-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Sections */
section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(102, 55, 50, 0.8), rgba(102, 55, 50, 0.8)), 
                url('images/aligramslogo.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.btn:hover {
    background: #4d2a26;
    transform: translateY(-2px);
}

/* Square Portrait Styles */
.profile-container {
    display: flex;
    gap: 3rem;
    align-items: center;
    background: #f9f9f9;
    padding: 3rem;
    border-radius: 8px;
}

.profile-img-wrapper {
    flex-shrink: 0;
}

.profile-img {
    width: 300px;
    height: 350px;
    object-fit: cover;
    border-radius: 4px; /* Square/Rectangular with subtle rounding */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 5px solid white;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
}

/* Executive Specific Grid */
.exec-card {
    text-align: center;
    padding: 2rem;
}

.exec-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 4px; /* Square format */
    margin-bottom: 1.5rem;
}

/* News & Events */
.news-content, .event-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: bold;
}

/* Donation Page Form */
.donation-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.currency-symbol {
    font-weight: bold;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 5% 1rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .profile-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
}
