:root{
  --primary: #0b5ed7;
  --bg-dark: #0b1220;
  --bg-soft: #f5f7fb;
  --text-muted: #6c757d;
  --radius: 16px;
  --navbar-height: 72px;
}

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #0f172a;
}

/* Premium Navbar - Transparent on hero, solid on scroll */
.navbar-premium{
  transition: background-color .3s ease, box-shadow .3s ease;
  background: rgba(11, 18, 32, 0.15);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-premium.is-solid{
  background: rgba(11, 18, 32, 0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,.15);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-premium .nav-link{ 
  color: rgba(255,255,255,.85); 
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.navbar-premium .nav-link:hover,
.navbar-premium .nav-link.active{ 
  color: #fff; 
  background: rgba(255,255,255,.1);
  border-radius: 6px;
}

.navbar-premium .navbar-brand{
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.navbar-premium .site-title {
  font-weight: 500;
}

/* Logo scaling - desktop only */
@media (min-width: 992px) {
  .logo-desktop {
    height: 32px !important;
  }
}

@media (max-width: 991.98px) {
  .logo-desktop {
    height: 28px !important;
  }
}

.brand-dot{
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:999px;
  background: var(--primary);
  margin-right:10px;
  box-shadow: 0 0 0 6px rgba(11,94,215,.25);
}

.btn-primary{
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover{
  background: #0a4fc2;
  border-color: #0a4fc2;
}

/* Hero Section - Full viewport with navbar overlay */



.hero-premium{
  position: relative;
  background-image: var(--hero-bg, url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=60'));
  background-size: cover;
  background-position: center top;
  margin-top: calc(-1 * var(--navbar-height));
  padding-top: var(--navbar-height);
}

.hero-fullscreen{
  min-height: 85vh;
}

.hero-content{
  min-height: calc(85vh - var(--navbar-height));
  padding-top: 3rem;
  padding-bottom: 4rem;
}

/* Strong dark gradient overlay for contrast */
.hero-overlay{
  position:absolute;
  inset:0;
  background: 
    linear-gradient(180deg, rgba(11,18,32,.7) 0%, rgba(11,18,32,.4) 30%, rgba(11,18,32,.6) 70%, rgba(11,18,32,.9) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(11,94,215,.25), transparent 50%);
  z-index: 1;
}

.hero-premium .container{
  position: relative;
  z-index: 2;
}

/* Page header for non-hero pages */
.page-header-section{
  padding-top: calc(var(--navbar-height) + 2rem);
  padding-bottom: 2rem;
  background: var(--bg-dark);
  color: #fff;
}

.min-vh-75{ min-height: 75vh; }
.min-vh-60{ min-height: 60vh; }
.pt-6{ padding-top: 5rem; }

.section-pad{ padding: 4.5rem 0; }
.bg-soft{ background: var(--bg-soft); }

.premium-badge{
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.18);
}

.feature-card{
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.06);
}

.icon-pill{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(11,94,215,.10);
  color: var(--primary);
  font-size: 1.3rem;
}

.portfolio-card{  
 font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  display:block;
  text-decoration:none;
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 16px 40px rgba(2,6,23,0.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.portfolio-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(2,6,23,0.12);
}

.portfolio-thumb{
  height: 210px;
  background-size: cover;
  background-position: center;
}

.portfolio-meta{ padding: 14px 16px; }

.map-placeholder{
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(11,94,215,.10), rgba(15,23,42,.06));
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 16px 40px rgba(2,6,23,0.06);
  overflow:hidden;
}

.map-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Google Maps Container */
.map-container{
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(2,6,23,0.08);
  border: 1px solid rgba(15,23,42,0.08);
}

.map-container iframe{
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.map-address{
  padding: 1rem;
  background: var(--bg-soft);
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-premium{
  background: var(--bg-dark);
  color: rgba(255,255,255,.85);
}

.footer-link{
  color: rgba(255,255,255,.70);
  text-decoration: none;
}

.footer-link:hover{ color: #fff; }

.social{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  text-decoration:none;
}

.social:hover{
  background: rgba(255,255,255,.16);
  color:#fff;
}

/* Frontend page section titles only (do not affect hero/admin/text blocks) */
.page-section-title{
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  
  
  font-weight: 400;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* Hero main title only */
.hero-title{
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

/* Text Content from WYSIWYG */
.text-content h1, .text-content h2, .text-content h3, .text-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.text-content h1:first-child, .text-content h2:first-child, 
.text-content h3:first-child, .text-content h4:first-child {
  margin-top: 0;
}
.text-content p { margin-bottom: 1rem; line-height: 1.7; }
.text-content ul, .text-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.text-content li { margin-bottom: 0.5rem; }
.text-content a { color: var(--primary); }
.text-content a:hover { text-decoration: underline; }

/* Quill alignment classes */
.text-content .ql-align-center { text-align: center; }
.text-content .ql-align-right { text-align: right; }
.text-content .ql-align-justify { text-align: justify; }

/* Image Block */
.image-block figure { margin: 0; }
.image-block img { max-width: 100%; height: auto; }
.image-block figcaption { font-style: italic; }

/* Contact Section Media */
.contact-media-image { border-radius: var(--radius); overflow: hidden; }
.contact-media-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  border-radius: var(--radius);
}
@media (max-width: 991.98px) {
  .contact-media-image img { min-height: 300px; }
}

/* ===== HERO TITLE – FINAL LOCKED ===== */
.hero-title{
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1.3;
}


/* tablet */
@media (max-width: 992px){
  .hero-title{
    font-size: 2.1rem;
  }
}

/* mobile */
@media (max-width: 576px){
  .hero-title{
    font-size: 1.9rem;
  }
}


/* SECTION TITLE – Selected Work */
#portfolio h2{
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  font-weight: 500;        /* fw-bold ko neutralize */
  font-size: 1.6rem;       /* hero se clearly chhota */
  line-height: 1.3;
  letter-spacing: -0.005em;
}

/* subtitle under Selected Work */
#portfolio .text-secondary{
  font-size: 0.95rem;
  opacity: 0.85;
}


