/* ===== FONT IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tourney:ital,wdth,wght@0,75..125,100..900;1,75..125,100..900&display=swap');

/* ===== RESET AND BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Space Grotesk', sans-serif;
}

/* Newsletter Variables */
:root {
  --card-bg: #e4e4e7;
  --text-main: #333333;
  --text-muted: #666666;
  --input-bg: #f8f9fa;
  --primary: #0099ff;
  --primary-hover: #007bff;
}

body {
  min-height: 100vh;
  transition: all 0.3s ease-in-out;
}

/* ===== NAVIGATION ===== */
nav {
  margin: 20px;
}

.navbar-container {
  display: flex;
  align-items: center;
  background-color: rgba(211, 216, 222, 0.3);
  backdrop-filter: blur(20px);
  padding: 15px 30px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  padding-top: 24px;
}

.navbar-logo {
  height: 40px;
  width: auto;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #666;
  font-size: 12px;
  min-width: 40px;
  /* Ensure square placeholder */
}

.navbar-logo img:hover {
  scale: 1.05;
  transition: all 0.3s ease-in-out;
  filter: drop-shadow(0px 0px 6px #fff);
}

/* Desktop Menu */
.navbar {
  display: flex;
  list-style: none;
  margin-left: auto;
}

.navbar li {
  position: relative;
  margin: 0 3px;
}

.navbar a {
  display: block;
  color: #333;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-family: 'rubik';
  background-color: rgba(255, 255, 255, 0.8);
  transition: background 0.3s, color 0.3s;
  font-weight: bold;
  text-align: center;
}

.navbar a:hover {
  background-color: rgba(255, 255, 255, 1);
  color: #2c3e50;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.95);
  min-width: 130px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  list-style: none;
  padding: 5px 0;
}

.dropdown li {
  margin: 0;
}

.dropdown a {
  padding: 8px 8px;
  font-size: 14px;
  color: #333;
  background-color: transparent;
  border-radius: 0;
  text-align: left;
}

.dropdown a:hover {
  background-color: rgba(173, 184, 203, 0.38);
  color: #2c3e50;
  border-radius: 50px;
}

li:hover>.dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-footer {

  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 15px 15px 0px 0px;
  padding: 40px 20px 20px;
  color: #333;
  font-family: Arial, sans-serif;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 45px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #2c3e50;
  font-weight: bold;
}

.footer-logo {
  font-size: 22px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  font-family: 'rubik', Arial, Helvetica, sans-serif;
  margin-bottom: 16px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(240, 240, 240, 0.8);
  border-radius: 50%;
  text-decoration: none;
  color: #333;
  font-size: 25px;
  transition: all 0.25s ease;
}

.social-icons a:hover {
  background: #b9b9b9;

}

.footer-section ul li a {
  text-decoration: none;
  color: #444;
  font-size: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  font-family: inherit;
  transition: color 0.2s ease;
}

/* Animated underline */
.footer-section ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0099ff;
  /* Accent color matching your hover style */
  border-radius: 2px;
  transition: width 0.3s ease;
}

.footer-section ul li a:hover {
  color: #0099ff;
}

.footer-section ul li a:hover::after {
  width: 100%;
}

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

.footer-section ul li {
  margin-bottom: 10px;
  font-family: 'rubik', Arial, Helvetica, sans-serif;
}

.footer-section ul li a {
  text-decoration: none;
  color: #444;
  font-size: 15px;
  transition: color 0.2s;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: #0099ff;
}

address {
  font-style: normal;
  line-height: 2;
  font-size: 15px;
  color: #444;
  position: relative;
  font-family: 'rubik', Arial, Helvetica, sans-serif;
  top: 0px;
}

address a {
  color: #2c3e50;
  text-decoration: none;
  font-family: 'rubik', Arial, Helvetica, sans-serif;
}

address a:hover {
  text-decoration: underline;
}

/* Bottom Bar */
.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #666;
}

.footer-legal a {
  color: #555;
  text-decoration: none;
  margin: 0 6px;
}

.footer-legal a:hover {
  color: #2c3e50;
  text-decoration: underline;
}



html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 16px 0;
  line-height: 1.3;
}

p {
  margin: 0 0 16px 0;
}

a {
  text-decoration: none !important;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

img {
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(90deg, #0099ff, #1fa6d6);
  color: white;
  box-shadow: 0 4px 12px rgba(31, 166, 214, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(31, 166, 214, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(39, 60, 90, 0.15);
  color: #2c3e50;
}

.btn-outline:hover {
  background: rgba(39, 211, 221, 0.1);
  border-color: rgba(39, 211, 221, 0.3);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-32 {
  margin-bottom: 32px;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #1fa6d6;
  color: white;
  padding: 8px;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}



/* Form Elements */
input,
textarea,
select {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #0099ff;
  box-shadow: 0 0 0 1px rgba(39, 211, 221, 0.2);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* ===== VIEWPORT EDGE FADE (5%) (Bottom Only) ===== */
body::after {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5vh;
  z-index: 9999;
  pointer-events: none;
  transition: opacity 0.3s ease;
  background: linear-gradient(to top, #ffffff, rgba(255, 255, 255, 0));
}

body.dark-mode::after {
  background: linear-gradient(to top, #18181b, rgba(24, 24, 27, 0));
}

/* ===== SCROLL REVEAL UTILITIES ===== */
.reveal {
  opacity: 0;
  transition: all 0.41s cubic-bezier(0.5, 0, 0, 1);
  will-change: transform, opacity;
}

.reveal-up {
  transform: translateY(30px);
}

.reveal-down {
  transform: translateY(-30px);
}

.reveal-scale {
  transform: scale(0.95);
}

.reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}