@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Questrial&family=Quicksand:wght@300..700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-style: normal;
  line-height: 150%;
}

:root {
  scrollbar-color: rgb(210, 210, 210) rgb(46, 54, 69) !important;
  scrollbar-width: thin !important;
}
::-webkit-scrollbar {
  height: 12px;
  width: 6px;
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--dark);
  -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
}

::-webkit-scrollbar-corner {
  background: var(--dark);
}

html,
body {
  overflow-x: hidden;
  background: rgb(246, 246, 246);
}
#loading {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Style for the loading screen */
#loading {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Style for the loading image */
.loading-image {
  width: 100px; /* Adjust the size as needed */
  height: auto;
  animation: blink 1s linear infinite; /* Changed to blink animation */
}
/* Keyframes for blinking the image */
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
:root {
  --primary-color: #8b1717;
  --secondary-color: #00000095;
}
ul {
  list-style: none;
}
/* Navbar Start */

.navbar {
  z-index: 100;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px !important;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50px;
  width: 85%;
  margin-top: 20px;
  box-shadow: 5px 8px 10px var(--secondary-color);
  border: 1px solid;
  flex-wrap: wrap;
  height: 90px;
}

.navbar .logo {
margin-left: -66px;
  flex-shrink: 0;
}

.navbar .logo img {
  width: 6em;
  /* mix-blend-mode: multiply; */
}

.navbar ul {
  display: flex;
  justify-content: center;
  gap: 2em;
  list-style: none;
  flex: 1;
  text-align: center;
  flex-wrap: wrap;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  color: white;
}

.navbar ul.active {
  max-height: 500px;
  opacity: 1;
}

.navbar ul li {
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.3s;
  font-weight: 300;
  color: white;
}

.navbar ul li a {
  text-decoration: none;
  color: white;
  transition: all 0.2s ease-in-out;
}

.navbar ul li a:hover {
  color: #2a2929;
}

.navbar .icons {
  display: flex;
  align-items: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.navbar .icons i {
  margin-left: 15px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s;
  border: 1px solid wheat;
  border-radius: 2000px;
  padding: 10px;
}

.navbar .icons i:hover {
  color: #d3d3d3;
}

/* Rope effect */
.navbar:before,
.navbar:after {
  content: "";
  position: absolute;
  top: -40px;
  width: 9px;
  height: 40px;
  background-color: #960000;
  border-radius: 1px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar:before {
  left: 3.5em;
}

.navbar:after {
  right: 3.5em;
}

.navbar .rope-holder:before,
.navbar .rope-holder:after {
  content: "";
  position: absolute;
  top: -60px;
  width: 20px;
  height: 5px;
  background-color: #363636;
  border-radius: 50%;
}

.navbar .rope-holder:before {
  left: 1.5em;
}

.navbar .rope-holder:after {
  right: 1.5em;
}

.menu-toggle {
  display: none;
}

/* Media queries for responsiveness */
@media (max-width: 992px) {
  nav {
    position: fixed;
  }

  .navbar {
    padding: 15px;
    width: 100%;
  }

  .navbar ul {
    gap: 1em;
  }

  .navbar .icons i {
    margin-left: 10px;
  }
  .right-section,
  .left-section {
    height: 36vw;
  }
}

@media (max-width: 576px) {
  nav {
    position: fixed;
  }

  .navbar {
    padding: 5px;
  }

  .navbar .menu-toggle {
    font-size: 1.2rem;
    padding: 3px 8px;
  }

  .navbar ul {
    width: 100%;
    top: 100%;
    left: 0;
    transform: none;
  }

  .navbar ul li {
    padding: 8px 15px;
  }

  .navbar .icons i {
    font-size: 1rem;
    margin-left: 8px;
  }
}

@media (max-width: 331px) {
  .navbar {
    padding: 20px !important;
    height: 55px !important;
  }
  .navbar .logo {
    margin-top: -11% !important;
    margin-left: -20px;
    flex: 1;
  }
  .navbar .logo img {
    width: 3.5em !important;
    position: relative;
    left: 2em;
  }
  .navbar .icons {
    margin-right: 10px !important;
    display: flex;
    margin-bottom: 32px;
    gap: 5px;
    align-items: center;
  }
  .menu-toggle::after {
    margin-top: -10%;
  }
  .navbar .icons i {
    font-size: 1rem !important;
    margin-left: 0px;
    padding: 7px;

    border: 1px solid wheat;
  }
  .navbar .menu-toggle {
    font-size: 1rem !important;
    margin-right: -7px;
    margin-bottom: 21px;
    padding: 3px 8px;
    margin-top: -7% !important;
    border: 1px solid;
  }
  .split-section {
    margin-top: -0% !important;
  }
  .left-section {
    height: 70vw !important;
  }
  blockquote {
    font-size: 13px !important;
    margin-left: 0 !important;
    margin-top: 65px !important;
  }

  .text-overlay h1 {
    font-size: 22px !important;
    position: absolute;
    left: 2em;
  }
  blockquote i {
    font-size: 20px;
  }

  .header-founder .content-founder {
    width: 18em !important;
  }
  .footer-container {
    align-content: center;
  }
  /* .back-to-top {
    width: 35px !important;
    height: 35px !important;
    line-height: 0px !important;
    padding-top: 7px;
  } */
}
/* Navbar end */
/* bg-img-text start */
.split-section {
  display: flex;
  width: 100vw;
  height: 100vh;
}
.left-section,
.right-section {
  width: 50%;
  height: 100%;
  position: relative;
}

.left-section img,
.right-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.text-overlay {
  position: absolute;
  top: 38%;
  /* margin-left: 48%; */
  color: white;
  /* text-align: center; */
  padding: 20px;
  border-radius: 10px;
  width: auto;
}
.text-overlay blockquote {
text-align: center;
  font-size: 20px;
}

.text-overlay h1 {
  font-size: 4.2em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
/* responsive bg-img */
@media (max-width: 480px) {
  .text-overlay {

    font-size: 24px; /* Reduces font size for better fit */
  }
  .text-overlay blockquote {
    font-size: 13px;
  }
  .text-overlay i {
    font-size: 25px !important;
  }
}

@media (max-width: 768px) {
  .navbar .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    margin-right: 10px;
    border: 1.6px solid;
    padding: 5px 10px;
    border-radius: 4px;
  }
  .navbar ul {
    display: flex;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 1px solid white;
    border-left: 1px solid white;
    border-right: 1px solid white;
    border-radius: 0 0 1em 1em;
    width: 90%;
    flex-direction: column;
    background-color: var(--primary-color);
    padding: 0;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }
  .navbar ul.active {
    max-height: 500px;
    opacity: 1;
  }
  .text-overlay h1 {
    font-size: 20px;
  }

  .split-section {
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  .left-section,
  .right-section {
    width: 100%;
    height: 45vh;
    max-height: fit-content;
  }

  .text-overlay {
    transform: translateY(-50px);

    /* margin-top: -43%  !important;
    margin-left: 10%;
    text-align: center;
    position: static;
    transform: none; */
  }

 .right-section img {
    height: 76% !important;
    margin-top: -7px;
 }
  .text-overlay h1 {
    margin: -43px 0px 15px 0px !important;
    font-size: 44px;
    
  }
  .text-overlay blockquote {
    font-size: 30px;
    margin-left: 10%;
  }

  .text-overlay p {
    font-size: 18px;
    margin-top: 5%;
  }
  .card-img {
    flex-direction: column;
    align-items: center;
     margin-top: -117px; 
  }

  .card-info {
    width: 20em;
    height: 200px;
    margin-top: 33px;
  }
  .point-text {
    margin-top: 05px;
    /* margin-top: 20%; */
  }
  .main-header h1 {
    font-size: 32px !important;
  }
  .card-info button {
    font-size: 10px;
  }
  .first-sec {
    align-items: center;
  }

  .points {
    width: 100% !important;
    max-width: 300px;
  }
  .idea {
    margin: 0 190px 0px 6px !important;
    padding: 0px 54px 0px 81px !important;
    width: 95%;
}
  }


 /* General Styles (Default for larger screens) */
.idea, .franchise_contact_form {
  margin: 10px auto; /* Center alignment for larger screens */
  padding: 20px;
  width: 90%; /* Default width */
  font-size: 16px; /* Standard font size */
}

/*....................................... Added on 10/02/2025 media query for 360px ....................................*/


/* Extra Small Phones (Below 310px) */
@media (max-width: 310px) {
  .idea, .franchise_contact_form {
    margin: 5px auto;
    padding: 5px;
    width: 80%; /* Full-width for very small screens */
    font-size: 12px;
  }

  .input-box input, .input-box select, .custom-textarea {
    font-size: 12px;
    padding: 6px; /* Compact inputs */
  }

  .btn {
    font-size: 13px;
    padding: 8px; /* Smaller button padding */
  }
}

/* General adjustments for screens between 360px and 1080px */
@media (min-width: 360px) and (max-width: 1080px) {
    .idea {
        margin: 8px auto; /* Reduce margin */
        padding: 15px; /* Maintain balanced padding */
        width: 85%; /* Keep width optimized */
        font-size: 15px; /* Ensure readability */
        line-height: 1.6; /* Improve text spacing */
        box-sizing: border-box;
    }

    /* Styling form fields */
    input,
    textarea,
    button {
        width: 100%; /* Full width */
        margin: 8px 0; /* Space between fields */
        padding: 12px; /* Comfortable padding */
        font-size: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
    }

    /* Adjust submit button */
    button {
        background-color: #d32f2f;
        color: #fff;
        border: none;
        cursor: pointer;
        padding: 12px;
        font-size: 15px;
    }

    button:hover {
        background-color: #b71c1c;
    }

    /* Center-align text */
    .idea, .idea h1, .idea p {
        text-align: center;
    }

    .idea h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .idea p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* Input fields */
    .input-box input,
    .input-box select,
    .custom-textarea {
        font-size: 14px;
        padding: 10px;
    }

    .btn {
        font-size: 16px;
        padding: 12px;
    }

    /* Image adjustments */
    .outside-img {
        width: 50% !important;
        height: auto;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .back-to-top {
        display: block;
    }

    .img-sec img {
        width: 80% !important;
        margin: 10% !important;
    }

    .left-section img{
     height: 288px;
}
}
.showoverlay {
    opacity: 1;
    z-index: 1;
    filter: blur(5px);
}

.login-form-popup {
    width: 100vw;
    height: 100%;
    display: none;
    position: fixed;
    display: flex;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.btn-fr {
    margin-top: -20%;
}

.login-form {
    display: none;
    height: 550px;
    width: 700px;
    padding: 30px 20px;
    background-color: rgb(201, 164, 164);
    position: absolute;
    left: 30%;
    top: -170%;
    z-index: 1000;
    transition: all 0.2s ease;
    box-shadow: 0px 0px 10px 3px rgb(156, 140, 140);
    /* transform: translate(-50%, -50%); */
}

.showloginform {
    top: 50%;
}

/* Position and style the close button */
.login-form span {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 25px;
    color: #333;
    padding: 5px;
}

.login-form input {
    width: 100%;
    margin-bottom: 15px;
    height: 35px;
}

.login-form button {
    background: #000;
    color: white;
    padding: 10px 15px;
}

/* General adjustments for screens between 1080px and 2412px */

@media (min-width: 1080px) and (max-width: 2412px) {
    .idea {
        margin: 10px auto; /* Adjust margin for larger screens */
        padding: 20px; /* Increase padding for better spacing */
        width: 75%; /* Optimize width */
        font-size: 18px; /* Slightly larger font for readability */
        line-height: 1.8; /* Improve text spacing */
        box-sizing: border-box;
    }

    /* Styling form fields */
    input,
    textarea,
    button {
        width: 100%; /* Slightly reduce width for better spacing */
        margin: 10px 0; /* Increase space between fields */
        padding: 14px; /* More padding for comfortable input */
        font-size: 16px;
        border: 1px solid #bbb; /* Softer border */
        border-radius: 6px;
        box-sizing: border-box;
    }

    /* Adjust submit button */
    button {
        background-color: #c62828;
        color: #fff;
        border: none;
        cursor: pointer;
        padding: 14px;
        font-size: 16px;
    }

    button:hover {
        background-color: #a00d0d;
    }

    /* Center-align text */
    .idea, .idea h1, .idea p {
        text-align: center;
    }

    .idea h1 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .idea p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    /* Input fields */
    .input-box input,
    .input-box select,
    .custom-textarea {
        font-size: 16px;
        padding: 12px;
    }

    .btn {
        font-size: 18px;
        padding: 14px;
    }

    /* Image adjustments */
    .outside-img {
        width: 60% !important;
        height: auto;
    }

    .footer-container {
        flex-direction: row;
        text-align: left;
        justify-content: center;
    }

    .back-to-top {
        display: block;
    }

    .img-sec img {
        width: 90% !important;
        margin: 8% !important;
    }
}


/*........................................end here .............................................*/

.card-img {
  background-image: url(Images/franchise-bg-img2.jpg);
  display: flex;
  /* flex-direction: row;*/
  /* flex-wrap: wrap; */
  justify-content: space-evenly;
  align-items: center;
  width: 100vw;
  height: auto;
  padding: 3em;
}

.card-info {
  position: relative;
  height: 30em;
  width: 40em;
  background: #f1b8cfa4;
  padding: 3em;
  text-align: center;
  border-radius: 5px;
  gap: 2em;
  border-left: 2px solid;
  border-right: 2px solid;
}

.card-title {
  font-size: 32px;
  font-weight: 600;
  text-shadow: 1px 1px 1px #ffff;
}
.card-info-desc {
  font-size: 18px;
  position: relative;
  top: 2.5em;
  font-weight: 350;
  line-height: 1.5;
}

.img-sec {
  width: 35ew;
  display: flex;
  justify-content: center;
  align-items: center;
}
.img-sec img {
        margin: 136px 0px 0px -27px;
  /* margin: 6% auto 0; Top: 6%, Center horizontally, Bottom: 0 */
  height: auto; /* Maintain aspect ratio */
  box-shadow: 2px 4px 4px black;
  padding: 20px;
}

.card-info button {
  background: #8e0c0c;
  border: none;
  margin-top: 10%;

  color: white;
  font-size: 18px;
  padding: 1em 5em;
  border-radius: 5px;
  position: relative;
  top: 4em;
}
@media screen and (max-width: 1400px) {
  .card-img {
    flex-direction: column;
    height: auto;
    padding: 3em 0;
  }
}
@media only screen and (max-width: 600px) {
  .text-overlay blockquote {
    font-size: 14px;
  }

  .card-img {
    width: auto;
  }
  .card-info {
    width: 84%;
  }
  .card-info p {
    font-size: 14px;
  }
  .card-info button {
    margin: 0;
  }
  .img-sec img {
    width: 76% !important;
  }
  .points {
    gap: 15px;
  }
  .point-para {
    flex-direction: row;
  }
  .menu-toggle {
    margin-top: -3%;
  }
  .icons {
    margin-top: -3%;
  }
  .logo {
    width: 47%;
    margin-top: -1%;
  }
  .row-sec {
    display: grid;
    grid-template-columns: 1fr; /* Single column by default */
    gap: 20px; /* Space between rows */
  }

  .first-sec {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for points */
    gap: 15px; /* Space between columns and rows */
  }
}

@media (max-width: 480px) {
  .card-img {
    flex-direction: column;
    align-items: center;
    gap: 3em;
  }

  .card-info {
     margin-top: 25% !important; 
    height: auto;
  }

  .card-title {
    font-size: 18px;
  }

  .card-info-desc {
    font-size: 10px;
  }

  .img-sec {
    width: 25em;
    height: 10em;
  }

  .card-info button {
    font-size: 10px;
  }
  .text-overlay h1{
    margin-top: -44px;
  }
}

.point-text {
  height: 100%;
  padding: 0px;
  /* padding: 3em 0; */
}

.main-header {
  width: 100%;
  padding: 20px;
  margin: 20px 0;
  line-height: 2.5;
  text-align: center;
}

.main-header h1 {
  font-size: 25px;
}
/* responsive header start */
/* responsive header end */
.small-business-img .row-sec {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 10px;
}

.first-sec,
.sec-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sec-2 {
  gap: 30px;
}

.points {
  flex: 1;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease-in-out;
  width: 300px;
}

.points .text p {
  font-size: 15px;
  font-weight: 400;
}
.point-para {
  width: 100vw;
  height: auto;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px;
}

.points span i {
  padding: 15px;
  font-size: 40px;
  color: rgb(156, 22, 22);
  border: 1px solid transparent;
  border-radius: 20px;
  box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.5);
}
.main-header {
  font-weight: 700;
  color: brown;
  font-size: 40px;
}

.icons {
  align-items: center;
}

.icons span {
  margin-right: 10px;
}

.text {
  text-align: center;
  margin: 20px;
}
.text h2 {
  color: rgb(38, 38, 107);
  font-weight: 600;
  font-size: 25px;
  text-align: center;
}
.text p {
  font-size: 18px;
  font-weight: 700;
  margin: 10px;
}
.word-big {
  font-weight: 550 !important;
  font-size: 60px;
  color: #960000;
}
.points:hover {
  transform: scale(1.2);
}
.text-para {
  width: 70%;
  background-size: 900px 320px;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  line-height: 2;
  box-shadow: 15px 15px 12px rgba(255, 182, 193, 0.5);
  padding: 20px;
  font-size: 18px;
  color: gray;
  font-weight: 200;
  margin-top: 3%;
  margin-left: 15%;
}
@media (max-width: 674px) {
  .logo {
    margin-left: -3% !important;
  }
}
/* For medium screens (max-width: 1200px) */
@media (max-width: 1200px) {
  .points {
    width: 60%; /* Adjust points to fit nicely on medium screens */
  }
  .points h1 {
    font-size: 17px;
  }
  .points p {
    font-size: 13px
  }
}
@media (max-width: 769px) {
  .text-overlay h1 {
    width:fit-content; /* Ensure this behavior is intentional */
    /* margin-left: -10%; */
  }
  .card-info-desc {
    padding: 10px;
    font-size: 15px;
  }
  .img-sec {
    margin-left: -3%;
  }
}
/* responsive icon card end */
/* respinsive section-para start */
@media (max-width: 480px) {
  .text h2 {
    font-size: 15px;
  }
  .text p {
    font-size: 10px;
  }

  .fa-quote-left,
  .fa-quote-right {
    font-size: 30px; /* Smaller icon size for mobile */
  }
}
/* responsive section-para end */
/* responsive-section start */
@media (max-width: 480px) {
  h4 {
    font-size: 18px;
  }

  .fa-quote-left,
  .fa-quote-right {
    font-size: 30px; /* Smaller icon size for mobile */
  }
}

/* responsive-section end */

/* point-text-sec end */
/* parallelox start */
/* additional card-parallelox start */

.front h1 {
  font-size: 3.5rem;
  font-family: "Montserrat";
  font-weight: normal;
  color: rgb(180, 45, 45);
  font-weight: 700;
  text-align: center;
  margin: 2rem 0;
}

.wrapper {
  width: 90%;
  margin: 0 auto;
  max-width: 80rem;
}

.cols {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.col {
  width: calc(25% - 2rem);
  margin: 1rem;
  cursor: pointer;
}

.container {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

.front,
.back {
  background-size: cover;
  box-shadow: 0 4px 8px 0 rgba(240, 14, 14, 0.25);
  border-radius: 10px;
  background-position: center;
  -webkit-transition: -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  -o-transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1),
    -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  text-align: center;
  max-width: 550px;
  min-height: 350px;
  height: auto;
  border-radius: 10px;
  color: #fff;
  font-size: 1.5rem;
}

.back {
  background: #cedce7;
  background: -webkit-linear-gradient(45deg, #cedce7 0%, #596a72 100%);
  background: -o-linear-gradient(45deg, #cedce7 0%, #596a72 100%);
  background: linear-gradient(45deg, #f0e6c5 0%, #dd614b 100%);
}

.front:after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  opacity: 0.6;
  background-color: #000;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 10px;
}
.container:hover .front,
.container:hover .back {
  -webkit-transition: -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  -o-transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1),
    -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.back p {
  font-size: 16px !important;
}

.inner {
  -webkit-transform: translateY(-50%) translateZ(60px) scale(0.94);
  transform: translateY(-50%) translateZ(60px) scale(0.94);
  top: 50%;
  color: #000;
  position: absolute;
  left: 0;
  width: 100%;

  padding: 2rem;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: 1px solid transparent;
  -webkit-perspective: inherit;
  perspective: inherit;
  z-index: 2;
}

.container .back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.container .front {
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.container:hover .back {
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.container:hover .front {
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.front .inner p {
  color: white;
  font-size: 18px;
  margin-bottom: 2rem;
  position: relative;
}

.front .inner p:after {
  content: "";
  width: 4rem;
  height: 2px;
  position: absolute;
  background: #c6d4df;
  display: block;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -0.75rem;
}

.front .inner span {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Montserrat";
  font-weight: 300;
}

@media screen and (max-width: 64rem) {
  .col {
    width: calc(33.333333% - 2rem);
  }
}

@media screen and (max-width: 48rem) {
  .col {
    width: calc(50% - 2rem);
  }
}

@media screen and (max-width: 32rem) {
  .col {
    width: 100%;
    margin: 0 0 2rem 0;
  }
}

/* contact-form start */
hr {
  opacity: 0.3;
}

.parallexo-container {
  height: 100%;
  padding: 6em 0;
}

@media (max-width: 630px) {
    .parallexo-container {
        height: 100%;
        padding: 2em 1em !important;
    }
}
@media (max-width: 360px) {
    .parallexo-container {
     height : 100%; 
   padding: 2em 1em;
    }
}
.content-header {
  text-align: center;
  color: rgba(175, 8, 8);
  padding: 10px 0;
}
.content-header p {
  font-size: 20px;
  color: black;
  font-weight: 500;
}
.text-contact,
.text-logo {
  flex: 1 1 40%;
  box-sizing: border-box;
  margin: -10% 10% 0 0;
}

.idea {
  width: 100%;
  background: rgb(224, 146, 146);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
}
.idea p {
  padding: 1.7em 0;
}
.text-logo-img {
  display: flex;
  justify-content: center;
}
.idea h1 {
  text-align: center;
  color: rgb(180, 28, 28);
  font-size: 30px;
}
.pa .input-box {
  width: 100%;
  margin-bottom: 15px;
}
.input-box input:focus,
.input-box select:focus,
.custom-textarea:focus {
  outline: none;

  border: none;

  box-shadow: none;
}

.custom-textarea {
  resize: none;
}

.text-logo {
  margin-top: -10%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 2em;
  margin-bottom: 16em;
}

.text-logo .logo-loc {
  text-align: left;
}
.heading {
  font-size: 36px;
}

.heading h1 {
  margin-top: -5%;
  color: transparent;
  font-size: 250px;
  text-transform: uppercase;
  -webkit-text-stroke: 1px black;
  line-height: 78px;
  text-align: center;
  overflow: hidden;
}

.text-logo img {
  width: 137px;
  margin-bottom: 1em;
}

/* contact form- logotext start */
.ParallexTwo {
  height: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  align-items: center;
  padding: 2em;
  margin: 5em 0;
}
@media (max-width: 360px) {
    .ParallexTwo{
    margin: 0px 0px -230px 0px;
    }
}
@media (min-width: 360px) and (max-width: 1080px) {
    .ParallexTwo{
    margin: 0px 0px -230px 0px;
    }
}

.text-contact {
  padding: 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 1em;
  height: 20%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
  padding: 1em;
}

.text-logo .heading h1 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

.text-logo .para-sec p {
  margin: 10px 0;
  color: #333;
  line-height: 1.6;
}

.input-box {
  width: 100%;
  margin-bottom: 15px;
}

.input-box input,
.input-box select,
.custom-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}
.text-contact,
.text-logo {
  flex: 1;
}
/* button.btn {
  padding: 10px 20px;
  background-color: #a10e0e;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button.btn:hover {
  background-color: #ffffff00;
} */

button.btn {
  padding: 10px 20px;
  background-color: #a10e0e;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button.btn:hover {
  background-color: #fff; /* Same as #ffffff00 */
  color: #a10e0e;/* Text color to black */
  border: 2px solid #a10e0e; /* Add black border */
}

/* contact-form end */
/* responsive section start */
@media (max-width: 768px) {
  .heading h1 {
    font-size: 40px !important;
  }
}

/* Larger small screen adjustments (768px and below) */

/* footer start */
.footer-container {
  display: flex;
  justify-content: space-between;
  padding: 40px;
  background: url("Images/footer-background.jpg") no-repeat center/cover;
  color: #ffffff;
  flex-wrap: wrap;
  font-weight: 300;
}

.footer-column {
  color: white;
  flex: 0.5;
  min-width: 200px;
  margin: 10px;
}
.footer-column ul {
  color: white;
}
.footer-logo {
  width: 100px;
  margin-bottom: 20px;
  mix-blend-mode: difference;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-size: 30px;
  color: #ffffff;
}

.footer-column ul {
  list-style-type: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-weight: 300;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: red;
}

.social-icons a {
  color: #ffffff;
  font-size: 24px;
  margin-right: 15px;
  transition: color 0.3s;
  display: inline-block;
}

.social-icons a:hover {
  color: red;
}

.social-icons a:last-child {
  margin-right: 0;
}

.newsletter-form {
  margin-top: 15px;
}

.newsletter-form input {
  padding: 10px;
  margin-right: 10px;
  border: none;
  border-radius: 5px;
}

.newsletter-form button {
  padding: 10px 20px;
  background-color: #9e2525;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #151414;
  background: #000;
  font-weight: 300;
  color: #fff;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  font-weight: 300;
}
.arrow-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* Change from right to left */
    display: flex;
    flex-direction: column;
    /* Stack buttons vertically */
    gap: 10px;
    /* Add spacing between buttons */
    z-index: 1000;
}

.back-to-top,
.WhatsApp-down {
    background-color: #920f0f;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 10%;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    line-height: 50px;
    box-shadow: inset 0px 4px 6px #da2c2c;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.back-to-top:hover,
.WhatsApp-down:hover {
    background: #161616;
    box-shadow: inset 0px 4px 6px #5b5b5b;
    color: #ffff;
    animation: travelup 0.3s infinite ease-in-out linear;
}

@keyframes travelup {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}

@media (max-width: 768px) {
    .arrow-button {
        right: 10px;
        /* Adjust positioning for smaller screens */
    }
}
/* footer end */
/* add css of card start */
:root {
  --fontsize: 20px;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  overflow: hidden;
}

/*zawartosc*/

.content {
  display: flex;
  flex-flow: row;
  align-items: center;
  height: 90%;
  width: 80vw;
}
.service-container {
  margin-top: 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
}
.service-grid {
  box-sizing: border-box;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.service-container p1 {
  font-size: 40px;
}
.service-card {
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.637);
  border-radius: 20px;
}
.service-photo {
  font-size: 80px;
  margin-bottom: 10px;
}
.service-title {
  font-weight: bold;
  font-size: 25px;
}
.service-title {
  color: rgb(180, 6, 6);
  font-size: 30px;
  font-weight: 700;
}
.service-desc {
  color: black;
  line-height: 1.5;
  margin: 10px;
  font-size: 18px;
  font-weight: 600;
}
.service-card:hover {
  transform: scale(1.05);
}
/* add css of card end */



/* General adjustments for screens up to 360px */
@media (min-width: 360px) and (max-width: 1080px) {
    .book-img-text {
        flex-direction: column;
        /* Stack the elements vertically */
        align-items: center;
        /* Center align for a cleaner layout */
        padding: 10px;
        /* Add padding for spacing */
        text-align: center;
        /* Center text content */
    }

    .text-para {
        width: 100%;
        /* Ensure the text block spans full width */
        padding: 10px;
        /* Add inner padding for better readability */
        font-size: 14px;
        /* Reduce font size for small screens */
        line-height: 1.6;
        /* Moderate line spacing for readability */
        margin-left: 15px !important;
        text-align: center !important;
    }

    .text-para p {
        color: black;
        /* Keep the text color black */
        font-weight: 400;
        /* Maintain font weight */
        line-height: 1.8;
        /* Slightly adjusted line-height for spacing */
        margin: 0 auto;
        /* Center-align the paragraph block */
    }
}

/* css for card send */
 /* Button Styling */
        .btn-fr {
            background: rgb(129, 12, 12);
            color: white;
            padding: 12px 25px;
            font-size: 18px;
            border: none;
            cursor: pointer;
            border-radius: 5px;
            transition: 0.3s ease-in-out;
        }

        .btn-fr:hover {
            background: rgb(100, 10, 10);
        }

        /* Popup Background */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(8px);
            display: none;
            justify-content: center;
            align-items: center;
        }

        /* Popup Card */
        .popup-card {
            background: white;
            padding: 25px;
            width: 50%;
            max-width: 500px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            text-align: center;
            position: relative;
            transform: scale(0.8);
            opacity: 0;
            transition: 0.3s ease-in-out;
        }

        /* Show popup animation */
        .popup-overlay.active .popup-card {
            transform: scale(1);
            opacity: 1;
        }

        /* Close Button */
        .close-btn {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 22px;
            font-weight: bold;
            cursor: pointer;
            color: black;
        }

        /* Form Styling */
        form {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 15px;
        }

        input, select {
            padding: 10px;
            border-radius: 5px;
            border: 1px solid #ccc;
            width: 100%;
        }

        button[type="submit"] {
            background: rgb(129, 12, 12);
            color: white;
            border: none;
            cursor: pointer;
            padding: 10px;
            border-radius: 5px;
            transition: 0.3s ease;
        }

        button[type="submit"]:hover {
            background: rgb(100, 10, 10);
        }
   
/* css for card end */