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

:root {
    --primary-color: #0D47A1;
    --secondary-color: #2196F3;
    --accent-color: #FFC107;
    --text-color: #333;
    --light-color: #f9f9f9;
    --dark-color: #333;
    --border-color: #ddd;
    --box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

body {
    font-family: 'Noto Sans Bengali', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

.divider {
    height: 3px;
    width: 70px;
    background-color: var(--accent-color);
    margin: 15px 0 25px;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    box-shadow: var(--box-shadow);
}

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

.logo h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.tagline {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

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

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Message from Publisher Section */
.message-from-publisher {
    padding: 60px 0;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.message-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.message-content {
    display: flex;
    gap: 30px;
    flex-direction: column;
}

.publisher-photo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.publisher-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.publisher-info {
    margin-left: 20px;
}

.publisher-info h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.message-text p {
    text-align: justify;
    margin-bottom: 15px;
    line-height: 1.8;
}

.signature {
    margin-top: 30px;
    text-align: right;
}

.signature p {
    margin-bottom: 5px;
    text-align: right;
}

/* Editorial Team Section */
.editorial-team {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.editorial-team h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
}

.editorial-team .divider {
    margin: 15px auto 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    padding: 20px;
}

.member-photo {
    flex: 0 0 120px;
}

.member-photo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.member-info {
    flex: 1;
    padding-left: 20px;
}

.member-info h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.designation {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.message {
    font-style: italic;
    color: #666;
}

/* Mission Section */
.mission {
    padding: 60px 0;
}

.mission-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
}

.mission-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.mission-card .divider {
    margin: 15px auto 30px;
}

.mission-card ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.mission-card li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.mission-card li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-contact h3,
.footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    .message-content {
        flex-direction: column;
    }
    
    .publisher-photo {
        justify-content: center;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .member-info {
        padding-left: 0;
        padding-top: 20px;
    }
}

@media (min-width: 768px) {
    .message-content {
        flex-direction: row;
    }

    .publisher-photo {
        flex: 0 0 200px;
        flex-direction: column;
    }
}
