/*
    Theme Name : homa
    Text Domain : homa
    Version: 1.0.7
    Description: I am the soldier marching on i am the warrior this my song
    Tags: homa
    Author: Amma Nanna Ashrama , Karthik.cartsanov@gmail.com
    Author URI :

*/

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    max-width:100%;      /* Maximum width */
    width: 100%;  
    overflow-x: hidden;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;   
    background-color: #fdf1f4;
    user-select: none;
  }
.main{
    max-width: 1200px;      /* Maximum width */
    width: 100%;            /* Full width up to the max */
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
    background:#fdf1f4;
}  
.logo img {
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgb(198 182 199);
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}
.logo img:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); /* On hover, slightly deeper */
  }
.navbar {
    background-image:
        url(./assets/images/Murthy.png),
        url(./assets/images/TTD_MainBanner_Garuda_Morning.png),
        url(./assets/images/TTD_MainBanner_Sun_Morning.png),
        url(./assets/images/TTD_MainBanner_Sky_Morning_web.png);

    background-position:
        center center,
        right center,
        right 10em bottom -2.8em,
        center top;

    background-size: auto, 210px, 110px, cover;
    background-repeat: no-repeat;
    background-color: #639;
    /* ✅ not 'background' */

    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
    border-radius: 0 0 32px 32px;
    align-items: center;
    padding: 20px;
    color: white;
}

/* 
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fdf1f4;
    user-select: none;
    overflow: visible;
    cursor: auto;
} */
/* 
header {
    background-color: #639 !important;
    display: flex;
    flex-direction: column;
    min-height: fit-content;
    height: auto;
    position: relative;
    z-index: 2;
    background-color: #fdf1f4;
    overflow-x: hidden;

} */
header {
    width: 100%;
    max-width: 100vw;
    /* background-color: #fdf1f4 !important; */
    display: flex;
    flex-direction: column;
    height: auto;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: #639;
  }
  

.menudiv {
    background-color: #639;
    width: 100%;
    z-index: 9;
    top: 0px;
    position: sticky;
    display: block;
    display: flex;
    flex-direction: row;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-direction: row;
    display: flex;
    justify-content: flex-start;
    padding: 10px 10px 10px 10px;
    width: 82%;
    margin: auto;
}

.menu li a {
    color: white;
    text-decoration: none;
    font-weight: bold;

}

.sign {
    /* width: 10%; */
    gap: 20px;
    flex-direction: row;
    display: flex;
    justify-content: flex-start;
    padding: 10px 10px 10px 10px;
    text-wrap-mode: nowrap;
}

.signin {
    color: white;
    cursor: pointer;
}

.hero {
    text-align: center;
    padding: 50px;
    /* background: url('temple.jpg') no-repeat center center/cover; */
    color: #233443;
}

.hero .flex-container {
    display: flex;
    gap: 20px;
    /* space between columns */
    padding: 20px;
}
.hero-stage-2 {
    text-align: center;
    padding: 50px;
    /* background: url('temple.jpg') no-repeat center center/cover; */
    color: #233443;
}

.hero-stage-2 .flex-container {
    display: flex;
    flex-direction:column;
    gap: 20px;
    /* space between columns */
    padding: 20px;
}



.flex-container .column {
    flex: 1;
    /* equal width columns */
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* space between cards */
}

.flex-container .latest {
    flex: 1;
    /* equal width columns */
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    align-items: anchor-center;
}
.latest h3{
    border-bottom: 1px solid #cdb59c;
    text-transform: uppercase;
}

.calendar-input {
    padding: 10px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 100%;
  }
.column .card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.column .info {
    height: 350px;
    overflow-y: auto;
    font-size: 15px;
    width: 350px;
}
.column h3{
    border-bottom: 1px solid #cdb59c;
    text-transform: uppercase;
}
.card  p {
    text-align:left;
} 
.services {
    text-align: center;
    padding: 30px;
    width: 100%;
    /* align-items: center; */
    justify-content: center;
    /* background: red; */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom:20px;

}

.services h2 {
    border-bottom: 1px solid #cdb59c;
    text-transform: uppercase;

}
.dropdown-row {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 15px;
    flex-wrap: wrap; /* For mobile responsiveness */
  }
  
  .dropdown-row select {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
  }

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 20px;
    padding: 20px;
}

.service-item {
    background: #663399;
    padding: 15px;
    border-radius: 8px;
    width: 200px;
    color: white;
    font-weight: bold;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.disabled-div {
    background-color: #e0e0e0; /* Light gray to show it's disabled */
    color: #999;
    padding: 20px;
    border-radius: 10px;
    pointer-events: none; /* Disables mouse interactions */
    opacity: 0.6;          /* Visually looks disabled */
  }
  
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', sans-serif;
}

.service-item i {
    font-size: 24px;
}

@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        text-align: center;
    }

    .services-grid {
        flex-direction: column;
        align-items: center;
    }
    .footer .container{
        flex-direction:column;
    }
    .hero .flex-container{
        flex-direction:column;
    }
    .footer .container {
        flex-direction: column;
        align-items: center;
        gap: 5px;
      }
    
      .footer .container > * {
        width: 100%;
        flex: none;
      }
}

.footer {
    font-size: 12px;
    line-height: 16px;
    padding: 14.5px 0;
    text-align: center;
    white-space: break-spaces;
    /* word-break: break-word; */
    z-index: 50;
    display: flex;
    flex-direction: column;
    background-color: #a27fbd !important;
    justify-content: center;
    position: fixed;
    width: 100%;
    max-height: fit-content;
    height: 50px;
    bottom: 0px;
    padding: 0px 10px 10px 0px;

}

.footer .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;              /* Allow items to wrap on small screens */
    justify-content: space-evenly;
    gap: 10px;
    padding: 10px;
    width: 100%;
    margin-top: 5px;
    height: auto;                 /* Allow height to grow if items wrap */
    font-size: 10px;
    text-align: center;
  }
  
  .footer .container > * {
    flex: 1 1 100px;              /* Shrink/grow items with min width */
    white-space: nowrap;         /* Keep text in one line */
    overflow: hidden;
    text-overflow: ellipsis;
  }

.container div {
    color: #fff;
    display: flex;
    flex-direction: row;
    font-size: 12px;
    align-items: anchor-center;

}

.social_media_footer {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 5px;
}

.social_media_footer li {
    display: block;
    padding: 1px;
    list-style: none;
    width: 32px;
    height: 32px;
}

.social_media_footer li svg {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 10px;
    color: #fff;

}

.social_media_footer li svg:hover {
    transform: translateY(-2px);
    /* Slight lift */
}
.about-card {
    max-width: 700px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;     
  }
  
  .about-us h2 {
     border-bottom: 1px solid #cdb59c;
    text-transform: uppercase;
  }
  
  .about-card p {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
  }
  
/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, .7);
  }
  
  .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly; /* Even vertical spacing */
    height: 100%;
  }
  
  .modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 29px;
    border-radius: 12px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    height: 300px;
  }
  
  .phone-input {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .input-wrapper {
    position: relative;
    width: 80%;
  }
  
  .prefix {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #555;
    font-size: 16px;
    pointer-events: none;
  }
  
  .input-wrapper input[type="text"] {
    width: 100%;
    padding: 10px 10px 10px 45px; /* extra left padding for the prefix */
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
  }
  
  .otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
  }
  
  .otp-inputs input[type="text"] {
    width: 40px;
    height: 40px;
    font-size: 24px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 8px;
  }
  
  button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4b2c87;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #6d44ab;
  }
    
  
  .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
  }

  .calendar-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.calendar-card {
    background-color: #fdf1f4;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* width: 300px; */
}

.calendar {
    width: 100%;
    border-collapse: collapse;
}

.calendar th,
.calendar td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
    cursor: pointer;
}

.calendar th {
    background-color: #eee;
}

.calendar td.clickable:hover {
    background-color: #cce5ff;
}
.calendar td.green {
    background-color: #d4edda; /* light green */
}

.calendar td.disabled {
    background-color: #f8d7da; /* light red */
    color: #721c24;
    pointer-events: none;
    cursor: not-allowed;
}

.calendar td.clickable:hover {
    background-color: #a5d6a7;
}



.status-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: rgba(35, 52, 67, 0.75);
  }
  
  .status-item {
    display: flex;
    align-items: center;
    margin: 5px;
  }
  
  .status-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 6px;
  }
  
  .status-dot.available {
    background-color: rgb(1, 109, 1);
  }
  
  .status-dot.full {
    background-color: rgb(255, 30, 34);
  }
  
  .status-dot.not-released {
    background-color: rgb(5, 175, 232);
  }
  
  .status-dot.filling-fast {
    background-color: rgb(255, 191, 0);
  }
  
  .status-dot.not-available {
    background-color: rgb(204, 204, 204);
  }
  


  .seva-container {
    font-family: "Open Sans", sans-serif;
    padding: 24px;
    border-radius: 24px;
    background-color: white;
  }
  
  .seva-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  
  .seva-date {
    font-weight: bold;
    font-size: 16px;
  }
  
  .ticket-info {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .ticket-label {
    font-size: 14px;
    color: gray;
  }
  
  .ticket-input {
    width: 64px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-bottom: 2px solid gray;
    background: transparent;
    cursor: pointer;
  }
  
  .seva-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }
  
  .seva-card {
    display: flex;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.16);
    overflow: hidden;
    min-height: 100px;
    cursor: pointer;
  }
  
  .seva-card.unavailable {
    cursor: not-allowed;
    opacity: 0.5;
  }
  
  .seva-availability {
    background-color: green;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60px;
  }
  
  .seva-card.unavailable .seva-availability {
    background-color: red;
  }
  
  .seva-availability span {
    font-size: 12px;
    font-weight: 600;
  }
  
  .seva-details {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }
  
  .seva-name {
    font-weight: bold;
    color: #e24e5a;
    font-size: 14px;
  }
  
  .seva-persons {
    font-size: 14px;
    margin-top: 2px;
    color: #233443;
  }
  
  .seva-price {
    font-size: 18px;
    font-weight: bold;
    margin-top: 5px;
    color: #233443;
  }
  
  .seva-select {
    position: absolute;
    top: 10px;
    right: 10px;
    background: url('/RadioButton.svg') no-repeat center center;
    border: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
  }
  