* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

:root {
  --primary-color: #007bff;
  --secondary-color: #00bfff;
  --dark-color: #1a1a1a;
  --light-color: #f7f7f7;
  --text-color: #333;
  --text-light: #666;
  --white: #fff;
  --black: #000;
  --transition: all 0.3s ease;
}

body {
  background-color: var(--white);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Navigation */
.nav_bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  /* line-height: 50px; */
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.nav_bar.scrolled {
  /* line-height: 70px; */
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.logo {
  font-size: 1.8em;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: underline;
  letter-spacing: 1px;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.menu_bar ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.menu_bar ul li {
  position: relative;
}

.menu_bar ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: var(--transition);
  padding: 5px 10px;
  border-radius: 4px;
}

.menu_bar ul li a:hover {
  color: var(--primary-color);
}

.menu_bar ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.menu_bar ul li a:hover::after {
  width: 100%;
}

.cta-button {
  background-color: var(--primary-color);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  margin-left: 15px;
}

.cta-button:hover {
  background-color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 25px;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  transition: var(--transition);
}

/* Hero Section */
#Hero_Section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: 100px; */
}

#Hero_Section .main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  background: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")
    no-repeat center center/cover;
  width: 90vw;
  height: 90vh;
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: 80px;
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

.heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
}

.para {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  color: white;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--text-color);
  transform: translateY(-3px);
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.carousel-control {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-control:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-carousel {
    height: 90vh;
    margin-top: 70px;
  }
  
  .carousel-controls {
    bottom: 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}

.overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

.heading {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.5s;
}

.para {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 40px;
  max-width: 700px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--text-color);
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.scroll-indicator span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--white);
  opacity: 0.6;
  animation: bounce 1.5s infinite ease-in-out;
}

.scroll-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */

.about {
  display: flex;
  width: 90vw;
  min-height: auto; /* Changed from 80vh to auto to remove extra space */
  margin: 80px auto; /* Reduced margin to remove extra space */
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  padding: 40px 0;
}

.text-section {
  flex: 1;
  max-width: 500px;
  padding: 20px;
}

.text-section h1 {
  margin-bottom: 25px;
  font-size: 2.5em;
  color: var(--text-color);
  position: relative;
  text-align: center; /* Center the heading */
}

.text-section h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%; /* Center the underline */
  transform: translateX(-50%); /* Center the underline */
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.text-section p {
  font-size: 1.1em;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.8;
}

.stats {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-text {
  font-size: 1rem;
  color: var(--text-light);
}

.contact-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 1em;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.contact-btn:hover {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* Box-Based Image Section */
.image-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}

.main-box {
  position: relative;
  width: 350px;
  height: 500px;
  background: url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")
    no-repeat center center/cover;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.top-right,
.bottom-left {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background-color: var(--white);
  transition: var(--transition);
  padding: 20px;
  z-index: 2;
}

.top-right {
  width: 150px;
  top: 10%;
  right: -15%;
  transform: rotate(3deg);
}

.bottom-left {
  width: 200px;
  bottom: 10%;
  left: -20%;
  transform: rotate(-3deg);
}

.top-right i,
.bottom-left i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.top-right h3,
.bottom-left h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-color);
}

.top-right p,
.bottom-left p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.main-box:hover .top-right {
  transform: rotate(5deg) translateY(-10px);
}

.main-box:hover .bottom-left {
  transform: rotate(-5deg) translateY(-10px);
}

/* Services Section */
.services {
  width: 90vw;
  max-width: 1200px;
  margin: 100px auto;
  padding: 40px 20px;
  text-align: center;
}

.section-header {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
  position: relative;
  display: inline-block;
}

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

.section-subheader {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 123, 255, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary-color);
  color: var(--white);
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.service-card:hover .service-icon i {
  color: var(--white);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.service-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--dark-color);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* Projects Section */
.projects {
  width: 90vw;
  max-width: 1200px;
  margin: 100px auto;
  padding: 40px 20px;
  text-align: center;
}

.project-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 25px;
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  color: var(--text-light);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

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

.project-item {
  position: relative;
  height: 300px;
  transition: var(--transition);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  padding: 20px;
  text-align: center;
  color: var(--white);
}

.project-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: var(--transition);
}

.project-overlay p {
  margin-bottom: 20px;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.1s;
  opacity: 0.8;
}

.project-link {
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.2s;
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-item:hover .project-overlay h3,
.project-item:hover .project-overlay p,
.project-item:hover .project-link {
  transform: translateY(0);
}

.project-item:hover img {
  transform: scale(1.1);
}

.center-btn {
  margin-top: 40px;
}

.load-more {
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 1em;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.load-more:hover {
  background: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* Testimonials Section */
.testimonials {
  width: 90vw;
  max-width: 1200px;
  margin: 100px auto;
  padding: 40px 20px;
  text-align: center;
  background: var(--light-color);
  border-radius: 20px;
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
  min-width: 350px;
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  scroll-snap-align: start;
  text-align: left;
}

.testimonial-content {
  margin-bottom: 20px;
}

.rating {
  color: #ffd700;
  margin-bottom: 15px;
}

.rating i {
  margin-right: 3px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.8;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.client-info h4 {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 5px;
}

.client-info span {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Contact Section */
.form_section {
  width: 100%;
  padding: 100px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: center;
}

.contact-info {
  padding: 40px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-color);
  position: relative;
}

.contact-info h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.info-item i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-top: 5px;
}

.info-item h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-color);
}

.info-item p {
  margin: 0;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--light-color);
  border-radius: 50%;
  color: var(--text-color);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 40px;
  border-radius: 20px;
  background-color: var(--dark-color);
  color: var(--white);
  border: 1px solid #333;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1px;
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 30px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.title::before,
.title::after {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  border-radius: 50%;
  left: 0px;
  background-color: var(--primary-color);
}

.title::after {
  width: 18px;
  height: 18px;
  animation: pulse 1s linear infinite;
}

.message,
.signin {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
}

.signin {
  text-align: center;
}

.signin a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.signin a:hover {
  text-decoration: underline;
}

.flex {
  display: flex;
  width: 100%;
  gap: 15px;
}

.form label {
  position: relative;
  width: 100%;
}

.form label .input {
  background-color: #333;
  color: var(--white);
  width: 100%;
  padding: 20px 10px 10px 10px;
  outline: 0;
  border: 1px solid rgba(105, 105, 105, 0.397);
  border-radius: 10px;
  font-size: 16px;
  transition: var(--transition);
}

.form label select.input {
  appearance: none;
  padding: 20px 10px 10px 10px;
}

.form label .input:focus {
  border-color: var(--secondary-color);
}

.form label .input + span {
  color: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 10px;
  top: 0px;
  font-size: 0.9em;
  cursor: text;
  transition: var(--transition);
}

.form label .input:placeholder-shown + span {
  top: 15px;
  font-size: 0.9em;
}

.form label .input:focus + span,
.form label .input:valid + span {
  color: var(--secondary-color);
  top: 0px;
  font-size: 0.7em;
  font-weight: 600;
}

.input {
  font-size: medium;
}

.submit {
  border: none;
  outline: none;
  padding: 15px;
  border-radius: 10px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  background-color: var(--secondary-color);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.submit:hover {
  background-color: #0099cc;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
}

@keyframes pulse {
  from {
    transform: scale(0.9);
    opacity: 1;
  }
  to {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Newsletter Section */
.newsletter {
  width: 100%;
  padding: 80px 20px;
  background: var(--dark-color);
  color: var(--white);
  text-align: center;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.newsletter p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 50px 0 0 50px;
  font-size: 1rem;
  outline: none;
}

.newsletter-form button {
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 0 50px 50px 0;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--secondary-color);
}

/* Footer */
.footer {
  width: 100%;
  background: var(--dark-color);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-col {
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 0.95rem;
}

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

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.contact-info i {
  color: var(--primary-color);
  margin-top: 3px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
}

/* ---------------------------------------------Responsive Design ----------------------------------*/
@media (max-width: 1200px) {
  .heading {
    font-size: 3rem;
  }

  .about {
    flex-direction: column;
    text-align: center;
  }

  .text-section {
    max-width: 100%;
    margin-bottom: 50px;
  }

  .stats {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .heading {
    font-size: 2.5rem;
  }

  .para {
    font-size: 1.2rem;
  }

  .menu_bar ul {
    position: fixed;
    top: 100px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 100px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: var(--transition);
    z-index: 999;
  }

  .menu_bar ul.active {
    left: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .cta-button {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .nav_bar {
    line-height: 80px;
  }

  .nav_bar.scrolled {
    line-height: 60px;
  }

  .heading {
    font-size: 2rem;
  }

  .para {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }

  .top-right,
  .bottom-left {
    display: none;
  }

  .main-box {
    width: 100%;
    max-width: 400px;
  }

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

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

  .para {
    font-size: 1rem;
  }

  .section-header {
    font-size: 2rem;
  }

  .flex {
    flex-direction: column;
    gap: 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: 50px;
    margin-bottom: 10px;
  }

  .newsletter-form button {
    border-radius: 50px;
  }

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

  .footer-col {
    text-align: center;
  }

  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}
/* Responsive Adjustments */
@media (max-width: 992px) {
  .about {
    flex-direction: column;
    text-align: center;
    margin: 60px auto; /* Further reduced margin for tablets */
  }

  .text-section {
    max-width: 100%;
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .image-section {
    width: 100%;
    padding: 0 20px;
  }

  .main-box {
    width: 100%;
    max-width: 400px;
    height: 500px;
  }
}

@media (max-width: 768px) {
  .about {
    margin: 50px auto; /* Reduced margin for mobile */
    padding: 30px 0;
  }

  .text-section h1 {
    font-size: 2rem;
  }

  .text-section p {
    font-size: 1rem;
  }

  .stats {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .about {
    margin: 40px auto; /* Smallest margin for small devices */
  }

  .text-section h1 {
    font-size: 1.8rem;
  }

  .contact-btn {
    padding: 12px 30px;
    font-size: 0.9em;
  }
}
/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366; /* WhatsApp green */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #128c7e; /* Darker WhatsApp green */
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  animation: none;
}

/* Adjust back-to-top position if both exist */
.back-to-top {
  right: 100px;
  bottom: 30px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

:root {
    --primary-color: #0072ed;
    --secondary-color: #ff4d4d;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #7f8c8d;
    --bg-color: #f9f9f9;
    --nav-text: #000000;
    --nav-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Navigation */
.nav_bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 5%;
    background-color: var(--nav-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav_bar.scrolled {
    padding: 15px 5%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 50px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.menu_bar ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.menu_bar ul li {
    transition: all 0.35s;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    color: var(--nav-text);
    cursor: pointer;
}

.menu_bar ul li a {
    text-decoration: none;
    color: inherit;
}

.menu_bar ul li:hover {
    color: var(--primary-color);
}

.menu_bar ul li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.menu_bar ul li:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--nav-text);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 80px;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.carousel-control {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.main {
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
    position: relative;
    z-index: 2;
}

.heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
}

.para {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    background: #0062cc;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-btn i {
    margin-left: 10px;
    transition: transform 0.3s;
}

.hero-btn:hover i {
    transform: translateX(5px);
}

/* About Section */
.about {
    display: flex;
    width: 90%;
    max-width: 1200px;
    min-height: 80vh;
    align-items: center;
    justify-content: space-between;
    margin: 100px auto;
    padding: 40px 0;
    gap: 50px;
}

.text-section {
    flex: 1;
    max-width: 600px;
}

.text-section h1 {
    margin-bottom: 25px;
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
}

.text-section h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.text-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.contact-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 114, 237, 0.3);
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: white;
    transition: width 0.3s;
    z-index: -1;
    border-radius: 40px;
}

.contact-btn:hover {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 114, 237, 0.4);
}

.contact-btn:hover::before {
    width: 100%;
}

/* Image Section */
.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 500px;
}

.main-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 500px;
    background: url("https://images.unsplash.com/photo-1583847268964-b28dc8f51f92?ixlib=rb-1.2.1&auto=format&fit=crop&w=634&q=80") no-repeat center center/cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.main-box:hover {
    transform: scale(1.02);
}

.top-right {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border-radius: 10px;
    padding: 20px;
    position: absolute;
    width: 180px;
    top: 10%;
    right: -15%;
    transition: all 0.3s ease;
    font-size: 15px;
    color: var(--dark-color);
    line-height: 1.4;
    z-index: 2;
}

.bottom-left {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border-radius: 10px;
    padding: 20px;
    position: absolute;
    width: 160px;
    bottom: 10%;
    left: -15%;
    transition: all 0.3s ease;
    font-size: 15px;
    color: var(--dark-color);
    line-height: 1.4;
    z-index: 2;
}

.main-box:hover .top-right {
    transform: rotate(5deg) scale(1.05);
    right: -12%;
}

.main-box:hover .bottom-left {
    transform: rotate(-5deg) scale(1.05);
    left: -12%;
}

/* Projects Section */
.projects {
    width: 90%;
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px 0;
    text-align: center;
}

.project_header {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
}

.project_subheader {
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.project_header::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.project-item {
    height: 300px;
    transition: all 0.35s;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
    transition: opacity 0.3s;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.project-category {
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform 0.3s 0.1s;
}

.project-item:hover .project-title,
.project-item:hover .project-category {
    transform: translateY(0);
}

/* Services Section */
.services {
    width: 90%;
    max-width: 1200px;
    margin: 100px auto;
    padding: 50px 0;
    text-align: center;
}

.services-header {
    margin-bottom: 50px;
}

.services-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
}

.services-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.services-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 114, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 30px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.service-link:hover {
    color: #0062cc;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Contact Section */
.contact-section {
    width: 100%;
    padding: 80px 0 0;
    background: var(--light-color);
}

.contact-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.contact-info {
    padding: 30px;
}

.contact-info h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 15px;
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 114, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.info-content p {
    font-size: 0.9rem;
    margin: 5px 0;
    color: var(--text-light);
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-media a {
    width: 40px;
    height: 40px;
    background: rgba(0, 114, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s;
}

.social-media a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Updated Contact Form */
.contact-form-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    margin-top: -80px;
}

.contact_heading {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-color);
    font-size: 2rem;
    position: relative;
}

.contact_heading::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

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

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-light);
    transition: all 0.3s;
    pointer-events: none;
    background: white;
    padding: 0 5px;
}

.input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: white;
}

.input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.input:focus + label,
.input:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.4s;
}

.input:focus ~ .focus-border {
    width: 100%;
    left: 0;
}

textarea.input {
    min-height: 120px;
    resize: vertical;
}

select.input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 1em;
}

.submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    overflow: hidden;
    position: relative;
}

.submit span {
    position: relative;
    z-index: 1;
}

.submit i {
    position: relative;
    z-index: 1;
}

.submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    transition: all 0.4s;
}

.submit:hover::before {
    left: 0;
}

.submit:hover {
    box-shadow: 0 10px 20px rgba(0, 114, 237, 0.3);
}

/* Map Container */
.map-container {
    width: 100%;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(90%);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 0;
    width: 100%;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col {
    padding: 0 15px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

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

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-15px);}
    60% {transform: translateY(-7px);}
}

/* Responsive Design */
@media (max-width: 992px) {
    .about {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .text-section {
        max-width: 100%;
    }
    
    .text-section h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        margin-top: 0;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .top-right, .bottom-left {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav_bar {
        padding: 15px 5%;
    }
    
    .menu_bar ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: all 0.5s ease;
    }
    
    .menu_bar ul.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-carousel {
        height: 80vh;
    }
    
    .carousel-controls {
        bottom: 20px;
    }
    
    .project-row {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .contact-info {
        padding: 20px 0;
    }
}

@media (max-width: 576px) {
    .menu_bar ul {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero-carousel {
        height: 70vh;
    }
    
    .heading {
        font-size: 2rem;
    }
    
    .para {
        font-size: 1rem;
    }
    
    .contact_heading {
        font-size: 1.8rem;
    }
    
    .contact-form-container {
        padding: 25px;
    }
}