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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Navigation Bar */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3a5a80;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #3a5a80;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3a5a80;
}

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

.social-icons a {
    color: #666;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #3a5a80;
}

/* Hero Section */
.hero-section {
    background-color: #3a5a80;
    color: white;
    text-align: center;
    padding: 5rem 0;
    margin-bottom: 3rem;
    background-image: linear-gradient(rgba(58, 90, 128, 0.9), rgba(58, 90, 128, 0.9)), url('https://images.unsplash.com/photo-1517842645767-c639042777db?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Authentication Styles */
.auth-form-container {
    max-width: 500px;
    margin: 2rem auto 4rem;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.form-group input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #3a5a80;
    outline: none;
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.auth-links a {
    color: #3a5a80;
    text-decoration: none;
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}

.message {
    padding: 0.8rem;
    margin-top: 1rem;
    border-radius: 4px;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-button {
    background: none;
    border: none;
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.user-menu-button:hover {
    color: #3a5a80;
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 100;
    display: none;
    overflow: hidden;
}

.user-menu-dropdown.active {
    display: block;
}

.user-menu-dropdown a {
    display: block;
    padding: 0.8rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.user-menu-dropdown a:hover {
    background-color: #f8f9fa;
    color: #3a5a80;
}

.auth-nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.auth-nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.auth-nav-links a:hover {
    color: #3a5a80;
}

.hidden {
    display: none !important;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

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

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

/* Section Titles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #3a5a80;
}

/* Featured Posts Section */
.featured-section {
    margin-bottom: 3rem;
}

.featured-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: 
      "main main"
      "post1 post2"
      "post3 post4";
    gap: 2rem;
}

.featured-post-card:nth-child(1) {
    grid-area: main;
}

.featured-post-card:nth-child(2) {
    grid-area: post1;
}

.featured-post-card:nth-child(3) {
    grid-area: post2;
}

.featured-post-card:nth-child(4) {
    grid-area: post3;
}

.featured-post-card:nth-child(5) {
    grid-area: post4;
}

.featured-post-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.featured-main {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.featured-main .post-image {
    height: 100%;
}

.post-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.post-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.3;
}

.post-excerpt {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    align-self: flex-start;
    color: #3a5a80;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.read-more:hover {
    color: #264059;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Main Content Section */
.content-section {
    margin-bottom: 3rem;
}

.main-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

@media (max-width: 992px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    
    .featured-posts {
        grid-template-columns: 1fr;
    }
    
    .featured-main {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
}


.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.entries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.entry-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.entry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.entry-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.entry-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.entry-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.entry-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.no-entries {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.sidebar-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.sidebar-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #3a5a80;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background-color: #e9f0f8;
    color: #3a5a80;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.tag:hover {
    background-color: #3a5a80;
    color: white;
}

.tag .tag-count {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.archive-item {
    margin-bottom: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.archive-item:hover {
    background-color: #e9f0f8;
}

.archive-item h3 {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

/* Footer Styles */
footer {
    background-color: #3a5a80;
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links, .footer-social {
    display: flex;
    flex-direction: column;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

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

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

.footer-social .social-icons a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-social .social-icons a:hover {
    opacity: 1;
}

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

/* Home page specific styles */
.home-page-container {
    width: 100%;
}

.home-navigation {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: flex-start;
}

.entries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.entry-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

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

.entry-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #eee;
}

.entry-content {
    padding: 1rem;
}

.entry-content h3 {
    margin-bottom: 0.5rem;
    color: #3a5a80;
    font-weight: 600;
}

.entry-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.no-entries {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.sidebar-section h2 {
    margin-bottom: 1rem;
    color: #3a5a80;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: #e9f0f8;
    color: #3a5a80;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.tag:hover {
    background-color: #3a5a80;
    color: white;
}

.tag .tag-count {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-left: 0.3rem;
}

.diary-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

button {
    padding: 0.5rem 1rem;
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

button.primary {
    background-color: #3a5a80;
}

button.success {
    background-color: #28a745;
}

button:hover {
    opacity: 0.9;
}

.btn {
    padding: 0.5rem 1rem;
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn.primary {
    background-color: #3a5a80;
}

.btn:hover {
    opacity: 0.9;
}

input[type="date"], input[type="text"], select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.editor-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .editor-container {
        grid-template-columns: 1fr;
    }
    
    .filter-container {
        width: 100%;
    }
    
    .entries-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.editor-section, .preview-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.editor-section h2, .preview-section h2, .entries-section h2 {
    margin-bottom: 1rem;
    color: #4a6fa5;
}

#markdown-editor {
    width: 100%;
    height: 300px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.5;
}

#preview {
    min-height: 300px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow-y: auto;
}

/* Markdown styling */
#preview h1, #preview h2, #preview h3, #preview h4, #preview h5, #preview h6 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

#preview p {
    margin-bottom: 1rem;
}

#preview ul, #preview ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

#preview blockquote {
    border-left: 4px solid #ddd;
    padding-left: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

#preview code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
}

#preview pre {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

#preview img {
    max-width: 100%;
    height: auto;
}

.entries-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.entries-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.entry-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.entry-item:hover {
    background-color: #f5f5f5;
}

.entry-item h3 {
    margin-bottom: 0.5rem;
    color: #3a5a80;
    font-weight: 600;
}

.entry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.title-input-container,
.tags-input-container,
.image-upload-container {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.title-input-container label,
.tags-input-container label,
.image-upload-container label {
    font-weight: 500;
    min-width: 80px;
}

.title-input-container input,
.tags-input-container input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.image-upload-container input[type="file"] {
    flex: 1;
}

.image-preview {
    margin-top: 0.5rem;
    width: 100%;
    height: 200px;
    border: 1px dashed #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #999;
    font-size: 0.9rem;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.archive-item {
    margin-bottom: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.archive-item:hover {
    background-color: #e9f0f8;
}

/* Preview page styles */
.preview-page-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Rating Component Styles */
.entry-rating-container {
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.entry-rating-container h3 {
    margin-top: 0;
    color: #333;
}

.current-rating {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #555;
}

.rating-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.rating-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background-color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-button:hover {
    background-color: #f0f0f0;
    border-color: #aaa;
}

.rating-button.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.login-required-message {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: #f8f8f8;
    border-left: 3px solid #2196F3;
    font-style: italic;
}

.login-required-message a {
    color: #2196F3;
    text-decoration: underline;
}

.btn.danger {
    background-color: #f44336;
    color: white;
}

.btn.danger:hover {
    background-color: #d32f2f;
}

.delete-btn {
    margin-left: 1rem;
}

.preview-navigation {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: flex-start;
}

.preview-page-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.preview-page-content h2 {
    margin-bottom: 1rem;
    color: #3a5a80;
    font-weight: 600;
}

.preview-metadata {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.preview-full-content {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.preview-full-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

footer {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #3a5a80;
    color: white;
    margin-top: 2rem;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

/* Home Navigation Icon */
.home-nav-icon {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #3a5a80;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, background-color 0.3s;
    z-index: 100;
}

.home-nav-icon:hover {
    transform: scale(1.1);
    background-color: #4a6fa5;
}

/* About Page Styles */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.about-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-section li {
    margin-bottom: 0.5rem;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.team-member-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.team-member h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin: 1rem 1rem 0.5rem;
}

.team-role {
    color: #3a5a80;
    font-weight: 600;
    margin: 0 1rem 0.5rem;
}

.team-member p:not(.team-role) {
    margin: 0 1rem 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.contact-info, .contact-form-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.contact-info p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: #3a5a80;
    margin-top: 0.3rem;
}

.contact-method h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-method p {
    margin-bottom: 0;
    color: #666;
}

.social-connect h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

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

.social-connect .social-icons a {
    background-color: #f0f2f5;
    color: #3a5a80;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-connect .social-icons a:hover {
    background-color: #3a5a80;
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.form-group input, .form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #3a5a80;
    outline: none;
}

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

@media (max-width: 768px) {
    .home-nav-icon {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}