/* ============================================================
   Dynamic Electrical Energy LLP — Premium Corporate Styles
   Brand: #2E7D32 primary · #FBC02D secondary · #1A1A1A dark
   ============================================================ */

:root {
  --brand-primary: #2E7D32;
  --brand-primary-dark: #1B5E20;
  --brand-primary-light: #4CAF50;
  --brand-secondary: #FBC02D;
  --brand-secondary-dark: #F9A825;
  --dark: #1A1A1A;
  --light: #F8F9FA;
  --white: #FFFFFF;
  --muted: #6b7280;
  --border: #e6e8ec;

  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-brand: 0 18px 40px rgba(46, 125, 50, 0.28);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --transition: 0.35s cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: #1f2937;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.01em; color: var(--dark); }
a { text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }

.section { padding: 100px 0; }
.section-alt { background: var(--light); }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-primary);
  padding: 6px 14px;
  background: rgba(46,125,50,0.08);
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(1.85rem, 3.2vw, 2.6rem); margin: 0 0 14px; }
.section-lead { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }

.text-primary-brand { color: var(--brand-primary); }
.text-gradient {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-heading); font-weight: 600; border-radius: 999px; padding: 12px 26px; transition: all var(--transition); position: relative; overflow: hidden; border: none; }
.btn i { margin-left: 6px; }
.btn-primary-brand { background: var(--brand-primary); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary-brand:hover { background: var(--brand-primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-light-brand { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-outline-light-brand:hover { background: #fff; color: var(--dark); transform: translateY(-2px); }
.btn-quote { background: var(--brand-secondary); color: var(--dark); padding: 10px 22px; box-shadow: 0 10px 24px rgba(251,192,45,0.35); }
.btn-quote:hover { background: var(--brand-secondary-dark); color: var(--dark); transform: translateY(-2px); }

/* Ripple */
.ripple .ripple-dot {
  position: absolute; border-radius: 50%; transform: scale(0);
  animation: ripple 0.65s linear; background: rgba(255,255,255,0.5); pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Navbar ---------- */
.navbar-custom {
  /*background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);*/
  background:#fff;
  padding: 14px 0;
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar-custom.scrolled { background: rgba(255,255,255,0.96); box-shadow: var(--shadow-sm); border-bottom-color: var(--border); padding: 10px 0; }
.navbar-brand { display: flex; gap: 12px; align-items: center; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  color: #fff; display: grid; place-items: center; font-size: 1.2rem;
  box-shadow: var(--shadow-brand);
}
.brand-text { font-family: var(--font-heading); font-weight: 500; color: var(--dark); line-height: 1.1; font-size: 1rem; }
.brand-text strong { font-weight: 800; color: var(--brand-primary); }
.brand-text small { display: block; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--muted); }
    .navbar-brand img
    {
        width:100px;height:100px;
    }
.navbar-nav .nav-link {
  color: var(--dark) !important; font-family: var(--font-heading); font-weight: 500;
  padding: 8px 14px !important; border-radius: 999px; position: relative;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--brand-primary) !important; background: rgba(46,125,50,0.08); }
.navbar-toggler { border: none; font-size: 1.6rem; color: var(--dark); }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; padding-top: 90px; }
.hero-bg {
  position: absolute; inset: 0;
  background: url('./images/herobg.jpg') center/cover no-repeat;
  transform: scale(1.05); animation: kenburns 20s ease-in-out infinite alternate;
}
@keyframes kenburns { to { transform: scale(1.15) translateY(-10px); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: url('./images/herobg.png') center/cover no-repeat;
    /*radial-gradient(1200px 600px at 20% 30%, rgba(46,125,50,0.35), transparent 60%),
    linear-gradient(120deg, rgba(10,15,20,0.85) 0%, rgba(10,15,20,0.55) 60%, rgba(10,15,20,0.75) 100%);*/
}
.hero .container { z-index: 2; padding-top: 70px; padding-bottom: 40px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 500; margin-bottom: 20px;
  backdrop-filter: blur(10px);
}
.hero-eyebrow i { color: var(--brand-secondary); }
.hero-title { font-size: clamp(2rem, 4.8vw, 3.5rem); line-height: 1.08; color: #fff; font-weight: 800; margin-bottom: 20px; }
.hero-desc { font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,0.85); max-width: 640px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--font-heading); font-size: 1.8rem; color: var(--brand-secondary); font-weight: 800; }
.hero-meta span { font-size: 0.85rem; color: rgba(255,255,255,0.7); letter-spacing: 0.08em; text-transform: uppercase; }

.hero-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  box-shadow: var(--shadow-lg);
}
.hero-card img { width: 100%; height: 480px; object-fit: cover; }
.glass { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.hero-card-badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: rgba(255,255,255,0.9); color: var(--dark); border-radius: 14px;
  backdrop-filter: blur(20px);
}
.hero-card-badge i { font-size: 1.8rem; color: var(--brand-primary); }
.hero-card-badge strong { display: block; font-family: var(--font-heading); }
.hero-card-badge span { font-size: 0.85rem; color: var(--muted); }

.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.75); font-size: 1.4rem; z-index: 3;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translate(-50%,0);} 50%{transform:translate(-50%,8px);} }

/* ---------- About ---------- */
.about-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-visual img { width: 100%; height: 520px; object-fit: cover; }
.floating-badge {
  position: absolute; right: -20px; bottom: 30px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  color: #fff; padding: 22px 26px; border-radius: 20px; display: flex; gap: 14px; align-items: center;
  box-shadow: var(--shadow-brand);
}
.floating-badge .years { font-family: var(--font-heading); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.floating-badge .label { font-size: 0.8rem; line-height: 1.3; opacity: 0.95; }
.tick { display: flex; gap: 10px; align-items: center; color: var(--dark); font-weight: 500; }
.tick i { color: var(--brand-primary); font-size: 1.2rem; }

/* ---------- Services ---------- */
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; height: 100%; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  opacity: 0; transition: opacity var(--transition); z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card .icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(46,125,50,0.1); color: var(--brand-primary);
  display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card h5 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 16px; }
.service-card .learn { color: var(--brand-primary); font-weight: 600; font-size: 0.9rem; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card:hover h5, .service-card:hover p, .service-card:hover .learn { color: #fff; }
.service-card:hover p { opacity: 0.9; }
.service-card:hover .icon { background: rgba(255,255,255,0.18); color: var(--brand-secondary); }

/* ---------- Why choose us / Feature boxes ---------- */
.feature-box {
  display: flex; gap: 18px; align-items: flex-start; padding: 24px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  transition: all var(--transition); height: 100%;
}
.feature-box i { font-size: 2rem; color: var(--brand-primary); flex-shrink: 0; }
.feature-box h6 { font-size: 1.05rem; margin: 0 0 4px; }
.feature-box p { color: var(--muted); margin: 0; font-size: 0.92rem; }
.feature-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(46,125,50,0.3); }

/* ---------- Industries ---------- */
.industry {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 16px; text-align: center; transition: all var(--transition); height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.industry i { font-size: 2rem; color: var(--brand-primary); transition: all var(--transition); }
.industry span { font-family: var(--font-heading); font-weight: 600; color: var(--dark); font-size: 0.9rem; }
.industry:hover { background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark)); border-color: transparent; transform: translateY(-6px); box-shadow: var(--shadow-brand); }
.industry:hover i, .industry:hover span { color: #fff; }
.industry:hover i { color: var(--brand-secondary); }

/* ---------- Counters ---------- */
.counters-section {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  color: #fff; position: relative; overflow: hidden;
}
.counters-section::before {
  content:''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 20%, rgba(251,192,45,0.25), transparent 60%);
}
.counter-box { position: relative; }
.counter-box h2 { color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: clamp(2rem, 4vw, 3.4rem); margin: 0; }
.counter-box h2 span { color: var(--brand-secondary); }
.counter-box p { margin: 4px 0 0; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; opacity: 0.9; }

/* ---------- Projects ---------- */
.project-card {
  position: relative; border-radius: var(--radius); overflow: hidden; height: 340px;
  box-shadow: var(--shadow-md); cursor: pointer;
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.project-card .overlay {
  position: absolute; inset: 0; padding: 24px;
  background: linear-gradient(180deg, transparent 40%, rgba(10,15,20,0.9) 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  transition: all var(--transition);
}
.project-card .overlay span {
  display: inline-block; align-self: flex-start;
  background: var(--brand-secondary); color: var(--dark);
  padding: 4px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
  margin-bottom: 10px; letter-spacing: 0.08em; text-transform: uppercase;
}
.project-card .overlay h5 { color: #fff; font-size: 1.25rem; margin: 0 0 6px; }
.project-card .overlay p { margin: 0; font-size: 0.9rem; opacity: 0; transform: translateY(10px); transition: all var(--transition); }
.project-card:hover img { transform: scale(1.12); }
.project-card:hover .overlay p { opacity: 0.95; transform: translateY(0); }

/* ---------- Clients ---------- */
.clients-carousel { padding: 20px 3px; }
.client-logo {
  display: flex; align-items: center; justify-content: center;
  height: 140px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  filter: grayscale(0); /*opacity: 0.6;*/ transition: all var(--transition); margin:10px;
}
/*.client-logo span { font-family: var(--font-heading); font-weight: 800; letter-spacing: 0.1em; color: var(--brand-primary); font-size: 0.95rem; }*/
.client-logo span img{ }

.client-logo:hover { filter: grayscale(0); opacity: 1; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.client-logo:hover span { color: var(--brand-primary); }
.carousel-control-prev, .carousel-control-next { width: 40px; opacity: 0.4; }
.carousel-control-prev-icon, .carousel-control-next-icon { filter: invert(1) grayscale(1); }

/* ---------- Gallery ---------- */
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; height: 240px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item span {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(46,125,50,0.85), rgba(27,94,32,0.85));
  color: #fff; font-size: 2rem; opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover span { opacity: 1; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff; border-radius: var(--radius); padding: 34px 28px;
  border: 1px solid var(--border); height: 100%; position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quote-icon { position: absolute; top: 20px; right: 24px; font-size: 3rem; color: rgba(46,125,50,0.12); }
.testimonial-card p { color: #374151; line-height: 1.7; font-size: 1rem; margin-bottom: 20px; }
.who { display: flex; gap: 12px; align-items: center; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #fff; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700;
}
.who strong { display: block; font-family: var(--font-heading); color: var(--dark); }
.who span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-info {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px; height: 100%;
}
.contact-info h4 { margin-bottom: 6px; }
.contact-info ul { list-style: none; padding: 0; margin: 24px 0 20px; }
.contact-info li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.contact-info li:last-child { border-bottom: none; }
.contact-info li i {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: rgba(46,125,50,0.1); color: var(--brand-primary);
  display: grid; place-items: center; font-size: 1.1rem;
}
.contact-info li strong { display: block; font-family: var(--font-heading); color: var(--dark); }
.contact-info li span { color: var(--muted); font-size: 0.92rem; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(46,125,50,0.08); color: var(--brand-primary);
  display: grid; place-items: center; transition: all var(--transition);
}
.socials a:hover { background: var(--brand-primary); color: #fff; transform: translateY(-3px); }

.contact-form {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px;
}
.contact-form .form-label { font-family: var(--font-heading); font-weight: 500; font-size: 0.85rem; color: var(--dark); }
.contact-form .form-control {
  border-radius: 12px; border: 1px solid var(--border); padding: 12px 14px;
  transition: all var(--transition);
}
.contact-form .form-control:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 4px rgba(46,125,50,0.12); }
.form-note { min-height: 24px; color: var(--brand-primary); font-weight: 600; font-size: 0.9rem; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #cbd5e1; padding: 70px 0 30px; }
.footer h6 { color: #fff; font-family: var(--font-heading); font-size: 1rem; margin-bottom: 18px; letter-spacing: 0.04em; }
.text-muted-2 { color: #94a3b8; font-size: 0.92rem; line-height: 1.7; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #cbd5e1; font-size: 0.92rem; }
.footer-links a:hover { color: var(--brand-secondary); padding-left: 4px; }
.footer .socials a { background: rgba(255,255,255,0.06); color: #fff; }
.footer .socials a:hover { background: var(--brand-secondary); color: var(--dark); }
.footer hr { border-color: rgba(255,255,255,0.08); margin: 40px 0 20px; }

.newsletter { display: flex; background: rgba(255,255,255,0.08); border-radius: 999px; padding: 4px; }
.newsletter input { flex: 1; background: transparent; border: none; color: #fff; padding: 10px 16px; outline: none; font-family: var(--font-body); }
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter button {
  border: none; width: 50px; height: 40px; border-radius: 50%;
  background: var(--brand-secondary); color: var(--dark); transition: all var(--transition);
}
.newsletter button:hover { background: var(--brand-primary); color: #fff; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 999;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-primary); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-brand); opacity: 0; pointer-events: none;
  transition: all var(--transition);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--brand-primary-dark); color: #fff; transform: translateY(-4px); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 14px; padding: 20px; border-radius: var(--radius);
    background: #fff; box-shadow: var(--shadow-md);
  }
  .hero { min-height: auto; padding: 130px 0 80px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-meta { justify-content: center; }
  .section { padding: 70px 0; }
  .about-visual img { height: 400px; }
  .floating-badge { right: 20px; bottom: -20px; }
}
@media (max-width: 575px) {
  .brand-text small { display: none; }
  .hero-title { font-size: 2rem; }
  .counter-box h2 { font-size: 2.2rem; }
  .project-card { height: 280px; }
  .gallery-item { height: 180px; }
}