/* LMD Telecom Custom Styles */

/* ===== CSS Variables ===== */
:root {
  --lmd-primary: #1a3a5c;
  --lmd-primary-dark: #0f2840;
  --lmd-primary-light: #2a5a8c;
  --lmd-accent: #4a90c2;
  --lmd-accent-light: #6ab0e2;
  --lmd-white: #ffffff;
  --lmd-light: #f8f9fa;
  --lmd-gray: #6c757d;
  --lmd-dark: #212529;
}

/* ===== Global Styles ===== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--lmd-dark);
}

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

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ===== Navbar ===== */
.navbar-lmd {
  background-color: var(--lmd-primary);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

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

.navbar-lmd .navbar-brand span {
  color: var(--lmd-accent-light);
}

.navbar-lmd .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.navbar-lmd .nav-link:hover,
.navbar-lmd .nav-link.active {
  color: var(--lmd-white);
  background-color: rgba(255, 255, 255, 0.1);
}

.navbar-lmd .btn-contact {
  background-color: var(--lmd-accent);
  color: var(--lmd-white);
  border: none;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
}

.navbar-lmd .btn-contact:hover {
  background-color: var(--lmd-accent-light);
  color: var(--lmd-white);
}

/* ===== Hero Section ===== */
.hero-section {
  background: linear-gradient(135deg, var(--lmd-primary) 0%, var(--lmd-primary-dark) 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--lmd-white);
  line-height: 1.2;
}

.hero-section .lead {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

.hero-section .highlight {
  color: var(--lmd-accent-light);
}

.btn-hero-primary {
  background-color: var(--lmd-accent);
  color: var(--lmd-white);
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  background-color: var(--lmd-accent-light);
  color: var(--lmd-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(74, 144, 194, 0.3);
}

.btn-hero-secondary {
  background-color: transparent;
  color: var(--lmd-white);
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--lmd-white);
  border-color: var(--lmd-white);
}

/* ===== Services Section ===== */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  color: var(--lmd-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--lmd-gray);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.service-card {
  background: var(--lmd-white);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  height: 100%;
  border: 1px solid rgba(26, 58, 92, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--lmd-primary), var(--lmd-accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(26, 58, 92, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--lmd-primary) 0%, var(--lmd-primary-light) 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--lmd-white);
  font-size: 2rem;
}

.service-card h4 {
  color: var(--lmd-primary);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--lmd-gray);
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--lmd-accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link:hover {
  color: var(--lmd-primary);
  gap: 0.75rem;
}

/* ===== Why Choose Us Section ===== */
.why-choose-section {
  background-color: var(--lmd-light);
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background-color: var(--lmd-primary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lmd-white);
  font-size: 1.5rem;
}

.feature-content h5 {
  color: var(--lmd-primary);
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--lmd-gray);
  margin-bottom: 0;
}

/* ===== Stats Section ===== */
.stats-section {
  background: linear-gradient(135deg, var(--lmd-primary) 0%, var(--lmd-primary-dark) 100%);
  padding: 4rem 0;
}

.stat-item {
  text-align: center;
  color: var(--lmd-white);
  padding: 1.5rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--lmd-accent-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===== Testimonials Section ===== */
.testimonial-card {
  background: var(--lmd-white);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--lmd-accent);
  opacity: 0.2;
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--lmd-gray);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--lmd-primary), var(--lmd-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lmd-white);
  font-weight: 600;
  font-size: 1.25rem;
}

.author-info h6 {
  margin-bottom: 0;
  color: var(--lmd-primary);
}

.author-info span {
  font-size: 0.9rem;
  color: var(--lmd-gray);
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--lmd-primary-light) 0%, var(--lmd-primary) 100%);
  padding: 5rem 0;
}

.cta-section h2 {
  color: var(--lmd-white);
  font-size: 2.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

.btn-cta {
  background-color: var(--lmd-white);
  color: var(--lmd-primary);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background-color: var(--lmd-accent-light);
  color: var(--lmd-white);
  transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
  background-color: var(--lmd-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

.footer h5 {
  color: var(--lmd-white);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-brand {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--lmd-white);
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--lmd-accent-light);
}

.footer p {
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--lmd-accent-light);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact i {
  color: var(--lmd-accent-light);
  margin-top: 0.25rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.75rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: auto;
    padding: 5rem 0;
  }
  
  .hero-section h1 {
    font-size: 2.25rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
  
  .section-padding {
    padding: 3.5rem 0;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .cta-section h2 {
    font-size: 1.75rem;
  }
}
