.flash-container {
  margin: 1rem auto;
  width: 80%;
  max-width: 600px;
}

.flash-message {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
}

.flash-success {
  background-color: #daf5da; /* light green */
  color: #2b572b;
}

.flash-error {
  background-color: #f9d6d5; /* light red */
  color: #7d1f1c;
}

/* Privacy Policy Container */
.privacy-container {
  max-width: var(--max-width); /* Use the same max-width as the rest of your content */
  margin: 0 auto;              /* Center the container horizontally */
  padding: 2rem;              /* Add padding around the content */
  color: var(--brand-white);
  background: var(--brand-black); /* Consistent background */
}
.privacy-statement{
    animation: fadeInUp 1s ease-out forwards;

}
main{
    font-family: var(--font-body);
font-size: 16px;
line-height: 1.85;
}
.privacy-container p a {
  color: var(--brand-blue); /* Or another color that complements your design */
  text-decoration: none; /* Remove default underline */
}

.privacy-container p a:hover,
.privacy-container p a:focus {
  text-decoration: underline; /* Add underline on hover/focus for clarity */
}


/* ==============================
   ROOT VARIABLES (BRAND COLORS)
============================== */
:root {
  --brand-yellow: #FAC100;
  --brand-black: #000000;
  --brand-white: #ffffff;
  --brand-gray: #A7A8AA;
  --brand-blue: #007BFF;
  --brand-green: #28A745;
  --near-black: #111111;
  --font-heading: "Designer", sans-serif;
  --font-body: "Poppins", sans-serif;
  --transition-speed: 0.4s ease;
  --max-width: 1200px;
  --hero-padding: 8rem;
  --section-padding: 8rem;
}

/* ==============================
   KEYFRAMES ANIMATION
============================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================
   RESET & GLOBAL STYLES
============================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  background: var(--brand-black);
  color: var(--brand-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==============================
   HEADINGS (Designer Font)
============================== */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-heading {
  font-family: var(--font-heading), sans-serif;
  color: var(--brand-yellow);
  letter-spacing: 0.065em;
}

/* ==============================
   LINKS
============================== */
a {
  text-decoration: none;
  color: var(--brand-yellow);
  transition: color var(--transition-speed);
}
a:hover,
a:focus {
  color: rgba(250, 193, 0, 0.8);
  outline: none;
}

/* ==============================
   NAVIGATION LISTS
============================== */
.main-nav ul,
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav li {
  display: inline-block;
  margin-left: 1rem;
}
.mobile-nav li {
  display: block;
  margin-bottom: 1rem;
}

/* ==============================
   BIG NUMERIC WATERMARK
============================== */
.big-number {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-family: var(--font-heading);
  font-size: 12rem;
  color: transparent;
  -webkit-text-stroke: 4px var(--brand-yellow);
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 768px) {
  .big-number {
    font-size: 6rem;
    top: 1rem;
    left: 1rem;
    -webkit-text-stroke: 2px var(--brand-yellow);
  }
}

/* ==============================
   WATERMARK S (Used in Hero Section)
============================== */
.watermark-s {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  opacity: 0.06;
  z-index: 1;
  max-width: 300px;
  pointer-events: none;
}

/* ==============================
   SECTION BACKGROUNDS
============================== */
.lighter-section {
  background: var(--near-black);
}
.white-section {
  background: #f7f7f7;
  color: #000;
}

/* Background Image Container */
.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}
.no-bg-image .section-bg {
  display: none;
}

/* ==============================
   SERVICES SECTION BACKGROUND
============================== */
.services-bg {
  background-image: url("../images/construction-service.jpg");
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

/* ==============================
   OPTIONAL: SECTION WATERMARK
   (Adds a subtle "S" watermark using s.png to any section with class "section-watermark")
============================== */
section.section-watermark {
  position: relative; /* Important so ::after is positioned relative to each section */
  overflow: hidden;   /* If you want to ensure the watermark doesn't expand the container */
}

section.section-watermark::after {
  content: "";
  background-image: url("../images/s.png") no-repeat center;
  opacity: 0.05; /* Subtle branding, adjust as you wish (0.02 -> 0.15, etc.) */
  position: absolute;
  width: 150px;
  height: 150px;
  bottom: 2rem;
  right: 2rem;
  pointer-events: none;
  z-index: 0;
}

/* ==============================
   SKIP-LINK (Accessibility)
============================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand-yellow);
  color: var(--brand-black);
  padding: 8px 16px;
  z-index: 100;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}

/* ==============================
   UTILITY CLASSES (Example)
============================== */
.u-margin-bottom {
  margin-bottom: 1rem;
}

/* ==============================
   REDUCE MOTION PREFERENCE
============================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==============================
   HEADER
============================== */
.site-header {
  width: 100%;
  background: var(--brand-black);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
}
.logo-img {
  max-height: 50px;
}
.main-nav {
  display: none;
}
@media (min-width: 768px) {
  .main-nav {
    display: block;
  }
}
/* Hamburger Button */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--brand-yellow);
  transition: transform 0.3s;
}
.hamburger:focus {
  outline: 2px dashed var(--brand-yellow);
}

/* ==============================
   MOBILE NAVIGATION
============================== */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 200px;
  height: 100vh;
  background: var(--brand-black);
  padding: 2rem;
  transition: right var(--transition-speed);
  z-index: 9999;
}
.mobile-nav.open {
  right: 0;
}
.close-nav {
  background: none;
  border: none;
  color: var(--brand-yellow);
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 1rem;
}
.close-nav:focus {
  outline: 2px dashed var(--brand-yellow);
}

/* ==============================
   HERO SECTION
============================== */
.hero-section {
  position: relative;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url("../images/construction-hero.jpg") center/cover;
  padding: var(--hero-padding) 2rem;
  text-align: center;
  overflow: hidden;
}
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: 0.065em;
}
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.btn-calltoaction {
  background: var(--brand-yellow);
  color: var(--brand-black);
  padding: 1rem 2rem;
  font-weight: 600;
  transition: background-color var(--transition-speed);
  border: none;
  cursor: pointer;
}
.btn-calltoaction:hover,
.btn-calltoaction:focus {
  background-color: rgba(250, 193, 0, 0.8);
  outline: none;
}
.btn-secondary {
  background: transparent;
  color: var(--brand-yellow);
  border: 1px solid var(--brand-yellow);
  padding: 1rem 2rem;
  transition: background-color var(--transition-speed), color var(--transition-speed);
  cursor: pointer;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--brand-yellow);
  color: var(--brand-black);
  outline: none;
}

/* ==============================
   SECTION LAYOUT
============================== */
.about-section,
.services-section,
.why-section,
.trust-section,
.testimonials-section,
.stakeholder-section,
.contact-section {
  position: relative;
  padding: var(--section-padding) 2rem;
  overflow: hidden;
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.section-heading {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}
.testimonial-title-black {
  color: #000; /* overrides the global heading color for 'Ummæli' */
}
.section-paragraph {
  font-size: 1.15rem;
  line-height: 1.9;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
}

/* ==============================
   SERVICES SECTION (Cards, Grid)
============================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.service-card {
  background: rgba(250, 193, 0, 0.05);
  padding: 2rem;
  border-radius: 4px;
  text-align: center;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}
.service-header i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--brand-yellow);
}
.service-header h3 {
  font-size: 1.5rem;
  color: var(--brand-yellow);
}
.service-description {
  margin-bottom: 1rem;
  font-size: 1rem;
}
.service-cta .btn-service {
  display: inline-block;
  background: var(--brand-yellow);
  color: var(--brand-black);
  padding: 0.7rem 1.5rem;
  margin-top: 1rem;
  transition: background-color var(--transition-speed);
  font-weight: 500;
  border-radius: 2px;
}
.service-cta .btn-service:hover,
.service-cta .btn-service:focus {
  background-color: rgba(250, 193, 0, 0.8);
  outline: none;
}

/* ==============================
   WHY SECTION
============================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.why-item {
  text-align: center;
}
.why-item i {
  font-size: 2rem;
  color: var(--brand-yellow);
  margin-bottom: 0.5rem;
}
.why-item h3 {
  font-size: 1.5rem;
  color: var(--brand-yellow);
  margin-bottom: 0.5rem;
}

/* ==============================
   TRUST SECTION
============================== */
.trust-section.trust-overlay {
  position: relative;
  overflow: hidden;
}
.trust-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 123, 255, 0.7);
  z-index: 0;
}
.trust-crown {
  text-align: center;
  margin-bottom: 3rem;
}
.trust-crown img {
  width: 120px;
  margin-bottom: 1rem;
}
.trust-crown h2 {
  font-size: 2rem;
  color: var(--brand-yellow);
  margin-bottom: 0.5rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.trust-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 4px;
  text-align: center;
}
.trust-card i {
  font-size: 2rem;
  color: var(--brand-yellow);
  margin-bottom: 1rem;
}
.trust-card h3 {
  font-size: 1.3rem;
  color: var(--brand-yellow);
  margin-bottom: 0.5rem;
}
.trust-sublist {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.trust-sublist li {
  margin-bottom: 0.5rem;
}

/* ==============================
   TESTIMONIALS SECTION
============================== */
.testimonials-carousel {
  max-width: 800px;
  margin: 2rem auto 0;
}
.testimonial-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}
.testimonial-item p {
  font-style: italic;
  font-size: 1rem;
}
.black-outline {
  -webkit-text-stroke: 4px #000;
  color: transparent;
  opacity: 0.2;
}
.white-box {
  background: #fff;
  color: #000;
  border-radius: 4px;
}

/* ==============================
   STAKEHOLDERS SECTION
============================== */
.stakeholder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto 0;
}
@media (min-width: 768px) {
  .stakeholder-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.stakeholder-card {
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  padding: 2rem;
  border-radius: 4px;
}
.stakeholder-card i {
  font-size: 2rem;
  color: var(--brand-yellow);
  margin-bottom: 1rem;
}
.stakeholder-card h3 {
  font-size: 1.3rem;
  color: var(--brand-yellow);
  margin-bottom: 0.5rem;
}
.stakeholder-card a {
  display: inline-block;
  background: var(--brand-yellow);
  color: var(--brand-black);
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  transition: background-color var(--transition-speed);
  font-weight: 500;
  border-radius: 2px;
}
.stakeholder-card a:hover,
.stakeholder-card a:focus {
  background-color: rgba(250, 193, 0, 0.8);
  outline: none;
}

/* ==============================
   CONTACT SECTION
============================== */
.contact-form-wrap {
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}
.form-group label {
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  padding: 0.75rem;
  background: #333;
  color: var(--brand-white);
  border: 1px solid #555;
  border-radius: 2px;
  transition: border 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--brand-yellow);
}
.invalid-feedback {
  display: none;
  color: #ff6666;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}
.error {
  border-color: #ff6666;
}
.btn-submit {
  background: var(--brand-yellow);
  color: var(--brand-black);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color var(--transition-speed);
}
.btn-submit:hover,
.btn-submit:focus {
  background-color: rgba(250, 193, 0, 0.8);
  outline: none;
}

/* ==============================
   FOOTER SECTION
============================== */
.site-footer {
  background: var(--brand-black);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-info p,
.footer-membership,
.footer-social,
.footer-year {
  margin: 0.5rem 0;
}
.footer-membership {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-membership img {
  height: 40px;
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-icon i {
  font-size: 1.4rem;
  color: var(--brand-yellow);
}
.footer-year {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ==============================
   SCROLL ANIMATION (when elements get "animate" class)
============================== */
.section-inner,
.hero-content {
  opacity: 0; 
  transform: translateY(20px); 
  will-change: opacity, transform; 
  transition: opacity 0.8s ease-out, transform 0.8s ease-out; 
}
.section-inner.animate,
.hero-content.animate {
  animation: fadeInUp 1s ease-out forwards;
}
