/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #002060;
    /* Deep Midnight Blue */
    --secondary-color: #fca311;
    /* Vibrant Gold */
    --accent-color: #00b4d8;
    /* Bright Teal */
    --text-color: #212529;
    --bg-light: #f8f9fa;
    --bg-dark: #001540;
    --border-radius: 8px;

    /* Bootstrap Overrides */
    --bs-primary: var(--primary-color);
    --bs-secondary: var(--secondary-color);
    --bs-body-bg: #ffffff;
}

/* Force Bootstrap Utility Overrides */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-danger {
    color: var(--secondary-color) !important;
}

/* If any remain */

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

.border-danger {
    border-color: var(--primary-color) !important;
}

/* Replace red borders with deep blue */

/* Background Overrides */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}


body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}


/* Navbar Customization */
.navbar-custom {
    background-color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    color: #ffffff !important;
    font-size: 24px;
    letter-spacing: 0.5px;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--secondary-color) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Page Layout for Sticky Footer */
html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}


/* Hero Carousel */
#heroCarousel .carousel-item {
    height: 600px;
    background-color: #000;
}

#heroCarousel img {
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
}

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

.section-title {
    position: relative;
    display: inline-block;
    padding: 0 20px;
    margin-bottom: 60px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.section-title::before {
    left: -60px;
}

.section-title::after {
    right: -60px;
}

/* Buttons */
/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e09100 100%);
    border: none;
    color: #000;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy effect */
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(252, 163, 17, 0.4);
    color: #000;
    background: linear-gradient(135deg, #e09100 0%, var(--secondary-color) 100%);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s;
}

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

/* Blinking Button Animation */
@keyframes blinking {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.btn-blinking {
    animation: blinking 1.5s infinite;
}

/* Custom Track Cards (Replicating Original Design) */
.track-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    padding-bottom: 5rem;
}

.track-card {
    position: relative;
    width: 22rem;
    min-height: 26rem;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.track-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.track-card:hover {
    transform: rotate(0deg);
}

.track-card-dot {
    position: absolute;
    top: 1rem;
    right: 1rem;
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    background-color: #ffffff;
}

.track-card-badge {
    display: inline-block;
    background-color: var(--primary-color);
    /* primary red */
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    /* rounded-full */
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.track-card-title {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.track-list {
    list-style: disc !important;
    text-align: left !important;
    padding-left: 1.5rem !important;
}

.track-list li {
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 500;
    color: #1f2937;
    /* gray-800 */
    margin-bottom: 0.25rem;
}


/* Footer */
footer {
    background-color: var(--bg-dark);
    /* Deep Blue */
    color: white;
    padding: 80px 0 30px;
    margin-top: auto;
}

footer h5 {
    color: var(--secondary-color);
    /* Gold headings */
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

/* Specific override for Bootstrap's text-muted class inside footer */
footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer p,
footer span,
footer div,
footer li {
    color: rgba(255, 255, 255, 0.8) !important;
    /* Force white text */
}

footer a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-color) !important;
}


/* Read More */
.about_me {
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive Typography */

/* Default (Small Screens / Mobile) */
body,
p {
    font-size: 0.95rem;
    /* ~15px */
}

h1 {
    font-size: 1.75rem;
}

/* ~28px */
h2 {
    font-size: 1.5rem;
}

/* ~24px */
h3 {
    font-size: 1.25rem;
}

/* ~20px */
h4 {
    font-size: 1.1rem;
}

/* ~18px */
h5 {
    font-size: 1rem;
}

/* ~16px */

/* Medium Screens (Tablets, >=768px) */
@media (min-width: 768px) {

    body,
    p {
        font-size: 1rem;
        /* 16px */
    }

    h1 {
        font-size: 2.25rem;
    }

    /* 36px */
    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    h5 {
        font-size: 1.1rem;
    }
}

/* Large Screens (Desktops, >=992px) */
@media (min-width: 992px) {

    body,
    p {
        font-size: 1.05rem;
        /* ~17px for better readability on big screens */
    }

    h1 {
        font-size: 3rem;
    }

    /* 48px */
    h2 {
        font-size: 2.25rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    h4 {
        font-size: 1.5rem;
    }

    h5 {
        font-size: 1.25rem;
    }
}

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

/* AIMTDR Theme Overrides */
:root {
    --aimtdr-blue: #32509C;
    --aimtdr-green: #2C8B3D;
    --aimtdr-red: #E84545;
}

.text-aimtdr-blue {
    color: var(--aimtdr-blue) !important;
}

.text-aimtdr-green {
    color: var(--aimtdr-green) !important;
}

.aimtdr-page-title {
    color: var(--aimtdr-blue);
    position: relative;
    display: inline-block;
    padding: 0 20px;
    margin-bottom: 40px;
    font-weight: 700;
}

.aimtdr-page-title::before,
.aimtdr-page-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 3px;
    background-color: var(--aimtdr-red);
}

.aimtdr-page-title::before {
    left: -20px;
}

.aimtdr-page-title::after {
    right: -20px;
}

.aimtdr-section-divider {
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    margin-bottom: 15px;
    margin-top: 30px;
}

.aimtdr-section-divider::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--aimtdr-green);
}

.aimtdr-list-group-item {
    border: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: transparent !important;
    font-size: 16px;
    color: #212529;
}