:root {
  --color-bg: #ffffff;
  --color-text: #212529;
  --color-primary: #0d6efd;
  --color-secondary-bg: #f8f9fa;
  --color-header-bg: #0d6efd;
  --color-header-text: #ffffff;
  --color-footer-bg: #212529;
  --color-footer-text: #ffffff;
  --btn-bg: #e9e9e9;
  --btn-text: #212529;
  --btn-hover-bg: #e2e6ea;
}

body.dark-mode {
  --color-bg: #121212;
  --color-text: #e0e0e0;
  --color-primary: #66aaff;
  --color-secondary-bg: #1e1e1e;
  --color-header-bg: #1a1a1a;
  --color-header-text: #e0e0e0;
  --color-footer-bg: #1a1a1a;
  --color-footer-text: #cfcfcf;
  --btn-bg: #2a2a2a;
  --btn-text: #e0e0e0;
  --btn-hover-bg: #444444;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  transition: background-color 0.4s ease, color 0.4s ease;
}

a {
    text-decoration: none;
}

.hero-section {
  background: url("./assets/img3.jpeg") center/cover no-repeat;
  position: relative;
  color: var(--color-header-text);
  background-color: var(--color-header-bg) !important;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

section.bg-light {
  background-color: var(--color-secondary-bg) !important;
}

section.bg-primary {
  background-color: var(--color-header-bg) !important;
  color: var(--color-header-text) !important;
}

footer.bg-dark {
  background-color: var(--color-footer-bg) !important;
  color: var(--color-footer-text) !important;
}

footer {
  font-size: 0.9rem;
}

a.text-white {
  color: var(--color-header-text) !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
  opacity: 0;
}

.animate-zoom-in {
  animation: zoomIn 0.8s ease-out forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.3s;
}
.delay-2 {
  animation-delay: 0.6s;
}
.delay-3 {
  animation-delay: 0.9s;
}
.delay-4 {
  animation-delay: 1.2s;
}

.card-title {
  font-weight: 600;
  color: var(--color-primary);
}

.card-img-top {
  object-fit: cover;
  height: 200px;
}

section#about p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.navbar-logo {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-nav {
  align-items: center;
}

#absolute_div {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#theme-toggle-btn,
#language-toggle-btn {
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.collapse {
  justify-content: flex-end;
}
.navbar-collapse {
  flex-grow: 0;
}

section img.service-img {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
}

.full-height {
    height: inherit;
}

@media (max-width: 576px) {
  .hero-section .btn {
    padding: 8px 15px;
    font-size: 1rem;
  }
}
@media (max-width: 375px) {
  .navbar-brand span {
    display: none;
  }
}
