/* Modern Custom Styles for Erode DMFT */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;600;700;800&display=swap');

:root {
    --primary-color: #000565;
    --secondary-color: #003366;
    --accent-color: #ffd700;
    --text-dark: #1a1a1a;
    --text-light: #f8f9fa;
    --gradient-hero: linear-gradient(135deg, #000565 0%, #00204a 100%);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #fcfcfc;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* =========================================
   Hero Section Redesign
   ========================================= */
.hero-section {
    background: var(--gradient-hero) !important;
    /* Override inline styles */
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
    color: white;
}

/* Animated Background Shapes */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float 20s infinite ease-in-out;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
}

/* Glassmorphism Badge */
.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffd700;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-block;
}

/* Modern Buttons */
.btn-modern-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffc107 100%);
    color: #000565;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    color: #000565;
}

.btn-modern-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.btn-modern-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item-modern i {
    color: #ffd700;
    margin-bottom: 10px;
}

.stat-item-modern h4 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: white;
}

.stat-item-modern small {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image-modern {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.hero-image-modern:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

/* =========================================
   Project Status Dashboard (Cards)
   ========================================= */
.status-card {
    border-radius: var(--border-radius);
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    z-index: -1;
}

.status-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

/* =========================================
   General Card Styles (Priority, Projects)
   ========================================= */
.card.hover-card {
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
    transition: all var(--transition-speed);
}

.card.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow) !important;
}

.card-img-top {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.sector-overlay {
    background: rgba(0, 5, 101, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .sector-overlay {
    opacity: 1;
}

/* =========================================
   Section Titles
   ========================================= */
.section-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* =========================================
   Testimonial Carousel
   ========================================= */
.testimonial-card {
    border-radius: var(--border-radius);
    background: #fff;
}

.owl-nav button {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    margin: 0 5px;
}

/* =========================================
   Footer CTA
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, #000565 0%, #001a33 100%);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 80px 0 60px;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats-container {
        margin-top: 30px;
    }
}

/* Commemorative Banner Styles */
.hero-commemorative-card {
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    /* Changed to hidden to clip the purple strip, images will be handled inside or relative */
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-purple-strip {
    background: #800080;
    /* Fallback */
    background: linear-gradient(90deg, #7b1fa2 0%, #4a148c 100%);
    position: relative;
    padding: 30px 0;
    margin: 60px 0 40px 0;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.banner-strip-content {
    color: white;
    z-index: 10;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.banner-year-number {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif;
}

.banner-text-block {
    text-align: left;
}

.banner-text-block h3 {
    font-size: 2rem;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 0;
    font-weight: 700;
}

.banner-text-block p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

/* PM Image Styling */
.banner-pm-img-container {
    position: absolute;
    bottom: -10px;
    /* Align to bottom of strip or section */
    left: 2%;
    height: 350px;
    z-index: 20;
    display: flex;
    align-items: flex-end;
}

.banner-pm-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* CM Image Styling */
.banner-cm-img-container {
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    height: 250px;
    width: 250px;
    z-index: 20;
    background: #fff;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-cm-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.banner-logo-left {
    height: 60px;
    width: auto;
}

.banner-logo-center {
    height: 80px;
    width: auto;
}

/* Update hero section background to deep blue */
.hero-section-banner-mode {
    background-color: #000565;
    padding: 80px 0;
    display: flex;
    align-items: center;
    min-height: auto;
}

.designation-title {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .banner-pm-img-container {
        position: relative;
        height: 250px;
        left: 0;
        bottom: 0;
        margin-bottom: -30px;
    }

    .banner-cm-img-container {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        margin-top: -30px;
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }

    .banner-purple-strip {
        flex-direction: column;
        padding: 40px 10px;
        height: auto;
    }

    .banner-strip-content {
        flex-direction: column;
    }

    .banner-year-number {
        font-size: 5rem;
        margin-right: 0;
    }

    .banner-text-block {
        text-align: center;
    }

    .banner-text-block h3 {
        font-size: 1.5rem;
    }
}

/* Compact Commemorative Card for Hero Column */
.hero-commemorative-card.compact {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    /* padding-bottom: 20px; */
    /* Removed to ensure proper flow */
    background: #fff;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.hero-commemorative-card.compact .banner-purple-strip {
    margin: 20px 0;
    padding: 15px 0;
    min-height: 160px;
    background: #6a1b9a;
    /* Solid deep purple */
    display: flex;
    /* Ensure flex layout in compact mode */
    flex-direction: row;
    /* Default back to row */
}

.hero-commemorative-card.compact .banner-year-number {
    font-size: 4rem;
    margin-right: 15px;
    margin-bottom: 0;
    text-shadow: none;
}

.hero-commemorative-card.compact .banner-strip-content {
    flex-direction: row;
    align-items: center;
    padding-left: 36%;
    padding-right: 150px;
    /* Ensure text stops before CM image */
    /* Make room for PM Image */
    width: 100%;
}

.hero-commemorative-card.compact .banner-text-block h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0;
}

.hero-commemorative-card.compact .banner-text-block p {
    font-size: 0.8rem;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.hero-commemorative-card.compact .banner-logo-left,
.hero-commemorative-card.compact .banner-logo-center {
    height: 40px;
    width: auto;
}

.hero-commemorative-card.compact .banner-pm-img-container {
    height: 100%;
    width: 35%;
    /* Fixed width for the image area */
    left: 0;
    bottom: 0;
    top: 15px;
    /* Push down slightly */
    z-index: 25;
    overflow: visible;
}

.hero-commemorative-card.compact .banner-pm-img {
    height: auto;
    width: 100%;
    max-height: 120%;
    /* Allow to overflow bottom if needed */
    object-fit: cover;
    object-position: top center;
    border-radius: 4px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-commemorative-card.compact .banner-cm-img-container {
    width: 140px;
    height: 140px;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 25;
}

.hero-commemorative-card.compact .designation-title {
    font-size: 0.75rem;
    margin-top: 5px;
    line-height: 1.2;
}

.hero-commemorative-card.compact .row.p-md-5 {
    padding: 15px 15px 15px 25px !important;
}

.hero-commemorative-card.compact .row.px-md-5 {
    padding: 0 15px 10px !important;
}

/* Adjustments for the text below stats */
.hero-bottom-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Reset for very small screens within compact */
@media (max-width: 576px) {
    .hero-commemorative-card.compact .banner-purple-strip {
        flex-direction: column;
        padding-bottom: 60px;
        /* Space for absolute images */
    }

    .hero-commemorative-card.compact .banner-pm-img-container {
        height: 140px;
        left: 0;
    }

    .hero-commemorative-card.compact .banner-cm-img-container {
        margin-top: -20px;
        width: 80px;
        height: 80px;
        right: 0;
    }
}

/* Modern Footer Styling */

.footer-section {
    background: linear-gradient(180deg, #000565 0%, #000340 100%);
    position: relative;
    padding-top: 50px;
    padding-bottom: 15px;
    color: rgba(255, 255, 255, 0.85);
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

/* Footer Background Pattern */
.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

.footer-widget-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, transparent);
    /* Gold accent */
    border-radius: 2px;
}

/* About Widget */
.footer-about-text {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.footer-links a i {
    font-size: 0.8rem;
    margin-right: 10px;
    transition: margin-right 0.3s ease;
}

/* Contact Widget */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;

    .footer-contact-item {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        padding: 10px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: transform 0.3s ease, background 0.3s ease;
    }

    .footer-contact-item:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.08);
    }

    .footer-contact-icon {
        width: 35px;
        height: 35px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
        flex-shrink: 0;
        color: #ffd700;
        font-size: 0.8rem;
        transition: all 0.3s ease;
    }

    .footer-contact-item:hover .footer-contact-icon {
        background: linear-gradient(135deg, #ffd700, #ffb300);
        color: #000565;
        box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    }

    .footer-contact-content h6 {
        color: #fff;
        font-weight: 600;
        margin-bottom: 0px;
        font-size: 0.9rem;
    }

    .footer-contact-content p,
    .footer-contact-content a {
        margin: 0;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-contact-content a:hover {
        color: #ffd700;
    }

    /* Bottom Bar */
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 20px;
        margin-top: 30px;
        font-size: 0.8rem;
    }

    .footer-contact-item {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        padding: 10px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: transform 0.3s ease, background 0.3s ease;
    }

    .footer-contact-item:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.08);
    }

    .footer-contact-icon {
        width: 35px;
        height: 35px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
        flex-shrink: 0;
        color: #ffd700;
        font-size: 0.8rem;
        transition: all 0.3s ease;
    }

    .footer-contact-item:hover .footer-contact-icon {
        background: linear-gradient(135deg, #ffd700, #ffb300);
        color: #000565;
        box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    }

    .footer-contact-content h6 {
        color: #fff;
        font-weight: 600;
        margin-bottom: 0px;
        font-size: 0.9rem;
    }

    .footer-contact-content p,
    .footer-contact-content a {
        margin: 0;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-contact-content a:hover {
        color: #ffd700;
    }

    /* Bottom Bar */
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 20px;
        margin-top: 30px;
        font-size: 0.8rem;
    }

    .copyright-text p {
        margin: 0;
    }
}

/* Closing previous footer block */

/* =========================================
   Header Redesign
   ========================================= */
.main-header {
    font-family: 'Poppins', sans-serif;
}

.header-logo {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.branding-bar {
    background: linear-gradient(135deg, #000565 0%, #001a33 100%);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-titles h6 {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.header-titles h4 {
    background: linear-gradient(to right, #ffd700, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar Customization */
.navbar {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

/* Using Bootstrap's .sticky-top but adding index */
.sticky-top {
    z-index: 1020;
}

.navbar-nav .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #333 !important;
    /* Force dark color */
    padding: 10px 18px !important;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Underline Effect */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

/* Dropdown styling */
.dropdown-menu {
    border-radius: 12px;
    padding: 10px;
    animation: fadeIn 0.3s ease;
    margin-top: 15px !important;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: rgba(0, 5, 101, 0.05);
    /* Light primary */
    color: var(--primary-color);
    transform: translateX(5px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Button in Nav */
.navbar-nav .nav-link.btn-primary {
    background: var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 5, 101, 0.2);
}

.navbar-nav .nav-link.btn-primary:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 5, 101, 0.3);
}

.navbar-nav .nav-link.btn-primary::after {
    display: none;
    /* No underline for button */
}

/* =========================================
   Table Redesign - Blue & Yellow Theme
   ========================================= */
.table-responsive {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    margin-bottom: 30px;
    background-color: #fff;
    border: 1px solid rgba(0, 5, 101, 0.05);
}

.table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

/* Header Styling */
.table thead th,
.table thead td,
.table-dark th {
    background: linear-gradient(135deg, #000565 0%, #001a33 100%) !important;
    /* Primary Deep Blue */
    color: #ffd700 !important;
    /* Gold/Yellow Text */
    border: none;
    padding: 18px 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    vertical-align: middle;
    border-bottom: 3px solid #ffd700 !important;
    /* Gold bottom border for header */
}

/* Body Styling */
.table tbody td {
    padding: 16px 15px;
    vertical-align: middle;
    color: #333;
    border-bottom: 1px solid #eef2f7;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

/* Zebra Striping with Blue Tint */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fff;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: rgba(0, 5, 101, 0.02);
    /* Very light blue tint */
}

/* Hover Effect */
.table-hover tbody tr:hover,
.table tbody tr:hover {
    background-color: rgba(255, 215, 0, 0.1) !important;
    /* Light Yellow tint */
    z-index: 2;
    position: relative;
    box-shadow: inset 3px 0 0 #ffd700;
    /* Gold left accent on hover */
}

.table tbody tr:hover td {
    color: #000565;
    font-weight: 500;
}

/* Bordered Table Adjustments */
.table-bordered {
    border: none;
}

.table-bordered td,
.table-bordered th {
    border: 1px solid #f0f0f0;
}

.table-bordered thead th {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Highlighted Rows / Totals */
tr[style*="font-weight:bold"],
tr.highlight-row {
    background-color: #eef2ff !important;
    /* Light indigo/blue for totals */
    color: #000565 !important;
}

tr[style*="font-weight:bold"] td,
tr.highlight-row td {
    color: #000565 !important;
    font-weight: 700;
}

/* Specific fix for numeric columns if needed */
.table td.numeric {
    font-family: 'Roboto', sans-serif;
    /* Monospace-ish for numbers */
}

/* =========================================
   Global Site Redesign - "New Look"
   ========================================= */

/* Body Background */
body {
    background-color: #f7f9fc;
    /* Soft blue-grey background */
}

/* 1. Global Card Styling */
.card {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Card Headers */
.card-header {
    background: linear-gradient(135deg, #000565 0%, #001a33 100%) !important;
    /* Overrides inline styles if relevant via specificity/important */
    color: #fff !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: none !important;
    padding: 15px 20px !important;
}

/* Card Images */
.card-img-top {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    transition: transform 0.6s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
    /* Zoom effect */
}

/* 2. Typography Enhancements - Updated to fix header conflict */
h1,
h2,
h3,
h4,
h5,
h6 {
    /* removed global color: #000565 to respect specific contexts */
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

/* Ensure header text remains white */
.branding-bar h6,
.branding-bar h5,
.branding-bar h1,
.branding-bar h2,
.branding-bar h3,
.branding-bar h4 {
    color: white !important;
}

p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Section Titles (Centering trick for common usage) */
.text-center h2,
.text-center h4 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.text-center h2::after,
.text-center h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ffd700;
    /* Gold underline */
    border-radius: 2px;
}

/* 3. Button Modernization */
.btn-primary,
.btn-secondary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger {
    border-radius: 50px !important;
    padding: 10px 25px !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #000565 0%, #001a33 100%) !important;
    color: #ffd700 !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #001a33 0%, #000565 100%) !important;
    box-shadow: 0 8px 15px rgba(0, 5, 101, 0.3);
    transform: translateY(-2px);
}

/* 4. Contact Page & Forms */
.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: #fff;
    border-color: #000565;
    box-shadow: 0 0 0 4px rgba(0, 5, 101, 0.1);
}

/* Maps */
iframe[src*="google.com/maps"] {
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 5. List Groups & Inner Content */
ul li {
    margin-bottom: 8px;
}

/* Custom Badges */
.badge {
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Back to Top Button */
.back-to-top .back-top {
    background: #ffd700 !important;
    color: #000565 !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Loader / Page Transitions (Optional polish) */
body {
    animation: fadeInPage 0.5s ease-out;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}