/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f9fa;
    margin-left: 2%;
  }
  
  /* .................................Navbar */
  .navbar {
    padding: 10px 0;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .navbar-nav .nav-link {
    font-size: 1.1rem;
    margin-left: 20px;
  }
  .navbar-nav .nav-link i{
 
    border-radius: 20px;
    color: yellow;

  }
  .navbar-nav .nav-link i:hover{
    color: white;
  }
  
  /*............................................... Hero Section */
 
/* 3D Slider Styles */
.slider-container {
    position: relative;
    width: 80%;
    height: 400px;
    margin: 50px auto;
    perspective: 1000px;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.slider h1{
  width: 50%;
  height: 22%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  margin-left: 25%;
  text-align: center;
  margin-top: 12%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 1s ease, opacity 1s ease;
    opacity: 0;
    transform: translateX(50%) scale(0.8) rotateY(-45deg);
}

.slide.active {
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0deg);
}

.slide.prev {
    transform: translateX(-50%) scale(0.8) rotateY(45deg);
    opacity: 0.6;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6);
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.prev { left: -40px; }
.next { right: -40px; }

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 1);
}

/* Responsive */
@media (max-width: 768px) {
    .slider-container {
        width: 95%;
        height: 300px;
    }
}



  
  /*............................................... About Section */
/* About Section */
.about-section {
  position: relative;
  width: 80%;
  margin: 0 auto;
  margin-top: 20%;
  max-width: 1200px;
  background: #2b2b2b;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.about-image img {
  width: 200px;
  height: 200px;
  margin-top: 50px;
  border-radius: 50%;
  object-fit: 100%;
  border: 5px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-text h1 {
  font-size: 2.5rem;
  margin: 20px 0 10px;
  color: #ffffff;
}

.about-text p {
  font-size: 1.1rem;
  color: #8f8f8f;
  line-height: 1.6;
}

/* Animated Shapes */
.shape {
  position: absolute;
  background: rgba(0, 123, 255, 0.1);
  border: 2px solid rgba(0, 123, 255, 0.3);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
  z-index: 1;
}

.shape1 {
  width: 300px;
  height: 300px;
  top: -50px;
  left: -50px;
  animation-duration: 8s;
}

.shape2 {
  width: 200px;
  height:200px;
  bottom: -30px;
  right: -30px;
  animation-duration: 10s;
}

/* Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-section {
    width: 90%;
    padding: 20px;
  }

  .about-image img {
    width: 120px;
    height: 120px;
  }

  .about-text h1 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 1rem;
  }
}

   /*............................................... About Section end */
  
  /* .............................................Services Section */
  .services-section {
    padding: 60px 0;
    background-color: #f8f9fa;
  }
  
  .services-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #343a40;
  }
  
  .service-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
  }


  /* compny */


/* Companies Container */
.companies-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
}

/* Company Card */
.company-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Company Image */
.company-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #007bff;
  transition: transform 0.3s ease;
}

.company-card:hover .company-image {
  transform: scale(1.1);
}

/* Company Name */
.company-name {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Company Description */
.company-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .company-card {
    width: 100%;
    max-width: 300px;
  }
}

  /* compny */
  
  /* ................................Projects Section */
 
 


  /* Card Slider Section */
.card-slider {
    position: relative;
    width: 80%;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container */
.card-container {
    display: flex;
    gap: 20px;
    overflow: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

/* Card Styles */
.card {
    width: 250px;
    height: 350px;
    perspective: 1000px;
    flex: 0 0 auto;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

/* Front & Back */
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-front {
    background: #000;
}

.card-front img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.card-back {
    background: linear-gradient(to right, #ff8c00, #ff2d00);
    color: white;
    transform: rotateY(180deg);
    padding: 20px;
}

/* Navigation Buttons */
.prev, .next {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 1);
}

.prev { left: -50px; }
.next { right: -50px; }

/* Responsive */
@media (max-width: 768px) {
    .card-container {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .card {
        width: 200px;
        height: 300px;
    }
}





   /* ................................Projects Section  end*/

/* Navigation Buttons */
.prev, .next {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 1);
}

.prev { left: -50px; }
.next { right: -50px; }

/* Responsive */
@media (max-width: 768px) {
    .card-container {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .card {
        width: 200px;
        height: 300px;
    }
}

  
  /*........................................... Contact Section */
/* Contact & Map Section */
.contact-map-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* Contact Form */
.contact-form {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.contact-form h2 {
  color: #f8b400;
  margin-bottom: 15px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  width: 100%;
  background: #f8b400;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #ff8800;
}

/* Google Map */
.google-map {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  text-align: center;
}

.google-map h2 {
  color: #f8b400;
  margin-bottom: 15px;
}

.google-map iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-map-section {
      flex-direction: column;
      text-align: center;
  }
  
  .contact-form, .google-map {
      margin-bottom: 20px;
  }
}
  
  /*.............................................. Footer */
  .footer {
    background: #222;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.footer-about, .footer-social, .footer-contact {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

.footer-about h2, .footer-social h3, .footer-contact h3 {
    color: #f8b400;
    margin-bottom: 10px;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: inline-block;
    font-size: 20px;
    color: #fff;
    background: #333;
    padding: 10px;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icon:hover {
    background: #f8b400;
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    background: #111;
    padding: 10px;
    margin-top: 20px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}