:root {
    --primary: #3b82f6;
    /* Bright Blue */
    --dark: #0f172a;
    /* Slate 900 */
    --darker: #020617;
    /* Slate 950 */
    --light-bg: #f8fafc;
    /* Slate 100 */
    --card-bg: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --radius: 16px;
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
}

/* --- 1. MODERN NAVIGATION --- */
.modern-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 15px 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin-left: 20px;
    position: relative;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.btn-subscribe {
    background: var(--primary);
    color: white !important;
    border-radius: 50px;
    padding: 8px 25px !important;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-subscribe:hover {
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

/* --- 5. MEGA FOOTER --- */
.modern-footer {
    background: var(--darker);
    color: #94a3b8;
    padding: 80px 0 30px;
    margin-top: 80px;
}

.footer-brand {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 20px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

/* --- 6. COMMON PAGE HEADER --- */
.page-header {
    margin-top: 100px;
    margin-bottom: 40px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.header-title-box {
    background: var(--dark);
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px 4px 0 0;
}

/* --- 7. NEWS CARDS --- */
.news-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: 0.3s;
    border: 1px solid #f1f5f9;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-img-wrap {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.news-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
}

.meta-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

/* Horizontal Card */
.news-card-horizontal {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: 0.3s;
    border: 1px solid #f1f5f9;
}

.news-card-horizontal .card-row {
    display: flex;
    height: 100%;
}

.card-img-col {
    width: 35%;
    position: relative;
    overflow: hidden;
}

.card-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content-col {
    width: 65%;
    padding: 20px;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #fff;
    margin-bottom: 30px;
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid #f1f5f9;
}

.widget-header {
    background: var(--dark);
    color: #fff;
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 4px 4px 0 0;
    font-size: 0.9rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .modern-nav {
        padding: 10px 0;
    }
}

/* --- 8. INDEX SPECIFIC STYLES --- */
.hero-slider-wrap {
    margin-top: 0;
    width: 100%;
    overflow: hidden;
    background: #000;
    margin-bottom: 60px;
}

.hero-item {
    position: relative;
    height: 85vh;
    min-height: 550px;
    outline: none;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4), transparent);
    display: flex;
    align-items: center;
    padding-left: 10%;
}

.hero-content {
    max-width: 700px;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.slick-active .hero-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.badge-custom {
    background: var(--primary);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.slick-dots {
    bottom: 30px;
    left: 10%;
    width: auto;
    text-align: left;
}

.slick-dots li button:before {
    color: white;
    font-size: 10px;
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    color: var(--primary);
    opacity: 1;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 15px;
}

.section-title h2 {
    margin: 0;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.btn-load-more {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    display: block;
    margin: 50px auto 0;
}

.btn-load-more:hover {
    background: var(--primary);
    color: white;
}

/* --- 9. CONTACT PAGE SPECIFIC STYLES --- */
.guidelines-box {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    border-left: 5px solid var(--primary);
    margin-bottom: 40px;
}

.guidelines-list {
    list-style: none;
    padding: 0;
}

.guidelines-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.guidelines-list li::before {
    content: '\f00c';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
}

.contact-form-box {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.form-control {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 1px;
    margin-bottom: 20px;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
}

.contact-info-card {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 133px 30px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before,
.contact-info-card::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.contact-info-card::before {
    top: -50px;
    right: -50px;
}

.contact-info-card::after {
    bottom: -50px;
    left: -50px;
    z-index: 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-right: 20px;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:hover .icon-box {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.info-content h5 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

.info-content p,
.info-content a {
    color: #94a3b8;
    margin: 0;
    font-size: 0.95rem;
    display: block;
    line-height: 1.5;
    text-decoration: none;
    transition: 0.3s;
}

.info-content a:hover {
    color: white;
    padding-left: 5px;
}

/* --- 10. 404 PAGE STYLES --- */
.error-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.error-bg div {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    animation: float404 12s infinite linear;
}

@keyframes float404 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-120vh);
    }
}

.error-code {
    font-size: 140px;
    font-weight: bold;
    color: #111;
}