/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    padding-top: 60px;
    padding-bottom: 100px;
}

header {
    background-color: #0099ff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #0099ff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

/* Landing Page Styles */
.landing-page {
    background-color: #5e2c04;
    min-height: calc(100vh - 160px);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 80px;
}

.scrolling-text-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.scrolling-text {
    position: absolute;
    white-space: nowrap;
    font-weight: 800;
    font-size: 25vw;
    color: #0099ff;
    z-index: 0;
    animation: scrollText 30s linear infinite;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes scrollText {
    from { transform: translateY(-50%) translateX(100%); }
    to { transform: translateY(-50%) translateX(-100%); }
}

.section-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin: 10px;
    position: relative;
    z-index: 1;
    height: 100%;
    transition: transform 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-title {
    color: white;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Header adjustments */
.navbar {
    min-height: 60px !important;
    padding: 0.5rem 1rem !important;
}

.navbar-brand {
    font-size: 1.25rem !important;
}

.dropdown-menu {
    min-width: 200px;
}

/* Music Player Styles */
.music-player {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 8px 15px;
    margin: 0 auto;
    max-width: 90%;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.player-controls button {
    background-color: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.player-controls button:hover {
    background-color: #ffd700;
    color: #000;
}

.volume-slider {
    width: 100px;
    -webkit-appearance: none;
    height: 6px;
    background: #fff;
    border-radius: 3px;
    margin: 0 10px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #ffd700;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #fff;
}

#playlist-select {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid #ffd700;
    border-radius: 15px;
    padding: 3px 10px;
    font-size: 0.9rem;
}

#playlist-select option {
    background-color: #333;
}

.form-check-input:checked {
    background-color: #ffd700;
    border-color: #ffd700;
}

.form-check-label {
    color: #fff;
    font-size: 0.9rem;
}

/* Video Player Styles */
.video-player-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #000;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-player {
    width: 100%;
    height: auto;
    display: block;
}

.video-controls {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 0 0 22px 22px;
}

/* Clock Styles */
.clock-container {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(0, 153, 255, 0.1);
    border-radius: 15px;
}

.digital-clock {
    font-size: 120px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    color: #0099ff;
    text-shadow: 0 0 10px rgba(0, 153, 255, 0.5);
    margin-bottom: 10px;
}

.location-info {
    font-size: 24px;
    color: #fff;
    font-weight: 500;
}

.date-display {
    font-size: 28px;
    color: #ffd700;
    margin-bottom: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .digital-clock {
        font-size: 80px;
    }

    .date-display {
        font-size: 20px;
    }

    .location-info {
        font-size: 18px;
    }

    .scrolling-text {
        font-size: 30vw;
    }
}

/* Admin logout button styling - LEFT SIDE VERSION */
.admin-logout-btn {
    position: fixed;
    top: 100px;
    right: 25px;
    z-index: 9999;
    background: transparent;
    border: none;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    padding-top: 100;
    padding: 0;
}

.admin-logout-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.admin-logout-btn img {
    width: 48px;
    height: 48px;
}

/* Custom heading styles */
.contact-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 55px;
    font-weight: 600;
    color: #0099ff;
    text-align: center;
    margin: 0 auto;
    padding: 30px 0 30px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

@media (max-width: 992px) {
    .contact-heading {
        font-size: 80px;
    }
}

@media (max-width: 576px) {
    .contact-heading {
        font-size: 50px;
    }
}

/* Inspiration Quote Styles */
.inspiration-quote {
    font-family: 'Montserrat', sans-serif;
    color: #0099ff;
    text-align: center;
    padding: 20px 0;
}

.quote-line {
    font-size: 20px;
    font-weight: 100;
    line-height: 1.1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    margin: 10px 0;
}

@media (max-width: 768px) {
    .quote-line {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .quote-line {
        font-size: 22px;
    }
}

/* Statistics Dashboard Styles */
#world-map {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.hoverinfo {
    padding: 5px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.card {
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.progress {
    background-color: #e9ecef;
    margin-bottom: 10px;
}

.table th {
    font-weight: 600;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

/* =========================================================
   Back To Top (dynamic progress ring)
   - injected by assets/js/script.js
   - progress ring: yellow
   ========================================================= */
#backToTopBtn {
  position: fixed;
  right: 18px;
  bottom: 86px; /* above fixed footer */
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  display: none;          /* JS toggles to flex */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);

  background:
    conic-gradient(rgba(255,215,0,.95) calc(var(--progress, 0) * 1turn), rgba(255,215,0,.25) 0),
    linear-gradient(135deg, rgba(13,110,253,1), rgba(220,53,69,1));
}

#backToTopBtn i {
  color: #fff;
  font-size: 18px;
}

#backToTopBtn:hover {
  transform: translateY(-2px);
}

#backToTopBtn:active {
  transform: translateY(0);
}

#backToTopBtn:focus-visible {
  outline: 3px solid rgba(255,255,255,.9);
  outline-offset: 3px;
}
