:root {
  --yellow: #FFB61E;
  --navy: #192F45;
  --text: #192F45;
  --offwhite: #fdfdfd;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Archivo', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background-color: white;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 100;
  border-bottom: 1px solid #eee;
}

.logo {
  font-family: 'Archivo Black', sans-serif;
  color: var(--navy);
  font-size: 1.6em;
  text-decoration: none;
  cursor: pointer;
}

.logo:hover {
  opacity: 0.8;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--navy);
  font-size: 1.1em; /* Increased */
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* Section base */
section {
  min-height: calc(100vh - 70px);
  padding: 60px 10% 80px; /* Reduced top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

section > * {
  max-width: 900px;
  width: 100%;
}

.section-inner {
  max-width: 900px;
  width: 100%;
  text-align: left;
}

/* Home Section */
.home {
  background: var(--yellow) url("data:image/svg+xml,%3Csvg width='14' height='14' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23192F45' fill-opacity='0.07'/%3E%3C/svg%3E");
  background-size: 30px 30px;
  animation: patternMove 40s linear infinite;
  height: 100vh;
  text-align: center;
  justify-content: center;
  padding-top: 100px;
}

.home h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 5.8em;
  color: var(--navy);
}

.home .subtitle {
  margin-top: 10px;
  font-size: 1.2em;
  letter-spacing: 0.5px;
}

.home .tagline {
  margin: 150px 0 40px;
  font-size: 1.3em;
  color: var(--navy);
}

.cta-button {
  background: white;
  color: var(--navy);
  padding: 18px 36px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1em;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  background: var(--navy);
  color: white;
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,.3);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width .4s, height .4s;
}

.cta-button:active::after {
  width: 300px; height: 300px;
}

/* Titles – TIGHTER SPACING */
h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.8em;
  color: var(--navy);
  margin: 0 0 20px 0; /* Reduced top margin */
}

/* Who we are */
#who {
  text-align: left;
  line-height: 1.6;
}

#who p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

#who em {
  font-style: italic;
  font-weight: 500;
}

#who h3 {
  font-size: 1.3em;
  margin-top: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 25px;
}

.team-member {
  background: #f5f5f5;
  border-radius: 12px;
  text-align: center;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.team-member img {
  width: 100%;
  border-radius: 10px;
}

.team-member .name {
  font-weight: 600;
  margin-top: 12px;
  font-size: 1.05em;
}

.team-member .role {
  font-size: 0.95em;
  color: #666;
}

/* What we do */
.content-section.dark {
  background: var(--navy);
  color: white;
}

.content-section.dark h2 {
  color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 35px;
  width: 100%;
}

.service {
  background: #0f1f2e;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #334455;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 210px;
  aspect-ratio: 1/1;
  transition: transform .3s ease, box-shadow .3s ease;
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.service-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 15px;
  color: var(--yellow);
  overflow: hidden;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  display: block;
}

.service h3 {
  font-family: 'Archivo Black', sans-serif;
  margin-bottom: 12px;
  font-size: 1.35em;
  color: white;
}

.service p {
  font-size: 1em;
  line-height: 1.5;
  flex-grow: 1;
}

/* Why choose us */
.yellow-section {
  background: var(--yellow) url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23192F45' fill-opacity='0.06'/%3E%3C/svg%3E");
  background-size: 30px 30px;
  animation: patternMove 40s linear infinite;
  color: var(--navy);
  padding: 60px 10%; /* Reduced top padding */
}

.yellow-section h2 {
  color: var(--navy);
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.choose-box {
  background: var(--offwhite); /* Soft off-white */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  text-align: left;
  font-size: 1.05em;
  line-height: 1.5;
  transition: transform .3s ease, box-shadow .3s ease;
}

.choose-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.choose-box strong {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
}

/* Contact */
.contact-section {
  background: #111;
  color: white;
  padding: 80px 10%;
  text-align: center;
  min-height: auto;
  font-size: 1.1rem;
}

.contact-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 30px;
  max-width: 900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.contact-top .left {
  flex: 1;
  min-width: 260px;
  text-align: left;
}

.contact-top .right {
  flex: 1;
  min-width: 260px;
  text-align: right;
}

.contact-top p,
.contact-top a {
  font-size: 1.2rem;
}

.contact-top a {
  color: var(--yellow);
  text-decoration: none;
}

.contact-top a:hover {
  text-decoration: underline;
}

hr {
  border: 0;
  border-top: 1px solid #333;
  margin: 30px auto;
  width: 100%;
  max-width: 900px;
}

.footer {
  font-size: 0.9em;
  color: #aaa;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service {
    aspect-ratio: auto;
    min-height: auto;
  }

  .home h1 {
    font-size: 3.3em;
  }

  h2 {
    font-size: 1.6em;
  }

  section > *, .section-inner {
    max-width: 95%;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    padding: 15px 20px;
  }

  nav a {
    margin: 8px;
    display: inline-block;
  }

  .contact-top {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .contact-top .left,
  .contact-top .right {
    text-align: center;
  }
}

/* Pattern animation */
@keyframes patternMove {
  0%   { background-position: 0 0; }
  100% { background-position: 30px 30px; }
}