/* Base styles — already defined */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-box {
    background: white;
    max-width: 900px;
    width: 90%;
    margin: 5% auto;
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    position: relative;
    overflow: hidden;
}

.modal-banner-mobile {
    display: none;
    position: relative;
    width: 100%;
    height: 120px;
    /* rectangular, short banner */
    overflow: hidden;
}

.modal-banner-mobile .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-banner-mobile .banner-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 80px;
    height: auto;
    opacity: 0.8;
    /* transparent */
}

.modal-left {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modal-left h2 {
    margin-bottom: 20px;
}

.modal-left input,
.modal-left textarea {

    margin-bottom: 15px;
    padding: 12px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.input-with-button {
    position: relative;
}

.input-with-button input {

    padding-right: 100px;
    /* space for button */
}

.input-with-button button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    padding: 6px 10px;
    font-size: 13px;
    background: #333;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    background: black;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#otp-section {
    margin-top: 50px;
}

.modal-right {
    width: 50%;
}

.modal-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: #744c4c;
}

.btn {
    padding: 10px;
    background-color: Gray;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: -3px;
    margin-left: 20px;
}

.phone-wrapper {
    display: flex;
    gap: 10px;
}

.country-code-wrapper {
    display: flex;
    gap: 8px;
    /* Adds spacing between select and input */
    align-items: center;
    max-width: 100%;
}

.country-code-select {
    max-height: 150px;
    overflow-y: auto;
    width: 100px;
    height: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 6px 8px;
    box-sizing: border-box;
    -webkit-transition: none !important;
    transition: none !important;
}

.country-code-select option {
    white-space: nowrap;
    /* Prevent wrapping */
}

.phone-input {
    width: 122%;

}

/* For Android Devices (commonly 360px wide, like Pixel phones) */
@media only screen and (max-width: 360px) {
    .phone-input {
        width: 120%;
    }

    .close {
        top: 120px;
        left: 93%;
    }
   .modal-left h2{
    font-size: 24px;
   }
}

/* For iPhones with viewport width ~428px (like iPhone 12 Pro Max) */
@media only screen and (min-width: 361px) and (max-width: 428px) {
    .phone-input {
        width: 135%;
    }

    .close {
        top: 125px;
        left: 93%;
    }
}

/* Responsive - Mobile View */
@media (max-width: 767px) {
    .custom-dropdown {
        width: 100%;
    }
    
    .custom-dropdown .dropdown-list {
        width: 100%;
        max-width: 300px;
    }

    .modal-box {
        flex-direction: column;
        width: 95%;
    }

    .modal-left {
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    #otp-section {
        margin-top: 30px;
    }

    .modal-right {
        display: none;
    }

    .modal-banner-mobile {
        display: block;
    }

    .modal-left h2 {
        margin-top: 0;
    }

    .input-with-button {
        position: relative;
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    .btn {
        margin-left: -2px;
    }

    .input-with-button input {
        width: 100%;
        padding-right: 120px;
        height: 44px;
        font-size: 14px;
        border-radius: 6px;
        box-sizing: border-box;
    }

    .input-with-button button {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        padding: 8px 14px;
        /* Adjusted padding */
        font-size: 13px;
        background: #333;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        line-height: 1;
        height: 30px;
        /* Match vertical size better */
    }
}

/* Toast CSS */
.toast {
    visibility: hidden;
    min-width: 250px;
    max-width: 90%;
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.toast.show {
    visibility: visible;
    opacity: 1;
}

/* Added custom-dropdown styles */
.custom-dropdown {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-dropdown .selected {
    flex: 0.6;
    background: #fff;
    border: 1px solid #ccc;
    padding: 0 10px;
    border-radius: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    gap: 8px;
    position: relative;
}



.custom-dropdown .dropdown-list {
    position: absolute;
    top: 110%;
    left: 0;
    width: 300px;
    background: white;
    border: 1px solid #ccc;
    max-height: 250px;
    overflow-y: auto;
    z-index: 9999;
    border-radius: 5px;
    display: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-dropdown .dropdown-list.show {
    display: block;
}

.custom-dropdown .dropdown-list li {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-dropdown .dropdown-list li:hover {
    background: #f0f0f0;
}

.phone-flex-iwrapper {
    display: flex;
    align-items: center;
    flex: 1;
    width: 100%;
}

.phone-flex-iwrapper input {
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    width: 100%;
    padding: 0 15px;
}

/* Specific widths */
.country-code-input {
    cursor: pointer;
    background-color: #f9f9f9;
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    padding: 0 10px;
    box-sizing: border-box;
}


#name {
    width: 100%;
}

#email {
    width: 100%;
}

@keyframes blink {
    0% {
        opacity: 2;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 2;
    }
}

.blink-button {
    animation: blink 1s infinite;
}

.button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .button-wrapper {
        width: 100%;
    }

    .enquire-btn {
        width: 80%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .button-wrapper {
        width: 100%;
    }

    .enquire-btn {
        width: 80%;
        max-width: 300px;
        text-align: center;
        margin-top: 30px;
    }
}

/* Optional blinking effect */
.enquire-btn {
    animation: blink 1.5s infinite;
    margin-left: 20px;
    /* Include other styles here if needed, like background, padding, etc. */
}

@keyframes blink {
    50% {
        opacity: 0.5;
    }
}

.commonPattern {
    pointer-events: none;
    z-index: 0;
}
.footerw1 {
  /* background: #4E2801; */
  padding: 20px 0px;
  position: relative;

}
.disclaimer p {
  text-align: center;
  color: #000;
  display: block;
  margin: 0 auto;
  font-size: 13px;
  width: 80%;
  line-height: 20px;
}


#callme {
  position: fixed;
  right: 20px;
  bottom: 10px;
  width: 70px;
  height: 70px;
  cursor: pointer;
  z-index: 99990;
}
#callme #callmeMain {
  -moz-border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  border-radius: 50% !important;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  background-color: rgb(207,8,8);
  width: 70px;
  height: 70px;
  -webkit-animation: zcwmini2 1.5s 0s ease-out infinite;
  -moz-animation: zcwmini2 1.5s 0s ease-out infinite;
  animation: zcwmini2 1.5s 0s ease-out infinite;
}
#callme #callmeMain:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url(https://res.cloudinary.com/dglv3fims/image/upload/v1668592876/cal_swjmmc.png);
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-animation: zcwphone2 1.5s linear infinite;
  -moz-animation: zcwphone2 1.5s linear infinite;
  animation: zcwphone2 1.5s linear infinite;
}
@-webkit-keyframes zcwphone {
  0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
  50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
  100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-moz-keyframes zcwphone {
  0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
  50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
  100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@keyframes zcwphone {
  0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
  50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
  100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-webkit-keyframes zcwphone2 {
  0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
  50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
  100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-moz-keyframes zcwphone2 {
  0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
  50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
  100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@keyframes zcwphone2 {
  0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
  50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
  75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
  100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-webkit-keyframes zcwmini {
  0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
  10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
  100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-moz-keyframes zcwmini {
  0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
  10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
  100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@keyframes zcwmini {
  0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
  10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
  100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-webkit-keyframes zcwmini2 {
  0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
  10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
  100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-moz-keyframes zcwmini2 {
  0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
  10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
  100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@keyframes zcwmini2 {
  0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
  10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
  100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}

#social_side_links {
  position: fixed;
bottom: 0px;
  left: -21px;
padding:0px;
list-style: none;
z-index: 99;
}

#social_side_links li a {display: block;}

#social_side_links li a img {
  display: block;
  max-width:100%;
padding:7px;
}