/* =====================================================================================================================
                                                    General Styles
===================================================================================================================== */
* {
  border: 0px;
  margin: 0px;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  color: #111;
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* =====================================================================================================================
                                                    Navbar Styles
===================================================================================================================== */
.topbar {
  background: #2c2c2c;
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 13px;
}

.navbar {
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative; /* Add this */
  z-index: 1000; /* Add this to ensure it stays above other content */
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

.logo-img {
  width: 120px;
  height: 80px;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #2196f3;
}

/* Mobile menu toggle - hidden by default */
.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Regular navigation - always visible on medium/large screens */
@media (min-width: 768px) {
  .nav-links {
    display: flex !important; /* Force show on larger screens */
  }
}

/* Mobile styles - only for small screens */
@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: block;
  }

  /* Add this to prevent content shift */
  body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    flex-direction: column;
    gap: 15px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .topbar {
    font-size: 11px;
    padding: 6px;
  }

  .navbar {
    position: relative; /* Ensures mobile menu stays inside navbar */
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; /* Positions it right below the navbar */
    left: 0;
    right: 0;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    gap: 12px;
  }

  .mobile-menu-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .navbar {
    padding: 10px 0;
  }

  .nav-links {
    display: none; /* Consider a hamburger menu for mobile */
  }

  .nav-links a {
    padding: 10px 0;
    display: block;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .nav-container {
    padding: 15px;
  }

  .nav-links {
    gap: 20px;
  }
}

/* =====================================================================================================================
                                                    Footer Styles
===================================================================================================================== */

.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 40px 0 20px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-divider {
    height: 1px;
    background-color: #333333;
    margin: 30px 0 20px;
}

.footer-bottom {
    text-align: center;
    color: #888888;
    font-size: 12px;
}

.footer-bottom p {
    margin-bottom: 5px;
}

.section-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 16px;
}

.social-icon {
    display: inline-block;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}





.client-section {
    border-left: 3px solid #666666;
    padding-left: 15px;
}

.tutor-section {
    border-left: 3px solid #666666;
    padding-left: 15px;
}

.shared-section {
    border-left: 3px solid #666666;
    padding-left: 15px;
}

.contacts-section {
    border-left: 3px solid #666666;
    padding-left: 15px;
}

.socials-section {
    border-left: 3px solid #666666;
    padding-left: 15px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section h3 {
        font-size: 14px;
    }
}