/* =============================================
   RATNARAJ ENERGY — White & Green Theme
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --green:       #6ab04c;
  --green-dark:  #4a8c30;
  --green-light: #edf7e6;
  --green-mid:   #8bc34a;
  --accent:      #f4a01c;
  --dark:        #0d1b2a;
  --navy:        #1a2e58;
  --gray:        #6b7280;
  --gray-light:  #f7faf5;
  --border:      #dde8d8;
  --white:       #ffffff;
  --shadow:      0 4px 24px rgba(106,176,76,.12);
  --shadow-lg:   0 12px 48px rgba(106,176,76,.20);
  --tr:          all .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #fff; color: #2d3748; margin: 0; }
a { text-decoration: none; transition: var(--tr); }
img { max-width: 100%; }

/* ══ NAVBAR ══ */
.re-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,122,60,.1);
  transition: var(--tr);
  padding: 0;
}
.re-navbar.scrolled { box-shadow: 0 2px 20px rgba(26,122,60,.12); }
.re-navbar .navbar-brand img { height: 64px; }
.re-navbar .nav-link {
  color: #2d3748 !important; font-weight: 500; font-size: .9rem;
  padding: 1.4rem .9rem !important; position: relative; letter-spacing: .01em;
}
.re-navbar .nav-link::after {
  content: ''; position: absolute; bottom: 0; left: .9rem; right: .9rem;
  height: 2px; background: var(--green); border-radius: 2px;
  transform: scaleX(0); transition: var(--tr);
}
.re-navbar .nav-link:hover,
.re-navbar .nav-link.active { color: var(--green) !important; }
.re-navbar .nav-link:hover::after,
.re-navbar .nav-link.active::after { transform: scaleX(1); }
.re-navbar .btn-nav {
  background: var(--green); color: #fff !important;
  border-radius: 8px; padding: .5rem 1.3rem !important;
  font-weight: 700; font-size: .85rem; margin-left: .5rem;
}
.re-navbar .btn-nav::after { display: none; }
.re-navbar .btn-nav:hover { background: var(--green-dark) !important; transform: translateY(-1px); }
.navbar-toggler { border-color: rgba(26,122,60,.3); }

/* ══ HERO ══ */
.re-hero {
  min-height: 100vh; position: relative;
  background: var(--dark); overflow: hidden;
  display: flex; align-items: center;
}
.re-hero-bg { position: absolute; inset: 0; z-index: 0; }
.re-hero-bg .carousel,
.re-hero-bg .carousel-inner,
.re-hero-bg .carousel-item { height: 100%; min-height: 100vh; }
.re-hero-bg .carousel-item img {
  width: 100%; height: 100vh; object-fit: cover; object-position: center;
}
.re-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg,
    rgba(13,27,18,.93) 0%,
    rgba(13,27,18,.78) 55%,
    rgba(26,122,60,.25) 100%);
}
.re-hero-content { position: relative; z-index: 2; padding: 130px 0 90px; width: 100%; }
.re-hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(46,204,113,.12); color: #4ade80;
  border: 1px solid rgba(46,204,113,.3); border-radius: 100px;
  padding: .4rem 1.1rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.re-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.1; color: #fff; margin-bottom: 1.25rem;
}
.re-hero-title span { color: #4ade80; }
.re-hero-sub {
  color: rgba(255,255,255,.75); font-size: 1.05rem;
  line-height: 1.75; max-width: 540px; margin-bottom: 2.25rem;
}
.re-hero-img-card {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  border: 3px solid rgba(255,255,255,.1); position: relative;
}
.re-hero-img-card img { width: 100%; height: 400px; object-fit: cover; display: block; }
.re-hero-img-badge {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  background: rgba(13,27,18,.9); backdrop-filter: blur(10px);
  border: 1px solid rgba(74,222,128,.25); border-radius: 12px;
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: .75rem;
}
.re-hero-img-badge-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--green); display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; color: #fff; flex-shrink: 0;
}
.re-hero-img-badge-text strong { display: block; color: #fff; font-size: .9rem; font-weight: 700; }
.re-hero-img-badge-text span { color: rgba(255,255,255,.5); font-size: .75rem; }
.re-hero-mini-cards { display: flex; gap: .75rem; margin-top: .75rem; }
.re-hero-mini-card {
  flex: 1; border-radius: 12px; padding: .9rem .75rem; text-align: center;
}
.re-hero-mini-card i { font-size: 1.4rem; display: block; margin-bottom: .3rem; }
.re-hero-mini-card strong { display: block; color: #fff; font-size: .82rem; font-weight: 700; }
.re-hero-mini-card span { color: rgba(255,255,255,.5); font-size: .72rem; }
.re-hero-stats {
  display: flex; gap: 0; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; margin-top: 2.5rem;
}
.re-hero-stat { padding-right: 2.5rem; margin-right: 2.5rem; border-right: 1px solid rgba(255,255,255,.1); }
.re-hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.re-hero-stat-num { font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 800; color: #4ade80; line-height: 1; }
.re-hero-stat-label { font-size: .72rem; color: rgba(255,255,255,.5); letter-spacing: .08em; text-transform: uppercase; margin-top: .25rem; }
.re-hero-indicators { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: .5rem; }
.re-hero-indicators button { width: 28px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); border: none; cursor: pointer; transition: var(--tr); padding: 0; }
.re-hero-indicators button.active { background: #4ade80; width: 44px; }
.re-hero-scroll { position: absolute; bottom: 1.75rem; right: 3rem; z-index: 10; color: rgba(255,255,255,.4); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .4rem; animation: bounce 2s infinite; }
.re-hero-scroll i { color: #4ade80; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }

/* ══ BUTTONS ══ */
.re-btn-primary { background: var(--green); color: #fff; border: none; border-radius: 8px; padding: .85rem 2rem; font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: .5rem; transition: var(--tr); }
.re-btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,122,60,.35); }
.re-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); border-radius: 8px; padding: .85rem 2rem; font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .5rem; transition: var(--tr); }
.re-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.re-btn-green { background: var(--green); color: #fff; border: none; border-radius: 8px; padding: .75rem 1.75rem; font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .5rem; transition: var(--tr); }
.re-btn-green:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,122,60,.3); }
.re-btn-outline-green { background: transparent; color: var(--green); border: 2px solid var(--green); border-radius: 8px; padding: .75rem 1.75rem; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .5rem; transition: var(--tr); }
.re-btn-outline-green:hover { background: var(--green); color: #fff; }

/* ══ SECTIONS ══ */
.re-section { padding: 90px 0; }
.re-section-light { background: var(--gray-light); }
.re-section-green { background: var(--green); }
.re-section-dark { background: var(--dark); }
.re-label { display: inline-block; color: var(--green); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .5rem; }
.re-label-white { color: rgba(255,255,255,.7); }
.re-section-title { font-family: 'Poppins', sans-serif; font-size: clamp(1.6rem,3vw,2.3rem); font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: .75rem; }
.re-section-title.white { color: #fff; }
.re-section-sub { color: var(--gray); font-size: .97rem; line-height: 1.75; max-width: 580px; }
.re-divider { width: 48px; height: 4px; background: linear-gradient(90deg, var(--green), var(--green-mid)); border-radius: 4px; margin: .9rem 0 1.5rem; }
.re-divider.center { margin-left: auto; margin-right: auto; }

/* ══ SERVICE CARDS ══ */
.service-card { background: #fff; border-radius: 16px; padding: 2rem 1.75rem; border: 1px solid var(--border); transition: var(--tr); height: 100%; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--green-mid)); transform: scaleX(0); transition: var(--tr); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-icon { width: 58px; height: 58px; border-radius: 14px; background: var(--green-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.5rem; color: var(--green); transition: var(--tr); }
.service-card:hover .service-icon { background: var(--green); color: #fff; }
.service-card h4 { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .6rem; }
.service-card p { color: var(--gray); font-size: .88rem; line-height: 1.7; margin: 0; }
/* Service card with real photo at top */
.re-svc-top-img {
  display: block;
  width: calc(100% + 3.5rem);
  margin: -2rem -1.75rem 1.25rem;
  height: 195px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  position: relative; z-index: 1;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.service-card:hover .re-svc-top-img { transform: scale(1.05); }

/* ══ FEATURE LIST ══ */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .85rem; color: #4a5568; font-size: .93rem; }
.feature-list li i { color: var(--green); margin-top: 3px; flex-shrink: 0; font-size: 1rem; }

/* ══ ABOUT IMG ══ */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: 18px; width: 100%; height: 460px; object-fit: cover; }
.about-badge { position: absolute; bottom: -18px; right: -18px; background: var(--green); border-radius: 16px; padding: 1.25rem 1.5rem; text-align: center; box-shadow: 0 8px 32px rgba(26,122,60,.4); }
.about-badge-num { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; }
.about-badge-text { font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.8); margin-top: .25rem; text-transform: uppercase; letter-spacing: .05em; }

/* ══ STATS BAR ══ */
.stats-bar { background: var(--green); border-radius: 20px; padding: 2.5rem 3rem; }
.stat-item { text-align: center; }
.stat-num { font-family: 'Poppins', sans-serif; font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { color: rgba(255,255,255,.7); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-top: .35rem; }
.stat-divider { width: 1px; background: rgba(255,255,255,.2); align-self: stretch; }

/* ══ VISION / MISSION ══ */
.vm-card { border-radius: 18px; padding: 2.5rem; height: 100%; }
.vm-card.vision { background: var(--green-light); border: 1px solid rgba(26,122,60,.15); }
.vm-card.mission { background: var(--green); }
.vm-card .vm-icon { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1.25rem; }
.vm-card.vision .vm-icon { background: var(--green); color: #fff; }
.vm-card.mission .vm-icon { background: rgba(255,255,255,.15); color: #fff; }
.vm-card h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.2rem; margin-bottom: .75rem; }
.vm-card.vision h3 { color: var(--dark); }
.vm-card.mission h3 { color: #fff; }
.vm-card p { font-size: .93rem; line-height: 1.75; margin: 0; }
.vm-card.vision p { color: var(--gray); }
.vm-card.mission p { color: rgba(255,255,255,.8); }

/* ══ WHY CHOOSE ══ */
.why-card { background: #fff; border-radius: 14px; padding: 1.5rem; border: 1px solid var(--border); display: flex; align-items: flex-start; gap: 1rem; transition: var(--tr); }
.why-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); }
.why-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--green); flex-shrink: 0; }
.why-card h5 { font-weight: 700; font-size: .9rem; color: var(--dark); margin-bottom: .25rem; }
.why-card p { font-size: .82rem; color: var(--gray); margin: 0; line-height: 1.6; }

/* ══ PROJECT / GALLERY ══ */
.project-card { border-radius: 14px; overflow: hidden; position: relative; height: 280px; box-shadow: var(--shadow); transition: var(--tr); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.07); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,27,18,.9) 0%, transparent 55%); display: flex; align-items: flex-end; padding: 1.25rem; opacity: 0; transition: var(--tr); }
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay p { color: #fff; font-size: .88rem; line-height: 1.6; margin: 0; }
.gallery-grid { columns: 3; gap: 12px; }
@media(max-width:768px){.gallery-grid{columns:2;}}
@media(max-width:480px){.gallery-grid{columns:1;}}
.gallery-item { break-inside: avoid; margin-bottom: 12px; border-radius: 10px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; display: block; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay { position: absolute; inset: 0; background: rgba(13,27,18,.6); opacity: 0; transition: var(--tr); display: flex; align-items: center; justify-content: center; }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay i { font-size: 2rem; color: #fff; }

/* ══ CLIENTS ══ */
.client-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem 1.25rem; text-align: center; transition: var(--tr); }
.client-card:hover { border-color: var(--green); box-shadow: 0 4px 20px rgba(26,122,60,.12); transform: translateY(-3px); }
.client-card img { max-height: 65px; max-width: 130px; object-fit: contain; margin-bottom: .75rem; filter: grayscale(60%); opacity: .75; transition: var(--tr); }
.client-card:hover img { filter: grayscale(0); opacity: 1; }
.client-card span { display: block; font-size: .82rem; font-weight: 600; color: var(--dark); }

/* ══ TESTIMONIALS ══ */
.testimonial-card { background: #fff; border-radius: 18px; padding: 2rem; border: 1px solid var(--border); box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: var(--tr); }
.testimonial-card:hover { border-color: var(--green); box-shadow: 0 12px 40px rgba(26,122,60,.15); }
.testimonial-stars { color: var(--accent); font-size: .9rem; margin-bottom: 1rem; }
.testimonial-quote { color: var(--gray); font-size: .93rem; line-height: 1.75; flex: 1; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-quote::before { content: '\201C'; font-size: 1.5rem; color: var(--green); }
.testimonial-profile { display: flex; align-items: center; gap: 1rem; }
.testimonial-profile img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--green); }
.testimonial-name { font-weight: 700; font-size: .92rem; color: var(--dark); }
.testimonial-desig { font-size: .78rem; color: var(--gray); }

/* ══ CTA ══ */
.re-cta { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%); border-radius: 22px; padding: 4rem 3rem; position: relative; overflow: hidden; }
.re-cta::before { content: ''; position: absolute; top: -60px; right: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.06); }
.re-cta-title { font-family: 'Poppins', sans-serif; font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 800; color: #fff; margin-bottom: .75rem; }
.re-cta p { color: rgba(255,255,255,.78); font-size: .97rem; margin: 0; }
.re-btn-white { background: #fff; color: var(--green); border: none; border-radius: 8px; padding: .85rem 2rem; font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: .5rem; transition: var(--tr); }
.re-btn-white:hover { background: var(--green-light); color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

/* ══ QMS CERT CARD ══ */
.qms-card { background: linear-gradient(135deg, var(--green-light), #fff); border: 2px solid rgba(26,122,60,.2); border-radius: 16px; padding: 1.5rem; display: flex; align-items: center; gap: 1.25rem; transition: var(--tr); }
.qms-card:hover { border-color: var(--green); box-shadow: 0 8px 32px rgba(26,122,60,.15); transform: translateY(-3px); }
.qms-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; flex-shrink: 0; }
.qms-text strong { display: block; font-weight: 700; color: var(--dark); font-size: .95rem; }
.qms-text span { color: var(--gray); font-size: .8rem; }

/* ══ FOOTER ══ */
.re-footer { background: var(--navy); padding: 60px 0 0; }
.re-footer-brand {
  background: #fff;
  border-radius: 12px;
  padding: .85rem 1.2rem;
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.re-footer-brand img { height: 70px; object-fit: contain; display: block; }
.re-footer-about { color: rgba(255,255,255,.55); font-size: .86rem; line-height: 1.75; }
.re-footer h5 { color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 1.25rem; letter-spacing: .06em; text-transform: uppercase; padding-bottom: .65rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.re-footer-links { list-style: none; padding: 0; margin: 0; }
.re-footer-links li { margin-bottom: .6rem; }
.re-footer-links a { color: rgba(255,255,255,.55); font-size: .9rem; transition: var(--tr); display: inline-block; }
.re-footer-links a:hover { color: var(--green); padding-left: 5px; }
.re-footer-contact { color: rgba(255,255,255,.55); font-size: .87rem; }
.re-footer-contact p { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: .85rem; line-height: 1.55; }
.re-footer-contact i { color: var(--green); margin-top: 2px; flex-shrink: 0; font-size: .95rem; }
.re-footer-socials { display: flex; gap: .65rem; margin-top: 1.25rem; }
.re-footer-socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55); font-size: .9rem; transition: var(--tr); }
.re-footer-socials a:hover { background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-2px); }
/* ISO Certificate image in footer */
.re-footer-iso { display: block; margin-top: .5rem; }
.re-footer-iso img { width: 100%; max-width: 210px; border-radius: 8px; border: 2px solid rgba(255,255,255,.15); box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.re-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 1.25rem 0; color: rgba(255,255,255,.35); font-size: .8rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.re-footer-bottom a { color: var(--green); }

/* ══ PAGE HERO ══ */
.re-page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%); padding: 140px 0 70px; position: relative; overflow: hidden; }
.re-page-hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; border-radius: 50%; background: rgba(106,176,76,.08); }
.re-page-hero-title { font-family: 'Poppins', sans-serif; font-size: clamp(2rem,4vw,3rem); font-weight: 800; color: #fff; margin-bottom: .5rem; }
.re-breadcrumb { color: rgba(255,255,255,.5); font-size: .88rem; }
.re-breadcrumb a { color: var(--green); }

/* ══ CONTACT ══ */
.contact-form-wrap { background: #fff; border-radius: 18px; padding: 2.5rem; box-shadow: var(--shadow-lg); }
.contact-info-card { background: linear-gradient(135deg, var(--green-dark), var(--green)); border-radius: 18px; padding: 2.5rem; color: #fff; height: 100%; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #fff; flex-shrink: 0; }
.contact-info-text h6 { color: #fff; font-weight: 600; margin-bottom: .15rem; font-size: .9rem; }
.contact-info-text p { color: rgba(255,255,255,.65); font-size: .88rem; margin: 0; }
.re-form-control { border: 1px solid var(--border); border-radius: 10px; padding: .75rem 1rem; font-size: .93rem; transition: var(--tr); }
.re-form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,122,60,.12); outline: none; }
.re-form-label { font-weight: 600; font-size: .83rem; color: var(--dark); margin-bottom: .4rem; }

/* ══ CERT VERIFY ══ */
.cert-search-box { background: #fff; border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow-lg); max-width: 600px; margin: 0 auto; }
.cert-card { background: #fff; border-radius: 16px; padding: 2rem; border: 1px solid var(--border); box-shadow: var(--shadow); }
.cert-no { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--green); }
.cert-badge-valid { background: #dcfce7; color: #16a34a; border-radius: 100px; padding: .3rem .9rem; font-size: .78rem; font-weight: 700; }

/* ══ SCROLL TOP ══ */
#re-scroll-top { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; opacity: 0; transform: translateY(10px); transition: var(--tr); z-index: 999; text-decoration: none; box-shadow: 0 4px 16px rgba(26,122,60,.4); }
#re-scroll-top.show { opacity: 1; transform: translateY(0); }
#re-scroll-top:hover { background: var(--green-dark); transform: translateY(-3px); }

/* ══ LIGHTBOX ══ */
.lightbox-overlay { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.92); align-items: center; justify-content: center; }
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 85vh; border-radius: 12px; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; }

/* ══ RESPONSIVE ══ */
@media(max-width:991px){
  .re-section{padding:60px 0;}
  .re-hero-content{padding:110px 0 70px;}
  .re-hero img{height:100svh;}
  .about-badge{bottom:-10px;right:10px;}
  .re-cta{padding:2.5rem 1.5rem;}
  .stats-bar{padding:2rem 1.5rem;}
}
@media(max-width:575px){
  .re-footer-bottom{text-align:center;justify-content:center;}
  .gallery-grid{columns:1;}
  .re-hero-stats{gap:1.25rem;}
}
