/* Modern Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.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;
}

.navbar-logo:hover {
  opacity: 0.9;
}

.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: #333333;
  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: #ff0000;
}

.desktop-nav li a.active {
  color: #ff0000;
}

/* Mobile Top Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 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.08);
  height: 70px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.top-bar-container {
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.mobile-logo {
  display: flex;
  align-items: center;
}

.mobile-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.menu-toggle {
  background: none;
  border: none;
  color: #333333;
  font-size: 26px;
  cursor: pointer;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.menu-toggle:hover {
  color: #ff0000;
  background-color: rgba(255, 0, 0, 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(255, 255, 255, 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.12);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  animation: slideDown 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@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(0, 0, 0, 0.08);
}

.nav-menu li:last-child {
  border-bottom: none;
}

.nav-menu li a {
  display: block;
  color: #333333;
  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) {
  color: #ff0000;
}

.nav-menu li a.active {
  color: #ff0000;
  font-weight: 500;
}

/* Body padding for fixed navbar */
body {
  background-color: #f5f5f5;
  padding-top: 70px;
  color: #333333;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  .navbar {
    display: none;
  }
  
  .top-bar {
    display: flex;
  }
  
  .desktop-nav {
    display: none !important;
  }
  
  body {
    padding-top: 70px;
    background-color: #f5f5f5;
  }
  
  .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;
    background-color: #f5f5f5;
  }
}

/* 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 16px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  padding: 32px 32px;
  margin: 3%;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.container {
  padding: 0 16px;
}

h1 {
  font-family: 'Rubik', sans-serif;
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-top: 0;
  margin-bottom: 24px;
  padding-top: 0;
}

h2 {
  font-family: 'Rubik', sans-serif;
  color: #1a1a1a;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
}

h3 {
  font-family: 'Rubik', sans-serif;
  color: #1a1a1a;
  font-weight: 500;
  margin-top: 28px;
  margin-bottom: 14px;
}

h4 {
  font-family: 'Rubik', sans-serif;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.6;
}

h4 br {
  display: block;
  margin: 8px 0;
  content: "";
}

p {
  font-family: 'Rubik', sans-serif;
  color: #555555;
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 20px;
}

hr {
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 2px;
  margin: 24px 0;
}

.footer {
  font-family: 'Rubik', sans-serif;
  color: #555555;
}
.button {
  background-color: #ffffff;
  font-family: 'Rubik', sans-serif;
  border: 2px solid #ff0000;
  color: #ff0000;
  padding: 14px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  margin: 8px 8px 8px 0;
  cursor: pointer;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

.button:hover {
  background-color: #ff0000;
  color: #ffffff;
}
.fa-linkedin {
  background: #ff0000;
  color: white;
  border-radius: 8px;
}

.fa-linkedin:hover {
  background: #cc0000;
}

.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 8px;
}

::selection {
  background: rgba(255, 0, 0, 0.2);
  color: #1a1a1a;
}

.redlink {
  color: #ff0000;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.redlink:hover {
  color: #cc0000;
  border-bottom-color: #ff0000;
}
.contact {
  text-align: right;
  color: #555555;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: 'Rubik', sans-serif;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

table td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #555555;
}

table td:first-child {
  width: 200px;
  font-weight: 600;
  color: #1a1a1a;
}

table tr:last-child td {
  border-bottom: none;
}

table tr:hover {
  background-color: rgba(255, 0, 0, 0.03);
}

/* Image Styling */


img {
  max-width: 100%;
  height: auto;
}

.footer {
  text-align: center;
  color: #555555;
}

.button-group {
  margin-top: 32px;
  margin-bottom: 0;
}

/* Additional modern touches */
.card img {
  border-radius: 8px;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus,
button:focus {
  outline: none;
}

.navbar-logo:focus,
.desktop-nav a:focus,
.nav-menu a:focus,
.menu-toggle:focus {
  outline: none;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-card {
  background-color: #f9f9f9;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.service-card:hover {
  border-color: rgba(255, 0, 0, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-card h3 {
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.service-card p {
  margin-bottom: 0;
  color: #555555;
  line-height: 1.6;
  font-size: 15px;
}

/* Responsive adjustments for services grid */
@media screen and (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }
  
  .service-card {
    padding: 20px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* BuiltByOtte credit */
.builtbyotte-credit {
  text-align: center;
  color: #555555;
  margin: 0;
  padding: 0;
}

.builtbyotte-credit a {
  color: #228cf4;
  text-decoration: none;
}

.builtbyotte-credit a:hover {
  color: #1a6bc4;
}

/* Profile Image */
.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.profile-name {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 14px;
  color: #888888;
  font-weight: 400;
}

.profile-section {
  margin-top: 40px;
}

.tools-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
}

.tools-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: #555555;
  font-family: 'Rubik', sans-serif;
  line-height: 1.6;
}

.tools-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: #ff0000;
  font-weight: bold;
  font-size: 18px;
}

.cv-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.cv-list li {
  padding: 6px 0;
  color: #555555;
  font-family: 'Rubik', sans-serif;
  line-height: 1.6;
}
