/* ============================================
   Modern Design Stylesheet for PGDP
   ============================================ */

/* Color Variables */
:root {
    --primary-green: #25C28D;
    --primary-green-dark: #1a9d6f;
    --primary-green-light: #3dd4a3;
    --secondary-blue: #00246a;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

/* ============================================
   HEADER STYLES
   ============================================ */

.header-modern {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1000;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    padding: 6px 0;
    color: var(--white);
    font-size: 0.875rem;
}

.top-bar-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.top-bar-link {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    white-space: nowrap;
}

.top-bar-link:hover {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.social-link {
    color: var(--white);
    font-size: 1rem;
    transition: transform 0.3s;
    display: inline-block;
}

.social-link:hover {
    color: var(--white);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Main Header */
.main-header {
    padding: 5px 0;
    background: var(--white);
    margin-bottom: 0;
}

.logo-holder-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 250px;
    flex-shrink: 0;
}

.logo-img {
    max-height: 75px;
    max-width: 250px;
    width: auto;
    height: auto;
    transition: transform 0.3s;
    object-fit: contain;
}

.logo-img:hover {
    transform: scale(1.05);
}

.main-header .navbar {
    flex-direction: row;
    align-items: center;
    position: relative;
}

.main-header .navbar-brand {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    margin-right: 20px;
}

.main-header .navbar-collapse {
    flex-grow: 1;
    margin-top: 0;
}

.main-header .navbar-toggler {
    display: none;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 4px 8px;
    margin-left: auto;
}

.main-header .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.main-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.sticky-navbar .navbar-toggler {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 4px 8px;
    margin-left: auto;
}

.sticky-navbar .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.sticky-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-header .navbar-nav {
    margin-left: auto;
}

.main-header .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 10px 18px !important;
    transition: all 0.3s;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.main-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-green);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.main-header .nav-link:hover::after,
.main-header .nav-link.active::after {
    width: 80%;
}

.main-header .nav-link:hover {
    color: var(--primary-green) !important;
}

.main-header .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-hover);
    border-radius: 8px;
    margin-top: 10px;
    padding: 10px 0;
    min-width: 250px;
}

.main-header .dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s;
    color: var(--text-dark);
}

.main-header .dropdown-item:hover {
    background: var(--primary-green);
    color: var(--white);
    padding-left: 25px;
}

/* Sticky Navigation */
.sticky-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s;
    display: none; /* Hidden by default, shown when scrolling */
}

.sticky-nav-wrapper.show {
    display: block;
}

.sticky-navbar {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%) !important;
    padding: 8px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.sticky-navbar .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 8px 15px !important;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.sticky-navbar .nav-link:hover {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    color: var(--white) !important;
}

.sticky-navbar .dropdown-menu {
    background: var(--white);
    border: none;
    box-shadow: var(--shadow-hover);
    border-radius: 8px;
    margin-top: 10px;
}

.sticky-navbar .dropdown-item {
    color: var(--text-dark);
}

.sticky-navbar .dropdown-item:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* ============================================
   NEWS TICKER STYLES
   ============================================ */

.news-ticker-modern {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, #003d8f 100%);
    padding: 12px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

.news-ticker-label {
    background: var(--primary-green);
    color: var(--white);
    padding: 12px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.news-ticker-label::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    bottom: 0;
    width: 30px;
    background: var(--primary-green);
    transform: skewX(-15deg);
    z-index: -1;
}

.news-ticker-label i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.news-ticker-content {
    flex: 1;
    padding: 0 20px;
    overflow: hidden;
    position: relative;
}

.news-ticker-wrapper {
    overflow: hidden;
    width: 100%;
}

.news-ticker-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    animation: scroll-news 120s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.news-ticker-list.paused {
    animation-play-state: paused;
}


.news-ticker-controls {
    display: flex;
    gap: 5px;
    padding-right: 15px;
}

.ticker-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.ticker-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.ticker-btn:active {
    transform: scale(0.95);
}

.news-ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 30px;
    color: var(--white);
    font-size: 0.95rem;
    white-space: nowrap;
}

.news-ticker-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-ticker-item a:hover {
    color: var(--primary-green-light);
    text-decoration: none;
}

.news-ticker-item::before {
    content: '●';
    color: var(--primary-green);
    font-size: 0.6rem;
    margin-right: 10px;
    flex-shrink: 0;
}

@keyframes scroll-news {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fallback for when content is loaded dynamically */
#AirMark {
    display: flex;
    align-items: center;
}

#AirMark ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.modern-footer {
    background: var(--text-dark);
    color: var(--white);
    margin-top: 60px;
}

.footer-main {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #1a1a2e 0%, var(--text-dark) 100%);
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-title {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-green);
    display: inline-block;
}

.footer-text {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    transition: transform 0.3s;
}

.footer-links a:hover {
    color: var(--primary-green-light);
    padding-left: 20px;
    text-decoration: none;
}

.footer-links a:hover::before {
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: rgba(255,255,255,0.8);
}

.footer-contact i {
    color: var(--primary-green);
    margin-right: 12px;
    margin-top: 4px;
    font-size: 1.1rem;
    min-width: 20px;
}

.footer-contact a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--primary-green-light);
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.social-icon:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin: 0;
}

.developer-link {
    color: var(--primary-green-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.developer-link:hover {
    color: var(--primary-green);
    text-decoration: none;
}

/* ============================================
   HOME PAGE MODERN STYLES
   ============================================ */

/* Slider Section - Modern Redesign */
.slider-header {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}

#carouselExampleIndicators {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.carousel-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    bottom: 50%;
    transform: translateY(50%);
    left: 0;
    right: 0;
    padding: 30px;
    text-align: center;
}

.carousel-caption h2,
.carousel-caption h3 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    margin-bottom: 20px;
    color: var(--white);
}

.carousel-caption .btn {
    padding: 14px 35px;
    font-size: 1.1rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    background: var(--primary-green);
    border: 2px solid var(--white);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.carousel-caption .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
    background: var(--primary-green-dark);
    border-color: var(--primary-green-light);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s;
    z-index: 3;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255,255,255,0.4);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 20px;
    z-index: 3;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid var(--white);
    margin: 0 5px;
    transition: all 0.3s;
}

.carousel-indicators li.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: scale(1.2);
}

/* Quick Links Section */
.quick-links-section {
    padding: 60px 0;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 2px;
}

.quick-link-card {
    background: var(--white);
    border: none;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    height: 100%;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
    color: var(--text-dark);
}

.quick-link-card .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.quick-link-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.quick-link-card .icon-wrapper i {
    font-size: 2.5rem;
    color: var(--white);
}

.quick-link-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Highlights Section */
.highlights-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.highlight-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    height: 100%;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    border-top: 4px solid var(--primary-green);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--primary-green-dark);
    text-decoration: none;
    color: var(--text-dark);
}

.highlight-card .icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.highlight-card:hover .icon-wrapper {
    transform: scale(1.15) rotate(-5deg);
}

.highlight-card .icon-wrapper i {
    font-size: 3rem;
    color: var(--white);
}

.highlight-card h5 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.highlight-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Latest News Section */
.latest-news-section {
    padding: 60px 0;
    background: var(--white);
}

.news-card-modern {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    height: 100%;
}

.news-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
    color: var(--text-dark);
}

.news-card-modern .card-body {
    padding: 25px;
}

.news-card-modern h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-card-modern small {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Overview Section */
.overview-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.overview-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 0;
    height: 100%;
}

.overview-card h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-green);
}

.overview-card p {
    color: var(--text-light);
    line-height: 1.8;
    text-align: justify;
    font-size: 1rem;
}

.news-sidebar {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
}

.news-sidebar h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-green);
}

/* DLI Section */
.dli-section {
    padding: 60px 0;
    background: var(--white);
}

.dli-holder {
    margin-bottom: 30px;
    padding: 0 15px;
}

.dli-card {
    margin-bottom: 20px;
}

.dli-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    height: 100%;
}

.dli-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
}

.flip-card-inner {
    position: relative;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.dli-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    padding: 30px 20px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-card-front {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
}

.flip-card-back {
    background: var(--text-dark);
    color: var(--white);
    transform: rotateY(180deg);
}

.flip-card-front .img-holder,
.flip-card-back .img-holder {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-front .img-holder i,
.flip-card-back .img-holder i {
    font-size: 3rem;
    color: var(--white);
}

.flip-card-front h1,
.flip-card-back h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.flip-card-front p,
.flip-card-back p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--white);
    margin: 0;
}

/* Go to Top Button */
#btnGoToTop {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: none;
}

#btnGoToTop::after {
    content: "\f35b";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 50px;
    color: var(--white);
}

#btnGoToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    cursor: pointer;
}

#btnGoToTop.show {
    opacity: 1;
    visibility: visible;
}

/* Body padding adjustment for sticky nav */
body {
    padding-top: 0 !important;
    font-size: 16px;
}

* {
    font-size: inherit;
}

/* Ensure header doesn't overlap content */
.header-modern {
    position: relative;
    z-index: 1000;
}

.main-header .navbar {
    position: relative;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .main-header .navbar-toggler {
        display: block;
    }
    
    .main-header .navbar {
        flex-wrap: wrap;
    }
    
    .main-header .navbar-collapse {
        width: 100%;
        margin-top: 15px;
        order: 3;
    }
    
    .main-header .navbar-brand {
        margin-right: auto;
    }
    
    .sticky-navbar .navbar-toggler {
        display: block;
    }
    
    .sticky-navbar .navbar {
        flex-wrap: wrap;
    }
    
    .sticky-navbar .navbar-collapse {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 8px 0;
    }
    
    .top-bar-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .top-bar-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
        margin-top: 10px;
    }
    
    .top-bar-link {
        font-size: 0.8rem;
        margin-left: 0 !important;
    }
    
    .social-links {
        justify-content: flex-start;
        margin-top: 10px;
    }
    
    .logo-img {
        max-height: 50px;
    }
    
    .main-header {
        padding: 8px 0 3px 0;
    }
    
    .main-header .navbar-collapse {
        margin-top: 10px;
    }
    
    .main-header .navbar-nav {
        width: 100%;
    }
    
    .main-header .nav-link {
        padding: 10px 15px !important;
        border-bottom: 1px solid #e9ecef;
    }
    
    .main-header .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        box-shadow: none;
        border: none;
        border-top: 1px solid #e9ecef;
    }
    
    #carouselExampleIndicators {
        height: 350px;
    }
    
    .carousel-item {
        height: 350px;
    }
    
    .carousel-caption h2,
    .carousel-caption h3 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .news-ticker-modern {
        flex-wrap: wrap;
    }
    
    .news-ticker-label {
        width: 100%;
        text-align: center;
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .news-ticker-content {
        padding: 8px;
        width: 100%;
    }
    
    .news-ticker-controls {
        width: 100%;
        justify-content: center;
        padding: 8px 0;
    }
    
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .sticky-nav-wrapper {
        display: none !important;
    }
    
    .dli-holder {
        margin-bottom: 20px;
        padding: 0 8px;
    }
    
    .overview-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .top-bar {
        padding: 10px 0;
    }
    
    .top-bar-link {
        font-size: 0.8rem;
    }
    
    .main-header {
        padding: 10px 0;
    }
    
    .news-ticker-modern {
        flex-direction: column;
    }
    
    .news-ticker-label {
        width: 100%;
        text-align: center;
    }
    
    .news-ticker-content {
        padding: 10px;
    }
}

