:root {
  --navy-blue: #002147;
  --swiss-red: #D52B1E;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --slate-gray: #333333;
  --light-gray: #e9ecef;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--slate-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3 {
  color: var(--navy-blue);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 80px 0;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--navy-blue);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
  border: 2px solid var(--navy-blue);
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: transparent;
  color: var(--navy-blue);
}

.btn-accent {
  background-color: var(--swiss-red);
  border-color: var(--swiss-red);
}

.btn-accent:hover {
  background-color: transparent;
  color: var(--swiss-red);
}

/* Header & Nav */
header {
  height: 80px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-blue);
}

.logo span {
  color: var(--swiss-red);
}

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

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

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #555;
}

/* About Section */
.about {
  background-color: var(--white);
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.about p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Portfolio Section */
.portfolio {
  background-color: var(--off-white);
}

.portfolio h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-top: 4px solid var(--navy-blue);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card a {
  display: block;
  margin-bottom: 1rem;
  color: var(--swiss-red);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Competencies Section */
.competencies {
  background-color: var(--white);
}

.competencies h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.competencies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.comp-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: 4px;
}

.comp-item i {
  color: var(--swiss-red);
  font-size: 1.5rem;
}

/* Footer */
footer {
  background-color: var(--navy-blue);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 40px;
}

.footer-brand h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-contact h4, .footer-links h4 {
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  color: var(--light-gray);
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--light-gray);
}

.footer-links a:hover {
  color: var(--swiss-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--light-gray);
}

/* Responsive */
@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .competencies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .portfolio-grid, .competencies-grid, .footer-content {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
