/* =========================
   Nova Studios — Version 5 (final polish)
   - Full-width header bar (gradient)
   - Slightly darker overlays (why/pricing)
   - Services paragraphs vertically centered, icons bottom-anchored
   - Why cards: icon + title row, paragraph below
   - About spacing increased
   - Hover lift on Why & Services
   ========================= */

:root{
  --bg-dark:#050a16;
  --bg-mid:#0b132b;
  --panel:#0e1a3a;
  --accent:#00b4d8;
  --accent-dark:#0090ad;
  --muted:#9fb6c6;
  --text:#f2f7fb;
  --card-border:rgba(0,180,216,0.14);
  --container-max:1100px;
}

/* Reset */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial;
  color:var(--text);
  background:linear-gradient(180deg,var(--bg-dark) 0%,var(--bg-mid) 100%);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
.container{max-width:var(--container-max);margin:0 auto;padding:0 20px}

/* Full width header bar (Option A) */
.site-header .header-bar{
  width:100%;
  background: linear-gradient(90deg, rgba(5,10,22,0.95), rgba(11,19,43,0.85));
  border-bottom:2px solid var(--accent);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}
.logo-img{height:88px;padding:6px 10px;border-radius:10px;background:radial-gradient(circle at center,rgba(0,0,0,0.6)30%,transparent 70%);filter:brightness(1.15)contrast(1.1);box-shadow:0 10px 30px rgba(0,180,216,0.12)}
.main-nav{display:flex;gap:18px;align-items:center}
.main-nav a{color:var(--text);text-decoration:none;padding:8px;border-radius:6px;font-weight:600}
.main-nav a:hover,.main-nav a.active{color:var(--accent)}
.cta{background:var(--accent);color:#071225;padding:8px 14px;border-radius:10px;font-weight:700}
.mobile-toggle{display:none}

/* Buttons */
.btn{display:inline-block;padding:12px 18px;border-radius:10px;font-weight:700;text-align:center;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease;border:0}
.btn.primary{background:var(--accent);color:#071225;box-shadow:0 8px 30px rgba(0,180,216,0.12)}
.btn.primary:hover{background:var(--accent-dark);transform:translateY(-2px)}
.btn.ghost{background:transparent;color:var(--text);border:1px solid rgba(255,255,255,0.04)}

/* Hero */
/* HERO SECTION */
/* ================= HERO SECTION (Final Clean Version) ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: linear-gradient(rgba(11,19,43,0.45), rgba(11,19,43,0.55)),
              url("../images/hero.jpg") center/cover no-repeat;
}

.hero-inner {
  width: 100%;
  max-width: var(--container-max);
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 60px 40px;
}

/* Left text block */
.hero-text {
  flex: 1;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: 2rem;
  line-height: 1.35;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.8rem 0;
  letter-spacing: 0.3px;
  text-align: left; /* left on desktop */
  text-wrap: balance;
}

/* Segment text (services) */
.hero-title .segment {
  display: inline-block;
  margin: 0 0.45rem;
  color: var(--accent);
  font-weight: 700;
}

/* Divider bars */
.hero-title .divider {
  display: inline-block;
  margin: 0 0.35rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  transform: translateY(-1px);
  letter-spacing: -1px;
}

/* ---------- Mobile layout ---------- */
@media (max-width: 900px) {
  .hero-title {
    font-size: 1.6rem;   /* slightly smaller */
    line-height: 1.4;
    text-align: center;  /* centered on mobile */
  }

  .hero-title .segment {
    margin: 0 0.3rem;    /* tighter spacing */
  }

  .hero-title .divider {
    margin: 0 0.25rem;   /* tighter divider spacing */
  }
}
}

.hero-title span {
  color: var(--accent); /* same teal for consistency */
  font-weight: 700;
}

/* Subtitle below the tagline */
.hero-sub {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #f2f2f2;
  margin: 0;
  opacity: 0.9;
  letter-spacing: 0.3px;
}



/* Right logo */
.hero-media {
  flex: 0 0 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img.hero-logo {
  max-width: 340px;
  width: 100%;
  height: auto;
  filter: brightness(1.35) drop-shadow(0 20px 60px rgba(0,180,216,0.35));
  border-radius: 10px;
}

/* ================= Mobile layout ================= */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    gap: 20px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.5;
  }

  .hero-sub {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  .hero-media img.hero-logo {
    max-width: 240px;
  }
  
  
}


/* Sections */
.section{min-height:100vh;padding:72px 0;display:flex;align-items:center;justify-content:center}
.section .container{padding:0 20px}
.section-title{font-size:26px;margin-bottom:8px;color:var(--text)}
.section-title.large{font-size:32px;color:var(--accent)}
.lead{color:var(--muted);margin-bottom:20px;font-size:1.05rem}

/* Section background overlays (≈ +5% darker for clarity) */
.why {
  background: linear-gradient(rgba(5,10,22,0.8), rgba(11,19,43,0.95)),
              url("../images/webdesign.jpg") center / cover no-repeat;
}

.pricing {
  background: linear-gradient(rgba(5,10,22,0.8), rgba(11,19,43,0.95)),
              url("../images/webdesign.jpg") center / cover no-repeat;
}

.services {
  background: linear-gradient(rgba(5,10,22,0.72), rgba(11,19,43,0.87)),
              url("../images/branding.jpg") center / cover no-repeat;
}
/* WHY grid: icon + title inline & slightly higher, paragraph below */
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:18px}
.why-grid .card{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  padding:22px;
  min-height:220px;
  background:rgba(10,20,40,0.88);
  border:1px solid var(--card-border);
  border-radius:12px;
  box-shadow:0 8px 30px rgba(2,6,23,0.45);
  transition:transform .22s ease,box-shadow .22s ease;
}
.why-grid .card:hover{transform:translateY(-4px);box-shadow:0 18px 60px rgba(0,180,216,0.14)}
.card-top{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.icon{width:46px;height:46px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.02);border:1px solid rgba(255,255,255,0.04)}
.why-title{font-size:1.06rem;color:var(--accent);margin:0}
.why-desc{text-align:left;color:#fff;margin:0;line-height:1.5;margin-top:8px}

/* SERVICES: equal height; paragraph vertically centered; icon bottom */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:18px}
.services-grid .service{
  display:flex;
  flex-direction:column;
  background:rgba(10,20,40,0.88);
  border:1px solid var(--card-border);
  border-radius:12px;
  padding:26px;
  min-height:320px;
  box-shadow:0 10px 40px rgba(2,6,23,0.45);
  transition:transform .22s ease,box-shadow .22s ease;
}
.services-grid .service:hover{transform:translateY(-4px);box-shadow:0 18px 60px rgba(0,180,216,0.12)}
.service-content{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center} /* vertically center content */
.service-title{text-align:center;color:var(--accent);font-size:1.05rem;margin:0 0 6px}
.service-desc{text-align:left;color:#fff;line-height:1.6;margin-top:6px;font-size:0.99rem}
.icon-bottom{margin-top:18px;display:flex;align-items:center;justify-content:center;padding-top:10px}

/* PRICING: buttons bottom-centered */
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:22px}
.package{display:flex;flex-direction:column;justify-content:space-between;min-height:380px;padding:24px;border-radius:12px;background:rgba(10,20,40,0.9);border:1px solid var(--card-border);box-shadow:0 14px 40px rgba(2,6,23,0.5)}
.package .meta{font-size:13px;color:var(--muted)}
.package .price{font-size:30px;color:var(--accent);font-weight:800;margin-bottom:6px}
.tier{font-size:20px;color:#fff;font-weight:700;margin:0 0 8px}
.tier-sub{font-size:14px;color:rgba(255,255,255,0.85);margin-left:6px}
.package ul{margin:8px 0 12px 18px;color:#fff;flex:1}
.package-cta{text-align:center;margin-top:auto}
.package-cta .btn{min-width:160px}

/* ABOUT + CONTACT background (match site theme) */
.about {
  background: linear-gradient(rgba(5,10,22,0.78), rgba(11,19,43,0.92)),
              url("../images/about-bg.jpg") center / cover no-repeat;
}

.contact {
  background: linear-gradient(rgba(5,10,22,0.82), rgba(11,19,43,0.95)),
              url("../images/contact-bg.jpg") center / cover no-repeat;
}

/* ABOUT: extra spacing between title / paragraph / cards */
.about-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:28px}
.about .card{padding:32px;border-radius:12px;background:rgba(10,20,40,0.9);border:1px solid var(--card-border);box-shadow:0 8px 30px rgba(2,6,23,0.45)}
.about .card h4{color:var(--accent);font-size:22px;margin-bottom:10px}
.about-list{color:#fff;margin-left:18px;line-height:1.8;font-size:1rem}
.about-lead{margin-bottom:26px} /* extra spacing between paragraph and cards */

/* CONTACT: slightly larger get-in-touch heading and spacing */
.contact-wrap{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:18px}
.contact-info{padding:28px;border-radius:12px;background:rgba(10,20,40,0.9);border:1px solid var(--card-border);box-shadow:0 8px 30px rgba(2,6,23,0.45)}
.contact-heading{font-size:22px;margin:0 0 14px;color:#fff}
.contact-item{margin:10px 0;color:#fff}
.contact-form form{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:10px;background:rgba(6,12,24,0.65);border:1px solid rgba(255,255,255,0.03)}
.contact-form label{font-weight:600;color:var(--text);margin-top:8px}
input,select,textarea{padding:10px;border-radius:8px;border:1px solid rgba(255,255,255,0.05);background:rgba(255,255,255,0.02);color:var(--text)}
textarea{min-height:140px}

/* Footer */
.site-footer{background:var(--panel);padding:22px 0;color:var(--muted);border-top:1px solid rgba(255,255,255,0.05)}
.site-footer .container{display:flex;justify-content:space-between;align-items:center;gap:12px}

/* === Pricing buttons bottom alignment fix === */
.package {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.package-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.package ul {
  flex-grow: 1; /* push content above button */
}

.package-cta {
  margin-top: auto;
  text-align: center;
  padding-top: 12px;
}

/* Responsive */

@media(max-width:1100px){
  .why-grid,.services-grid{grid-template-columns:repeat(2,1fr)}
  .pricing-grid{grid-template-columns:repeat(2,1fr)}
  .about-grid{grid-template-columns:1fr}
  .contact-wrap{grid-template-columns:1fr}
  .hero-inner{flex-direction:column;padding:10px}
  .hero-media{order:2}
  .hero-media img.hero-logo{max-width:240px}
  .logo-img{height:72px}
}
@media(max-width:720px){
  .why-grid,.services-grid,.pricing-grid{grid-template-columns:1fr}
  .main-nav{display:none}
  .hero-title{font-size:28px}
}