*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
section {
  scroll-margin-top: 20vh;
}
body{
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    line-height:1.6;
}

header{
    position: sticky;
    top: 0px;
    width: 100%;
    background-color: #f4f4f4;
    padding: 1rem 2rem;
    z-index: 5;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #505050;
}
nav ul{
    margin: 20px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
}
nav ul li{
    list-style: none;
    text-transform: uppercase;
}
nav ul li a{
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s, color 0.3s;
}

.siteImg{
    width: 100%;
    max-width: 300px;
    height: 250px;
    border-radius: 4px;
    background-size:cover;
}

main{
    margin: 0px auto;
}

footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 3rem;
}

.bottom-footer{
    text-align: center;
    padding: 10px;
    background-color: #222;
    color: white;
    font-size: 0.9rem;
}



/* logo*/
.logo {
    height: 60px;
}
.logo-a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
}

/* hero-section */
.hero-section{
    height:600px;
    background-image: url('./Assets/Background-img.png');
    background-size:cover;
    background-position: center;
    display: flex;
}
.hero-content{
    margin:auto 15% ;
    text-align: left;
    color: white;
    display: flex;
    flex-direction: column; 
    gap:20px;
}

.cta-button{
    display: inline-block;
    max-width: fit-content;
    padding: 10px 20px;
    background-color: #ff5733;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}


/* about-us-section */

.about-us-section{
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
    justify-content: center;
    gap: 40px;
    margin:50px auto;
}
.about-us-content{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}
.about-us-cards{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    flex-direction: column;
    align-items: start;
}
.about-us-cards .about-card {
    display: flex;
    flex-direction: column;
    align-items: left;   
    gap: 15px;
}
.about-us-cards .about-card img {
    width: 100%;
    max-width: fit-content;
    margin-bottom: 10px;
}
.about-us-cards .about-card p {
    width: fit-content;
}


/* choose-us-section */
.choose-us-section{
    width: 100%;
    background-color: #e0e0e0;
    padding: 40px 0px;
}
.choose-us-width{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0px auto;
}
.choose-us-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.choose-us-cards{
    display: grid;
    grid-template-columns: repeat(3,minmax(200px, 1fr));
    gap: 20px;
    align-items: start;
    justify-content: center;
}
.choose-us-cards .choose-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.choose-us-cards .choose-card img{
    width: 100%;
    max-width: 350px;
}



/* request-section */  
.Contact-request{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #086efd;
    padding: 40px 40px;
}
.request-content{
    height: auto;
    max-width: 1000px;
    width: 100%;
    margin: 0px ;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
}

.request-header{
    color: white;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: start;
    gap: 30px;
}
.request-form{
    width: 100%;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.request-form input,
.request-form textarea{
    width: 90%;
    padding: 8px;
    border-radius: 8px;
    max-width: 500px;
}
.request-form button{
    width: fit-content;
}



/* product-section */  
.product-section{
    width:auto; 
    max-width: 1000px;
    margin: 50px auto;
}
.product-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 30px;    
}
.product-grid{
    display: grid;
    grid-template-columns: repeat(3,minmax(200px, 1fr));
    align-items: start;
    justify-content: center;
    gap: 40px;
    margin:50px auto;
}



/* Testimonial-section */
.testimonials-section{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 500px;
    margin: 0px auto;
    background: url('./Assets/sof.avif') no-repeat center center/cover;
    padding: 40px 0px;
}
.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.Testimonial{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;    
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    gap: 50px;
    margin: 50px auto;
}
.testimonials-header{
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.testimonials-grid{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    overflow: hidden;
}
.testimonial-card{
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    flex-shrink: 0;
    animation: scroll 10s linear infinite;
}
@keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
}


/* FAQ-section */

.faq-section{
    width: 100%;
    max-width: 1000px;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.faq-header{
    text-align: center;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.faq {
  width: 100%;
  margin: 20px auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.faq h2 {
  text-align: center;
  margin-bottom: 30px;
}

details {
  background: #f7f7f7;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 15px 20px;
  transition: background 0.3s ease;
}

details[open] {
  background: #eaeaea;
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  font-size: 20px;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin-top: 12px;
  line-height: 1.6;
}


/* Contact-section */
.contact-section{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 500px;
    margin: 0px auto;
    background: url('./Assets/pain-Wall.webp') no-repeat center center/cover;
    padding: 40px 0px;
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.contact-us{
    color: white;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;    
    align-items: end;
    max-width: 1000px;
    gap: 20px;
    margin: 50px auto;
}
.contact-header{
    width: 100%;
    max-width: 300px;
}
.contact-info{
    color: white;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}



/* Footer-section */
.footer-left{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}
.footer-left input{
    padding: 8px;
    border-radius: 8px;
    width: 250px;
}

.nav-footer ul{
    margin: 20px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
}
.nav-footer ul li{
    list-style: none;
    text-transform: uppercase;
}
.nav-footer ul li a{
    font-size: 0.8rem;
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s, color 0.3s;
}
.footer-social{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.footer-logo{
    font-size: 0.6rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}
.social-links{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.social-links a{
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
}