/* General Styles */
body {
    font-family:  sans-serif;
    line-height: 1.6;
    color: #333;
    background: white;
    direction: rtl;
    text-align: right;
}

/* General Link Styling */
a {
    color: #f06292;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}
/*
a:hover,
a:active {
    color: #d81b60;
    text-decoration: underline;
    text-decoration-color: #f8bbd0;
    text-decoration-thickness: 2px;
}

a:focus {
    outline: 2px solid #f06292;
    outline-offset: 2px;
    border-radius: 4px;
}
/*
/* Hero Section */
.hero {
    position: relative;
    min-height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('../images/placeholder-hero.jpg') no-repeat center/cover;
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    border-bottom: 5px solid #f06292;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Profile Image */
.profile-img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.navbar {
    background: #f06292;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand,
.nav-link {
    color: white !important;
}

.nav-link:hover {
    background: #d81b60;
    border-radius: 5px;
}

.dropdown-menu {
    background: #fce4ec;
    border: none;
}

.dropdown-item {
    color: #d81b60;
}

.dropdown-item:hover {
    background: #f8bbd0;
}

/* Why Choose Us Cards */
.why-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #fce4ec;
    padding: 20px;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.text-pink {
    color: #f06292;
}

.why-card h5 {
    font-size: 1.2rem;
    color: #d81b60;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    color: #666;
}

/* Treatment Cards */
.treatment-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
    border: 1px solid #fce4ec;
    padding: 15px;
    text-align: center;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    /* border: 1px solid transparent; */
    /* background: linear-gradient(135deg, #fff, #fce4ec); */
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f06292, #d81b60);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.treatment-card:hover::before {
    opacity: 1;
}

.treatment-card h4,
.treatment-card h5 {
    font-size: 1.1rem;
    color: #d81b60;
    margin-bottom: 8px;
    font-weight: 700;
}

.treatment-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 10px 0;
}

.treatment-card .price {
    font-size: 1rem;
    font-weight: bold;
    color: #f06292;
}

/* Call-to-Action Button */
.btn-cta {
    background: linear-gradient(135deg, #f06292, #d81b60);
    color: white;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    background: linear-gradient(135deg, #d81b60, #f06292);
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Headings */
h2 {
    color: #d81b60;
    border-bottom: 2px solid #f06292;
    padding-bottom: 10px;
}

h3,
h4 {
    color: #d81b60;
}

/* Comments Section */
.comments-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 15px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #fce4ec;
    scroll-behavior: smooth;
    gap: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.comment-card {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #f8bbd0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(50px);
    animation: slideInHorizontal 0.5s ease forwards;
    transition: transform 0.3s ease;
    scroll-snap-align: start;
}

.comment-card:hover {
    transform: scale(1.05);
}

.comment-card .comment-name {
    color: #d81b60;
    font-weight: bold;
}

.comment-card .comment-text {
    color: #666;
    font-size: 0.9rem;
}

.comment-card .comment-date {
    font-size: 0.8rem;
    color: #999;
}

.comment-card .rating {
    color: #f06292;
    font-size: 1.2em;
}

@keyframes slideInHorizontal {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scrollbar */
.comments-container::-webkit-scrollbar {
    height: 8px;
}

.comments-container::-webkit-scrollbar-track {
    background: #fce4ec;
    border-radius: 10px;
}

.comments-container::-webkit-scrollbar-thumb {
    background: #f06292;
    border-radius: 10px;
}

.comments-container::-webkit-scrollbar-thumb:hover {
    background: #d81b60;
}

/* Comment Form */
form#commentForm .form-label {
    color: #d81b60;
    font-weight: bold;
}

form#commentForm .form-control {
    border: 1px solid #fce4ec;
    border-radius: 10px;
    padding: 10px;
}

form#commentForm .form-control:focus {
    border-color: #f06292;
    box-shadow: 0 0 5px rgba(240, 98, 146, 0.5);
}

/* Social Icons */
.social-icon {
    display: inline-block;
    position: relative;
    margin-right: 5px;
}

.social-icon img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover img {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(240, 98, 146, 0.3);
}

.social-icon::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    right: 0;
    background: #f06292;
    transition: width 0.3s ease;
}

.social-icon:hover::after {
    width: 100%;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: green;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: lightgreen;
    transform: scale(1.1) rotate(5deg);
}

.whatsapp-btn .fab.fa-whatsapp {
    font-size: 24px;
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #f06292;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
}

.scroll-top:hover {
    background: #d81b60;
    transform: scale(1.1) rotate(-5deg);
}

/* Map Container */
.map-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    position: relative;
    aspect-ratio: 4 / 3;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.accordion-item {
    border: 1px solid #fce4ec;
    border-radius: 10px;
    margin-bottom: 10px;
}

.accordion-button {
    color: #d81b60;
    background: #fff;
}

.accordion-button:not(.collapsed) {
    background: #fce4ec;
    color: #d81b60;
}


/* Footer */
footer {
    background: linear-gradient(135deg, #f06292, #d81b60);
    color: white;
    border-top: 5px solid #fce4ec;
    padding: 20px 0;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero {
        min-height: 60vh;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    .comments-container {
        max-height: 300px;
    }

    .comment-card {
        flex: 0 0 250px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 40vh;
    }

    .profile-img {
        width: 100px;
        height: 100px;
    }

    .comment-card {
        flex: 0 0 250px;
    }

    .whatsapp-btn,
    .scroll-top {
        width: 45px;
        height: 45px;
    }

    .navbar-brand,
    .nav-link {
        padding: 8px 12px;
    }

    .treatment-card {
        min-height: 140px;
        padding: 12px;
    }

    .treatment-card h5 {
        font-size: 1rem;
    }

    .treatment-card .price {
        font-size: 0.9rem;
    }

    .btn-cta {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .map-container {
        width: 50%;
        height: auto;
    }
}

@media (min-width: 1024px) {
    .map-container {
        width: 20%;
    }
}

/* 🔧 Fix for iPhone 14 Pro Max and mid-size devices */
@media (min-width: 820px) and (max-width: 1024px) {
    body, html {
      overflow-x: hidden;
    }
  
    .container {
      max-width: 100% !important;
      padding-left: 15px;
      padding-right: 15px;
    }
  
    .hero {
      padding: 50px 20px;
      min-height: auto;
      text-align: center;
    }
  
    .map-container {
      width: 100% !important;
      aspect-ratio: 4 / 3;
    }
  
    .navbar-nav {
      gap: 10px;
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .treatment-card,
    .why-card {
      width: 100%;
      min-height: auto;
      padding: 16px;
    }
  
    .comment-card {
      flex: 0 0 260px;
    }
  
    .btn-cta {
      font-size: 1rem;
      padding: 10px 18px;
    }
  
    .profile-img {
      width: 130px;
      height: 130px;
    }
  }
  