/* Global Styles */
body { 
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-style: normal;
  /* font-family: 'Poppins', sans-serif; */
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.nav-link {
  font-size: 1.3rem;
  margin-right: 25px;
}

.navbar-nav {
  align-items: center;
  margin-left: auto;
  margin-right: 250px;
  font-weight: bolder;
}

.navbar-brand img {
  height: 70px;
  width: 140px;
  margin-left: 100px;
}

.navbar-nav .btn:hover{
  color: #f5e0d5 !important;
  background-color: #5c5757;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 100px;
  position: relative;
  background: linear-gradient(135deg, #000000, #121010);
  height: 100vh;
  color: white;
}

.hero .content {
  max-width: 50%;
  text-align: left;
  position: relative;
  z-index: 2;
}

.hero .image {
  width: 50%;
}

.carousel-inner img {
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.hero .content h1 {
  font-family: "Jersey 15", serif;
  font-weight: 550;
  font-style: normal;
  letter-spacing: 8px;
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #5c5757, #f5e0d5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .content p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #ffffffcb;
}

.hero .content .btn {
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #5c5757;
  border: none;
  color: #f5e0d5;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .content .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(169, 162, 160, 0.4);
}

.hero .image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero .image img {
  width: 80%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.hero .image img:hover {
  transform: translateY(0);
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 0%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #231f1f, transparent 70%);
  z-index: 0;
  animation: spin 15s infinite infinite;
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0%;
  right: 40%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #231f1f, transparent 70%);
  z-index: 0;
  animation: spin-reverse 20s infinite linear;
  border-radius: 50%;
  pointer-events: none;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-360deg);
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero .content {
    margin-bottom: 2rem;
  }

  .hero .image img {
    width: 90%;
  }
}

.services-grid {
  padding: 50px 0;
  background: #f9f9f9;
  text-align: center;
}

.services-grid h2 {
  font-family: "Jersey 15", serif;
  font-weight: 550;
  font-style: normal;
  letter-spacing: 8px;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #2d2b2b, #857b75);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.service-card {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: white;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: scale(1.05);
}

.service-card i {
  font-size: 3rem;
  color: #733d30;
  margin-bottom: 1rem;
}

.cta {
  background: linear-gradient(135deg, #000000, #121010);
  color: white;
  padding: 50px 20px;
  text-align: center;
}

.cta h2 {
  font-family: "Jersey 15", serif;
  font-weight: 550;
  font-style: normal;
  letter-spacing: 8px;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #5c5757, #f5e0d5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.cta .btn {
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #5c5757;
  border: none;
  color: #f5e0d5;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 15px;
}

.cta .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(169, 162, 160, 0.4);
}

footer {
  background: linear-gradient(135deg, #000000, #121010);
  color: white;
  padding: 20px 0;
  text-align: center;
}

/* testimonial */
.testimonial_sec{
  padding: 50px 0;
  background: #f9f9f9;
  text-align: center;
}

.testimonial_sec h2{
  font-family: "Jersey 15", serif;
  font-weight: 550;
  font-style: normal;
  letter-spacing: 8px;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #2d2b2b, #857b75);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.5rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

/* Importing fonts from Google */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

@keyframes background-color {
    0% {
        background: linear-gradient(to bottom, #000428, #004683);
    }

    25% {
        background: linear-gradient(135deg, #1a4223, #5ee95e);
    }

    50% {
        background: linear-gradient(to bottom, #421a31, #e95ed2);
    }

    100% {
        background: linear-gradient(-135deg, #fae37d, #881da8, #20668f);
    }

}

.container {
    margin-top: 80px;
    margin-bottom: 40px;
}

.container h2{
  font-family: "Jersey 15", serif;
  font-weight: 550;
  font-style: normal;
  letter-spacing: 8px;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #2d2b2b, #857b75);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.container .h3{
  display: flex;
  align-items: center;
}

.container .col-lg-4 {
    display: flex;
    justify-content: center;
}

.card {
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    perspective: 500px;
    border: none;
    background-color: inherit;
}

.card .face {
    position: absolute;
    color: #1C3F60;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.06);
    transform-style: preserve-3d;
    transition: 0.5s;
    backface-visibility: hidden;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.card .face.front-face,
.card .face.back-face {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card .face.front-face .profile {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.card .face.front-face .name {
    letter-spacing: 2px;
}

.card .face.front-face .designation {
    font-size: 0.8rem;
    color: #ddd;
    letter-spacing: 0.8px;
}

.card:hover .face.front-face {
    transform: rotateY(180deg);
}

.card .face.back-face {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
    transform: rotateY(180deg);
    padding: 20px 30px;
    text-align: center;
    user-select: none;
}

.card .face.back-face .fa-quote-left {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 1.2rem;
}

.card .face.back-face .fa-quote-right {
    position: absolute;
    bottom: 35px;
    right: 25px;
    font-size: 1.2rem;
}

.card:hover .face.back-face {
    transform: rotateY(360deg);
}

@media(max-width: 991.5px) {
    .col-lg-4 {
        margin-top: 40px;
        margin-bottom: 20px;
    }
}

.service-card {
  background-color: #FFF;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-card i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #363533;
}

.services-grid .row {
  justify-content: center;
}


.timeline {
  background-color: #f8f9fa; 
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.timeline h2 {
  font-family: "Jersey 15", serif;
  font-weight: 550;
  font-style: normal;
  letter-spacing: 8px;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #2d2b2b, #857b75);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.timeline p {
  font-size: 1.1rem;
  color: #828282;
}

.timeline-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-icon {
  width: 20px;
  height: 20px;
  background-color: #1C3F60;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.timeline-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 75%;
}

.timeline-item h4 {
  font-size: 1.5rem;
  color: #1C3F60;
  margin-bottom: 10px;
}

.timeline-item p {
  font-size: 1rem;
  color: #828282;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border: 3px solid #1C3F60;
  border-radius: 50%;
  top: 50%;
  left: -15px;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::before {
  left: auto;
  right: -15px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}
