/* Global Styles */
:root {
  --nav-text: white;
  --nav-bg: transparent;
}

* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding-top: 60px;
  background: white;
  color: #1a1a1a;
  line-height: 1.7;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  margin-top: 0;
}

p { margin: 0 0 1rem; }

/* Navbar */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

nav {
  background: var(--nav-bg);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
  --nav-text: #1a1a1a;
  --nav-bg: white;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  position: relative;
}

nav ul li a {
  display: block;
  padding: 18px 22px;
  color: var(--nav-text);
  font-weight: 600;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

nav.scrolled ul li a {
  text-shadow: none;
}

nav ul li:hover > a {
  color: #239af4;
}

/* Dropdown */
nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 240px;
  padding: 12px 0;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.05);
}

nav ul li:hover ul {
  display: block;
}

nav ul li ul li a {
  padding: 12px 20px;
  font-weight: 500;
  color: #1a1a1a;
}

nav ul li ul li a:hover {
  background: #f4f4f4;
  color: #239af4;
}

.logo img {
  height: 120px;
  width: auto;
}

/* Hamburger menu */
.hamburger {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
  color: white;
  transition: color 0.3s ease;
}

nav.scrolled .hamburger {
  color: black;
}

/* Mobile Nav */
@media(max-width:768px){
  .nav-container {
    position: relative;
  }
  
  nav ul.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 100;
  }
  
  nav ul.nav-links li {
    width: 100%;
  }
  
  nav ul.nav-links li a {
    padding: 15px 20px;
    color: black !important;
    text-shadow: none !important;
  }
  
  nav ul.nav-links li ul {
    position: static;
    box-shadow: none;
  }
  
  .hamburger {
    display: block;
  }
  
  nav ul.nav-links.show {
    display: flex;
  }
}

/* Solutions Navigation Tabs */
.solutions-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.solutions-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.solutions-nav ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #f5f5f5;
  color: #1a1a1a;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.solutions-nav ul li a:hover,
.solutions-nav ul li a.active {
  background: linear-gradient(135deg, #239af4, #1a7bc4);
  color: white;
  border-color: #239af4;
}

.carousel-dots {
  display: none;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  color: #ccc;
  padding: 70px 20px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
}

.footer-column {
  flex: 1 1 220px;
}

.footer-column h3 {
  color: #239af4;
  margin-bottom: 25px;
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-column p {
  line-height: 1.9;
  color: #aaa;
}

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

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #aaa;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-column ul li a:hover {
  color: #239af4;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 50px;
  padding-top: 25px;
  font-size: 0.9em;
  color: #888;
}

@media(max-width:768px){
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #239af4 0%, #1a7bc4 100%);
  color: white;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(35,154,244,0.25);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(35,154,244,0.35);
}

.btn-secondary {
  background: white;
  color: #239af4;
  border: 2px solid #239af4;
  box-shadow: none;
}

.btn-secondary:hover {
  background: #239af4;
  color: white;
  box-shadow: 0 4px 12px rgba(35,154,244,0.25);
}
