/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    scroll-behavior: smooth;
    color: #555;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px 12px 16px;
  background-color: #4c3157;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  /* border-radius: 999px; */
  border-radius: 12px;
  box-shadow: 0 0 0 3px rgba(76, 49, 87, 0.18), 0 8px 18px rgba(0,0,0,0.18);
  z-index: 999;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(76, 49, 87, 0.2), 0 10px 22px rgba(0,0,0,0.22);
}

.whatsapp-label {
  position: relative;
  z-index: 0;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.whatsapp-float i {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 50px;
  border-radius: 10%;
  background: #fff;
  color: #25D366;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.btn-primary {
    background-color: #8e44ad;
    border-color: #8e44ad;
}

.btn-primary:hover {
    background-color: #7a3a9b;
    border-color: #7a3a9b;
}


/* logo */
.zen {
    color: #8e44ad;
    font-weight: 700;
}
/* Navbar */
.navbar {
    transition: background-color 0.3s;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 600;
}

.nav-link.active {
    color: #8e44ad !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: url('images/backgroundImage.png') no-repeat center center/cover;
    background-color: #333;
    position: relative;
}

.hero-content {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    transform: translateY(-10%);
    padding: 2rem 0;
    /* border: 1px solid rgba(255, 255, 255, 0.24); */
    /* border-radius: 16px; */
    /* background: rgba(21, 15, 28, 0); */
    /* box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24); */
    /* backdrop-filter: blur(3px); */
    text-align: left;
}

.hero-text {
    padding: 0.7rem 1.25rem;
    /* border-radius: 12px; */
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 5px 14px rgba(38, 24, 45, 0.08);
    border-radius: 0 40% 40% 0;
}

.hero-content h1 {
    margin-bottom: 0.6rem;
    color: #2f2433;
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.75);
}

.hero-content .lead {
    max-width: 650px;
    margin: 0 0 0.75rem;
    color: #2f2433;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5);
}

.hero-content .btn-primary {
    margin-top: 0.5rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .hero-section {
        margin-top: 56px; /* Adjust based on navbar height */
        background-position: calc(70% - 24px) 20%;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin: 0;
        padding: 1.5rem 0;
        transform: translateY(-50%);
    }

    .hero-text {
        transform: none;
        padding: 0.6rem 0.8rem;
        border-radius: 0 40% 40% 0;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content .lead {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .hero-content .btn-primary {
        display: block;
        width: fit-content;
        margin-right: auto;
        margin-left: auto;
        margin-top: 0.5rem !important;
        transform: none;
    }
    
}

/* About Section */

#about .row {
    align-items: stretch;
}

#about .row > .col-md-6:first-child {
    display: flex;
}

#aboutImg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.375rem;
}

#about{
    /* height: 100vh; */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 1400px) {
    #aboutImg{
        height: 100%;
    }
}
@media (max-width: 1200px) {
    #about{
        height: auto;
        padding: 50px 0;
    }
    #aboutImg{
        height: auto;
        min-height: 0;
    }
    #about .container .marginH2{
        margin-top: 50px;
    }
}

@media (max-width: 576px) {
    #aboutImg {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    #products {
        text-align: center;
    }

    #products .row {
        justify-content: center;
    }

    #products .product-card {
        text-align: center;
    }

    #products .product-warranty {
        justify-content: center;
    }
}

/* Products Section */

.product-announcement-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(50, 25, 60, 0.25);
}

.product-announcement-modal .modal-header {
    justify-content: space-between;
    padding: 1.25rem 1.5rem 0;
    border-bottom: 0;
}

.announcement-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 50%;
    background-color: rgba(142, 68, 173, 0.12);
    color: #8e44ad;
    font-size: 1.35rem;
}

.product-announcement-modal .modal-body {
    padding: 0.75rem 2rem 0.5rem;
    color: #555;
}

.product-announcement-modal h2 {
    margin-bottom: 1rem;
    color: #8e44ad;
    font-size: 1.55rem;
}

.product-announcement-modal p {
    margin-bottom: 0.85rem;
    line-height: 1.65;
}

.product-announcement-modal .announcement-highlight {
    margin-bottom: 0;
    color: #4c3157;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.product-announcement-modal .modal-footer {
    padding: 0.75rem 2rem 1.5rem;
    border-top: 0;
}

.product-card {
    height: 100%;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #8e44ad;
}

.product-card .card-body {
    padding: 1.25rem;
}

.product-card .card-title {
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.product-warranty {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background-color: rgba(142, 68, 173, 0.1);
    color: #8e44ad;
    font-size: 0.82rem;
    font-weight: 600;
}

.product-discount {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 1rem 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background-color: #eaf7ed;
    color: #23833b;
    font-size: 0.82rem;
    font-weight: 700;
}

.product-prices {
    display: grid;
    gap: 0.55rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e9e3ed;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #666;
    font-size: 0.84rem;
}

.product-price-row strong {
    color: #333;
    font-size: 0.95rem;
    white-space: nowrap;
}

.product-price-row del {
    margin-right: 0.35rem;
    color: #888;
    font-size: 0.78rem;
}
/* Services Section */
.service-card i {
    color: #8e44ad;
}

/* Contact Section */
#contact .form-control:focus {
    border-color: #8e44ad;
    box-shadow: 0 0 0 0.25rem rgba(142, 68, 173, 0.25);
}

/* Footer */
footer {
    background-color: #8e44ad;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.social-link i {
    font-size: 1.1rem;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}

.social-link.facebook:hover {
    background-color: #1877f2;
    border-color: #1877f2;
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
    border-color: transparent;
}

.social-link.linkedin:hover {
    background-color: #0a66c2;
    border-color: #0a66c2;
}

@media (max-width: 576px) {
    footer {
        min-height: 220px;
        padding-top: 1.5rem;
        padding-bottom: 5rem;
    }

    footer .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        min-height: 180px;
        padding-top: 0.75rem;
        padding-bottom: 2rem;
        text-align: center;
    }

    footer p {
        margin: 0;
        width: 100%;
    }

    .social-links {
        justify-content: center;
        margin-top: 0.7rem;
    }

    .whatsapp-float {
        bottom: 18px;
        right: 14px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #8e44ad;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: opacity 0.3s;
}

.scroll-to-top.d-none {
    opacity: 0;
}

#home,#about,#products,#services,#contact {
    scroll-margin-top: 65px; /* Adjust based on navbar height */
}

.bg-color{
    background-color: #e0bbf0;
}