:root {
  /* Brand Colors */
  /* Brand Colors - Blue & White Focused */
  /* Brand Colors - Dark Navy & White Focused */
  --color-primary: #003366;
  --color-secondary: #002244;
  --color-accent: #00aaff;
  --color-text: #1a2a3a;
  --color-bg-light: #f4f7f6;
  --color-white: #ffffff;

  /* Spacing */
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;

  /* Typography */
  --font-main: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg-light);
}

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

ul {
  list-style: none;
}

/* Header */
header {
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 90px;
  width: auto;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 700;
  /* Bold */
  font-size: 1.1rem;
  /* Increased size */
  text-transform: uppercase;
  /* All caps */
  color: var(--color-secondary);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--color-accent);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 4, 40, 0.7), rgba(0, 78, 146, 0.6)), url('../assets/images/hero-bg-pro.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  margin-top: 0;
  /* Should be 0 if header overlays, check logic */
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--color-primary);
}

/* Sections General */
section {
  padding: 5rem 2rem;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--color-secondary);
}

/* About */
.about {
  background-color: var(--color-white);
  max-width: 1200px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Projects */
.projects {
  background-color: var(--color-bg-light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

/* Contact */
.contact {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
}

.contact h2 {
  color: var(--color-white);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  /* Reduced gap */
  margin-top: 2rem;
  font-size: 1rem;
  /* Reduced font size to prevent wrapping */
  flex-wrap: nowrap;
  /* Prevent wrapping */
  align-items: flex-start;
}

.contact-info div {
  white-space: nowrap;
  /* Attempt to keep lines together */
}

/* Allow address to wrap if really needed, but try to keep others single line */
.contact-info div:last-child {
  white-space: normal;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Add mobile menu logic later */
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* New Footer Styles */
footer {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  padding: 4rem 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-logo {
  height: 120px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  transition: color 0.3s;
}

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

.footer-contact p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-container {
    text-align: center;
  }
}