:root {
    --primary-color: #1a237e;
    --secondary-color: #283593;
    --accent-color: #3949ab;
    --text-light: #ffffff;
    --text-dark: #333333;
    --maroon-color: #5a154a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Super Top Header Styles */
.super-top-header {
    background-color: var(--maroon-color);
    padding: 5px 0;
    font-size: 0.8rem;
    color: #ffffff;
}

.super-top-header a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.super-top-header a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.super-top-header i {
    margin-right: 5px;
}

.social-links a {
    margin-left: 10px;
    font-size: 0.9rem;
}

.quick-contact {
    display: flex;
    align-items: center;
}

.quick-contact span {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

/* Top Header Styles */
.top-header {
    background: #ffffff;
    color: var(--maroon-color);
    padding: 15px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.top-header a {
    color: var(--maroon-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-header a:hover {
    color: #b71c1c;
}

.top-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.top-header i {
    margin-right: 5px;
    color: var(--maroon-color);
}

.govt-logo {
    height: 60px;
    margin-right: 15px;
}

.header-title {
    display: flex;
    align-items: center;
}

.header-title h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    color: var(--maroon-color);
}

.header-title p {
    margin: 0;
    font-size: 0.9rem;
    color: #4a4a4a;
}

/* Navigation Styles */
.navbar {
    background-color: var(--maroon-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 0;
    min-height: 50px;
    font-family: Arial Narrow, Arial, sans-serif;
}

.navbar-nav {
    height: 100%;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link {
    padding: 0 1.5rem !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
    line-height: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 10px !important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    margin-top: 0;
    background-color: var(--maroon-color);
    border: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    padding: 0;
}

.dropdown-item {
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Slider Styles */
.swiper {
    width: 100%;
    height: 480px !important;
    overflow: hidden;
    background-color: #f5f5f5;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    height: 480px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.slide-bg {
    width: 100%;
    height: 480px !important;
    object-fit: cover;
    display: block;
}

/* Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    color: #5a154a;
    background: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

/* Pagination */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #5a154a;
}

/* Feature Cards Animation */
.features-section {
    padding: 50px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.section-heading {
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.heading-line {
    width: 50px;
    height: 2px;
    background: #5a154a;
    margin: 0 auto 15px;
}

.section-subtext {
    color: #666;
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #5a154a;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    background: rgba(90, 21, 74, 0.08);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-icon-wrapper i {
    color: #5a154a;
    font-size: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: #5a154a;
}

.feature-card:hover .feature-icon-wrapper i {
    color: #ffffff;
}

.feature-content h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.feature-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* About Us Section Styles */
.about-section {
    padding: 40px 0;
    background: #ffffff;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--maroon-color), transparent);
}

.section-title {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.section-title h2 {
    color: #333333;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--maroon-color);
}

.about-content {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.about-text {
    text-align: left;
    color: #555555;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 10px;
}

.about-text p {
    margin-bottom: 12px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.key-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.key-point {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #fafafa;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid #f0f0f0;
}

.key-point:hover {
    background: #f5f5f5;
    border-color: #e8e8e8;
    transform: translateX(2px);
}

.key-point i {
    color: var(--maroon-color);
    font-size: 16px;
    margin-right: 10px;
    padding: 6px;
    background: rgba(90, 21, 74, 0.08);
    border-radius: 6px;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.key-point:hover i {
    background: var(--maroon-color);
    color: #ffffff;
}

.key-point span {
    color: #444444;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Super Top Header Mobile */
    .super-top-header {
        text-align: center;
        padding: 8px 0;
    }
    .quick-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        justify-content: center;
    }
    .quick-contact span {
        margin-right: 0;
        font-size: 0.75rem;
    }
    .social-links {
        margin-top: 5px;
        justify-content: center;
    }

    /* Top Header Mobile */
    .top-header {
        padding: 10px 0;
    }
    .top-header-left, .top-header-right {
        justify-content: center;
        text-align: center;
        margin: 5px 0;
    }
    .header-title {
        flex-direction: column;
        text-align: center;
    }
    .govt-logo {
        height: 45px;
        margin: 0 auto 10px;
    }
    .header-title h1 {
        font-size: 1.1rem;
    }
    .header-title p {
        font-size: 0.8rem;
    }

    /* Navigation Mobile */
    .navbar {
        padding: 0;
    }
    .navbar-collapse {
        background: var(--maroon-color);
        padding: 10px;
    }
    .nav-link {
        padding: 10px 15px !important;
        line-height: 1.5 !important;
        font-size: 0.9rem !important;
    }
    .dropdown-menu {
        background: rgba(90, 21, 74, 0.95);
        border: none;
    }
    .dropdown-item {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    /* Slider Mobile */
    .swiper,
    .swiper-slide,
    .slide-bg {
        height: 300px !important;
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }

    /* About Section Mobile */
    .about-section {
        padding: 25px 0;
    }
    .section-title h2 {
        font-size: 1.3rem;
    }
    .about-content {
        padding: 20px;
        margin-bottom: 20px;
    }
    .about-text {
        font-size: 0.9rem;
        padding: 0;
    }
    .key-points {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .key-point {
        padding: 8px 10px;
    }
    .key-point i {
        font-size: 14px;
        min-width: 28px;
        height: 28px;
        padding: 5px;
    }
    .key-point span {
        font-size: 0.85rem;
    }

    /* Features Section Mobile */
    .features-section {
        padding: 30px 0;
    }
    .section-heading {
        font-size: 1.4rem;
    }
    .section-subtext {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    .feature-card {
        padding: 20px;
        margin-bottom: 15px;
    }
    .feature-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    .feature-content h3 {
        font-size: 1.1rem;
    }
    .feature-content p {
        font-size: 0.85rem;
    }

    /* Footer Mobile */
    footer {
        text-align: center;
    }
    footer .col-md-6 {
        margin-bottom: 20px;
    }
    footer .text-md-end {
        text-align: center !important;
    }
    .social-links {
        justify-content: center;
        margin-top: 10px;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .swiper,
    .swiper-slide,
    .slide-bg {
        height: 250px !important;
    }
    .header-title h1 {
        font-size: 1rem;
    }
    .nav-link {
        font-size: 0.85rem !important;
    }
}

/* --- Nano & Narrow Gapping Footer Styles --- */
.custom-footer {
    background: linear-gradient(135deg, #434964 80%, #5a154a 100%);
    color: #f5f6fa;
    font-size: 0.97rem;
    padding-top: 18px;
    padding-bottom: 0;
    letter-spacing: 0.01em;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
}
.custom-footer .footer-title {
    font-weight: 700;
    margin-bottom: 7px;
    color: #fff;
    font-size: 1.01rem;
    letter-spacing: 0.01em;
    border-bottom: 1.5px solid #ffb300;
    display: inline-block;
    padding-bottom: 1px;
}
.custom-footer .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.custom-footer .footer-list li {
    margin-bottom: 2px;
    color: #e0e0e0;
    font-size: 0.97rem;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    line-height: 1.2;
}
.custom-footer .footer-list li:hover {
    color: #ffb300;
    cursor: pointer;
}
.custom-footer .footer-arrow {
    color: #ffb300;
    margin-right: 5px;
    font-size: 1em;
    transition: color 0.2s;
}
.custom-footer .footer-list li:hover .footer-arrow {
    color: #fff;
}
.custom-footer .footer-counter {
    display: flex;
    gap: 1px;
    margin-bottom: 2px;
}
.custom-footer .counter-box {
    display: inline-block;
    background: #fff;
    color: #222;
    font-family: 'Roboto Mono', 'Courier New', Courier, monospace;
    font-size: 1em;
    padding: 1px 6px;
    border-radius: 3px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(90,21,74,0.08);
    margin-right: 1px;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.custom-footer .footer-divider {
    border-top: 1px solid #5a154a;
    margin: 12px 0 8px 0;
    opacity: 0.18;
}
.custom-footer .footer-logo {
    height: 32px;
    background: #fff;
    border-radius: 5px;
    padding: 2px 8px;
    margin: 0 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    object-fit: contain;
}
.custom-footer .footer-bottom {
    align-items: center;
    justify-content: space-between;
}
.custom-footer .footer-copyright {
    color: #e0e0e0;
    font-size: 0.93rem;
    margin: 4px 0 0 0;
    padding-bottom: 8px;
    letter-spacing: 0.01em;
}
.custom-footer .footer-list li b {
    color: #fff;
    font-weight: 700;
}
.custom-footer .footer-list li:last-child {
    margin-bottom: 0;
}
.custom-footer .footer-list li:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.02);
    padding-bottom: 1px;
}
@media (max-width: 991px) {
    .custom-footer .footer-top > div {
        margin-bottom: 10px;
    }
    .custom-footer .footer-logo {
        height: 22px;
        padding: 1px 4px;
    }
}
@media (max-width: 767px) {
    .custom-footer {
        padding-top: 8px;
    }
    .custom-footer .footer-title {
        font-size: 0.97rem;
        margin-bottom: 5px;
    }
    .custom-footer .footer-logo {
        height: 16px;
        padding: 1px 2px;
    }
    .custom-footer .footer-copyright {
        font-size: 0.89rem;
    }
    .custom-footer .footer-top > div {
        margin-bottom: 8px;
    }
    .custom-footer .footer-counter {
        gap: 1px;
    }
} 