:root {
  --primary-color: #2d89ef;
  --primary-hover: #1c6ac9;
  --secondary-color: #f2b400;
  --secondary-hover: #d9a200;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Open Sans', sans-serif;
}


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

body {
  font-family: var(--font-body);
  color: #333;
  background: #fff;
  line-height: 1.6;
}

header {
  background: #f8f8f8;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo + Text */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 48px;        /* adjust as needed */
  margin-right: 0.75rem;
}
.logo span {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: #000;
}

/* Nav & Animated Underline */
nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
nav a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.2s ease;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
nav a:hover {
  color: var(--primary-hover);
  transform: translateY(-2px);
}
nav a:hover::after,
nav a:focus::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
}



.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: 50% 40%;
  z-index: 0;

  filter: brightness(1.20) contrast(1.05) saturate(0.45) hue-rotate(-8deg);
}



.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(70, 160, 255, 0.30);  
  mix-blend-mode: color; 
  z-index: 1;
}
.hero-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(
    ellipse at 50% 45%,
    rgba(255,255,255,0.35) 0%,
    rgba(255,255,255,0.00) 60%
  );
  mix-blend-mode: screen; 
  z-index: 2;
  pointer-events: none;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 90%;
  max-width: 600px;
  padding: 2rem;
  z-index: 2;
  color: #fff;
}

.hero-content { z-index: 3; }
.hero-content h1 {
  margin-bottom: .5rem;
}
.hero-content p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--secondary-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.cta-button:hover {
  background: var(--secondary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
section {
  padding: 4rem 2rem;
  text-align: center;
}


h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}
section img {
  max-width: 300px;
  margin-top: 1rem;
  border-radius: 8px;
}
ul {
  list-style: none;
  margin: 1rem 0;
}

#about,
#services,
#testimonials,
#contact {
  background-color: #e0ffff; 
  padding: 2.5rem 1.5rem;      
  border-radius: 8px;
  margin: 2rem auto;         
  max-width: 1000px;          
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}


.about-img {
  display: block;
  width: 150px;              
  height: 150px;
  object-fit: cover;          
  border-radius: 50%;         
  border: 3px solid var(--primary-color);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  margin: 1rem auto 0;      
}

.service-img,
.services-img {
  display: block;
  width: 80%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  margin: 1rem auto 0;
} 
.twentytwenty-container { max-width:600px; margin:2rem auto; }

.ba-labels {
  max-width: 600px;            
  margin: 0 auto 0.5rem;      
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 2s ease-out, transform 2s ease-out;
}


.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.social .animate-on-scroll {
  transform: none;
  transition: opacity 2.5s ease-out; 
}

.accordion button {
  width:100%; text-align:left; padding:1rem;
  background:var(--primary-color); color:#fff;
  border:none; cursor:pointer; font-size:1rem;
  transition:background 0.3s;
}
.accordion .panel {
  max-height:0; overflow:hidden;
  transition:max-height 0.3s ease-out;
  background:#f9f9f9; padding:0 1rem;
}



/* Testimonials Carousel */
blockquote {
  display: none;
  font-style: italic;
  margin: 1.5rem auto;
  max-width: 600px;
}
blockquote.active {
  display: block;
}

/* Contact Form */
form {
  max-width: 500px;
  margin: 2rem auto 0;
  display: grid;
  gap: 1rem;
  text-align: left;
}
label {
  font-weight: 600;
}
input, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
}

/* Generic Button */
button {
  background: var(--primary-color);
  color: #fff;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* Footer Social Icons */
footer {
  background: #f0f0f0;
  padding: 2rem;
  text-align: center;
}
footer .social {
  margin-bottom: 1rem;
}
footer .social a {
  display: inline-block;
  transition: transform 0.2s ease;
}
footer .social a:hover {
  transform: scale(1.1);
}
footer .social img {
  width: 28px;
  height: 48px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}


html { -webkit-text-size-adjust: 100%; }
h1 { font-size: clamp(1.6rem, 4.5vw + 0.6rem, 3rem); line-height: 1.15; }
h2 { font-size: clamp(1.25rem, 2.5vw + .6rem, 2rem); }
body, p { font-size: clamp(0.95rem, 1.2vw + .6rem, 1.05rem); }

a, button, .cta-button { min-height: 44px; }

/
section { scroll-margin-top: 80px; }


.nav-toggle{
  display:none; background:#fff; border:1px solid #e5e5e5; border-radius:8px;
  width:44px; height:44px; font-size:1.25rem; line-height:1; cursor:pointer;
}
@media (max-width: 850px){
  header{ position: sticky; top:0; z-index:1000; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  nav{ position:absolute; top:100%; left:0; right:0; background:#f8f8f8; border-bottom:1px solid #eee; display:none; }
  header.nav-open nav{ display:block; }
  nav ul{ flex-direction:column; gap:0; padding:0.5rem 1rem; }
  nav a{ display:block; padding:0.75rem 0; }
}


@media (max-width: 850px){
  .hero{ min-height: 75vh; }
  .hero-video{ width:100%; height:100%; min-width:auto; object-position: 50% 38%; }
  .hero-content{ max-width: 90%; padding: 1.25rem; }
}


@media (max-width: 850px){
  section{ padding: 2rem 1rem; }
  #about, #services, #testimonials, #contact{
    margin: 1rem auto; padding: 1.5rem 1rem;
  }
  .about-img{ width:120px; height:120px; }
  .service-img, .services-img{ width:100%; max-width:420px; }
  .ba-labels{ padding: 0 .5rem; }
}


.twentytwenty-container{ width:100%; max-width:600px; margin:1.25rem auto; }
.twentytwenty-container img{ width:100%; height:auto; }


@media (prefers-reduced-motion: reduce){
  .animate-on-scroll{ transition:none; }
  .cta-button, nav a{ transition:none; }
}
