* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #007980;
  --secondary-color: #CF986E;
}

body {
  font-family: "Roboto", sans-serif;
}

.container {
  max-width: 576px;
  margin: 0 auto;
  border: 2px solid black;
  overflow: hidden; /* Ensure no overflow */
  position: relative;
}


a {
  text-decoration: none;
}

#hero {
  width: 100%;
  height: 240px;
  background-image: url(../images/khanakLogo.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2);
  background-size: contain;
  /* background-color: #cf986e42; */
}

#profile {
  position: relative;
  text-align: center;
}

.profilePic {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-image: url(../images/khevna1.jpg);
  background-size: cover;
  background-position: center center;
}

#profileData {
  margin-top: 110px;
  text-align: center;
}

#contacts {
  text-align: center;
  margin: 40px 0;
}

.cont {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2);
  padding: 13px 17px;
  margin: 10px;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 20px;
}

#social {
  margin: 40px auto;
  max-width: 350px;
}

.scont {
  display: inline-block;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2);
  padding: 10px 20px;
  border-radius: 10px;
  margin: 10px;
  color: var(--primary-color);
  font-weight: 500;
  width: 100%;
  padding: 20px;
}

.cont i {
  margin-right: 10px;
}

.rightArrow {
  float: right;
}

#contactsData {
  color: var(--primary-color);
  text-align: center;
  font-size: 20px;
  max-width: 350px;
  margin: 0 auto;
}

#contactsData a{
  display: block;
  color: var(--primary-color);
  margin: 20px 0;
  display: flex;
  text-align: left;
}

#contactsData i{
  color: var(--secondary-color);
  width: 14%;
}

#contactsData span{
  width: 80%;
}

.profileData h2 {
  color: brown;
}

.profileData h3 {
  color: var(--secondary-color);
}

.social-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  color: white;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}
.instagram { background-color: #E4405F; }
.facebook { background-color: #1877F2; }
.website { background-color: #333; }
.google { background-color: #DB4437; }

.social-button:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  color: white;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}
.call { background-color: #28A745; } /* Green */
.location { background-color: #FF5733; } /* Red-Orange */
.mail { background-color: #007BFF; } /* Blue */
.whatsapp { background-color: #25D366; } /* WhatsApp Green */

.contact-button:hover {
  transform: scale(1.1);
  opacity: 0.8;
}



/* Individual buttons */
.button {
  flex: 1;
  text-align: center;
  padding: 15px;
  font-size: 18px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share { background-color: #007BFF; } /* Blue */
.save { background-color: #28A745; } /* Green */

.button i {
  margin-right: 10px;
}

/* Hover effect */
.button:hover {
  opacity: 0.8;
}



.button {
  flex: 1;
  padding: 15px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  border: none;
}

.share {
  background-color: var(--primary-color);
}

.save {
  background-color: var(--secondary-color);
}

/* Make buttons more interactive */
.button:hover {
  opacity: 0.8;
}

#lastBtn {
  max-width: 576px;
  margin: 0 auto;
}

.fixed-buttons {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 100%; /* Ensure it fits all screen sizes */
  max-width: 576px; /* Keep the max-width for larger screens */
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px; /* Reduce padding for smaller screens */
  font-size: 16px; /* Reduce font size for better fit */
  font-weight: bold;
  text-decoration: none;
  color: white;
  border: none;
}

/* Adjust spacing for very small screens */
@media (max-width: 400px) {
  .button {
    font-size: 14px;
  }
}


.button i {
  display: flex; /* Ensures icon aligns properly */
  align-items: center;
}

.share {
  background-color: var(--primary-color);
}

.save {
  background-color: var(--secondary-color);
}

.button:hover {
  opacity: 0.8;
}

#work, #post {
  max-width: 500px;
  margin: 40px auto;
}

.main-title {
  display: inline-block;
  font-size: 24px;
  color: var(--primary-color);
  text-align: center;
  border-bottom: 2px solid var(--secondary-color);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.heading {
  border-bottom: 2px solid var(--secondary-color);;
  display: block;
  text-align: center; /* This won't work alone */
  width: fit-content; /* Ensures width is only as much as needed */
  margin: 0 auto; /* Centers the heading */
  padding-bottom: 5px;
  color: var(--primary-color);
  font-size: 30px;
}


hr {
  width: 100px;
  border-bottom: 2px solid var(--secondary-color);
  margin: 5px 0 16px 0;
}

#work ul{
  margin-left: 50px;
}

#work ul li{
  margin: 10px 0;
}

#work p {
  text-align: center;
  margin: 10px 0;
}

.postImg {
  width: 90%;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2);
  margin: 20px auto;
  border-radius: 20px;
}

#post img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
}

.review-section {
  text-align: center;
  padding: 50px 0px;
}

h2 {
  margin-bottom: 20px;
}

.swiper {
  width: 100%;
  max-width: 600px;
  margin: auto;
  padding-bottom: 50px;
}

.review-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.2);
  margin: 16px;
  min-height: 250px;
}



.review-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.review-card h3 {
  margin: 12px 0;
}

.rating {
  margin: 12px 0;
}

.review-card p {
  color: #555;
  font-size: 16px;
}

/* Swiper Custom Styling */
.swiper-button-next, .swiper-button-prev {
  color: black;
  top: 32%;
  margin: 6px;
}

.swiper-pagination-bullet {
  background-color: black;
}

.rating .yellow {
  color: rgb(218, 160, 14);
}

.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 24px;
}

.google-button {
  display: block;
  margin: 15px auto;
  width: 70%;
  max-width: 270px;
  padding: 10px 10px 10px 50px;
  border: 2px solid #00a0dc;
  border-radius: 50px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  font-size: 13px;
  line-height: 20px;
  color: #00a0dc;
  background: url(https://cdn2.hubspot.net/hubfs/1961464/Support%20images/new-google-favicon-512.png) no-repeat left 20px center / 40px 40px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
    -webkit-animation: wiggle 2s ease-in infinite;
    -moz-animation: wiggle 2s ease-in infinite;
    -o-animation: wiggle 2s ease-in infinite;
  animation: wiggle 2s ease-in infinite;
}

  .google-button:hover {
    color: #ffffff;
    background-color: #00a0dc;
    background-image: url(https://cdn2.hubspot.net/hubfs/1961464/Support%20images/new-google-favicon-512-white.png);
}

  .google-button strong {
    font-size: 18px;
    display: block;
  }


@-webkit-keyframes wiggle {
  0%, 20%, 100% { background-position: left 20px center; }
  5% { background-position: left 15px center; }
  10% { background-position: left 20px center; }
  15% { background-position: left 25px center; }
}

@-moz-keyframes wiggle {
  0%, 20%, 100% { background-position: left 20px center; }
  5% { background-position: left 15px center; }
  10% { background-position: left 20px center; }
  15% { background-position: left 25px center; }
}

@-o-keyframes wiggle {
  0%, 20%, 100% { background-position: left 20px center; }
  5% { background-position: left 15px center; }
  10% { background-position: left 20px center; }
  15% { background-position: left 25px center; }
}

@keyframes wiggle {
  0%, 20%, 100% { background-position: left 20px center; }
  5% { background-position: left 15px center; }
  10% { background-position: left 20px center; }
  15% { background-position: left 25px center; }
}