     
     .tm-site-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tm-logo {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    width: 100%;       /* important for responsive scaling */
}

.logo-img {
    max-width: 100%;   /* shrink for mobile */
    height: auto;      /* keep aspect ratio */
    margin-right: 10px;
}

@media (max-width: 600px) {
    .logo-img {
        max-width: auto;   /* make smaller if needed */
    }
}

/* ------------------------------
   CONTACT SECTION SPACING
------------------------------ */
.contact-section {
    margin-top: -240px; /* Adjust distance from logo/header */
    padding-top: 10px;
    text-align: center;
}

/* ------------------------------
   DISTRICT SLIDER WRAPPER
------------------------------ */
.district-container-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;       /* Centers content on large screens */
    margin: 40px auto 0 auto; /* Center horizontally */
    overflow: hidden;
    padding: 0 20px;         /* Avoid touching screen edges */
}

/* ------------------------------
   HORIZONTAL SCROLL CONTAINER
------------------------------ */
.district-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.district-container::-webkit-scrollbar {
    display: none;
}

/* ------------------------------
   DISTRICT CARD
------------------------------ */
.district-card {
    flex: 0 0 calc(60% - 5px); /* 2 cards per row (gap is 10px, so half gap subtracted) */
    height: 90px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.district-card.flip .card-inner {
    transform: rotateY(180deg);
}

/* ------------------------------
   CARD FACES
------------------------------ */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 12.2px;
    font-weight: bold;   /* ✅ Add this line */
    color: #fff;
    background: #85C1E9;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.card-back {
    background: #5DADE2; /* Slightly darker light blue for back */
    transform: rotateY(180deg);
}

.card-back p {
    margin: 4px 0;
}

/* ------------------------------
   SCROLL BUTTONS
------------------------------ */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    border: none;
    padding: 2px 10px;
    cursor: pointer;
    border-radius: 30%;
    z-index: 10;
    display: block; /* Always visible */
}

.scroll-btn.left { left: 2px; }
.scroll-btn.right { right: 2px; }

.scroll-btn:hover {
    background: #555;
}

/* ------------------------------
   RESPONSIVE
------------------------------ */

/* Tablet */
@media (max-width: 768px) {
    .district-container {
        gap: 15px;
    }

    .district-card {
        min-width: 150px;
        height: 120px;
    }

    .scroll-btn {
        padding: 6px 10px;
        font-size: 16px;
    }

    .contact-section {
        margin-top: -190px; /* Adjust for tablet */
    }
}

/* Mobile */
@media (max-width: 480px) {
    .district-container {
        gap: 10px;
    }

    .district-card {
        min-width: 130px;
        height: 110px;
    }

    .card-front,
    .card-back {
        font-size: 14px;
    }

    .scroll-btn {
        padding: 5px 8px;
        font-size: 14px;
    }

    .contact-section {
        margin-top: -130px; /* Adjust for small screens */
    }
}


.close-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: 32px;
  height: 32px;

  background: #eee;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
}


.stylish-text {
    font-weight: bold;
    font-family: 'Arial Black', Gadget, sans-serif;
    font-size: 1.1rem;
    line-height: 1.5;
}


