/* ====== Base Styles ====== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-image: url(../Images/ChatGPT\ Image\ Apr\ 28\,\ 2025\,\ 03_39_36\ PM.png);
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    zoom: 80%;
    overflow-y: auto;
    overflow-x: auto;
}

/* ====== Logo ====== */
.logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 20px auto;
    text-align: left;
}
.logo img {
    margin: 0;
}

/* ====== Navigation ====== */
nav {
    display: flex;
    color: white;
    justify-content: space-between;
    align-items: center;
    background-color: #9e4c08d8;
}
nav ul {
    flex: 1;
    text-align: right;
    margin-right: 20px;
    font-weight: bold;
}
nav ul li {
    list-style: none;
    display: inline-block;
    margin: 10px 20px;
}
nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 20px;
}
nav ul li a:hover {
    text-decoration: underline;
    color: #f79a0f7c;
    transition: 0.3s;
}

/* ====== Naturopathic Container ====== */
.Naturopathic_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    font-size: 2rem;
    margin: 20px;
    border-radius: 50px;
    background-color: rgba(255, 228, 196, 0.267);
}

/* ====== Slider ====== */
.slider {
    width: 100%;
    max-width: 1200px;
    height: 440px;
    margin: 50px auto;
    position: relative;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 0 4px 20px rgb(0, 0, 0);
    background-color: rgba(255, 228, 196, 0.267);
}

/* Slide with pop-in animation and side-by-side layout */
.slide {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    border-radius: 40px;
    background-color: #f7c9653f;
    padding: 40px 60px 60px 60px;
    gap: 40px;
    transition:
        opacity 0.7s cubic-bezier(.4,0,.2,1),
        transform 0.7s cubic-bezier(.4,0,.2,1);
    transform: translateX(80px); /* Start slightly to the right */
    z-index: 0;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    transform: translateX(0); /* Slide into place */
}
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.8);}
    60% { opacity: 1; transform: scale(1.08);}
    100% { opacity: 1; transform: scale(1.04);}
}

.slide img {
    width: 340px;
    height: 320px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(184,116,34,0.13);
    margin-bottom: 0;
    flex-shrink: 0;
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.slide-content h2 {
    font-size: 2.2rem;
    margin: 0 0 10px 0;
}

.slide-content p {
    font-size: 1.25rem;
    color: #333;
    margin: 0;
}

/* ====== Slider Controls ====== */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.slider-controls button {
    background: #f56e00;
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 10px 24px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    font-weight: bold;
}
.slider-controls button:hover {
    background: #b86e1e;
    transform: scale(1.08);
}

/* ====== Aside & Contact Section ====== */
aside {
    padding-bottom: 20px;
    margin-top: 100px;
    margin-bottom: 50px;
    background-color: rgba(175, 85, 44, 0.336);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    font-size: 25px;
}
aside h2 {
    font-size: 25px;
}
aside a {
    color: rgb(226, 97, 11);
}
.phone a:hover {
    color: #220303 ;
    transform: scale(1.2);
    transition: 0.3s;
}
.social_media img:hover {
    transition: 0.3s;
    transform: scale(1.2);
}
.Contact {
    text-align: center;
    margin: 20px 0;
}
.visit-us-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}
.visit-us-content address,
.visit-us-content .phone,
.visit-us-content .maps {
    flex: 1;
    max-width: 400px;
    text-align: center;
}
.visit-us-content iframe {
    width: 350px;
    height: 400px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.visit-us-content iframe:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ====== Button Styles ====== */
.button_container {
    text-align: center;
    margin: 20px;
}
#button {
    background-color: #db6e1498;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}
#button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: black;
    z-index: 0;
    transition: width 0.4s ease;
}
#button:hover::before {
    width: 100%;
}
#button:hover {
    color: white;
    transform: scale(1.1);
    transition: .3s;
}
#button span {
    position: relative;
    z-index: 1;
}

/* ====== Responsive Design ====== */
@media (max-width: 900px) {
    .slider {
        max-width: 98vw;
        height: 520px;
        border-radius: 20px;
    }
    .slide {
        flex-direction: column;
        padding: 24px 10px;
        gap: 18px;
        text-align: center;
    }
    .slide img {
        width: 90vw;
        max-width: 340px;
        height: 220px;
    }
}.social-media img {
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
}

.social-media img:hover {
    transform: scale(1.15);
    
}
#btn_1{
    background-color: #db6e1498;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease, color 0.3s ease; 
}



#btn_1::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: black;
    z-index: 0;
    transition: width 0.4s ease;
}

#btn_1:hover::before{
    width: 100%
}

#btn_1:hover{
    color: white;
    transform: scale(1.1);
    transition: .3s;
}

#btn_1 span{
    position: relative;
    z-index: 1;
}
.btn_container_1 {
    display: flex;
    justify-content: center; /* Center horizontally */
      /* Center vertically (optional) */
    margin: 20px auto;
    text-align: center;
}


.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.12); /* Subtle overlay */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fffbe6;
    padding: 24px 18px 18px 18px;
    border-radius: 22px;
    box-shadow: 0 16px 40px 0 rgba(0, 30, 0, 0.18), 0 2px 8px rgba(0,0,0,0.10);
    width: 98%;
    max-width: 480px;      /* Increased max-width for a bigger form */
    min-width: 320px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    animation: modalPop 0.45s cubic-bezier(.23,1.12,.72,.98);
    border: none;
    margin: 0 auto;        /* Center horizontally if needed */
}

.modal {
    /* ...existing code... */
    background: transparent;
}


.close-btn {
    position: absolute;
    top: 8px;
    right: 16px;
    font-size: 2rem;
    color: #b86e1e;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 2;
}
@media (max-width: 600px) {
    .modal-content {
        max-width: 98vw;
    }
    .modal-content iframe {
        height: 250px !important;
    }
}
@keyframes modalPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
@media (max-width: 768px) {
  body {
    padding: 0 12px;
    font-size: 90%;
    overflow-x: hidden;
    background-size: cover;
  }

  .logo {
    width: 80px;
    height: 80px;
    margin: 10px auto;
    display: block;
  }

  nav {
    flex-direction: column;
    padding: 12px;
    text-align: center;
  }

  nav ul {
    text-align: center;
    margin: 10px 0;
    padding: 0;
  }

  nav ul li {
    display: block;
    margin: 8px 0;
  }

  nav ul li a {
    font-size: 18px;
  }

  .slide {
    flex-direction: column;
    padding: 24px 16px;
    gap: 20px;
    text-align: center;
  }

  .slide img {
    width: 100%;
    max-width: 90vw;
    height: auto;
  }

  .slide-content h2 {
    font-size: 1.8rem;
  }

  .slide-content p {
    font-size: 1.1rem;
  }

  .visit-us-content {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .visit-us-content iframe {
    width: 100%;
    height: 300px;
  }

  .button_container,
  .btn_container_1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #button,
  #btn_1 {
    width: 90%;
    font-size: 1rem;
    padding: 12px 16px;
  }

  .modal-content {
    width: 95vw;
    padding: 16px;
  }

  .modal-content iframe {
    height: 240px;
  }

  aside {
    padding: 16px;
    font-size: 18px;
  }

  aside h2 {
    font-size: 20px;
  }

  .slider {
    height: auto;
    border-radius: 18px;
    margin: 20px auto;
  }

  .slider-controls button {
    padding: 8px 16px;
    font-size: 1rem;
  }

  .social-media img {
    width: 30px;
    height: 30px;
  }
}
