/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

/* Container for consistent width */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Navbar styles */
.navbar {
  background: #ffffff;
  padding: 15px 0;
  height: 160px; /* tall enough for big logo */
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0; /* remove extra margin */
}

/* Logo container */
.logo {
  display: flex;
  align-items: center;
  max-width: 300px;
}

/* Logo image styles */
.logo img {
  height: 150px;
  width: auto;
  max-height: none;
  display: block;
  transition: height 0.3s ease;
}

/* About page specific styles */
body.about-page .logo img {
  height: 140px;
  /* Removed brightness filter to preserve original logo color */
  /* filter: brightness(0.9); */
}

body.about-page .navbar {
  height: 150px;
  padding: 10px 0;
}

/* Navigation links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #0057a3;
}

/* Hero Section */
.hero {
  background: #0057a3;
  color: white;
  text-align: center;
  padding: 120px 20px 80px;
}

/* Generic sections */
.section {
  background: white;
  padding: 60px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}

.alt-bg {
  background: #e9f0fb;
}

/* Tech grid */
.tech-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.tech-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  flex: 1 1 250px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  text-align: center;
}

.tech-card h4 {
  margin-bottom: 10px;
  color: #0057a3;
}

    /* ===== Footer ===== */
footer {
  background: #0b1f33;
  color: #fff;
  padding: 40px 8% 20px 8%;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffeaa7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00cec9;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  color: #fff;
  font-size: 1.3rem;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #6c5ce7;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  font-size: 0.9rem;
  color: #ccc;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}
