/* Modern CSS for SMIU Word Glossary - Updated Design */

:root {
    --primary-color: #8B2635;
    --primary-dark: #6B1D28;
    --primary-light: #A53545;
    --secondary-color: #F5F5DC;
    --accent-color: #D4AF37;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --text-muted: #999999;
    --background-light: #FEFEFE;
    --background-cream: #FDF8E7;
    --border-light: #E8E8E8;
    --shadow-light: 0 2px 10px rgba(139, 38, 53, 0.1);
    --shadow-medium: 0 4px 20px rgba(139, 38, 53, 0.15);
    --border-radius: 8px;
    --border-radius-large: 16px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Navigation */
.navbar {
    background: var(--background-light) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.navbar-brand .brand-main {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.navbar-brand .brand-sub {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #8b2635 !important;
    text-decoration: none;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.navbar a {
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar a btn-register {
    color: #fff !important;
    text-decoration: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
}

.btn-login {
    color: var(--text-dark) !important;
    border: 1px solid var(--border-light);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
}

.btn-register {
    background-color: var(--primary-color) !important;
    color: white !important;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #fff !important;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .search-container {
    max-width: 600px;
    margin: 2rem auto 0;
    position: relative;
}

.hero .search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-right: 120px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: var(--shadow-medium);
    outline: none;
}

.hero .search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero .search-btn:hover {
    background: var(--primary-dark);
}

/* Stats Section */
.stats-section {
    background: #ffe591;
    padding: 3rem 0;
}

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

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Featured Words Section */
.featured-section {
    padding: 4rem 0;
    background: white;
}

/* News Section */
.news-section {
    padding: 4rem 0;
    background: var(--background-cream);
}

.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: none;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

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

.news-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.news-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card .card-text {
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 1rem;
}

.news-meta {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.featured-words-carousel {
    margin-top: 3rem;
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.featured-words {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 350px;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1rem;
    gap: 1rem;
}

.featured-words.mobile-view {
    grid-template-columns: 1fr;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
    display: flex !important;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 10px;
    display: flex !important;
}

.carousel-control-next {
    right: 10px;
    display: flex !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--primary-dark);
}

.word-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.word-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.word-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.word-language {
    display: inline-block;
    background: var(--background-cream);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.word-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background-color: rgba(139, 38, 53, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    display: inline-block;
}

.word-english {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.word-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.word-pronunciation {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.word-meaning {
    color: var(--text-light);
    line-height: 1.5;
}

/* Mission Section */
.mission-section {
    background: var(--background-cream);
    padding: 4rem 0;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.mission-features {
    list-style: none;
    margin-top: 2rem;
}

.mission-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.mission-features li::before {
    content: '✓';
    background: var(--primary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 0.8rem;
    font-weight: bold;
}

.mission-highlights {
    display: grid;
    gap: 1.5rem;
}

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
}

.highlight-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.highlight-card p {
    color: var(--text-light);
    margin: 0;
}

/* About Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

.page-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    color: #fff !important;
}

.mission-overview {
    padding: 4rem 0;
    background: white;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.expert-committee {
    padding: 4rem 0;
    background: var(--background-cream);
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expert-card {
    background: white;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

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

.expert-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.expert-info {
    padding: 2rem;
}

.expert-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.expert-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.expert-description {
    color: var(--text-light);
    line-height: 1.6;
}

.core-values {
    padding: 4rem 0;
    background: white;
}

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

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--background-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.value-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* News Page Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

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

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 2rem;
}

.news-category {
    display: inline-block;
    background: var(--background-cream);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.news-author {
    font-weight: 600;
}

.newsletter-section {
    background: var(--background-cream);
    padding: 4rem 0;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    outline: none;
}

.newsletter-input:focus {
    border-color: var(--primary-color);
}

.newsletter-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--primary-dark);
}

.newsletter-privacy {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Support Page Styles */
.support-ways {
    padding: 4rem 0;
    background: white;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.support-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.support-icon {
    width: 80px;
    height: 80px;
    background: var(--background-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.support-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.support-description {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-section {
    padding: 4rem 0;
    background: var(--background-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary-color);
}

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

.form-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-btn:hover {
    background: var(--primary-dark);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-item-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Search Results */
.search-results {
    padding: 2rem 0;
    background: white;
}

.search-result-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.word-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.word-title .sub-word {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-left: 0.5rem;
}

.word-pronunciation {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.word-definition {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.word-translations {
    background: var(--background-cream);
    border-radius: var(--border-radius);
    padding: 1rem;
    border-left: 4px solid var(--primary-color);
    margin-top: 1rem;
    min-height: 30px;
}

.translation-item {
    margin-bottom: 0.5rem;
}

.translation-item:last-child {
    margin-bottom: 0;
}

.translation-label {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 80px;
    display: inline-block;
    font-weight: 600;
}

/* Sindhi text display enhancements */
.sindhi-text,
.urdu-text {
    font-size: 1.2em;
    line-height: 1.6;
}

.sindhi-display {
    font-size: 2.2rem !important;
    line-height: 1.4;
}

.sindhi-translation {
    background-color: rgba(139, 38, 53, 0.05);
    padding: 0.5rem;
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 0.8rem !important;
}

.sindhi-translation .translation-label {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.05em;
}

/* Highlight Sindhi translations */
.translation-item:first-child .translation-label[for="sindhi"],
.translation-label:contains("Sindhi") {
    color: var(--primary-dark);
    font-weight: 700;
}

/* News Detail Page Styles */
.news-detail-section {
    padding: 4rem 0;
    background: white;
}

.news-detail-header {
    margin-bottom: 2rem;
}

.news-detail-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-detail-header .news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.news-detail-image {
    margin-bottom: 2rem;
    border-radius: var(--border-radius-large);
    overflow: hidden;
}

.news-detail-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.news-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.news-detail-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.sidebar-section {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.sidebar-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.sidebar-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.recent-article {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.recent-article:last-child {
    border-bottom: none;
}

.recent-article-link {
    text-decoration: none;
}

.recent-article h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.recent-article-link:hover h4 {
    color: var(--primary-color);
}

.recent-article-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.social-share-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-share-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
}

.back-to-news {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-words {
        grid-template-columns: 1fr;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;

        .mission-content,
        .mission-grid,
        .contact-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .experts-grid {
            grid-template-columns: 1fr;
        }

        .values-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .news-grid {
            grid-template-columns: 1fr;
        }

        .support-grid {
            grid-template-columns: 1fr;
        }

        .footer-content {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .newsletter-form {
            flex-direction: column;
        }

        .page-header h1 {
            font-size: 2rem;
        }

        .section-title {
            font-size: 2rem;
        }
    }

    @media (max-width: 480px) {
        .hero {
            padding: 2rem 0;
        }

        .hero h1 {
            font-size: 1.8rem;
        }

        .stats-grid {
            grid-template-columns: 1fr;
        }

        .values-grid {
            grid-template-columns: 1fr;
        }

        .stat-card,
        .word-card,
        .highlight-card,
        .expert-card,
        .news-card,
        .support-card {
            padding: 1.5rem;
        }
    }

    /* Utility Classes */
    .text-center {
        text-align: center;
    }

    .text-primary {
        color: var(--primary-color);
    }

    .text-muted {
        color: var(--text-muted);
    }

    .mb-0 {
        margin-bottom: 0;
    }

    .mb-1 {
        margin-bottom: 1rem;
    }

    .mb-2 {
        margin-bottom: 2rem;
    }

    .mb-3 {
        margin-bottom: 3rem;
    }

    .mt-0 {
        margin-top: 0;
    }

    .mt-1 {
        margin-top: 1rem;
    }

    .mt-2 {
        margin-top: 2rem;
    }

    .mt-3 {
        margin-top: 3rem;
    }

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

    /* Animation */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .fade-in {
        animation: fadeIn 0.6s ease-out;
    }

    /* Loading States */
    .loading {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2rem;
    }

    .spinner {
        width: 40px;
        height: 40px;
        border: 4px solid var(--border-light);
        border-top: 4px solid var(--primary-color);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    /* Alerts */
    .alert {
        padding: 1rem 1.5rem;
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
        border-left: 4px solid;
    }

    .alert-success {
        background: #d4edda;
        color: #155724;
        border-left-color: #28a745;
    }

    .alert-error {
        background: #f8d7da;
        color: #721c24;
        border-left-color: #dc3545;
    }

    .alert-info {
        background: #d1ecf1;
        color: #0c5460;
        border-left-color: #17a2b8;
    }

    .alert-warning {
        background: #fff3cd;
        color: #856404;
        border-left-color: #ffc107;
    }

    .modal.show .modal-dialog {
        transform: none;
        margin-top: 10% !important;
    }

@media (min-width: 763px) {

    .navbar-close {
        display: none !important;
    }

}

@media (max-width: 763px) {

    .navbar-close {
        display: block !important;
    }

    .navbar {
        width: 102vw;
        padding-left: 20px;
    }

    #searchform {
        margin-right: 40px;
    }

    .ctaNav {
        margin-right: 40px;
    }

    .submenu {
        z-index: 1000;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0px;
        height: 100vh;
        width: 300px;
        background: #fff;
        border-right: 1px solid #5889b5;
        padding-left: 18.5px;
        padding-top: 20px !important;
        transition: all 0.3s ease;
        display: block;
        z-index: 15;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0px;
        height: 110vh;
        width: 300px;
        background: #fff;
        border-right: 1px solid #5889b5;
        padding-left: 18.5px;
        padding-top: 20px !important;
        transition: all 0.3s ease;
        display: block;
        z-index: 10000;
    }

    .navbar-collapse.collapsing {
        height: 100vh !important;
        width: 300px;
        margin-left: -300px;
        transition: all 0.3s ease;
        display: block;
    }

    .navbar-collapse.show {
        left: 0;
    }

    .navbar-light .navbar-collapse {
        margin-top: 0px !important;
        border-top: 1px solid #DDDDDD;
    }


    .sc-close {
        font-size: 28px;
        color: grey;
        cursor: pointer;
        margin-top: -5px !important;
        margin-right: 20px;
        float: right;
    }

    .upperfoot select,
    .upperfoot input {
        border-radius: 4px !important;
        width: 100%;
        height: 44px !important;
        font-size: 16px;
        margin-bottom: 20px !important;
    }


}

