*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html {
  scroll-behavior: smooth;
}
section {
  scroll-margin-top:  12vh;
}
:root {
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;

    /* Colors */
  --color-primary: #D35400;   /* Deep Orange */
  --color-secondary: #2C3E50; /* Charcoal Gray */
  --Heading: #003366; /* Deep Blue*/
  --color-accent: #F1C40F;    /* Golden Yellow */
  --color-bg: #F4F6F7;        /* Off White */
  --color-success: #27AE60;   /* Emerald Green */
  --color-text: #2E2E2E;      /* Base text */
}
a{
    text-decoration: none;
}
.sidebar{
  display: none;
}
header{
    background-color: var(--color-secondary);
    display: flex;
    align-items: center;
    height: 12vh;
    width: 100%;
    padding:2vh;
    position: fixed;
    top: 0;
    z-index: 50;
    border-bottom: 1px #f4f4f4 solid;
}

.header-logo{
    width: 7%;
    height: 90%;
}
.logo-text{
    font-family: 'Nunito Sans', sans-serif;
    margin-left: 2vh;
    color: white;
}
.header-links-container{
    margin-left: auto;
}
.header-links{
    display: flex;
    gap: 25px;
    list-style: none;
    color: #F4F6F7;
}
.link{
    color: #F4F6F7;
    text-decoration: none;
    font-family: var(--font-body);
}
header a:hover {
  color: #F1C40F; /* Gold Accent */
}
#hero{
    background-image: url('image/herobg.jpg'); 
    background-size: cover;      /* Make it fill the section */
    background-position: center; /* Center the image */
    background-attachment: fixed; /* Keeps the image fixed when scrolling */
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: x-large;
    padding: 5vh;
    margin-top: 12vh;
}
.hero-button{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 2vh;
    background-color: red;
    color: #F4F6F7;
    font-size: medium;
    width: 170px;
    padding: 2vh;
    font-family: var(--font-body);
    transition: 0.4s ease-in-out;
}
.hero-button img{
    width: 15%;
}
.hero-button:hover{
    background-color: var(--color-primary);
     transform: translateY(-3px);
}
#about{
    font-family: var(--font-body);
    padding: 5vh;
    background-color: white;

}
.section-title{
    color: var(--Heading);
    font-size: xx-large;
    
}
.section-text{
    color: var(--color-secondary);
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    line-height: 1.7; 
     word-spacing: 1px;  
      margin-bottom: 1.2em;
}
.float-img{
    float: right; /*  makes the image float to the left */
  width: 350px; /* adjust to your image size */
  margin-right: 25px; /* space between image and text */
  margin-bottom: 10px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  object-fit: cover;
}
#v-m-container{
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 5vh;
    font-family: var(--font-body);
}
.v-m{
    background-color: #F4F6F7;
     padding: 40px 30px;
     border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      text-align: center;
      transition: transform 0.3s ease;
      min-width: 50%;
      flex-wrap: wrap;
}
.v-m:hover {
  transform: translateY(-5px);
}
.v-m h3 {
  font-family: var(--font-body);
  color: var(--Heading);
  margin-bottom: 15px;
  font-size: 1.6rem;
  position: relative;
}
.v-m h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #D35400; /* accent orange */
  margin: 8px auto 0;
  border-radius: 2px;
}
.v-m p {
  font-family: var(--font-body);
  color: #2C3E50;
  font-size: 1.05rem;
  line-height: 1.7;
}
#services{
    padding: 5vh;
    background-color: #f4f4f4;
}
.serv-title{
    font-family: var(--font-body);
}
/*------------*/
/* SECTION BACKGROUND */
.services {
  background-color: #f4f4f4; /* light gray */
  padding: 100px 20px;
}

/* HEADER */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  color: #003366; 
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-header p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* CARD GRID */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 5vh auto;
}

/* INDIVIDUAL CARD */
.card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* CARD CONTENT */
.card img {
  width: 70px;
  margin: 0 auto 20px;
}

.card h3 {
  color: #003366;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

/* ----Why Petra----*/
#why-petra{
  background-color: var(--color-secondary);
  padding: 5vh;
  
}
#why-petra h2{
  font-family: var(--font-body);
  font-size: xx-large;
  color: var(--color-primary);
}
#why-petra h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #D35400; /* accent orange */
  margin: 2vh 15vh;
  border-radius: 2px;
}
.why-container{
  margin-top: 5vh;
  display: flex;
  gap: 5vh;

}
.why-left{
  width: 50%;
  font-family: var(--font-body);
  color: var(--color-bg);
   font-size: 1.1rem;
    letter-spacing: 0.3px;
    line-height: 2.5; 
     word-spacing: 3px;  
      margin-bottom: 1.2em;
      display: flex;
      flex-direction: column;
      justify-content: center;
}
.why-left h3{
  text-align: center;
}

.why-right{
  width: 50%;
}
.reason-container{
  width: 100%;
  height: 120px;
  background-color: rgba(255, 255, 255, 0.429);
  padding: 10px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-family: var(--font-body);
  margin-bottom: 15px;
  color: #FAFAFA;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.reason-container:hover{
  transform: translateY(-3px);
    transform: scale(1.07)
}
.reason-container h4{
  color: white;
}
.clients-images{
  justify-content: center;
  align-items: center;
}
/*Clients Section Starts here*/
#clients{
  padding: 5vh;

}
#clients h2{
  font-family: var(--font-body);
  color: var(--Heading);
}
.cimage-container{
  height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 5vh;
}
.cimage-container img{
  height: 80%;
}
.cimage-container p{
  width: 200px;
  font-family: var(--font-body);
  color: var(--Heading);
  height: 50px;
  font-size: 15px;
  text-align: center;
  font-weight: 700;
}
.more-clients h3{
  font-family: var(--font-body);
  color: var(--Heading);
  
  text-align: center;
}
.more-clients-container{
  display: flex;
  justify-content: center;
  margin-top: 5vh;
}
.more-clients{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #0033665c;
  width: fit-content;
  padding: 25px;
  border-radius: 5px;
  box-shadow: #2C3E50;
}
.more-clients ul{
  list-style: circle;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--color-secondary);
}
.more-clients li{
  margin-bottom: 1vh;
}
.cca-head{
  padding-top: 5vh;
  font-size: larger;
  border-bottom: dotted var(--color-primary) 1px;
  width: fit-content;
}
.cca-text{
  font-family: var(--font-body);
  columns: var(--color-secondary);
  font-size: 17px;
  letter-spacing: 0.3px;
    line-height: 1.7; 
     word-spacing: 1px;  
      margin-bottom: 1.2em;
}
/*------------Contact Section Starts Here---------*/
#contact{
  padding: 5vh;
  background-color: var(--Heading);
  background-color: #003366cb;
}
#contact h2{
  color: var(--color-bg);
  font-family: var(--font-body);
}
/* ---testing */
.image-slider {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  background: #f9f9f9; /
}

.slider-track {
  display: flex;
  animation: scroll 20s linear infinite;
}

.slider-track img {
  width: 350px;           /* adjust image width */
  height: 200px;          /* adjust image height */
  object-fit: cover;
  margin-right: 20px;     /* space between images */
  border-radius: 10px;
  object-fit: fill;
}

/* Continuous scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.ham {
  display: none;
}
.cca-text{
  color: var(--Heading);
}
/*COntact*/
.contact-container{
  background-color: var(--color-primary);
  width: 60%;
  border-radius: 20px;
  padding: 20px;
  margin-top: 5vh;
  height: fit-content;
}
.contact-container h3{
  font-family: var(--font-body); 
  color: #F4F6F7;
  font-size: x-large;
  margin-bottom: 5vh;
  font-weight: 600;
}
.info-line-container{
   display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5vh;
}
.info-line-container a{
   color: #FFE0B2;
   font-family: var(--font-body);
   font-size: larger;
}
.info-line-container p{
   color: #FFE0B2;
   font-family: var(--font-body);
   font-size: larger;
}
.icon-container{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-success);
  display: flex;
  justify-content: center;
  align-items: center;
}
.icon-container img{
  width: 70%;
}
.bigger-container{
  display: flex;
  width: 100%;
  gap: 5vh;
  align-items: center;
  justify-content: space-between;
}
.contact-logo{
  width:200px;
}
form{
  display: flex;
  flex-direction: column;
  background-color: #f4f4f4bb;
  gap: 5px;
  padding: 20px;
  font-family: var(--font-body);
  width: 35%;
  height: fit-content;
  border-radius: 10px;
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px ) ;
    background-color:  #2c3e5049;
    opacity: 70;
    color: white;
    
}
.form-head{
  font-size: x-large;
  font-weight: 600;
}
.input-text{
  width: 100%;
  padding: 2vh;
  border: none;
  border-radius: 10px;
  margin-bottom: 10px;
  outline: none;
}
textarea{
  height: 300px;
  width: 100%;
  resize: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  border-radius: 5px;
}
.submit-button{
  background-color: var(--color-primary);
  border: none;
  color: white;
  padding: 10px;
  border-radius: 7px;
  transition: 0.2s ease-in-out;
}
.submit-button:hover{
  background-color: #ff6701;
}
/*footer-------------*/
.footer {
  background-color: var(--color-secondary);
  color: #f4f6f7;
  font-family: var(--font-body);
  padding: 5vh;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer h3, .footer h4 {
  font-family: var(--font-body);
  color: #f1c40f;
  margin-bottom: 15px;
}

.footer-about p {
  line-height: 1.7;
  color: #f4f6f7;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #f4f6f7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #f1c40f;
}
.footer-contact {
  margin-bottom: 15vh;
}
.footer-contact a {
  color: #f4f6f7;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #f1c40f;
}
.footer-bottom {
  text-align: center;
  padding-top: 5vh;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}
.fc-container{
   display: flex;
   gap: 1vh;
   margin-bottom: 1vh;
}
.fc-container img{
  width: 20px;
}
@media (max-width: 916px) {
  #clients{
    padding: 1vh;
  }
  .more-clients{
     padding: 2vh;
     font-size: x-large;
  }
  #contact{
    padding: 1vh;
  }
  .bigger-container{
    flex-direction: column;
    /* background-color: red; */
  }
  .contact-container{
    width: 80%;
  }
  .input-text{
  width: 100%;
  padding: 2vh;
  border: none;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 24px;
  outline: none;
}
textarea{
  height: 300px;
  width: 100%;
  resize: none;
  outline: none;
  font-family: inherit;
  font-size: 20px;
  border-radius: 5px;
}
.more-clients{
  width: 70%;
}
  .info-line-container{
   display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2vh;
}
.info-line-container a{
   color: #FFE0B2;
   font-family: var(--font-body);
   font-size: 25px;
}
.info-line-container p{
   color: #FFE0B2;
   font-family: var(--font-body);
   font-size: 25px;
}
  form{
    width: 80%;
    font-size: 400px;
    height: fit-content;
  }
  .footer-contact {
  margin-bottom: 3vh;
}
.reason-container{
  height: fit-content;
  padding: 1vh;
}
}
@media (max-width: 768px) {
    /* .header-logo{
    width: 50%;
   }   */
   .header-logo{
    width: 7%;
    height: 90%;
}
.logo-text{
    font-family: 'Nunito Sans', sans-serif;
    margin-left: 2vh;
    color: white;
    font-size: medium;
    width: 50%;
}   
   .header-links-container{
    display: none;
   }
   .ham{
  display: block;
  margin-left: auto;
}
   .sidebar{
    display: none;
    position: fixed;
    top:0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 150;
    background-color:  #2c3e5049;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px ) ;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    display: none;
      opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: all 0.3s ease-in-out;
   }
   .sidebar li{
     width: 100%;
   }
   .sidebar a{
     width: 100%;
   }
  #hero {
    background-attachment: scroll;
    font-size: large;
    align-items: flex-start;

  }
  #about{
    display: flex;flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1vh;
  }
  #clients{
    padding: 1vh;
  }
  .section-text{
    color: var(--color-secondary);
    font-size: 1rem;       /* slightly smaller text */
    line-height: 1.8;      /* extra space between lines */
    word-spacing: 0.7px;
    text-align: left;      /* easier to read on narrow screens */
    padding: 0 1.5rem;  
}
  .float-img{
    float: none;
    justify-self: center;
  }
  #v-m-container{
    display: flex;
    flex-direction: column;
    justify-content: center;    
}
/* why */
.why-container{
  margin-top: 5vh;
  display: flex;
  flex-direction: column;
  gap: 5vh;

}
.why-left{
  width: 100%;
}
.why-right{
  width: 100%;
}
.reason-container{
  width: 100%;
  height: fit-content;
  background-color: rgba(255, 255, 255, 0.429);
  padding: 10px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-family: var(--font-body);
  margin-bottom: 15px;
}
.slider-track {
    animation: scroll 12s linear infinite; /* faster on tablets/phones */
  }

  .slider-track img {
    width: 250px;  /* smaller images for mobile */
    height: 150px;
    margin-right: 15px;
  }
  /* ----------dudhudhid---------- */ 
  .header-links-container.active {
    right: 0;
  }
  .header-links {
    flex-direction: column;
    gap: 20px;
  }
  .header-links li {
    margin: 10px 0;
  }
  .ham {
    display: block;
  }
  .header-logo {
    width: 12%;
  }
  /* ------jgjgjg---- */
  .header-links-container {
    display: none;
  }
  /* Show when toggled */
  .header-links-container.show {
    display: block;
    position: absolute;
    top: 12vh;
    right: 0;
    background-color: var(--color-secondary);
    width: 60%;
    height: 100vh;
    padding: 20px;
    border-radius: 0 0 0 10px;
    background-color:  #2c3e50aa;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px ) ;
    z-index: 100;
     transition: right 0.3s ease-in-out;
  }
  .header-links {
    flex-direction: column;
    gap: 20px;
  }
  .header-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
  }
  .more-clients{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #0033665c;
  width: fit-content;
  padding: 20px;
  border-radius: 5px;
  box-shadow: #2C3E50;
  margin-bottom: 2vh;
}
.cca-text{
  font-family: var(--font-body);
  columns: var(--color-secondary);
  font-size: 17px;
   font-size: 1.05rem;
    letter-spacing: 0.3px;
    line-height: 1.7; 
     word-spacing: 1px;  
      margin-bottom: 1.2em;
}
  .contact-container{
  background-color: var(--color-primary);
  width: 100%;
  border-radius: 20px;
  padding: 20px;
  margin-top: 5vh;
}

.contact-logo{
  display: none;
}
.info-line-container{
   display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4vh;
}
textarea{
  height: 200px;
}
form{
  height: fit-content;
}
.footer {
  background-color: var(--color-secondary);
  color: #f4f6f7;
  font-family: var(--font-body);
  padding: 1vh;
}
.footer-contact {
  margin-bottom: 3vh;
}
.footer-container {
  width: 70%;
  margin-left:0 ;
}
.why-left{
  width: 100%;
  font-family: var(--font-body);
  color: var(--color-bg);
   font-size: 1.05rem;
    letter-spacing: 0.3px;
    line-height: 1.7; 
     word-spacing: 1px;  
      margin-bottom: 1.2em;
}
.fi img{
   height: 3vh;
}
.bigger-container{
  flex-direction: column;
}
.contact-container{
  height: 420px;
}
form{
  width: 100%;
  height: fit-content;
}
.submit-button{
  text-decoration: solid;
  font-size: large;
}
}
@media (max-width: 480px) {
  .slider-track {
    animation: scroll 8s linear infinite; /* even faster on small phones */
  }

  .slider-track img {
    width: 200px;
    height: 120px;
  }
}