/* ===== GLOBAL STYLES ===== */
:root {
  --primary: #2c3e50;
  --secondary: #3498db;
  --accent: #e74c3c;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --gradient: linear-gradient(135deg, #3498db, #2c3e50);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  background-color: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* ===== WHATSAPP CONTACT BUTTONS ===== */
.whatsapp-btn,
.contacts {
  position: fixed;
  background: #25d366;
  color: #fff;
  padding: 12px 18px;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  z-index: 9999;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
  color: #fff;
}
.whatsapp-btn {
  bottom: 40px;
  right: 25px;
  background: green;
}
.contacts {
  bottom: 100px;
  right: 25px;
  background-color: blue;
  color: #ffffff;
}
.contacts a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
}
.whatsapp-btn:hover,
.contacts:hover,
.contacts a:hover {
  transform: translateY(-3px);
  transform: scale(1.08);
  color: black;
}
/*===================== NAVBAR =========================*/
body {
  padding-top: 70px;
}
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  z-index: 9999;
}
.navbar-brand span {
  font-size: 25px;
  font-weight: 800;
  color: #00e5ff;
  text-shadow: 0px 0px 8px rgba(0, 229, 255, 0.8);
}
.nav-link {
  color: #ffffff !important;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: #00e5ff;
  transition: width 0.4s ease;
}
.nav-link:hover {
  color: #00e5ff !important;
  text-shadow: 0px 0px 8px rgba(0, 229, 255, 0.8);
}
.nav-link:hover::after {
  width: 100%;
}
@media (max-width: 991px) {
  .navbar-nav {
    text-align: center;
    margin-right: 0 !important;
  }
  .nav-link {
    margin: 10px 0;
  }
}
.navbar-toggler,
.custom-toggler {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.toggler-icon {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #fff;
  margin: 6px 0;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}
.toggler-icon:nth-child(1),
.toggler-icon:nth-child(3) {
  width: 20px;
}

.toggler-icon:nth-child(2) {
  width: 30px;
}
.navbar-toggler.active .toggler-icon:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  width: 30px;
}
.navbar-toggler.active .toggler-icon:nth-child(2) {
  opacity: 0;
}
.navbar-toggler.active .toggler-icon:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  width: 30px;
}
/* ============= HOME SECTION ================= */
.home-section {
  min-height: 100vh;
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.8)),
    url("https://images.unsplash.com/photo-1499750310107-5fef28a66643?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.home-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}
.home-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.home-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
}
.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: var(--transition);
  border: 2px solid var(--accent);
}
.cta-button:hover {
  background: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== SECTION TITLES ===== */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 60px 0 40px;
  color: var(--dark);
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

/* ================== ABOUT SECTION ================== */
.vision-mission-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.vm-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.vm-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.8),
    inset 0 0 10px rgba(0, 229, 255, 0.8);
}
.vm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
}
.vm-card:hover {
  transform: translateY(-10px);
  box-shadow: inset 0 0 60px rgba(35, 7, 192, 0.1),
    inset 0 0 40px rgba(238, 5, 180, 0.1);
}
.vm-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
  border-radius: 50%;
  object-fit: cover;
  transition: var(--transition);
}
.vm-card:hover .vm-icon {
  transform: scale(1.1) rotate(5deg);
}
.vm-card h3 {
  color: var(--dark);
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 600;
}
.vm-card p {
  color: #666;
  line-height: 1.8;
  font-size: 1rem;
}

/* ============== TECHNOLOGY SECTION ======================= */
.tech-section {
  padding: 80px 0;
  background: white;
}
.tech-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}
.tech-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(52, 152, 219, 0.8),
    rgba(44, 62, 80, 0.8)
  );
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}
.tech-card:hover::before {
  opacity: 1;
}
.tech-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.tech-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.tech-card:hover img {
  transform: scale(1.1);
}
.tech-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 25px 15px 15px;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  z-index: 2;
  transition: var(--transition);
}
.tech-card:hover .tech-label {
  transform: translateY(-10px);
  background: transparent;
}

/* ============== PROJECTS SECTION ================= */
/* Main Container */
.slide-feedback-section {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .slide-feedback-section {
    flex-direction: column;
  }
}

/* Slide Container */
.slide-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Slides Wrapper */
.slides {
  display: flex;
  width: 100%;
  height: 400px;
  position: relative;
}

/* Individual Slide Wrapper */
.slide-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide-wrapper.active {
  opacity: 1;
  z-index: 2;
}

/* Slide Link */
.slide-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  text-decoration: none;
  overflow: hidden;
}

/* Slide Image */
.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  cursor: pointer;
}

.slide-wrapper.active .slide {
  transform: scale(1.02);
}

/* Project Overlay */
.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  padding: 25px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
}

.slide-wrapper.active .project-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Project Info */
.project-info h4 {
  margin: 0 0 8px 0;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 600;
}

.project-info p {
  margin: 0 0 12px 0;
  font-size: 0.95rem;
  color: #ddd;
  opacity: 0.9;
}

/* Click Hint */
.click-hint {
  display: inline-block;
  font-size: 0.85rem;
  color: #4CAF50;
  font-weight: bold;
  border: 2px solid #4CAF50;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.slide-link:hover .click-hint {
  background: #4CAF50;
  color: white;
  transform: translateY(-2px);
}

/* Slide Navigation Buttons */
.slide-buttons {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 5;
  padding: 0 20px;
}

.slide-buttons button {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.slide-buttons button:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* Slide Indicators/Dots */
.slide-indicators {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
  border-color: #fff;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

/* Feedback Section Styles (Existing - Keep these) */
.feedback-box {
  flex: 0 0 400px;
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

@media (max-width: 992px) {
  .feedback-box {
    flex: none;
    width: 100%;
  }
}

.feedback-slide {
  display: none;
  animation: fadeIn 0.5s ease;
}

.feedback-slide.active {
  display: block;
}

.feedback-slide h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.feedback-slide p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.feedback-slide h4 {
  color: #3498db;
  margin-bottom: 5px;
}

.feedback-slide small {
  color: #7f8c8d;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .slides {
    height: 300px;
  }
  
  .project-info h4 {
    font-size: 1.1rem;
  }
  
  .project-info p {
    font-size: 0.85rem;
  }
  
  .click-hint {
    font-size: 0.75rem;
    padding: 3px 10px;
  }
  
  .slide-buttons button {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* ======================== CONTACT SECTION ============================= */
.contact-section {
  padding: 80px 0;
  background: white;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.contact-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  transition: var(--transition);
  z-index: 0;
}
.contact-card:hover::before {
  left: 0;
}
.contact-card:hover {
  transform: translateY(-10px);
  color: white;
}
.contact-card > * {
  position: relative;
  z-index: 1;
}
.contact-card:hover h3,
.contact-card:hover p {
  color: white;
}
.icon-box {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: white;
  transition: var(--transition);
}
.contact-card:hover .icon-box {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1) rotate(360deg);
}
.contact-card h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--dark);
  transition: var(--transition);
}
.contact-card p {
  line-height: 1.8;
  color: #666;
  transition: var(--transition);
}

/* =========== CONTACT CONTAINER ================ */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin: 60px auto;
  padding: 0 20px;
  max-width: 1200px;
}

.map-box {
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.map-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-form {
  background: white;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.8),
    inset 0 0 10px rgba(0, 229, 255, 0.8);
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 30px rgb(248, 145, 10), inset 0 0 20px rgb(236, 94, 11);
}

.contact-form h2 {
  color: var(--dark);
  margin-bottom: 40px;
  font-size: 2.2rem;
  text-align: center;
  font-weight: 700;
}

.form-group {
  margin-bottom: 25px;
}

.contact-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--dark);
  font-weight: 600;
  font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
  background: #f8f9fa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: white;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.contact-form button {
  background: var(--gradient);
  color: white;
  padding: 18px 40px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form button:hover {
  transform: translateY(-3px);
  background: red;
}



.alert {
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 5px;
  text-align: center;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  top: 0;
  padding-top: 0;
  margin-top: 0;
  text-align:center;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.required {
  color: red;
}
/* ==================== FOOTER ============== */
.footer {
  background: black;
  color: white;
  padding: 70px 0 0;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-links h3,
.footer-about h3,
.footer-contact h3 {
  margin-bottom: 25px;
  font-size: 1.4rem;
  color: var(--secondary);
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: #00e5ff;
  transform: translateX(5px);
}
.footer-links  ul li a {
  text-decoration: none;
  color: inherit;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #00e5ff;
}

.footer-links ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #00e5ff; 
  transition: width 0.3s ease;
}

.footer-links ul li a:hover::after {
  width: 100%;
}
.footer-about p {
  color: #fff;
  line-height: 1.8;
  font-size: 1rem;
}

.footer-contact p {
  color: #ffffff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: #00e5ff;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.3rem;
}

.social-icons a:hover {
  background: var(--secondary);
  transform: translateY(-5px) scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding: 25px;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }

  .tech-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .slide-feedback-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    margin: 40px 0 30px;
  }

  .vm-container,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .tech-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-content h1 {
    font-size: 2.5rem;
  }

  .home-content p {
    font-size: 1.1rem;
  }

  .slides,
  .feedback-box {
    height: 350px;
  }

  .contact-form {
    padding: 30px 25px;
  }

  .whatsapp-btn,
  .contacts {
    padding: 10px 16px;
    font-size: 20px;
    bottom: 40px;
    right: 15px;
  }

  .contacts {
    bottom: 100px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  .home-content h1 {
    font-size: 2rem;
  }

  .home-content p {
    font-size: 1rem;
  }

  .vm-card,
  .contact-card {
    padding: 30px 20px;
  }

  .tech-cards {
    grid-template-columns: 1fr;
  }

  .slides,
  .feedback-box {
    height: 300px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .contact-form h2 {
    font-size: 1.8rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.loading {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loaded {
  opacity: 1;
}
