* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
}

/* start css */

.footer {
  background-color: #000;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-logo {
  font-size: 24px;
  letter-spacing: 2px;
}

.footer h5.footer-heading {
  font-weight: 600;
  margin-bottom: 20px;
}

.footer h6.footer-subscribe-heading {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
}

.footer p {
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}
.social-icons a {
  margin-right: 10px;
  font-size: 23px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #0d6efd; /* or any other hover color */
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-address li {
  font-size: 16px;
  line-height: 34px;
  margin-bottom: 5px;
}

.footer .subscribe-input {
  background: #fff;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 2px;
  font-size: 14px;
  height: 48px;
}

.footer .subscribe-btn {
  background: linear-gradient(to right, #ffe846, #ffb40e);
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 2px;
  margin-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #fff;
  padding-top: 10px;
  text-align: center;
  font-size: 14px;
  margin-top: 40px;
}

.footer .form-control:focus,
.footer .subscribe-btn:focus {
  box-shadow: none;
  outline: none;
}

.footer-social-label {
  font-size: 12px;
  margin-top: 10px;
  color: #ccc;
}
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.55);
  margin: 20px;
}
/* contact-section */

.section-contact {
  background: url("../images/foam-background.webp") no-repeat center center/cover;
}

.section {
  padding: 80px 5%;
}

.contact-info h5 {
  font-weight: bold;
}

.contact-info p {
  margin: 5px 0 15px;
}
img.contact-image {
  margin-left: 12px;
}

.contact-form input,
.contact-form textarea {
  background-color: #111;
  color: #fff;
  border: none;
  border-radius: 15px 0px 0px 0px;
  padding: 12px 15px;
  width: 100%;
  margin-bottom: 15px;
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

.contact-form button {
  background-color: #111;
  color: #fff;
  border: none;
  border-radius: 15px 0px 0px 0px;
  padding: 12px 25px;
  width: 100%;
}

.contact-form button i {
  margin-right: 8px;
}

.contact-section {
  background: linear-gradient(to right, #ffe846, #ffb40e);
  padding: 60px 20px;
}

/* blogs */

.blogs .card-img-top {
  width: 100%;
  height: 375px; /* or any fixed height you want */
  object-fit: cover;
  border-radius: 16px; /* rounded-4 in Bootstrap is ~16px */
}
.blogs h2 {
  font-size: 36px;
  font-weight: 600;
}
.blogs h5 {
  font-size: 28px;
  font-weight: 600;
}

.gallery h2 {
  font-size: 36px;
  font-weight: 600;
}
.gallery h5 {
  font-size: 28px;
  font-weight: 600;
}

/* about-after-hero */

.section-about {
  background-color: #f7f7f7;
}
.about-images {
  width: 100%;
    height: 480px;

}

.custom-double-border-btn {
  position: relative;
  padding: 10px 20px;
  color: #9c874b;
  border: 2px solid #ffc31e;
  background-color: transparent;
  font-weight: bold;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

/* Second border using pseudo-element */
.custom-double-border-btn::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 2px solid #996515;
  z-index: -1;
}

/* Hover Effect */
.custom-double-border-btn:hover {
  background-color: #996515;
  color: white;
}
.double-border-btn {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: #8d7943;
  border: 2px solid #996515;
  background-color: transparent;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  z-index: 1;
  overflow: hidden;
}

/* Inner border using ::after */
.double-border-btn::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 2px solid #996515;
  z-index: -1;
}

/* Hover Effect */
.double-border-btn:hover {
  background-color: #996515;
  color: white;
}
.parent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 12px;
}

.div1 {
  grid-row: span 3 / span 3;
}

.div4 {
  grid-row: span 6 / span 6;
}

.div5 {
  grid-row: span 3 / span 3;
}

.div7 {
  grid-row: span 3 / span 3;
  grid-column-start: 3;
  grid-row-start: 4;
}

.div8 {
  grid-row: span 3 / span 3;
  grid-column-start: 1;
  grid-row-start: 4;
}
img.imges-ofglalery {
  border-radius: 40px;
}

section.gallery.section {
  background: #f5f5f5;
}
.gallery h2 {
  font-size: 36px;
  font-weight: 600;
}
.gallery h5 {
  font-size: 28px;
  font-weight: 600;
}

/*  */

.book-cover h2 {
  font-size: 36px;
  font-weight: 600;
}

.book-cover p {
  font-size: 19px;
  font-weight: 300;
  line-height: 28px;
  color: #000000;
}
.text-warning.mb-1.stars {
  font-size: 24px;
}

img.img-fluid.rounded.me-3 {
  position: relative;
bottom: 90px;
  height: 196px;
  width: 117px !important;
}

.card-btn {
  padding: 10px 20px 11px 20px;
  background: linear-gradient(to right, #ffe745, #ffb510);
  font-weight: 600;
  border-radius: 12px;
}
.card-btn :hover {
  color: white;
}
.box {
  gap: 20px;

  align-items: center;
}
.box-io {
  position: relative;
  bottom: 16px;
}
.position-absolute {
    position: absolute !important;
    z-index: 999;
     
            top: -38px;
}
.logo-desktop{
  width: 220px;
  height: auto;
}
img.footer-logo {
    width: 180px;
}
/* nav-css */

nav.navbar.navbar-expand-lg.navbar-dark.bg-transparent.position-absolute.w-100.z-999 {
  z-index: 999;
  position: relative;
  height: 100px;
}
.contact-us-main {

  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../images/contact-us.webp) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  color: #fff;
}
.about-us-main {

  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../images/about-main.webp) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  color: #fff;
}


.our-gallery-main {

  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../images/our-gallery.webp) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  color: #fff;
}

.blogs-main{

  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../images/our-gallery.webp) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  color: #fff;
}


.thank-main{

  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../images/thank-you.jpg) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  color: #fff;
}

.error-main{

  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../images/error.jpg) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  color: #fff;
}


.btn-yellow {
  background-color: #ffc107;
  color: #000;
  font-weight: 500;
}
.btn-yellow:hover {
  background-color: #e0a800;
  color: #fff;
}
.offcanvas {
  width: 250px;
}
.navbar-nav .nav-link {
  font-weight: 500;
}
.offcanvas-body {
  flex-grow: 1;
  padding: 1rem 1rem;
  overflow-y: auto;
  background: #000000;
}
.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  background: black;
}
/* nav-css-end */
img.pag {
    border-radius: 40px;
    height: 100%;
}
/* hero css */
.carousel-item {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: #fff;
}

.carousel-item video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;
}

.carousel-caption {
  position: absolute;
  top: 60%;
  left: 16%;
  transform: translateY(-50%);
  text-align: left;
  z-index: 2;
  max-width: 500px;
}

.carousel-caption h1 {
  font-weight: bold;
}

.carousel-caption p {
  font-size: 16px;
  margin-bottom: 20px;
}

.carousel-caption .btn {
  border: 2px solid #ffb510;
  color: #fff;
  background-color: transparent;
}

.carousel-caption .btn:hover {
  background-color: #ffb510;
  color: #000;
}

.carousel-indicators [data-bs-target] {
  background-color: #fff;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.carousel-indicators {
  bottom: 30px;
}

.carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.iosq {
  display: flex;
}
/* about-us */
.main {
  height: 60%;
  background: #404040;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* optional for white text */
  text-align: center;
}
.main-about {
  height: auto;
  width: 80%;
}
.row-about {
  display: flex;
  align-items: center;
}
img.contact-img {
  height: 445px;
  border-radius: 30px;
  width: 100%;
}
button.btn.btn-black {
  background: black;
  color: white;
  font-size: 14px;
}
/* grid maker */
.asno {
    margin-left: -66px;
}
.parent-two {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 8px;
}

.divone {
  grid-column: span 3 / span 3;
  grid-row: span 3 / span 3;
}

.divfive {
  grid-column: span 2 / span 2;
  grid-row: span 6 / span 6;
  grid-column-start: 6;
  grid-row-start: 1;
}

.divsix {
  grid-column: span 2 / span 2;
  grid-row: span 3 / span 3;
  grid-column-start: 4;
  grid-row-start: 1;
}

.diveight {
  grid-column: span 3 / span 3;
  grid-row: span 3 / span 3;
  grid-column-start: 3;
  grid-row-start: 4;
}

.divnine {
  grid-column: span 2 / span 2;
  grid-row: span 3 / span 3;
  grid-column-start: 1;
  grid-row-start: 4;
}
img.one-gallery {
  width: 100%;
  height: 100%;
}
img.six-gallery {
  height: 100%;
}
img.eight-gallery {
  width: 100%;
  height: 66%;
}
img.five-gallery {
  height: 83%;
    width: 85%;
}
.gallery-section {
  padding: 80px 5%;
  padding-bottom: 0;
}
.gallery-section h2 {
  font-size: 36px;
  font-weight: 600;
}
a.btn.btn-yellow.ms-lg-3.mt-2.mt-lg-0 {
  background: linear-gradient(to right, #ffe442, #ffb50f);
}

@media (max-width: 768px) {
    .carousel-item {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .carousel-item video {
        width: 100%;
        height: auto;
    }
}




  .slick-slide {
    padding: 15px;
  }
  .item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .item p {
font-size: 20px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 15px;
  }
  .author {
    font-weight: bold;
    color: #333;
  }
  .slick-slide {
    padding: 0 16px;
}
.slick-dots li button:before {
    font-family: slick;
    font-size: 14px !important;
    line-height: 20px;
    position: absolute;
    top: 8px !important;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: .25;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* blog */

  .news-card {
      position: relative;
      overflow: hidden;
      background: #000;
      border: none;
    }
    .news-img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      display: block;
    }
   .date-comments {
    position: absolute;
    bottom: 148px;
    left: 0;
    background: white;
    color: #000000;
    font-size: 14px;
    padding: 5px 12px;
}
    .hover-btn {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      opacity: 0;
      transition: all 0.3s ease;
      z-index: 2;
    }
    .news-card:hover .hover-btn {
      opacity: 1;
    }
    .news-card:hover .date-comments {
      opacity: 1;
    }
    .news-content {
      background: #fff;
      padding: 15px 0 0;
    }
    .news-content p {
      font-size: 14px;
      color: #555;
    }
    .bottom-btn {
      margin-top: 10px;
    }
    .btn-yellow {
      background: #ffcc00;
      color: #000;
      border: none;
      padding: 6px 14px;
      font-size: 14px;
      border-radius: 20px;
      transition: background 0.3s ease;
    }
    .btn-yellow:hover {
      background: #e6b800;
    }


    /* single-post */
     .post-header {
      position: relative;
      overflow: hidden;
    }
   .post-img {
    width: 100%;
    height: 655px;
    object-fit: cover;
    display: block;
}
    .post-meta {
      position: absolute;
      bottom: 0;
      left: 0;
      background: rgba(0,0,0,0.85);
      color: #fff;
      font-size: 14px;
      padding: 8px 15px;
    }
    .post-title {
      font-weight: bold;
      font-size: 2rem;
      margin-top: 20px;
    }
    .post-content p {
      font-size: 16px;
      line-height: 1.7;
      margin-bottom: 15px;
    }
    .author-box {
      background: #f8f9fa;
      padding: 15px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      margin-top: 40px;
    }
    .author-box img {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      margin-right: 15px;
      object-fit: cover;
    }
    .post-nav {
      margin-top: 40px;
      display: flex;
      justify-content: space-between;
    }
    .btn-yellow {
      background: #ffcc00;
      color: #000;
      border: none;
      padding: 6px 14px;
      font-size: 14px;
      border-radius: 20px;
      transition: background 0.3s ease;
    }
    .btn-yellow:hover {
      background: #e6b800;
    }