/* Palette */
:root{
  --green-dark:#102C30;
  --blue-deep:#1F4765;
  --blue-light:#A9D6F7;
  --green-light:#D8F2A0;
  --orange:#ED7117;
  --offwhite:#F4F4F4;
  --white:#FFFFFF;
}

*{ box-sizing:border-box }

body{
  margin:0;
  font-family:'Segoe UI',system-ui,-apple-system,Arial,sans-serif;
  background:linear-gradient(180deg, var(--green-dark) 0%, #0e2829 100%);
  color:var(--offwhite);
  text-align:center;
  line-height:1.6;
}

/* Hero */
.hero{
  padding:36px 20px 60px;           /* tighter top spacing */
  max-width:1000px;
  margin:0 auto 60px;
}

.logo{
  width:240px;
  margin-bottom:40px;               /* a bit more space to headline */
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.25));
}

h1{
  font-size:2.7rem;
  line-height:1.15;
  color:var(--green-light);
  margin:0 0 18px;
}

p{
  font-size:1.15rem;
  color:var(--blue-light);
  margin:0 auto 34px;
  max-width:760px;
}

/* Primary CTA */
.cta-button{
  display:inline-block;
  background-color:var(--orange);
  color:var(--white);
  padding:15px 28px;
  text-decoration:none;
  font-weight:700;
  border-radius:10px;
  font-size:1.05rem;
  transition:transform .12s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  box-shadow:0 6px 14px rgba(0,0,0,.28);
  border:2px solid transparent;
}
.cta-button:hover{ transform:translateY(-1px); box-shadow:0 10px 20px rgba(0,0,0,.3); background-color:var(--blue-light); color:var(--green-dark); }
.cta-button:focus-visible{ outline:none; border-color:var(--green-light); }

/* Contact section = full-width blue row */
.contact {
  background-color: var(--blue-deep); /* deep blue background row */
  padding: 60px 20px; /* vertical + horizontal spacing */

  box-shadow: 0 -4px 10px rgba(0,0,0,0.3),   /* subtle shadow above */
              0  4px 10px rgba(0,0,0,0.3);   /* subtle shadow below */ 
}

/* Inner container to constrain width */
.contact-inner {
  max-width: 720px;
  margin: 0 auto; /* center horizontally */
  text-align: center;
}

.contact h2{
  color:var(--green-light);
  margin:0 0 14px;
  font-size:1.8rem;
}

.contact p{
  color:var(--blue-light);
  margin:0 auto 20px;
  max-width:640px;
}

/* Contact buttons */
.contact-buttons{
  display:flex;
  justify-content:center;
  gap:18px;
  margin:18px auto 8px;
  flex-wrap:wrap;
}

.contact-buttons .cta-button{
  flex:none;
  min-width:auto;
  padding:10px 20px;                /* compact buttons */
  font-size:1rem;
  box-shadow:0 4px 10px rgba(0,0,0,.25);
}

.linkedin{ background-color:#0077B5; }
.linkedin:hover{ background-color:var(--blue-light); color:var(--green-dark); }

/* Footer */
footer{
  margin-top:60px;
  padding:16px 30px;
  font-size:.95rem;
  color:var(--blue-light);

  /* Alignment fix: override body center */
  text-align:initial;

  display:flex;
  justify-content:space-between;    /* logos left, text right */
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

.footer-logos{
  display:flex;
  gap:15px;
  align-items:center;
}

.footer-logo{
  height:40px;                      /* control logo size */
  width:auto;
  opacity:0.95;
}

/* Tooltip wrapper */
.logo-tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip-text {
  visibility: hidden;
  width: 260px;
  background-color: var(--blue-light); /* light blue background */
  color: #000000; /* black text */
  font-weight: 600; /* bold text */
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  font-size: 0.8rem;
  position: absolute;
  z-index: 10;
  bottom: 125%; /* position above logo */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
/* Prevent cutoff */
  white-space: normal;
  max-width: 260px;
}

/* Tooltip arrow */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
   border-color: var(--blue-light) transparent transparent transparent;
}

/* Show tooltip on hover */
.logo-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* All tooltips aligned right */
.footer-logos .logo-tooltip .tooltip-text {
  left: 0;
  right: auto;
  transform: translateX(0);
}

.footer-text{
  margin-left:auto;                 /* push to the right edge */
  text-align:right;
}

/* Responsive */
@media (max-width:760px){
  h1{ font-size:2.2rem; }
  p{ font-size:1rem; }
  .logo{ width:165px; }
  .contact-buttons{ flex-direction:column; gap:12px; }
  footer{ justify-content:center; }
  .footer-text{ margin-left:0; text-align:center; }
}
