/* Global Variables */
:root {
  --primary-color: #2c74d6;
  --secondary-color: #4a4a4a;
  --accent-color: #5c37f1;
  --light-bg: #f8f9fa;
  --dark-bg: #212529;
  --box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  --hover-shadow: 0 10px 25px rgba(0,0,0,0.1);
  --border-radius: 10px;
  --transition: all 0.3s ease;
}

/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 76px;
  color: var(--secondary-color);
  background-color: #f8f9fa;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

/* Navbar Styling */
.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  background-color: white !important;
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.nav-link {
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* Hero Section with Carousel */
#home {
  position: relative;
  margin-bottom: 60px;
}

.carousel-item img {
  max-height: 80vh;
  object-fit: cover;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
}

/* Section Titles */
.section-title {
  position: relative;
  margin-bottom: 50px;
  text-align: center;
  font-weight: 700;
  color: var(--dark-bg);
}

.section-title:after {
  content: '';
  position: absolute;
  width: 70px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

/* Feature Cards */
.feature-card {
  margin-bottom: 30px;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background-color: white;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 20px;
  background-color: var(--light-bg);
  color: var(--primary-color);
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark-bg);
}

/* Specifications Section */
.specs-section {
  padding: 60px 0;
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
}

.spec-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.spec-icon {
  flex: 0 0 50px;
  font-size: 1.5rem;
  color: var(--primary-color);
  text-align: center;
}

.spec-text {
  flex: 1;
  padding-left: 15px;
}

.spec-text h4 {
  font-size: 1.1rem;
  margin-bottom: 2px;
  font-weight: 600;
}

.spec-text p {
  margin-bottom: 0;
  color: #6c757d;
  font-size: 0.95rem;
}

/* Usage Scenarios Section */
.usage-section {
  padding: 60px 0;
}

.usage-card {
  text-align: center;
  padding: 25px 15px;
  border-radius: var(--border-radius);
  background-color: white;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

.usage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.usage-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.usage-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Testimonials Section */
.testimonial-item {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  height: 100%;
}

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

/* Contact Section */
#contact {
  padding: 60px 0;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-info {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  flex: 0 0 40px;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.contact-text {
  flex: 1;
}

.contact-form .form-control {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Buy button styling */
.buy-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  background-color: var(--primary-color);
  border: none;
  box-shadow: 0 4px 12px rgba(44, 116, 214, 0.4);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.buy-btn:hover {
  background-color: #1c5bb4;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(44, 116, 214, 0.5);
}

.buy-btn i {
  margin-right: 8px;
}

/* Footer styling */
footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 40px 0 20px;
  margin-top: 80px;
}

.footer-links h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

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

.footer-links ul li a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: white;
}

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

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

.copyright {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: #6c757d;
  font-size: 0.9rem;
}

/* Animations */
.hover-zoom {
  transition: transform 0.3s ease;
}

.hover-zoom:hover {
  transform: scale(1.05);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(44, 116, 214, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(44, 116, 214, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(44, 116, 214, 0);
  }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .carousel-item img {
    max-height: 70vh;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 767.98px) {
  .carousel-item img {
    max-height: 60vh;
  }
  
  #product, #contact, .specs-section {
    padding: 40px 0;
  }
  
  .section-title {
    margin-bottom: 30px;
  }
  
  .buy-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
  
  .feature-icon, .spec-icon {
    font-size: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .carousel-item img {
    max-height: 50vh;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .feature-card, .testimonial-item {
    padding: 20px 15px;
  }
}