/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.logo {
  font-weight: 700;
  font-size: 1.8rem;
  color: #2b2b2b;
  letter-spacing: 1px;
}

.logo span {
  color: #6c63ff; /* accent color */
}

/* Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  padding: 0.2rem 0;
  transition: color 0.3s ease;
}

/* Hover underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #6c63ff;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #6c63ff;
}

.nav-links a:hover::after {
  width: 100%;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

/*   start top right corner */








/* top right conrner */


/*  new added */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  animation: slideshow 60s infinite;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Keyframes for background images */
@keyframes slideshow {
  0%    { background-image: url('IMG_7030.JPG'); }
  20%   { background-image: url('IMG_7035.JPG'); }
  40%   { background-image: url('IMG_7130.JPG'); }
  60%   { background-image: url('RKS_1151.JPG'); }
  80%   { background-image: url('IMG_7029.JPG'); }
  100%  { background-image: url('IMG_7131.JPG'); }
}

/* Optional: Add background to hero-text for readability */
.hero-text {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent black */
  border-radius: 10px;
}



/*above new*/

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: #fff;
  color: #6c63ff;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background: #ddd;
}

.section {
  padding: 3rem 0;
}

.services .service-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  flex: 1;
  min-width: 250px;
}

.portfolio .gallery {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.project-slider {
  position: relative;
  width: 300px;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
}

.project-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 200px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.project-slider img.active {
  opacity: 1;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.footer {
  text-align: center;
  padding: 1.5rem 0;
  background: #f1f1f1;
  margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .services .service-cards {
    flex-direction: column;
  }

  .portfolio .gallery {
    flex-direction: column;
    align-items: center;
  }

  .hero-text h2 {
    font-size: 2rem;
  }
}


.contact-info {
  background: linear-gradient(135deg, #6c63ff, #8e7fff);
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease forwards;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-info strong {
  color: #ffffff;
}

.contact-info a {
  color: #ffea00;
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Simple fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





.about {
  background: linear-gradient(135deg, #f5f5ff, #eaeaff);
  padding: 4rem 0;
}




.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-content {
  flex: 1;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  animation: fadeInLeft 1s ease-in-out;
}

.about-content h2 {
  font-size: 2.2rem;
  color: #6c63ff;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #444;
}

.about-image {
  flex: 1;
  animation: fadeInRight 1s ease-in-out;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    margin-top: 2rem;
  }
}













.flip-container {
  perspective: 1000px;
  position: relative;
  width: 100%;
  height: auto;
}

.flipper {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1s;
  position: relative;
}

.flip-img {
  width: 100%;
  border-radius: 12px;
  backface-visibility: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 1s;
}

.flip-img.active {
  opacity: 1;
  z-index: 2;
  animation: flipImage 1s ease;
}

@keyframes flipImage {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(180deg);
  }
}





.services h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #6c63ff;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.service-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #fff;
  padding: 2rem 1.8rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.15);
  flex: 1 1 280px;
  max-width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  cursor: default;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.3);
}

.card .icon {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  color: #6c63ff;
}

.card h3 {
  font-size: 1.6rem;
  color: #2b2b2b;
  margin-bottom: 1rem;
  font-weight: 600;
}

.card p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive for smaller devices */
@media (max-width: 768px) {
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 100%;
  }
}












/* for contact*/
.contact h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #6c63ff;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.contact-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-card {
  background: #fff;
  padding: 2rem 1.8rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.15);
  flex: 1 1 280px;
  max-width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  cursor: default;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.3);
}

.contact-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #6c63ff;
}

.contact-card h3 {
  font-size: 1.5rem;
  color: #2b2b2b;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.contact-card p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}

.contact-card a {
  color: #6c63ff;
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  .contact-card {
    max-width: 100%;
  }
}

/* oour */

/* Portfolio Section Upgrade */
.portfolio {
  background: #f8f8ff;
  padding: 4rem 0;
}

.portfolio h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #6c63ff;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.portfolio .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.project-slider {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 320px;
  flex: 1 1 280px;
  position: relative;
}

.project-slider:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.3);
}

.project-slider img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease-in-out, transform 0.4s ease;
}

.project-slider img.active {
  opacity: 1;
}

.project-slider:hover img.active {
  transform: scale(1.05);
}
