/* Custom CSS for SmartFridge Landing Page */
:root {
  --primary-color: #2c5282;
  --secondary-color: #1a365d;
  --accent-color: #3182ce;
  --light-bg: #f7fafc;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #2d3748;
}

/* Navbar */
.navbar {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--secondary-color) !important;
  letter-spacing: 1px;
}

.nav-link {
  color: #4a5568 !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.9) 0%,
    rgba(118, 75, 162, 0.9) 100%
  );
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section.with-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
  background-color: var(--secondary-color);
  color: white;
  padding: 80px 0;
}

.feature-card {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #63b3ed;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-description {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 3rem;
  text-align: center;
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
}

.service-content {
  padding: 2rem;
}

.service-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.service-text {
  color: #4a5568;
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  background-color: white;
  padding: 80px 0;
}

.cta-card {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
  border: 2px solid #e2e8f0;
}

.cta-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.cta-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.cta-text {
  color: #4a5568;
  margin-bottom: 0;
}

.cta-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

/* Footer */
.footer {
  background-color: #1a202c;
  color: white;
  padding: 50px 0 20px;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.footer-link {
  color: #cbd5e0;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-link:hover {
  color: white;
}

.social-icon {
  font-size: 1.5rem;
  color: #cbd5e0;
  margin-right: 1rem;
  transition: color 0.3s;
}

.social-icon:hover {
  color: white;
}

.btn-primary-custom {
  background-color: var(--accent-color);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn-primary-custom:hover {
  background-color: var(--primary-color);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

.hero-title,
.hero-subtitle {
  color: black;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

