@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Dancing+Script:wght@400..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&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Poppins';
    scroll-behavior: smooth;
}

:root{
    --prime-color: #A234FD;
    --secondary-color: #5D00F7;
    --third-color: #FE7524;
    --bg-color: #241B38;
    --text-color: #07000E;
    --light-text: #716f73;
    --black-color: #000;
    --white-color: #fff;
    --prim-icon-gradient: linear-gradient(50deg, #a234fd 0%, #ff31ab 49%, #ff6f05 100%);
    --prim-text-gradient: linear-gradient(90deg, #7512a2 0%, #ff31ab 48.53%, #ff6f05 100%);
    --nav-menu-gradient: linear-gradient(180deg, #fe7524 0%, rgba(254, 117, 36, 0) 80%);
    --nav-gradient: linear-gradient(90deg, #a234fd 0%, #ff31ab 2%, #ff6f05 100%);
    --service-gradient: linear-gradient(-90deg, #a234fd 0%, rgba(162, 52, 253, 0) 100%);
    --service-gradient-mask: linear-gradient(#fff 0 0) content-box, (#fff 0 0);

    --kaushan-font: "Dancing Script", cursive;
    --DM-sans-font: "DM Sans", sans-serif;

    --transition-regular:.3s;
    --transition-slow:.6s;
}

body{
    overflow-x: hidden;
    color: var(--black-color);
}

img{
    width: 100%;
    height: 100%;
}
section{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5% 12%;
}
  /* Preloader fullscreen */
  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f0f0f; /* Dark background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  /* Loader style */
  .loader {
    text-align: center;
    color: #ff9900;
    font-family: 'Orbitron', sans-serif; /* Add a tech font */
  }
  
  .loader .ring {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 10px;
    border: 3px solid transparent;
    border-top: 3px solid #ff9900;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  .loader .ring:nth-child(2) {
    animation-delay: 0.2s;
  }
  .loader .ring:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  .loader p {
    margin-top: 20px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #ffaa33;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  /* Cover Photo Section */
.cover-photo-section {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust height as needed */
  overflow: hidden;
}

/* Cover photo styling */
.cover-photo {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the area without distortion */
  filter: brightness(60%); /* Optional: Adds a dark effect to enhance readability if text is added later */
  transition: transform var(--transition-regular); /* Smooth zoom effect on hover */
}

/* Zoom effect on hover */
.cover-photo:hover {
  transform: scale(1.1); /* Slight zoom-in effect */
}

/********** Split Section Starts **********/
.split-section {
  display: flex;
  width: 100%;
  background: 
    linear-gradient(135deg, rgba(15, 15, 15, 0.9), rgba(31, 31, 46, 0.9)),
    url('/lovelace/images/b2.png');
  background-size: cover;
  background-position: center;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 60px;
  color: var(--white-color);
  font-family: var(--DM-sans-font);
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.right-section {
  width: 100%;
  background: transparent;
  padding: 30px;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
}

.right-section h2 {
  text-align: center;
  color: var(--prime-color);
  font-size: 3rem;
  font-family: var(--kaushan-font);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.right-section h3 {
  margin-top: 20px;
  color: var(--third-color);
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.right-poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.right-section p {
  font-size: 1rem;
  color: var(--light-text);
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  transition: color 0.3s ease;
}

.right-section p:hover {
  color: var(--prime-color);
}

.right-section ul {
  padding-left: 20px;
  margin-top: 10px;
  list-style-type: none;
}

.right-section ul li {
  font-size: 1rem;
  color: var(--light-text);
  margin-bottom: 10px;
  line-height: 1.6;
  text-align: left;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.right-section ul li b {
  color: var(--third-color);
}

.image-gallery {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 20px;
  z-index: 2;
}

.image-gallery img {
  width: 23%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(0, 255, 200, 0.3);
  transition: transform 0.3s, box-shadow 0.3s ease-in-out;
  border: 2px solid var(--prime-color);
}

.image-gallery img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(0, 255, 200, 0.7);
  border-color: var(--third-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .split-section {
    flex-direction: column;
    padding: 20px;
  }

  .right-section {
    width: 100%;
    padding: 15px;
  }

  .right-section h2 {
    font-size: 2rem;
  }

  .right-section h3 {
    font-size: 1.5rem;
  }

  .image-gallery {
    flex-wrap: wrap;
    justify-content: center;
  }

  .image-gallery img {
    width: 45%;
    margin: 10px;
  }
}
/********** Split Section Ends **********/