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

body {
    font-family: 'Vazir', 'Tahoma', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    margin-left: 10px;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    filter: none !important;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    display: none;
}

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

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

nav ul li a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

nav ul li a:hover {
    opacity: 0.8;
}

nav ul li a.active {
    border-bottom: 2px solid #ff6b35;
}

.login-btn {
    background: #ff6b35;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #e55a2b;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,102,204,0.8), rgba(0,68,153,0.8)), url('https://picsum.photos/seed/mazandaran/1200/400.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    font-weight: 500;
}

.btn:hover {
    background: #e55a2b;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #0066cc;
    font-size: 2.2rem;
}

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

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #0066cc;
}

/* Info Section */
.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.info-text h3 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.info-text p {
    margin-bottom: 1rem;
}

.info-text ul {
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.info-text li {
    margin-bottom: 0.5rem;
}

.info-image {
    border-radius: 10px;
    overflow: hidden;
}

.info-image img {
    width: 100%;
    height: auto;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #0066cc;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background: #004499;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
}

.breadcrumb ul li {
    margin-left: 1rem;
}

.breadcrumb ul li a {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumb ul li a:hover {
    text-decoration: underline;
}

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

.investment-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.investment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.investment-card-content {
    padding: 1.5rem;
}

.investment-card-content h3 {
    color: #0066cc;
    margin-bottom: 1rem;
}

/* Services Tabs */
.services-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ddd;
    overflow-x: auto;
}

.tab {
    padding: 1rem 2rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.tab.active {
    border-bottom-color: #0066cc;
    color: #0066cc;
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Board Members Styles */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.board-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}

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

.member-photo {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #0066cc, #004499);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.member-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    z-index: 1;
}

.member-info {
    padding: 2rem;
}

.member-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.member-position {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.member-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

.board-structure {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.board-structure h3 {
    color: #0066cc;
    margin-bottom: 1rem;
    text-align: center;
}

.structure-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.structure-list li {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.structure-list li strong {
    color: #0066cc;
}

.featured-member {
    grid-column: span 2;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.member-badge {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Login Page Styles */
.login-container {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0066cc, #004499);
    padding: 2rem 0;
}

.login-form {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0066cc;
}

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

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

.login-form .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0,102,204,0.2);
}

.login-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin-top: 1rem;
}

.login-form .forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.login-form .forgot-password a {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
}

.login-form .forgot-password a:hover {
    text-decoration: underline;
}

.login-form .register-link {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

.login-form .register-link a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.login-form .register-link a:hover {
    text-decoration: underline;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo img {
    height: 80px;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    filter: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .info-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-tabs {
        flex-direction: column;
    }
    
    .tab {
        border-bottom: 1px solid #ddd;
        border-right: none;
    }
    
    .logo img {
        height: 40px;
    }
    
    .featured-member {
        grid-column: span 1;
    }
}