/* ==========================================
   GLOBAL & RESET
   ========================================== */
*,
*::before,
*::after { box-sizing: border-box; }

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
      background: rgba(131, 1, 1, 0.95) !important;
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    .navbar-brand img {
      height: 50px;
      width: auto;
    }
    .nav-link {
      font-weight: bold;
      transition: color 0.3s;
    }
    .nav-link:hover {
      color: #4ecdc4 !important;
    }
    .navbar-toggler {
      border: none;
    }
    .navbar-toggler:focus {
      box-shadow: none;
    }
    /* Optional: make dropdown menu same red background on mobile */
    @media (max-width: 991.98px) {
      .navbar-collapse {
        background: rgba(131, 1, 1, 0.98);
        margin-top: 10px;
        border-radius: 8px;
        padding: 1rem;
      }
    }

/* ==========================================
   HEADER & SECTIONS
   ========================================== */
header {
    background: linear-gradient(to right, rgb(131 1 1 / 95%), #dc3545);
    color: white;
    text-align: center;
    padding: 6rem 1rem 1rem;
}
section {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ==========================================
   VIDEO SECTION
   ========================================== */
#video-section {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
#video-section video {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}
#video-section video:hover { transform: scale(1.02); }

.link-danger    { color: #dc3545; }           /* Red */

/* ==========================================
   PROFILE GRID
   ========================================== */
.profile-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.profile-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    background: #f9f9f9;
}
.profile-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}
.profile-item p { font-size: 0.9rem; margin: 0.5rem 0 0; }

/* ==========================================
   GALLERY
   ========================================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.gallery img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

/* ==========================================
   TABLE
   ========================================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th {
    background: rgb(131 1 1 / 95%);
    color: white;
}

/* ==========================================
   MAP & CONTACT (SIDE-BY-SIDE)
   ========================================== */
.combined-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}
.map-column, .contact-column {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.map-column iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 4px;
}
.map-column h3, .contact-column h3 { color: #ff6b6b; margin-top: 0; }

/* ==========================================
   FAQ & TAGS
   ========================================== */
.faq-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}
.faq-item h3 {
    margin: 0 0 0.5rem;
    color: rgb(131 1 1 / 95%);
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}
.tag {
    background: rgb(131 1 1 / 95%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
}
.tag:hover { background: #e55a5a; }

/* ==========================================
   TESTIMONIAL CAROUSEL (2 slides on desktop, 1 on mobile)
   ========================================== */
.carousel-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.carousel-container {
    max-width: 1100px;           /* your preferred max width */
    margin: 0 auto;              /* this already centers it */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

/* THIS IS THE KEY FIX */
.carousel-slide {
    min-width: 50%;              /* 2 cards visible on desktop */
    flex: 0 0 50%;
    padding: 0 1.5rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;     /* horizontally center the card */
    align-items: center;
}

/* On large screens – perfect centering even with even number of slides */
@media (min-width: 992px) {
    .carousel-wrapper {
        justify-content: flex-start;   /* important for smooth sliding */
    }
    .carousel-slide {
        padding: 2rem 1.5rem;
    }
}

/* Mobile – 1 card centered */
@media (max-width: 991.98px) {
    .carousel-slide {
        min-width: 100%;
        flex: 0 0 100%;
        padding: 2rem 1rem;
    }
}

.testimonial-item {
    width: 100%;
    max-width: 420px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Rest of your styles stay exactly the same */
.stars { color: rgb(131 1 1); font-size: 1.5rem; margin-bottom: 1rem; }
.location { color: rgb(131 1 1); font-weight: 600; }
.carousel-btn { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgb(131 1 1 / 95%); 
    color: white; 
    border: none; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    font-size: .9rem; 
    z-index: 10; 
}
.prev { left: 15px; }
.next { right: 15px; }
.carousel-btn:hover { background: #c0392b; transform: translateY(-50%) scale(1.1); }

/* ==========================================
   CONTACT FORM
   ========================================== */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form button {
    background: rgb(131 1 1 / 95%);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: background 0.3s;
}
.contact-form button:hover { background: #ff6b6b; }

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background-image: url('https://images.unsplash.com/photo-1511285560929-80b456fea0ba?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-color: #000;
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
    margin-top: 2rem;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}
.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================
   STICKY BOTTOM BAR (Call + 2 WhatsApp)
   ========================================== */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    border-top: 1px solid #ddd;
}
.sticky-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}
.sticky-btn i { font-size: 22px; margin-bottom: 4px; }
.call-btn { background: #d32f2f; }
.wa-btn   { background: #25d366; }
.wa-btn2  { background: #128C7E; }
.sticky-btn:active { transform: scale(0.95); opacity: 0.8; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .carousel-slide { padding: 1.5rem 1rem; }
    .testimonial-item { max-width: 350px; }
}
@media (max-width: 768px) {
    .navbar-container { flex-direction: column; gap: 1rem; padding: 0 1rem; }
    .nav-menu { flex-direction: column; text-align: center; gap: 1rem; }
    section { padding: 1rem; }
    .profile-list, .gallery { grid-template-columns: 1fr; }
    .combined-layout { grid-template-columns: 1fr; gap: 1rem; }
    .contact-column { order: -1; }
    .carousel-slide { min-width: 100%; }          /* 1 slide on mobile */
    .carousel-wrapper { height: 300px; }
    .carousel-btn { width: 45px; height: 45px; font-size: 1.1rem; }
}
@media (max-width: 480px) {
    header { padding: 8rem 1rem 1rem; }
    .logo { font-size: 1.2rem; }
    .carousel-section h2 { font-size: 1.8rem; }
    .carousel-wrapper { height: 280px; }
    .sticky-btn span { font-size: 12px; }
}