* {
  box-sizing: border-box;
  font-weight: normal;
}

html {
    scroll-behavior: smooth;
}

body {
  background: white;
  padding: 0px;
  margin: 0px;
  font-family: "Open Sans", sans-serif;
}


.container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

/*---------------------------------------pop up -------------------------------------*/

#popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(2px);
  overflow-y: auto;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

#popup-box {
  position: relative;
  max-width: 500px;
  width: 90%;
  margin: auto;
  padding: 10px;
  transform: scale(0.95);
  animation: popupZoomIn 0.3s ease forwards;
}

@keyframes popupZoomIn {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

#popup-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

#close-popup {
  position: absolute;
  top: -10px;
  right: -10px;
  background: white;
  color: black;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}




/*---------------------------------------Here Starts Top Panel -------------------------------------*/

.top-panel {
  width: 100%;
  height: 80px;
  background: #FFFAF0;


  padding: 13px 16px 16px 20px;
  clear: both;
  position: relative;

}

/* Fixed position when scrolled */
.top-panel.fixed {
  position: fixed;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: adds shadow */
}

/* Prevent abrupt movement */
#top-panel-placeholder {
  height: 0; /* Default height */
}

.top-panel a {
    text-decoration: none;
    color: inherit; /* Or a specific color */
}

h1 {
  color: darkred;
  font-size: 2em;
  float: left;
  line-height: 0px;
  height: 10px;
  margin-bottom: 5px;
  margin-left: 8px;
  margin-top: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
}

#main-logo {
  border-radius: 1000px;
  margin-top: 4px;
  width: 40px;
  height: 40px;
  float: left;
}

.nav-texts {
  margin: 10px;
  margin-top: 8px;
  font-size: 1em;
  float: right;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  line-height: 18px;
}

/*---------------------------------------Here starts dropdown --------------------------------------*/
.menu-ico {
  width: 20px; /* Slightly smaller width */
  height: 2px;
  background-color: black; /* Change to white to match text color */
  margin: 4px 0; /* Reduce vertical spacing */
}

.dropbtn {
  color: black;
  padding: 5px;
  font-size: 1em;
  border: 0px solid black;
  cursor: pointer; 
}

#dropdown {
  position: relative;
  display: none;
  padding: 0px;
  float: right;
  margin: 0px;
  height: 35%;
  top: 30%;
}


.dropdown-content {
  display: none;
  position: absolute;
  background: white;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,2);
  z-index: 1;
  text-align: center;
  right: 0;
  
  border-radius: 20px;
}

.dropdown-content a {
  color: inherit;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content.active {
  display: block;
}

.dropbtn:hover {
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,2);
}

/*---------------------------------------Here Ends dropdown -------------------------------------*/
/*---------------------------------------Here Starts Send msg -------------------------------------*/
#send-msg {
  display: flex;
  padding: 10px;
  height: auto;
  justify-content: center;
  border: 0px;
  width: 100%;
}

#send-msg a {
  box-shadow: 0px 2px 4px 0px rgba(0,0,0,2);
  padding: 2px;
}

#send-msg div {
  float: left;
  margin-top: 5px;
  text-decoration: none;
  color: black;
}

#send-msg-logo {
  margin: 0px;
  margin-left: 5px;
  float: left;
}
/*---------------------------------------Here Ends Send msg -------------------------------------*/

#small-phone-div {
  padding: 10px 0px 5px 10px;
  background: #FFFAF0;
  display: none;
  width: 100%;
  text-align: center;
  color: inherit;
} 

#small-phone {
  font-size: 1em;
  text-decoration: none;
  color: inherit;
}

/*---------------------------------------Here Ends Top Panel -------------------------------------*/

.horizontal-lines {
  width: 50%;
}

/*---------------------------------------Here Starts Body -------------------------------------*/
/*------------------------------slideshow---------------------*/
.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #1B1212;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slides {
    display: flex;
    width: 300%; /* 3 slides */
    transition: transform 0.8s ease-in-out;
}

.slide {
    width: 100%;
    flex: 0 0 100%;
    position: relative;
    text-align: center;
}

.slide span {
    position: absolute;
    top: 46.5%;   /* Back to original position */
    left: 71%;  /* Back to original position */
    transform: translate(-50%, -50%);
    font-size: 38px;
    padding: 0;
    border-radius: 0;
    font-weight: 300;
    color: #242426;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    text-decoration: none; /* Remove underline */
    top: 50%;
    transform: translateY(-50%);
    color: white;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.prev:hover, .next:hover {
    color: grey;
}

.prev { left: 10px; }
.next { right: 10px; }

/*------------------------------slideshow---------------------*/

.web-body-container {
  background: white;


  height: fit-content;
}

.web-body {
  margin: 0 auto;
  width: 80%;
  height: auto;
  font-size: 2em;
  align-self: center;
  padding: 0px 30px 0px 30px;
  overflow: hidden;
}

.para {
  float: left;
  width: 60%;
  font-size: 0.6em;
}

.content-image {
  width: 25%;
  border-radius: 100px;
  margin-left: 20px auto;
}

.headings {
  width: 100%;
  margin-bottom: 10px;
  font-size: 0.8em;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-jpg {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  margin: 5px;
}

footer p {
  margin: 0;
  padding: 10px;
  text-decoration: none;
}

#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #FF5733;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  text-align: center;
  line-height: 50px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

#backToTop:hover {
  background-color: #E74C3C;
}

#send-msg a:hover, .footer-jpg:hover, .nav-texts:hover {
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,2);
}
/*---------------------------------------Here Ends Body -------------------------------------*/

h1, #main-logo, .bigblock, span, h3, img {
  user-select: none;
}

/*------------------------------------------Media Queries--------------------------*/
/********** Less than laptop devices only **********/
@media (max-width: 1284px){
  .content-image {
    float: none;
    width: 50%;
    margin-top: 20px;
    margin-left: 25%;
    margin-right: 25%;
  }
  .para {
    width: 100%;
  }

  .slideshow-container {
    height: 450px;
  }

  .slide-img {
    
  }

  .slide span {
    font-size: 40px;
  }

  .nav-texts {
    display: none;
  }

  #dropdown {
    display: inline-block;
  }

  #phone {
    display: block;
  }
  .para {
    font-size: 0.6em;
  }
}

/********** Small devices only **********/
@media (max-width: 712px) {
  .content-image {
    float: none;
    width: 70%;
    margin-top: 20px;
    margin-left: 15%;
    margin-right: 15%;
  }

  .web-body {
    margin: 0px;
    width: 100%;
    padding: 0px 20px 0px 20px;
  }
  .para {
    float: left;
    width: 100%;
  }


  .slideshow-container {
    height: 250px;
  }

  .slide-img {
    
  }

  .slide span {
    font-size: 20px;
  }

  #big {
    width: 90%;
  }

  .top-panel {
    height: 80px;
  }

  #phone {
    font-size: 1em;
  }
  h1 {
    font-size: 2em;
  }
  #main-logo {
    margin-top: 6px;
    width: 35px;
    height: 35px;
  }

  .headings {
    font-size: 0.8em;
  }

  .para {
    font-size: 0.5em;
  }
}

/********** Extra small devices only **********/
@media (max-width: 508px) {
  .prev, .next {
    font-size: 16px;

  .content-image {
    float: none;
    width: 90%;
    margin-top: 20px;
    margin-left: 5%;
    margin-right: 5%;
  }

  .slideshow-container {
    height: 200px;
  }

  .slide-img {
    
  }

  .slide span {
    font-size: 10px;
  }

  #phone {
    display: none;
  }
  #small-phone-div {
    display: block;
  }
  .para {
    font-size: 0.4em;
  }
}

/********** tablet devices only **********/
@media (max-width: 400px) {

  .slideshow-container {
    height: 200px;
  }

  .slide-img {
    height: 205px;
  }

  .slide span {
    font-size: 16px;
  }

  #main-logo {
    margin-top: 8px;
    width: 30px;
    height: 30px;
  }
  h1 {
    font-size: 1.7em;
  }
  .top-panel {
    height: 70px;
  }
  .web-body {
    width: 100%;
  }
  .headings {
    font-size: 0.6em;
  }
  .para {
    font-size: 0.35em;
  }
}

@media (max-width: 344px) {
  h1 {
    font-size: 1.5em;
  }
}

@media (max-width: 250px) { 
  #main-logo {
    width: 0px;
  }
  h1 {
    font-size: 1.3em;
  }

  .top-panel {
    padding: 13px 16px 16px 0px;
  }
}
/*------------------------------------------Media Queries--------------------------*/
