/* =========================
   OGAUS — CLEAN THEME (Bootstrap 5)
   CLEANED VERSION (deduped + stable)
   ========================= */

/* ---------- Design Tokens ---------- */
:root{
  --og-brand:#0071CD;
  --og-accent:#12B886;

  --og-bg:#F5F7FB;
  --og-surface:#ffffff;

  --og-text:#101828;
  --og-muted:#667085;

  --og-border:rgba(16,24,40,.10);
  --og-shadow-soft: 0 12px 30px rgba(16,24,40,.08);

  --og-radius:18px;
}

/* ---------- Base ---------- */
html, body{ height:100%; }

body{
  font-family:'Poppins', sans-serif;
  font-size:.95rem;
  background:var(--og-bg);
  color:var(--og-text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;

  /* sticky footer */
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

h1,h2,h3,h4{
  color:#111;
  letter-spacing:-.02em;
}
h1{font-weight:900;}
h2{font-weight:900;font-size:1.35rem;}
h3{font-weight:800;font-size:1.15rem;}
h4{font-weight:700;font-size:1rem;}

a:hover{text-decoration:none;}

/* ---------- Navbar ---------- */
.ogs-nav{
  background:#fff!important;
  border-bottom:1px solid rgba(0,0,0,.08);
  box-shadow:0 2px 10px rgba(0,0,0,.04);
}
.OGS-logo{
max-width:180px;
padding-top:6px;
padding-bottom:6px;
}

.ogs-nav .nav-link{
  color:#222!important;
  font-weight:600;
  letter-spacing:.2px;
  margin:0 6px;
}
.ogs-nav .nav-link:hover{color:var(--og-brand)!important;}
.ogs-nav .current_button{color:var(--og-brand)!important;}

.navbar-toggler{border-color:rgba(0,0,0,.15)!important;}
.navbar-toggler:focus{box-shadow:0 0 0 .2rem rgba(0,0,0,.08)!important;}

/* ---------- HERO ---------- */
.ogs-hero{
  position:relative;
  overflow:visible; /* allows cards to overlap */

  background-image:
    linear-gradient(rgba(0,0,0,.26), rgba(0,0,0,.16)),
    var(--ogs-hero-bg, url("../img/hero-bg.webp"));
  background-size:cover;
  background-position:center 40%;
  background-repeat:no-repeat;

  border-bottom:1px solid var(--og-border);
  min-height:520px;

  display:flex;
  align-items:center;

  box-shadow:inset 0 -60px 60px -60px rgba(0,0,0,.25);

  padding-bottom:20px; /* visual space for overlap */
  z-index:1;
}

.ogs-hero .container{
  position:relative;
  z-index:2;
  padding-top:50px;
  padding-bottom:84px;
}

.ogs-hero__content{
  padding:0;
  background:none;
  border:0;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

.ogs-hero__content h1,
.ogs-hero__content .lead,
.ogs-hero__content .sub{
  color:#fff!important;
}

.ogs-hero__content .lead{
  font-weight:400;
  max-width:980px;
  margin:0 auto;
  text-shadow:0 2px 10px rgba(0,0,0,.75);
}

.ogs-hero__content .sub{
  color:rgba(255,255,255,.9)!important;
}

@media (max-width:768px){
  .ogs-hero{
    background-position:center 40%;
    min-height:460px;
    padding-bottom:80px;
  }
  .ogs-hero .container{
    padding-top:70px;
    padding-bottom:70px;
  }
}

/* ---------- Sections ---------- */
.ogs-section{
  padding:50px 0;
  position:relative;
}
@media (max-width:768px){
  .ogs-section{padding:56px 0;}
}

.ogs-section:nth-of-type(even){
  background:#f7f9fc;
}

/* Services / pages with overlap: keep section tight so cards sit into hero */
.ogs-section-services{
  padding-top:0;
}

/* ---------- Cards Row ---------- */
.ogs-cards{margin-top:34px;}

/* HERO/CARD OVERLAP */
.ogs-cards-overlap{
  position:relative;
  margin-top:-100px; /* tuned overlap */
  z-index:10;        /* above hero */
}
@media (max-width:768px){
  .ogs-cards-overlap{
    margin-top:-60px;
  }
}

/* remove column background artifacts */
.ogs-cards>[class*="col-"]{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}

@media (max-width:768px){
  .ogs-cards>[class*="col-"]{ margin-bottom:16px; }
  .ogs-cards>[class*="col-"]:last-child{ margin-bottom:0; }
}

/* ---------- Service Card ---------- */
.service-card{
  background:var(--og-surface);
  border:1px solid rgba(16,24,40,.08);
  border-radius:var(--og-radius);
  padding:32px 30px;
  height:100%;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.service-card:hover{
  border-color:rgba(0,0,0,.18);
  box-shadow:0 10px 28px rgba(0,0,0,.05);
}
.service-card h3{
  font-weight:800;
  letter-spacing:-.02em;
  margin-bottom:16px;
  font-size:1.25rem;
}
.service-card p{
  color:var(--og-muted);
  line-height:1.6;
  margin-bottom:0;
  font-size:15px;
}

/* Premium icons for Technology cards (optional use) */
.tech-icon{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  margin-right:10px;

  background:linear-gradient(180deg, rgba(0,113,205,.14), rgba(18,184,134,.14));
  border:1px solid rgba(0,113,205,.18);

  color:var(--og-brand);
  font-size:18px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    0 4px 10px rgba(0,0,0,.06);
}

/* ---------- Numbers ---------- */
.ogs-section-alt{
  background:#f7f9fc;
  border-top:1px solid rgba(0,0,0,.05);
  border-bottom:1px solid rgba(0,0,0,.05);
}

.ogs-number-row{
  position:relative;
  overflow:hidden;

  background:var(--og-surface);
  border:1px solid var(--og-border);
  border-radius:22px;
  box-shadow:var(--og-shadow-soft);

  padding:16px 18px;
  margin:0 0 14px 0!important;

  transition:border-color .18s ease, box-shadow .18s ease;
}
.ogs-number-row::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:6px;
  background:linear-gradient(180deg,var(--og-brand),var(--og-accent));
  opacity:.9;
}
.ogs-number-row:hover{
  box-shadow:0 10px 24px rgba(0,0,0,.05);
  border-color:rgba(0,113,205,.25);
}

.ogs-number-row .col-lg-3 h3{
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-weight:900;
  letter-spacing:-.02em;
  font-size:clamp(18px,1.6vw,26px);
  line-height:1.1;
  margin:0;
  color:#111;
  font-variant-numeric:tabular-nums;
}
.ogs-number-row .col-lg-9 p{
  margin:0;
  color:var(--og-muted);
  font-size:13px;
  line-height:1.45;
}

@media (max-width:991px){
  .ogs-number-row{padding:14px 16px;}
  .ogs-number-row .col-lg-3{margin-bottom:6px;}
}

/* ---------- Authorization Cards ---------- */
.auth-card{
  background:#fff;
  border:1px solid rgba(16,24,40,.08);
  border-radius:18px;
  padding:26px 24px;
  height:100%;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.auth-card:hover{
  border-color:rgba(0,0,0,.18);
  box-shadow:0 10px 28px rgba(0,0,0,.05);
}
.auth-card h3{
  font-weight:800;
  letter-spacing:-.02em;
  margin-bottom:12px;
  font-size:1.1rem;
}
.auth-card p{
  color:#667085;
  line-height:1.6;
  margin-bottom:0;
  font-size:15px;
}

/* ---------- Footer ---------- */
footer,.ogs-footer{
  background:#0B1220;
  color:rgba(255,255,255,.86);
  padding:50px 0;
  margin-top:auto; /* sticky footer */
  /* iOS safe-area: prevents a thin gap under the footer */
  padding-bottom:calc(50px + env(safe-area-inset-bottom));
}
footer a,.ogs-footer a{
  color:#fff;
  text-decoration:none;
}
footer a:hover,.ogs-footer a:hover{
  opacity:.85;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  .service-card,.ogs-number-row,.auth-card{
    transition:none!important;
  }
}

/* =========================
   ABOUT PAGE (helpers)
   ========================= */

.about-kicker{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.35rem .75rem;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  color:rgba(255,255,255,.95);
  font-weight:600;
  letter-spacing:.2px;
}

/* Simple white panel that matches your card language */
.about-panel{
  background:var(--og-surface, #fff);
  border:1px solid rgba(16,24,40,.08);
  border-radius:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.04);
}

/* Timeline / Process Steps (numbered) */
.about-timeline{
  list-style:none;
  margin:0;
  padding:0;
  counter-reset: step;
}
.about-timeline li{
  counter-increment: step;
  position:relative;
  padding-left:56px;
  margin-bottom:18px;
}
.about-timeline li:last-child{
  margin-bottom:0;
}
.about-timeline li::before{
  content: counter(step, decimal-leading-zero);
  position:absolute;
  left:0;
  top:2px;

  width:38px;
  height:38px;

  display:flex;
  align-items:center;
  justify-content:center;

  font-weight:700;
  font-size:14px;

  color:#fff;
  background:linear-gradient(180deg,var(--og-brand),var(--og-accent));
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}

/* Small icon container used in feature lists */
.icon-pill{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(0,113,205,.08);
  border:1px solid rgba(0,113,205,.14);
  color:var(--og-brand);
  flex:0 0 auto;
}

/* CTA panel (dark, premium) */
.cta-panel{
  border-radius:22px;
  overflow:hidden;
  position:relative;

  padding:48px 42px;

  background:
    radial-gradient(1000px 400px at 20% 20%, rgba(0,113,205,.18), transparent 60%),
    radial-gradient(900px 380px at 85% 70%, rgba(18,184,134,.14), transparent 60%),
    #0B1220;

  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.92);
}
@media (max-width:768px){
  .cta-panel{ padding:34px 22px; }
}
.cta-panel h2,
.cta-panel p{
  color:#fff;
}

/* Cookie banner (EU) */
.ogs-cookie{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  background: var(--og-surface, #fff);
  border: 1px solid rgba(16,24,40,.10);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(16,24,40,.12);
  padding: 14px 14px;
}

@media (min-width: 992px){
  .ogs-cookie{
    left: 24px;
    right: auto;
    width: 560px;
    bottom: 24px;
  }
}

.ogs-cookie__title{
  font-weight: 800;
  margin: 0 0 6px 0;
  color: var(--og-text, #101828);
  font-size: 16px;
}
.ogs-cookie__text{
  margin: 0;
  color: var(--og-muted, #667085);
  font-size: 13px;
  line-height: 1.5;
}
.ogs-cookie__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.ogs-cookie__actions .btn{
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px;
}
.ogs-cookie__link{
  color: var(--og-brand, #0071CD);
  text-decoration: none;
  font-weight: 700;
}
.ogs-cookie__link:hover{ text-decoration: underline; }

.map-card{
  height:100%;
  min-height:420px;
}

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

@media (min-width:992px){
  .map-card{
    min-height:520px;
  }
}

/* MOBILE NAV DROPDOWN STYLE */
@media (max-width: 991.98px){

  /* dropdown panel */
  .navbar-collapse{
    text-align:center;
    padding:20px;
    margin-top:12px;
    margin-bottom:18px;   /* ← space under menu */
  }

  /* spacing between cards */
  .navbar-nav{
    gap:12px;
  }

  /* card links */
  .navbar-nav .nav-link{
    display:block;
    background:#fff;
    border:1px solid rgba(16,24,40,.08);
    border-radius:14px;
    padding:12px 18px;
    font-weight:600;
    box-shadow:0 8px 18px rgba(0,0,0,.05);
    transition:.2s ease;
    color:var(--og-text);
  }

  /* hover */
.navbar-nav .nav-link{
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.navbar-nav .nav-link:hover{
  background:#fff;
  border-color:rgba(0,113,205,.35);
  box-shadow:0 10px 22px rgba(0,0,0,.08);
}

  /* ACTIVE PAGE (text blue only) */
  .navbar-nav .current_button{
    background:#fff !important;
    color:var(--og-brand) !important;
    border-color:rgba(0,113,205,.35);
  }

}

/* Services: make long technology lists readable on mobile */
@media (max-width: 768px){
  .service-card .tech-stack,
  .service-card .tech-list,
  .service-card .tech-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
  }

  .service-card .tech-stack span,
  .service-card .tech-list span,
  .service-card .tech-tags span{
    display:inline-flex;
    align-items:center;
    padding:6px 10px;
    border-radius:999px;
    border:1px solid rgba(16,24,40,.10);
    background:#fff;
    color:var(--og-muted);
    font-size:13px;
    line-height:1;
    white-space:nowrap;
  }
}

@media (max-width: 768px){
  .checklist li{
    display:flex;
    align-items:flex-start;
    gap:12px;
  }
  .checklist li i{
    flex:0 0 18px;
    margin-top:4px;
  }
  .checklist li strong{
    display:block;
  }
}

/* Expertise card (Renewable energy systems) */
.ogs-expertise-card .ogs-expertise-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:14px;
}

.ogs-expertise-card .ogs-expertise-item{
  padding:12px 12px;
  background:#fff;
}

.ogs-expertise-card .ogs-expertise-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  color:var(--og-text);
  line-height:1.2;
}

.ogs-expertise-card .ogs-expertise-title i{
  color:var(--og-brand);
  transform:translateY(1px);
}

.ogs-expertise-card .ogs-expertise-desc{
  margin-left:28px; /* aligns with title text after icon */
  margin-top:6px;
  color:var(--og-muted);
  line-height:1.55;
  font-size:15px;
}

/* Mobile: tighter padding, still clean */
@media (max-width: 768px){
  .ogs-expertise-card .ogs-expertise-item{
    padding:12px 12px;
  }
  .ogs-expertise-card .ogs-expertise-desc{
    margin-left:28px;
    font-size:15px;
  }
}