:root {
    --primary-color: #1a237e;
    /* Deep Navy Blue */
    --secondary-color: #ffc107;
    /* Golden Yellow */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --font-heading: 'EB Garamond', serif;
    --font-body: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Header & Navigation */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    margin-left: 15px;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--secondary-color);
}

.navbar {
    padding: 10px 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    height: 110px;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* Hero Slider Customization */
.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: var(--white) !important;
    opacity: 0.5;
    margin: 0 8px !important;
    border: none !important;
    background-clip: unset !important;
}

.carousel-indicators .active {
    background-color: var(--secondary-color) !important;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 10px;
}

.btn-custom {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 35px;
    font-weight: 700;
    border-radius: 0;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
}

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

/* Dashboard Section */
.dashboard-section {
    padding: 100px 0;
    background-color: var(--white);
}

.dashboard-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.dashboard-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.dashboard-card {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.dashboard-card h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-card p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
}

/* Tri-column Section */
.tri-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.tri-section .col-lg-4 {
    padding: 0 40px;
    position: relative;
}

@media (min-width: 992px) {
    .tri-section .col-lg-4:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 10%;
        height: 80%;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.1);
    }
}

.section-title {
    margin-bottom: 40px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.list-item {
    display: flex;
    margin-bottom: 20px;
    background: var(--white);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.list-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
}

.list-item-content h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

/* Interview Section */
.interview-section {
    padding: 100px 0;
}

.interview-img {
    border-radius: 10px;
    box-shadow: 20px 20px 0 var(--secondary-color);
}

/* Twitter/Tweet Section */
.tweet-section {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.tweet-section i {
    color: #1da1f2;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tweet-text {
    font-size: 1.5rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* Gallery Section */
.gallery-section {
    padding: 0;
}

.gallery-item {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: #000;
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-logo {
    height: 100px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.8rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .navbar-brand img {
        height: 40px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-section {
        height: 60vh;
    }
}

/* Login Page Styles */
.login-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 60px 0;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 126, 0.85);
    /* Primary Blue with opacity */
    z-index: 1;
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 550px;
}

.login-card {
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.login-card h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.login-card .form-control {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.login-card .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
}

.login-card .btn-login {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 100%;
    padding: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    transition: var(--transition);
}

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

.login-card .links {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.login-card .links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

/* Pagination Styles */
.pagination .page-link {
    color: var(--primary-color);
    border-color: #eee;
    padding: 10px 18px;
    font-weight: 600;
    transition: var(--transition);
}

.pagination .page-item.active .page-link {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.pagination .page-link:hover {
    background-color: #f1f1f1;
    color: var(--primary-color);
    border-color: #ddd;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
}

/* News Page Styles */
.news-hero {
    background: linear-gradient(rgba(26, 35, 126, 0.8), rgba(26, 35, 126, 0.8)), url('../images/hero2.png');
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    color: var(--white);
    text-align: center;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #eee;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.news-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.news-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* News Details Page Styles */
.article-header {
    padding: 80px 0;
    background-color: var(--light-bg);
    border-bottom: 1px solid #eee;
}

.article-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.article-meta i {
    color: var(--secondary-color);
}

.article-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.featured-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body blockquote {
    border-left: 5px solid var(--secondary-color);
    padding: 20px 30px;
    background: #fff9e6;
    font-style: italic;
    font-size: 1.3rem;
    margin: 40px 0;
    color: var(--primary-color);
}

.share-section {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin: 50px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.share-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.share-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.recent-post-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}

.recent-post-content h6 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.recent-post-content a:hover {
    color: var(--secondary-color);
}