/* NAVBAR */
.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #000;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: #000;
}

.navbar-nav .nav-link.active {
    color: #000;
    font-weight: 500;
}

/* Desktop Navbar Icons */
.nav-icon-link {
    color: #212529;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-icon-link:hover {
    color: #000;
    background-color: #f8f9fa;
}

/* Search Bar in Navbar */
.search-wrapper {
    position: relative;
    width: 250px;
}

.search-input {
    padding-left: 35px;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
    width: 280px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

/* Mobile Menu Icons */
.mobile-menu-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #212529;
    font-size: 14px;
    gap: 5px;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    position: relative;
}

.mobile-menu-icon:hover {
    background-color: #f8f9fa;
    color: #000;
}

.mobile-menu-icon i {
    font-size: 28px;
}

.mobile-menu-icon span:not(.cart-badge) {
    font-size: 13px;
    font-weight: 500;
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Contact Us */
body {
  background-color: #edeceb;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

/*HERO SECTION*/
.contact-hero {
  background: linear-gradient(135deg, #f7f6f4 0%, #edeceb 100%);
  padding: 80px 0 60px;
  position: relative;
}

.vertical-line-top {
  width: 3px;
  height: 60px;
  background-color: #cfcac4;
  margin: 0 auto 30px;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

/*TEAM SECTION*/
.team-section {
  background-color: #faf9f7;
  min-height: 70vh;
}

.team-card {
  perspective: 1000px;
  height: 480px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.team-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-front {
  background: white;
}

.card-back {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Front Card Styles */
.image-wrapper {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.developer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .developer-img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .image-overlay {
  opacity: 1;
}

.card-content {
  padding: 25px;
  text-align: center;
}

.developer-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.developer-role {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
  font-weight: 500;
}

.contact-info {
  margin-top: 15px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #555;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.email-link:hover {
  background-color: #f8f9fa;
  border-color: #222;
  color: #222;
  transform: translateY(-2px);
}

.email-link i {
  font-size: 1.1rem;
}

/* Back Card Styles */
.back-content {
  text-align: center;
  padding: 40px;
}

.back-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.back-content h4 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.back-content p {
  font-size: 1rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: white;
  color: #2c3e50;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background-color: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/*CONTACT INFO SECTION*/
.contact-info-section {
  background-color: #f7f6f4;
}

.contact-info-section h2 {
  font-size: 2.2rem;
  font-weight: bold;
  color: #222;
}
