.custom-card{
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #444444;
}

.custom-card:hover{
    background-color: black;
    transform: translateY(-10px);
    box-shadow: 0 0 20px 0 #ff000085;
    transition: all 0.8s ease;
    border: 1px solid #ff000055;
}

/* .main-button {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.6s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
} */

.main-button {
    margin: 0 auto;
    text-decoration: none !important;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
    cursor: pointer;
    color: #ffffff;
    font-size: 18px;
}

@keyframes blinker {
    from { opacity: 1; }
    to { opacity: 0.4; }
}

.mil-banner{
    overflow: visible !important;
}

.mil-exp-box{
    padding: 50px !important;
}

.detail-card{
    /* border: 1px solid #ff2424; */
    /* border-left: 20px solid #ff2424; */
    background-color: #000000;
}

.rounded-img{
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
}

.mil-cta {
    padding: 40px 40px 10px !important;
    background-color: #F35A38;
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
}

.mil-card-container {
    background-color: #14151A;
    /* border-radius: 20px; */
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.mil-card-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(243, 90, 56, 0.2);
}

.mil-card-image {
    position: relative;
    padding-bottom: 60%;
    overflow: hidden;
}

.mil-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mil-card-container:hover .mil-card-image img {
    transform: scale(1.1);
}

.mil-card-text {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mil-card-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fcfcfc !important;
    line-height: 1.3 !important;
}

.mil-card-text p {
    color: #cbcaca !important;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Treatment Slider Styles */
.mil-treatment-slider {
    position: relative;
    padding: 0 20px;
}

.mil-treatment-slider .mil-card-container {
    /* background: #fff; */
    /* border-radius: 15px; */
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.mil-treatment-slider .mil-card-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.mil-treatment-slider .mil-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.mil-treatment-slider .mil-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mil-treatment-slider .mil-card-container:hover .mil-card-image img {
    transform: scale(1.1);
}

.mil-treatment-slider .mil-card-text {
    padding: 25px;
}

.mil-treatment-slider .mil-card-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.mil-treatment-slider .mil-card-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Custom Navigation Buttons */
.mil-treatment-next,
.mil-treatment-prev {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.mil-treatment-next:after,
.mil-treatment-prev:after {
    font-size: 18px;
    color: #333;
}

.mil-treatment-next:hover,
.mil-treatment-prev:hover {
    background: #f35a38;
}

.mil-treatment-next:hover:after,
.mil-treatment-prev:hover:after {
    color: #fff;
}

/* Custom Pagination */
.mil-treatment-pagination {
    position: relative;
    margin-top: 30px;
}

.mil-treatment-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s ease;
}

.mil-treatment-pagination .swiper-pagination-bullet-active {
    background: #f35a38;
    width: 30px;
    border-radius: 5px;
}

/* Sedation Slider Styles */
.mil-sedation-slider {
    position: relative;
    padding: 0 20px;
}

.mil-sedation-card {
    position: relative;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mil-sedation-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.mil-sedation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mil-sedation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0,0,0,0.7));
    transition: opacity 0.3s ease;
}

.mil-sedation-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: #fff;
    z-index: 2;
}

.mil-sedation-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.mil-sedation-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.mil-sedation-card:hover .mil-sedation-image img {
    transform: scale(1.1);
}

.mil-sedation-card:hover .mil-sedation-overlay {
    opacity: 0.8;
}

/* Remove Swiper-specific navigation and pagination for sedation slider */
.mil-sedation-next,
.mil-sedation-prev,
.mil-sedation-pagination {
    display: none !important;
}

/* 4-column grid for sedation slider */
.mil-sedation-slider .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}
.mil-sedation-slider .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding-left: 15px;
    padding-right: 15px;
}
@media (max-width: 991px) {
    .mil-sedation-slider .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 575px) {
    .mil-sedation-slider .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
.mil-sedation-card {
    margin-bottom: 30px;
}

/* Payment Options Circle Styles */
.mil-globe-container {
    background: #14151A;
    border-radius: 20px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.mil-globe-text {
    color: #fff;
}

.mil-globe-text h2 {
    margin-bottom: 20px;
}

.mil-globe-wrapper {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mil-globe {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
}

.mil-globe-item {
    position: absolute;
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform-origin: center;
}

.mil-globe-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.mil-globe-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.mil-globe-item:hover img {
    transition: all 0.5s ease;
    transform: scale(1.1);
}

/* Position items in a circle */
.mil-globe-item:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.mil-globe-item:nth-child(2) { top: 15%; right: 15%; }
.mil-globe-item:nth-child(3) { top: 50%; right: 0; transform: translateY(-50%); }
.mil-globe-item:nth-child(4) { bottom: 15%; right: 15%; }
.mil-globe-item:nth-child(5) { bottom: 0; left: 50%; transform: translateX(-50%); }
.mil-globe-item:nth-child(6) { bottom: 15%; left: 15%; }
.mil-globe-item:nth-child(7) { top: 50%; left: 0; transform: translateY(-50%); }
.mil-globe-item:nth-child(8) { top: 15%; left: 15%; }
.mil-globe-item:nth-child(9) { top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* Responsive Styles */
@media (max-width: 991px) {
    .mil-globe-container {
        padding: 40px;
    }
    
    .mil-globe-wrapper {
        height: 400px;
        margin-top: 40px;
    }
    
    .mil-globe {
        width: 400px;
        height: 400px;
    }
    
    .mil-globe-item {
        width: 120px;
        height: 120px;
        padding: 15px;
    }
}

@media (max-width: 767px) {
    .mil-globe-container {
        padding: 30px;
    }
    
    .mil-globe-wrapper {
        height: 350px;
    }
    
    .mil-globe {
        width: 300px;
        height: 300px;
    }
    
    .mil-globe-item {
        width: 80px;
        height: 80px;
        padding: 12px;
    }
}
/* 
.swiper.custom-scroll-swiper .swiper-wrapper {
  display: flex !important;
  animation: slideLeftToRight 50s linear infinite !important;
  width: max-content !important;
}
@keyframes slideLeftToRight {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
} */

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

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

.modal-content {
    background: linear-gradient(135deg, #14151A 0%, #1a1b20 100%);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    border: 2px solid #F35A38;
    box-shadow: 0 20px 60px rgba(243, 90, 56, 0.3);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-header {
    background: linear-gradient(135deg, #F35A38 0%, #e64a2c 100%);
    padding: 25px 30px;
    border-radius: 18px 18px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: white;
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-image {
    margin-bottom: 20px;
}

.modal-body h3 {
    color: #F35A38;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.modal-body p {
    color: #cbcaca;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: rgba(243, 90, 56, 0.1);
    border-radius: 10px;
    border-left: 4px solid #F35A38;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(243, 90, 56, 0.2);
    transform: translateX(5px);
}

.feature-item i {
    color: #F35A38;
    font-size: 20px;
    width: 25px;
    text-align: center;
}

.feature-item span {
    color: #fcfcfc;
    font-size: 16px;
    font-weight: 500;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-btn {
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #F35A38 0%, #e64a2c 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(243, 90, 56, 0.3);
}

.modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 90, 56, 0.4);
}

.modal-btn.secondary {
    background: transparent;
    color: #F35A38;
    border: 2px solid #F35A38;
}

.modal-btn.secondary:hover {
    background-color: #F35A38;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 20px 25px;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .modal-body {
        padding: 25px;
    }
    
    .modal-body h3 {
        font-size: 20px;
    }
    
    .modal-features {
        gap: 12px;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .feature-item span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}
/* Payment Info */

.custom-image-gallery img {
      width: 200px;
      margin: 10px;
      cursor: pointer;
    }

    .custom-modal {
      display: none;
      position: absolute;
      z-index: 5;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.7);
      justify-content: center;
      align-items: center;
    }

    .custom-modal-content {
      background: #15161b;
      padding: 20px;
      height: auto;
      max-width: 90%;
      text-align: center;
      border-radius: 10px;
      border: 3px solid red;
    }

    .custom-modal-content h2 {
      margin-top: 10px;
    }

    .custom-modal-content img {
      max-width: 16%;
      height: auto;
      border-radius: 8px;
    }

    .custom-close-btn {
      margin-top: 10px;
    padding: 8px 16px;
    background: red;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    .custom-close-btn:hover {
      background:#f35a39;
    }

    /* appointment form */

    #requestModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Anchor section positioning for smooth scrolling */
#sedation-types,
#treatment-types,
#payment-options {
    scroll-margin-top: 120px; /* Adjust based on your header height */
}

/* Ensure smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}
