/* ─── Root & Globals ─────────────────────────────── */
:root{
  --primary: rgba(0,166,166,.95);
  --accent : #ffffff;
  --text   : #222;
  --muted  : #888;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:'Montserrat','Roboto',sans-serif;
  background:#f9f9f9;
  color:var(--text);
  scroll-behavior:smooth;
}
img{max-width:100%;height:auto}

.btn{
  display:inline-block;
  padding:12px 30px;
  background:var(--primary);
  color:#fff;
  border-radius:30px;
  font-weight:600;
  transition:background .3s;
  text-decoration:none;
}
.btn:hover{background:#007c7a}

/* ─── HERO ───────────────────────────────────────── */
.hero{
  position:relative;
  min-height:100vh;
  background:#eaf4f1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:60px 20px;
}
.background-logo{
  position:absolute;inset:0;
  background:url('../images/logo-background.webp') no-repeat center;
  background-size:220px;
  opacity:.03;
  pointer-events:none;
}
.hero-flex{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:40px;align-items:center;justify-content:center;max-width:1200px;width:100%}
.hero-text{flex:1 1 480px;text-align:center}
.hero-logo{width:220px;margin:0 auto 20px}
.tagline{font-size:1rem;color:#3b615f;margin-bottom:16px;font-weight:500}
.hero h1{font-size:2.4rem;line-height:1.35;margin:0 0 10px;font-weight:700}
.highlight{color:#007c7a}
.description{font-size:1.1rem;color:#333;margin-top:15px}
.hero-image{flex:1 1 400px;text-align:center}

/* ─── FEATURES ───────────────────────────────────── */
.features{background:#fff;padding:80px 20px}
.features-container{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;gap:30px;justify-content:center}
.feature-box{background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.05);padding:40px 30px;text-align:center;flex:1 1 280px;max-width:320px;transition:transform .3s}
.feature-box:hover{transform:translateY(-8px)}
.feature-icon{font-size:2.5rem;color:#00a6a6;margin-bottom:18px}
.feature-title{font-size:1.3rem;font-weight:700;margin-bottom:10px}
.feature-desc{font-size:1rem;color:var(--muted)}

/* ─── ABOUT ─────────────────────────────────────── */
.about{background:#fefefe;padding:100px 20px}
.about-container{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;gap:50px;align-items:center;justify-content:center}
.about-img{flex:1 1 350px;max-width:400px;border-radius:16px;overflow:hidden;box-shadow:0 4px 12px rgba(0,0,0,.06)}
.about-img img{width:100%;height:400px;object-fit:cover;border-radius:16px}
.about-content{flex:2 1 400px}
.about-content h2{font-size:2.2rem;color:#00a6a6;margin-bottom:20px}
.about-content p{font-size:1.1rem;line-height:1.6;color:#444;margin-bottom:16px}

/* ─── SERVICES ───────────────────────────────────── */
.services{background:#f8f9fa;padding:100px 20px}
.services-container{max-width:1200px;margin:0 auto;display:grid;gap:30px;grid-template-columns:repeat(4,1fr)}
@media(max-width:992px){.services-container{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.services-container{grid-template-columns:1fr}}

/* ─── CONTACT ───────────────────────────────────── */
.contact{background:#fff;padding:100px 20px}
.contact-container{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;gap:60px;align-items:flex-start;justify-content:center}
.contact-info{flex:1 1 320px}
.contact-info h2{font-size:2rem;color:#00a6a6;margin-bottom:20px}
.contact-info p{font-size:1.1rem;margin-bottom:10px;color:#444}
.contact-form{flex:1 1 340px;background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.06);padding:30px 24px}
.contact-form h3{margin-bottom:18px;color:#00a6a6}
.form-group{margin-bottom:18px}
.form-group label{display:block;margin-bottom:6px;font-weight:500}
.form-group input,.form-group textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:6px;font-family:inherit}
.form-group textarea{resize:vertical;min-height:100px}
.contact-form button{width:100%}

/* ─── FOOTER ─────────────────────────────────────── */
footer{text-align:center;padding:30px 0;background:#00a6a6;color:#fff}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media(max-width:768px){
  .hero-flex{flex-direction:column}
  .hero-logo{width:180px}
  .hero h1{font-size:1.8rem}
  .description{font-size:1rem}
  .about-container,.contact-container{flex-direction:column;align-items:center}
}
/* ─── Custom About Photo Fix ─── */
.about-img {
  position: relative;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.portrait-bg {
  position: relative;
  background: #006d6d;
  border-radius: 0 0 999px 999px;
  padding: 40px 20px 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  min-height: 460px;
}

.portrait-bg img {
  height: 100%;
  object-fit: contain;
}
