:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --accent-color: #ffc107;
  --dark-color: #212529;
  --light-color: #f8f9fa;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  padding-top: 4.5rem; /* For fixed navbar */
  color: var(--dark-color);
  line-height: 1.6;
}

/* Buttons and Focus */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0b5ed7;
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.logo-icon {
  font-size: 1.8rem;
  background-color: rgba(255, 255, 255, 0.15);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.navbar-brand:hover .logo-icon {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.25);
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(13, 110, 253, 0.05), rgba(13, 110, 253, 0.1));
  padding: 6rem 0 4rem;
}

/* Cards */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services .card-body {
  padding: 2rem;
}

.services .bi {
  color: var(--primary-color);
}

/* About Section */
.about img {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact .card {
  height: 100%;
}

/* Footer */
footer {
  background-color: var(--dark-color);
}

.social-icons a {
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .hero-section {
    padding: 5rem 0 3rem;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }
}
