:root {
      --primary: #76aa3b;
      --primary-dark: #245816;
      --primary-light: #a8d46f;
      --primary-soft: #edf7e7;
      --ink: #182313;
      --muted: #687366;
      --cream: #fbfaf5;
      --white: #ffffff;
      --border: rgba(36, 88, 22, 0.13);
      --shadow: 0 24px 70px rgba(35, 67, 23, 0.12);
      --dark: #101c0d;
    }

    * { scroll-behavior: smooth; }

    body {
      margin: 0;
      font-family: "Roboto", sans-serif;
      color: var(--ink);
      background: var(--cream);
      overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, h6, .navbar-brand, .nav-link, .btn {
      font-family: "Montserrat", sans-serif;
    }

    p { color: var(--muted); line-height: 1.75; }
    a { text-decoration: none; }

    .section-padding { padding: 90px 0; }

    .section-kicker {
      color: var(--primary-dark);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 1.8px;
      text-transform: uppercase;
      margin-bottom: 12px;
    }

    .section-title {
      font-size: clamp(29px, 3.2vw, 46px);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -1px;
      margin-bottom: 14px;
    }

    .section-text {
      max-width: 720px;
      margin: 0 auto 44px;
      font-size: 16px;
    }

    .navbar {
      padding: 15px 0;
      background: rgba(251, 250, 245, 0.86);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
    }

    .navbar-brand img { height: 44px; width: auto; object-fit: contain; }

    .nav-link {
      color: var(--ink);
      font-size: 14px;
      font-weight: 700;
      margin: 0 7px;
      position: relative;
    }

    .nav-link::after {
      content: "";
      position: absolute;
      left: 10px;
      right: 10px;
      bottom: 2px;
      height: 2px;
      background: var(--primary);
      transform: scaleX(0);
      transition: 0.28s ease;
      transform-origin: left;
    }

    .nav-link:hover { color: var(--primary-dark); }
    .nav-link:hover::after { transform: scaleX(1); }

    .btn-leaf,
    .btn-outline-leaf {
      border-radius: 999px;
      padding: 12px 23px;
      font-size: 14px;
      font-weight: 800;
      transition: 0.28s ease;
    }

    .btn-leaf {
      color: #fff;
      border: none;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      box-shadow: 0 16px 34px rgba(80, 134, 42, 0.25);
    }

    .btn-leaf:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 42px rgba(80, 134, 42, 0.35); }

    .btn-outline-leaf {
      color: var(--primary-dark);
      border: 1px solid rgba(36, 88, 22, 0.22);
      background: rgba(255,255,255,0.82);
    }

    .btn-outline-leaf:hover { color: var(--primary-dark); background: var(--primary-soft); border-color: var(--primary); }

    .hero {
      min-height: 100vh;
      padding-top: 82px;
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 11% 20%, rgba(118, 170, 59, 0.20), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(168, 212, 111, 0.28), transparent 32%),
        linear-gradient(135deg, #fffdf6 0%, #eef8e8 52%, #fbfaf5 100%);
    }

    .hero::before {
      content: "";
      position: absolute;
      width: 680px;
      height: 680px;
      right: -190px;
      top: 70px;
      border-radius: 52% 48% 58% 42%;
      background:
        linear-gradient(90deg, rgba(251,250,245,0.85) 0%, rgba(251,250,245,0.28) 34%, rgba(251,250,245,0) 65%),
        url('https://images.unsplash.com/photo-1497250681960-ef046c08a56e?auto=format&fit=crop&w=1100&q=80') center/cover;
      opacity: 0.92;
      filter: saturate(0.96) contrast(1.03);
      box-shadow: inset 0 0 120px rgba(251,250,245,0.65), 0 30px 120px rgba(36,88,22,0.14);
      animation: organicFloat 8s ease-in-out infinite;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(251,250,245,0.98) 0%, rgba(251,250,245,0.86) 43%, rgba(251,250,245,0.22) 72%, rgba(251,250,245,0.06) 100%),
        radial-gradient(circle at 82% 57%, rgba(36,88,22,0.14), transparent 28%);
      pointer-events: none;
    }

    @keyframes organicFloat {
      0%, 100% { transform: translateY(0) rotate(0deg); border-radius: 52% 48% 58% 42%; }
      50% { transform: translateY(-16px) rotate(1.5deg); border-radius: 46% 54% 43% 57%; }
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      min-height: calc(100vh - 82px);
      display: flex;
      align-items: center;
      padding: 80px 0 110px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 10px 15px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.68);
      color: var(--primary-dark);
      border-radius: 999px;
      font-size: 13px;
      font-weight: 800;
      box-shadow: 0 12px 28px rgba(47,100,28,0.08);
      margin-bottom: 20px;
    }

    .hero h1 {
      max-width: 720px;
      font-size: 44px;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: 0px;
      margin-bottom: 22px;
    }

    .hero h1 span { color: var(--primary-dark); }
    .hero p { max-width: 610px; font-size: 18px; margin-bottom: 30px; }

    .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

    .hero-proof {
      margin-top: 34px;
      display: grid;
      grid-template-columns: repeat(3, minmax(120px, 1fr));
      max-width: 620px;
      gap: 14px;
    }

    .proof-card {
      background: rgba(255,255,255,0.76);
      border: 1px solid var(--border);
      border-radius: 22px;
      padding: 18px;
      box-shadow: 0 18px 42px rgba(35,67,23,0.08);
    }

    .proof-card i { color: var(--primary-dark); font-size: 24px; }
    .proof-card h6 { margin: 10px 0 4px; font-weight: 800; font-size: 15px; }
    .proof-card small { color: var(--muted); }

    .service-strip {
      margin-top: -62px;
      position: relative;
      z-index: 4;
    }

    .service-strip-card {
      background: rgba(255,255,255,0.92);
      border: 1px solid var(--border);
      border-radius: 30px;
      box-shadow: var(--shadow);
      padding: 16px;
    }

    .service-pill {
      height: 100%;
      border-radius: 22px;
      padding: 20px;
      display: flex;
      align-items: flex-start;
      gap: 13px;
      background: linear-gradient(145deg, #ffffff, #f5faef);
      border: 1px solid rgba(36,88,22,0.09);
      transition: 0.28s ease;
    }

    .service-pill:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(35,67,23,0.10); }
    .service-pill i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 15px; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
    .service-pill h6 { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
    .service-pill span { color: var(--muted); font-size: 13px; }

    .service-card {
      height: 100%;
      position: relative;
      overflow: hidden;
      border: 1px solid var(--border);
      background: #fff;
      border-radius: 30px;
      padding: 32px;
      box-shadow: 0 18px 48px rgba(35, 67, 23, 0.07);
      transition: 0.32s ease;
    }

    .service-card::after {
      content: "";
      position: absolute;
      right: -55px;
      top: -55px;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      background: var(--primary-soft);
      transition: 0.32s ease;
    }

    .service-card:hover { transform: translateY(-8px); box-shadow: 0 26px 64px rgba(35,67,23,0.13); }
    .service-card:hover::after { transform: scale(1.18); }

    .service-icon {
      position: relative;
      z-index: 2;
      width: 60px;
      height: 60px;
      border-radius: 20px;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 26px;
      margin-bottom: 22px;
    }

    .service-card h4 { position: relative; z-index: 2; font-size: 20px; font-weight: 800; margin-bottom: 12px; }
    .service-card p { position: relative; z-index: 2; font-size: 15px; margin: 0; }

    .portfolio-section { background: #fff; position: relative; }
    .portfolio-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
    .filter-chip { border: 1px solid var(--border); background: var(--cream); color: var(--primary-dark); border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 800; }
    .filter-chip.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }

    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 22px;
    }

    .work-card {
      min-height: 320px;
      border-radius: 30px;
      overflow: hidden;
      position: relative;
      background-size: cover;
      background-position: center;
      box-shadow: 0 22px 54px rgba(35,67,23,0.11);
      border: 1px solid rgba(255,255,255,0.5);
      transition: 0.32s ease;
    }

    .work-card:hover { transform: translateY(-7px); }
    .work-card.large { grid-column: span 7; min-height: 430px; }
    .work-card.medium { grid-column: span 5; min-height: 430px; }
    .work-card.small { grid-column: span 4; }

    .work-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(12,21,8,0.78), rgba(12,21,8,0.08));
    }

    .work-content {
      position: absolute;
      left: 24px;
      right: 24px;
      bottom: 24px;
      z-index: 2;
      color: #fff;
    }

    .work-tag {
      display: inline-block;
      background: rgba(255,255,255,0.92);
      color: var(--primary-dark);
      border-radius: 999px;
      padding: 7px 12px;
      font-size: 12px;
      font-weight: 800;
      margin-bottom: 12px;
    }

    .work-content h4 { font-weight: 800; margin-bottom: 7px; }
    .work-content p { color: rgba(255,255,255,0.82); margin: 0; font-size: 14px; }

    .portfolio-group { margin-top: 42px; }
    .portfolio-group:first-of-type { margin-top: 8px; }
    .portfolio-group-title { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
    .portfolio-group-title h3 { margin:0; font-size:22px; font-weight:800; color:var(--ink); }
    .portfolio-group-title span { color:var(--muted); font-size:14px; }
    .work-card.project { isolation:isolate; text-decoration:none; display:block; }
    .work-card.project::after { content:""; position:absolute; inset:0; background:linear-gradient(135deg, rgba(118,170,59,.20), rgba(36,88,22,.05)); z-index:0; }
    .work-card.project .project-mark { position:absolute; top:22px; right:22px; z-index:2; width:50px; height:50px; border-radius:16px; display:grid; place-items:center; background:rgba(255,255,255,.90); color:var(--primary-dark); font-size:22px; box-shadow:0 12px 30px rgba(0,0,0,.10); }
    .work-card.project .work-content { z-index:3; }
    .work-card.project .work-link { display:inline-flex; align-items:center; gap:7px; margin-top:12px; color:#fff; font-size:13px; font-weight:700; }
    .portfolio-grid.web-grid .work-card { min-height:330px; }
    .portfolio-grid.social-grid { grid-template-columns:repeat(3,1fr); }
    .portfolio-grid.social-grid .work-card { grid-column:auto; min-height:290px; }
    .project-utkarsh { background:linear-gradient(145deg,#19312b,#76aa3b); }
    .project-nextzin { background:linear-gradient(145deg,#1d2533,#5f7fa3); }
    .project-hosmaccx { background:linear-gradient(145deg,#17383d,#4da1a6); }
    .project-magical { background:linear-gradient(145deg,#362341,#a96aa2); }
    .project-snrehab { background:linear-gradient(145deg,#2e3c4d,#82a7c8); }
    .project-social-utkarsh { background:linear-gradient(145deg,#243b2e,#81b24e); }
    .project-social-hosmaccx { background:linear-gradient(145deg,#17434a,#58aeb1); }

    .testimonial-card, .contact-card {
      height: 100%;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 30px;
      padding: 32px;
      box-shadow: 0 18px 46px rgba(35,67,23,0.08);
    }

    .quote-icon { color: var(--primary); font-size: 35px; margin-bottom: 14px; }
    .client { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
    .client-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
    .client h6 { margin: 0; font-size: 15px; font-weight: 800; }
    .client small { color: var(--muted); }

    .contact-section {
      background:
        radial-gradient(circle at 12% 22%, rgba(118,170,59,0.21), transparent 28%),
        linear-gradient(135deg, #f7fbf0 0%, #fbfaf5 100%);
    }

    .contact-info-box {
      height: 100%;
      color: #fff;
      padding: 36px;
      border-radius: 34px;
      background:
        linear-gradient(rgba(16,28,13,0.78), rgba(16,28,13,0.86)),
        url('https://images.unsplash.com/photo-1466692476868-aef1dfb1e735?auto=format&fit=crop&w=900&q=80') center/cover;
      box-shadow: var(--shadow);
    }

    .contact-info-box p, .contact-info-box small, .contact-info-box a { color: rgba(255,255,255,0.84); }
    .contact-item { display: flex; align-items: flex-start; gap: 14px; margin-top: 24px; }
    .contact-item i { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; background: rgba(255,255,255,0.16); font-size: 20px; flex-shrink: 0; }

    .form-control, .form-select {
      border-radius: 16px;
      min-height: 54px;
      border: 1px solid rgba(36,88,22,0.16);
      padding: 12px 15px;
      font-size: 15px;
    }

    textarea.form-control { min-height: 130px; }
    .form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 0.2rem rgba(118,170,59,0.13); }

    .footer {
      color: rgba(255,255,255,0.74);
      background:
        radial-gradient(circle at 82% 20%, rgba(118,170,59,0.25), transparent 28%),
        linear-gradient(135deg, #101c0d 0%, #172914 100%);
      padding: 72px 0 0;
    }

    .footer img { height: 46px; margin-bottom: 16px; filter: brightness(1.05); }
    .footer p { color: rgba(255,255,255,0.68); font-size: 14px; margin-bottom: 0; }
    .footer h5 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 18px; }
    .footer-links { list-style: none; padding: 0; margin: 0; }
    .footer-links li { margin-bottom: 11px; }
    .footer-links a { color: rgba(255,255,255,0.70); font-size: 14px; transition: 0.25s ease; }
    .footer-links a:hover { color: #fff; padding-left: 4px; }
    .social-links { display: flex; gap: 10px; margin-top: 20px; }
    .social-links a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.10); color: #fff; transition: 0.28s ease; }
    .social-links a:hover { background: var(--primary); transform: translateY(-3px); }
    .footer-contact { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; }
    .footer-contact i { color: var(--primary-light); font-size: 18px; }
    .footer-bottom { margin-top: 52px; border-top: 1px solid rgba(255,255,255,0.10); padding: 20px 0; }

    .reveal { opacity: 0; transform: translateY(28px); transition: 0.75s ease; }
    .reveal.active { opacity: 1; transform: translateY(0); }

    @media (max-width: 991px) {
      .hero { min-height: auto; }
      .hero::before { width: 420px; height: 420px; right: -160px; top: 180px; opacity: 0.6; }
      .hero::after { background: linear-gradient(90deg, rgba(251,250,245,0.98), rgba(251,250,245,0.88)); }
      .hero-inner { text-align: center; min-height: auto; padding: 72px 0 100px; }
      .hero p, .hero h1 { margin-left: auto; margin-right: auto; }
      .hero-actions { justify-content: center; }
      .hero-proof { margin-left: auto; margin-right: auto; grid-template-columns: 1fr; }
      .work-card.large, .work-card.medium, .work-card.small { grid-column: span 12; min-height: 340px; }
      .portfolio-grid.social-grid { grid-template-columns: 1fr; }
      .section-padding { padding: 72px 0; }
    }

    @media (max-width: 575px) {
      .hero h1 { font-size: 34px; letter-spacing: -1px; }
      .hero p { font-size: 16px; }
      .service-strip { margin-top: -45px; }
      .service-strip-card, .contact-card, .contact-info-box { padding: 24px; }
      .work-card { min-height: 300px !important; }
      .footer { padding-top: 56px; }
    }

/* Portfolio with real project images */
.portfolio-group { margin-top: 52px; }
.portfolio-group:first-of-type { margin-top: 28px; }
.portfolio-group-title { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:20px; }
.portfolio-group-title h3 { margin:0; font-size:24px; font-weight:800; }
.portfolio-group-title span { color:var(--muted); font-size:13px; font-weight:700; }
.portfolio-image-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.portfolio-image-grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.portfolio-card { position:relative; min-height:360px; overflow:hidden; border-radius:30px; background:#eaf1e5; border:1px solid var(--border); box-shadow:0 22px 54px rgba(35,67,23,.11); color:#fff; isolation:isolate; transition:transform .32s ease, box-shadow .32s ease; }
.portfolio-card-wide { min-height:430px; }
.portfolio-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center top; transition:transform .55s ease; z-index:-2; }
.portfolio-card::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(to top, rgba(10,20,8,.92) 0%, rgba(10,20,8,.56) 38%, rgba(10,20,8,.06) 76%); transition:background .32s ease; }
.portfolio-card:hover { transform:translateY(-7px); box-shadow:0 30px 70px rgba(35,67,23,.18); color:#fff; }
.portfolio-card:hover img { transform:scale(1.045); }
.portfolio-overlay { position:absolute; left:26px; right:26px; bottom:24px; z-index:2; }
.portfolio-overlay h4 { font-size:22px; font-weight:800; margin:0 0 7px; }
.portfolio-overlay p { max-width:520px; color:rgba(255,255,255,.84); font-size:14px; line-height:1.55; margin:0 0 12px; }
.work-link { display:inline-flex; align-items:center; gap:7px; color:#fff; font-size:13px; font-weight:800; }
@media (max-width:991px) { .portfolio-image-grid,.portfolio-image-grid-3 { grid-template-columns:1fr 1fr; } }
@media (max-width:767px) { .portfolio-group-title { align-items:flex-start; flex-direction:column; gap:5px; } .portfolio-image-grid,.portfolio-image-grid-3 { grid-template-columns:1fr; } .portfolio-card,.portfolio-card-wide { min-height:340px; } }
