/* -----------------------------------------------------------
   HOTSPOTS / MAP
----------------------------------------------------------- */

/* Shared hotspot size (responsive) */
.hotspot-wrapper .white-house-spot,
.hotspot-wrapper .capitol-spot,
.hotspot-wrapper .monument-spot,
.hotspot-wrapper .fords-spot {
    width: clamp(20px, 4vw, 60px);
    height: clamp(20px, 4vw, 60px);
    border-width: clamp(1px, 0.3vw, 2px);
}

/* Shared hotspot pulse ring size (responsive) */
.white-house-spot::after,
.capitol-spot::after,
.monument-spot::after,
.fords-spot::after {
    inset: clamp(-3px, -0.6vw, -6px);
    border-width: clamp(1px, 0.3vw, 2px);
}

/* Hotspot label (responsive) */
.hotspot-label {
    font-size: clamp(10px, 1.6vw, 20px);
    padding: clamp(2px, 0.6vw, 6px) clamp(6px, 1vw, 12px);
}

/* Label pointer border */
.hotspot-label::after {
    border-width: clamp(3px, 0.5vw, 5px);
}

/* Map wrapper */
.map-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: #000;
    overflow: hidden;
}

/* Map image */
.map-image {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

/* Hotspot wrapper */
.hotspot-wrapper {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 20;
}

/* Base hotspot style */
.white-house-spot,
.capitol-spot,
.monument-spot,
.fords-spot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 0, 0, 0.6);
    border: 2px solid #fff;
    position: relative;
}

/* Pulse effect */
.white-house-spot::after,
.capitol-spot::after,
.monument-spot::after,
.fords-spot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 0, 0.75);
    opacity: 0.9;
    animation: hotspot-pulse 1.6s ease-out infinite;
}

@keyframes hotspot-pulse {
    0% { transform: scale(0.8); opacity: 0.9; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Hotspot labels */
.hotspot-label {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    padding: 4px 10px;
}

.hotspot-wrapper:hover .hotspot-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* -----------------------------------------------------------
   POPUP MODAL
----------------------------------------------------------- */

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

@keyframes popupBounce {
    0% { transform: translateY(20px) scale(0.85); }
    60% { transform: translateY(-6px) scale(1.04); }
    85% { transform: translateY(2px) scale(0.98); }
    100% { transform: translateY(0) scale(1); }
}

.popup {
    background: white;
    width: min(90%, 400px);
    max-height: 85vh;
    overflow-y: auto;
    padding: 20px 20px 25px;
    border-radius: 12px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(20px) scale(0.85);
    transition: opacity .35s ease;
    position: relative;
}

.popup.show {
    opacity: 1;
    animation: popupBounce .55s ease-out forwards;
}

.popup img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 14px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 18px;
    cursor: pointer;
    font-size: 26px;
    background: none;
    border: none;
    color: #444;
}

.close-btn:hover {
    color: #000;
}

/* -----------------------------------------------------------
   ABOUT BUTTONS
----------------------------------------------------------- */

.about-buttons {
    display: flex;
    gap: 15px;
    margin-top: 200px;
    flex-wrap: nowrap;
}

.about-buttons .thm-btn {
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    width: 300px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .about-buttons {
        display: none;
    }
}

/* -----------------------------------------------------------
   GREEN BUTTON
----------------------------------------------------------- */

.thm-btn.green-btn {
    display: inline-block;
    float: left;
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.thm-btn.green-btn:hover {
    background-color: #face82;
    color: white;
}

/* -----------------------------------------------------------
   SERVICE CARD
----------------------------------------------------------- */

.service-two__card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-two__card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* -----------------------------------------------------------
   GALLERY (SCROLLING)
----------------------------------------------------------- */

.gallery-container {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    padding: 10px 0 20px;
}

.rowgal {
    display: flex;
    width: fit-content;
    gap: clamp(8px, 1vw, 16px);
    animation: scroll-left 120s linear infinite;
}

.rowgal.reverse {
    animation: scroll-right 120s linear infinite;
}

.image-wrapper {
    position: relative;
    flex: 0 0 auto;
    width: clamp(180px, 22vw, 320px);
    height: clamp(180px, 22vw, 320px);
    overflow: hidden;
    border-radius: 10px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.desc {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-size: 0.9rem;
}

.image-wrapper:hover .desc {
    opacity: 1;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

@keyframes scroll-right {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}

/* -----------------------------------------------------------
   FULLSCREEN GALLERY MODAL
----------------------------------------------------------- */

.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: auto;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding-top: 40px;
}

.gallery-modal-content {
    margin: auto;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 6px;
}

.gallery-close {
    position: absolute;
    top: 18px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.gallery-close:hover {
    color: #ddd;
}

.gallery-caption {
    margin: 15px 0;
    color: #f1f1f1;
    font-size: 18px;
}

/* -----------------------------------------------------------
   IMPACT SECTION
----------------------------------------------------------- */

.impact-section {
    width: 100%;
    padding: 60px 40px;
    background: #fff;
    color: #222;
}

.impact-section h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 40px;
    font-weight: 700;
    color: #111;
}

/* Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

@media (max-width: 900px) {
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .impact-grid { grid-template-columns: 1fr; }
    .impact-section h2 { font-size: 2.1rem; }
}

/* Items */
.impact-item {
    position: relative;
    text-align: center;
    padding: 18px 10px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease !important;
}

.impact-item:hover {
    background: #face82 !important;
    border-color: #face82;
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.impact-item:hover .impact-number,
.impact-item:hover .impact-label,
.impact-item:hover .impact-icon i {
    color: #fff !important;
}

.impact-item:hover .impact-icon {
    background: rgba(255,255,255,0.22);
}

.impact-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #214f3d;
    margin-bottom: 6px;
}

.impact-label {
    font-size: 1rem;
    opacity: 0.85;
}

/* Icon */
.impact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #28a74515;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s ease;
}

.impact-icon i {
    font-size: 30px;
    color: #214f3d;
}

/* Tooltip */
.impact-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    background: #214f3d;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.3rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    z-index: 50;
}

.impact-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #214f3d transparent transparent transparent;
}

.impact-item:hover .impact-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-6px);
}

/* Location */
.location-item {
    position: relative;
    text-align: center;
    padding: 18px 10px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease !important;
}

.location-item:hover {
    background: #214f3d !important;
    border-color: #214f3d;
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.location-box:hover {
    background: #214f3d !important;
}

.location-box:hover a {
    color: white !important;
}

.impact-item {
    cursor: pointer;
}

.page-header {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Optional dark overlay for text readability */
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}



