/* Global Styles */
html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Top Header Bar */
.top-header {
  font-size: 0.9rem;
}

.top-header .social-icons a {
  font-size: 1.2rem;
  transition: opacity 0.3s ease;
}

.top-header .social-icons a:hover {
  opacity: 0.7;
}

.top-header .contact-info {
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .top-header .contact-info,
  .top-header .social-icons {
    text-align: center !important;
  }

  .top-header .col-md-6 {
    margin-bottom: 0.5rem;
  }
}

/* Navbar */
.navbar-brand {
  letter-spacing: 1px;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #fff;
}

/* Hero Section */
.hero-section {
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero-section {
    background-attachment: scroll;
    min-height: 300px !important;
  }
}

/* Sections with Background Images */
section[style*="background"] {
  background-attachment: fixed;
}

@media (max-width: 768px) {
  section[style*="background"] {
    background-attachment: scroll;
  }
}

/* Footer */
footer h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

footer p {
  font-size: 0.95rem;
  line-height: 1.6;
}

footer iframe {
  border-radius: 0.375rem;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Shadow utility */
.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Button hover effects */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Focus styles for accessibility */
.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 #258cfb;
}

/* Smooth scroll behavior */
html {
  scroll-padding-top: 80px;
}