/* Modern Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(26, 26, 26, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}

.desktop-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.desktop-nav li {
  position: relative;
}

.desktop-nav li a {
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 12px 18px;
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 4px;
}

.desktop-nav li a::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 18px;
  right: 18px;
  height: 2px;
  background-color: #ff0000;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.desktop-nav li a:hover::before,
.desktop-nav li a.active::before {
  transform: scaleX(1);
}

.desktop-nav li a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.desktop-nav li a.active {
  color: #ffffff;
  background-color: rgba(255, 0, 0, 0.1);
}

/* Mobile Top Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(10px);
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  height: 70px;
}

.top-bar-container {
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.mobile-logo {
  display: none;
}

.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 26px;
  cursor: pointer;
  padding: 8px 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.menu-toggle:hover {
  color: #ff0000;
  background-color: rgba(255, 255, 255, 0.05);
}

.menu-toggle .fa {
  font-size: 24px;
  padding: 0;
  margin: 0;
  width: auto;
  transition: transform 0.3s ease;
}

.menu-toggle.active .fa {
  transform: rotate(90deg);
}

/* Mobile Navigation Menu */
.nav-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(10px);
  list-style-type: none;
  margin: 0;
  padding: 10px 0;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-menu.mobile-menu-active {
  display: block;
}

.nav-menu li {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-menu li:last-child {
  border-bottom: none;
}

.nav-menu li a {
  display: block;
  color: white;
  text-align: left;
  padding: 16px 25px;
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #ff0000;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
  transform: scaleY(1);
}

.nav-menu li a:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.05);
  padding-left: 30px;
}

.nav-menu li a.active {
  background-color: rgba(255, 0, 0, 0.15);
  color: #ffffff;
  font-weight: 500;
}

/* Body padding for fixed navbar */
body {
  background-color: #e9e9e9;
  padding-top: 70px;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  .navbar {
    display: none;
  }
  
  .top-bar {
    display: flex;
  }
  
  .desktop-nav {
    display: none !important;
  }
  
  body {
    padding-top: 70px;
  }
  
  .navbar-container {
    padding: 0 20px;
  }
}

/* Desktop styles */
@media screen and (min-width: 769px) {
  .top-bar {
    display: none;
  }
  
  .nav-menu {
    display: none !important;
  }
  
  .navbar {
    display: block;
  }
  
  .desktop-nav {
    display: block;
  }
  
  body {
    padding-top: 70px;
  }
}

/* Tablet adjustments */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .desktop-nav li a {
    padding: 12px 14px;
    font-size: 14px;
  }
  
  .navbar-container {
    padding: 0 25px;
  }
}
.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  background-color:#ffffff;
  padding: 16px 20px;
  margin: 3%;
}
.container {
  padding: 0 16px;
}
body {
  background-color: #e9e9e9;
}
h1 {
font-family: Rubik;
}
h2 {
  font-family: Rubik;
  }
  h3 {
    font-family: Rubik;
    }
p {
font-family: Rubik;
}
hr {
  border: 2px solid #ff0000;
  border-radius: 5%;
}
.footer {
  font-family: Rubik;
}
.button{
  background-color: #000000;
  font-family: Rubik;
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius: 50px;
  
}
.button:hover{
  background-color: #ff0000;
  font-family: Rubik;
}
.fa-linkedin {
  background: #1079aa;
  color: white;
}
.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}
::selection {
  background: #ff0000c7;
}
.redlink {
  color:#ff0000;
  text-decoration: none;
}
.redlink:hover {
  color:#ff0000;
  text-decoration: underline;
}
.contact {
  text-align: right;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: Rubik;
}
table td {
  padding: 12px;
  vertical-align: top;
  border-bottom: 1px solid #e0e0e0;
}
table td:first-child {
  width: 200px;
  font-weight: bold;
  color: #333;
}
table tr:last-child td {
  border-bottom: none;
}
h4 {
  font-family: Rubik;
  margin-top: 30px;
  margin-bottom: 15px;
}

