/* PCC Corporate v3 — clean, professional */
:root{
  --bg:#f4f7fb;
  --paper:#ffffff;
  --ink:#0b1b33;
  --muted:#5b6b83;
  --line:#e5eaf3;
  --shadow: 0 10px 28px rgba(16,24,40,.08);
  --radius:16px;

  --brand:#0b5fff;      /* corporate blue */
  --brand2:#00a3ff;     /* light blue */
  --accent:#18a957;     /* green */
  --danger:#e11d48;

  --max: 1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--ink);
  background: var(--bg);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.wrap{max-width:var(--max); margin:0 auto; padding:0 18px}

.notice{
  background: #0b1b33;
  color: #fff;
  font-weight: 800;
  letter-spacing:.5px;
  text-transform: uppercase;
  font-size: 12px;
}
.notice .wrap{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 0;
  gap:12px; flex-wrap:wrap;
}
.notice .tag{
  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  padding:6px 10px;
  border-radius:999px;
}
.notice a{color:#fff; opacity:.9}
.notice a:hover{opacity:1}

.header{
  position:sticky; top:0; z-index:60;
  background: rgba(244,247,251,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header .row{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:12px}
.brand img{height:80px; width:auto}
.nav{display:flex; gap:8px; align-items:center; flex-wrap:wrap}
.nav a{
  color: var(--muted);
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
  font-weight:700;
  font-size:14px;
}
.nav a:hover{background: rgba(11,95,255,.06); color: var(--ink)}
.nav a.active{
  background: rgba(11,95,255,.10);
  border-color: rgba(11,95,255,.20);
  color: var(--ink);
}
.cta{display:flex; gap:10px; align-items:center}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(11,27,51,.14);
  background: var(--paper);
  cursor:pointer;
  font-weight:800;
  font-size:14px;
}
.btn:hover{transform: translateY(-1px); box-shadow: var(--shadow)}
.btn.primary{
  border:0;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
}
.btn.soft{
  background: rgba(11,95,255,.08);
  border:1px solid rgba(11,95,255,.18);
  color: var(--ink);
}
.mobileBtn{display:none}
.drawer{display:none; border-top:1px solid var(--line); background: var(--paper)}
.drawer a{display:block; padding:14px 18px; border-bottom:1px solid var(--line); font-weight:700; color:var(--ink)}
@media (max-width: 900px){
  .nav{display:none}
  .mobileBtn{display:inline-flex}
  .brand img{height:44px}
}
.drawer.open{display:block}

.card{
  background: var(--paper);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Hero */
.hero{
  padding:26px 0 12px;
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:stretch;
}
@media (max-width: 1000px){ .heroGrid{grid-template-columns:1fr} }
.heroMain{padding:22px}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(11,95,255,.08);
  border:1px solid rgba(11,95,255,.18);
  color: var(--ink);
  font-weight:900;
  font-size:12px;
  text-transform: uppercase;
  letter-spacing:.06em;
}
h1{margin:12px 0 10px; font-size:44px; line-height:1.05; letter-spacing:-.6px}
@media (max-width:520px){h1{font-size:34px}}
.lead{color:var(--muted); max-width:68ch}

.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:16px;
}
@media (max-width:520px){ .stats{grid-template-columns:1fr} }
.stat{
  padding:12px;
  border-radius: 14px;
  background: rgba(11,27,51,.02);
  border:1px solid var(--line);
}
.stat b{font-size:18px}
.stat span{display:block; color:var(--muted); font-size:13px; margin-top:4px}

.heroMedia{
  overflow:hidden;
  position:relative;
}
.heroMedia .img{
  height:100%;
  min-height:320px;
  background:
    linear-gradient(180deg, rgba(11,27,51,.08), rgba(11,27,51,.72)),
    url("assets/img/conecteaza comunitatea.jpg") 70% center / cover no-repeat;
}
.heroMedia .panel{
  position:absolute;
  left:16px; right:16px; bottom:16px;
  padding:14px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.65);
}
.heroMedia .panel b{display:block}
.heroMedia .panel small{color:var(--muted)}

/* Sections */
.section{padding:18px 0}
.secHead{
  display:flex; align-items:flex-end; justify-content:space-between; gap:12px;
  margin:0 0 12px;
}
.secHead h2{margin:0; font-size:20px}
.secHead p{margin:0; color:var(--muted)}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 1000px){ .grid3{grid-template-columns:1fr} }
.tile{padding:18px}
.icon{
  width:44px; height:44px; border-radius:14px;
  display:grid; place-items:center;
  background: rgba(11,95,255,.10);
  border:1px solid rgba(11,95,255,.18);
  font-weight:900;
  color: var(--brand);
}
.tile h3{margin:10px 0 6px}
.tile p{margin:0; color:var(--muted)}

/* Projects table */
.tableWrap{overflow:auto}
.table{
  width:100%;
  border-collapse: collapse;
  min-width: 760px;
}
.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}
.table th{
  font-size:12px;
  text-transform: uppercase;
  letter-spacing:.06em;
  color: var(--muted);
}
.badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  border:1px solid var(--line);
  background: rgba(11,27,51,.02);
}
.badge.blue{border-color: rgba(11,95,255,.20); background: rgba(11,95,255,.08)}
.badge.green{border-color: rgba(24,169,87,.25); background: rgba(24,169,87,.10)}
.badge.amber{border-color: rgba(245,158,11,.25); background: rgba(245,158,11,.10)}

/* Project cards (for homepage highlights) */
.projects{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}
.project{
  grid-column: span 4;
  overflow:hidden;
}
@media (max-width: 1000px){ .project{grid-column: span 12} }
.thumb{
  height:180px;
  background-size:cover;
  background-repeat:no-repeat;
  background-position: 75% center;
}
.pbody{padding:16px}
.pbody h3{margin:8px 0 6px}
.pbody p{margin:0; color:var(--muted)}
.bar{
  margin-top:12px;
  height:10px;
  border-radius:999px;
  background: rgba(11,27,51,.08);
  overflow:hidden;
  border:1px solid var(--line);
}
.bar span{
  display:block; height:100%;
  width: 35%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

/* Team */
.team{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}
.member{
  grid-column: span 3;
  overflow:hidden;
}
@media (max-width: 1000px){ .member{grid-column: span 6} }
@media (max-width: 520px){ .member{grid-column: span 12} }
.member .head{
  padding:16px;
  display:flex; gap:12px; align-items:center;
  border-bottom:1px solid var(--line);
  background: rgba(11,27,51,.02);
}
.avatar{
  width:56px; height:56px; border-radius:999px;
  object-fit:cover;
  object-position: 50% 30%;
  border:2px solid rgba(11,95,255,.18);
}
.member .body{padding:16px}
.member .body p{margin:0; color:var(--muted)}
.links{display:flex; gap:10px; margin-top:12px; flex-wrap:wrap}
.pill{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(11,27,51,.02);
  font-weight:800;
  font-size:13px;
}

/* Contact */
.formGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 1000px){ .formGrid{grid-template-columns:1fr} }
.form{padding:18px}
label{display:block; font-weight:900; margin:0 0 6px}
input,textarea{
  width:100%;
  padding:12px;
  border-radius: 12px;
  border:1px solid var(--line);
  background: #fff;
  outline:none;
  font-size: 15px;
}
input:focus,textarea:focus{border-color: rgba(11,95,255,.35)}
textarea{min-height:140px; resize:vertical}
.note{color:var(--muted); font-size:13px}

.footer{
  margin-top:20px;
  border-top:1px solid var(--line);
  background: #fff;
  padding:22px 0 34px;
  color: var(--muted);
}
.foot{
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; align-items:center;
}
.small{font-size:13px}


/* FORCE BIGGER LOGO */
.brand img{
  height:110px !important;
  width:auto !important;
}

.header .row{
  padding:20px 0 !important;
}

/* mobile slightly smaller */
@media (max-width:900px){
  .brand img{
    height:70px !important;
  }
}


/* ===== FORCE BIGGER LOGO ===== */
.brand img{
  height:110px !important;
  width:auto !important;
}

.header .row{
  padding:22px 0 !important;
}

@media (max-width:900px){
  .brand img{
    height:70px !important;
  }
}


/* ===== EXTRA BIG LOGO ===== */
.brand img{
  height:150px !important;
  width:auto !important;
}

.header .row{
  padding:30px 0 !important;
}

@media (max-width:900px){
  .brand img{
    height:90px !important;
  }
}


/* ===== MAX LOGO SIZE ===== */
.brand img{
  height:170px !important;
  width:auto !important;
}

.header .row{
  padding:36px 0 !important;
}

@media (max-width:900px){
  .brand img{
    height:110px !important;
  }
}


/* ===== ULTRA LARGE LOGO ===== */
.brand img{
  height:220px !important;
  width:auto !important;
}

.header .row{
  padding:48px 0 !important;
}

@media (max-width:900px){
  .brand img{
    height:140px !important;
  }
}


/* ===== MODERN CORPORATE BACKGROUND ===== */
body{
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(11,95,255,.08), transparent 60%),
    radial-gradient(1000px 500px at -10% 110%, rgba(0,163,255,.06), transparent 60%),
    #f4f7fb !important;
}

/* Slight glass effect on header */
.header{
  background: rgba(244,247,251,.92) !important;
  backdrop-filter: blur(12px);
}



/* ===== STRONGER CORPORATE GRADIENT ===== */
body{
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(11,95,255,.18), transparent 60%),
    radial-gradient(1000px 600px at -10% 110%, rgba(0,163,255,.14), transparent 60%),
    linear-gradient(180deg, #f4f7fb 0%, #eef3fb 100%) !important;
}



/* ===== ANIMATED CORPORATE BACKGROUND ===== */
body{
  background: linear-gradient(-45deg, #eef3fb, #dbeafe, #e0f2fe, #f0f9ff);
  background-size: 400% 400%;
  animation: gradientMove 18s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



/* ===== FORCE ANIMATED BACKGROUND (OVERRIDE ALL) ===== */
body{
  background: linear-gradient(-45deg, #dbeafe, #bfdbfe, #e0f2fe, #c7d2fe) !important;
  background-size: 400% 400% !important;
  animation: gradientMoveStrong 12s ease-in-out infinite !important;
}

@keyframes gradientMoveStrong {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



/* ===== SLIM HEADER WITH LARGE LOGO ===== */
.header .row{
  padding:10px 0 !important;
}

.brand img{
  height:170px !important;
}

@media (max-width:900px){
  .header .row{
    padding:8px 0 !important;
  }
}



/* ===== BIGGER TEAM PHOTOS ===== */
.avatar{
  width:110px !important;
  height:110px !important;
}

.member .head{
  align-items:center !important;
}

@media (max-width:520px){
  .avatar{
    width:90px !important;
    height:90px !important;
  }
}



/* ---- Home categories: allow 4 cards ---- */
.grid3{
  grid-template-columns: repeat(4, 1fr) !important;
}
@media (max-width: 1000px){
  .grid3{
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 640px){
  .grid3{
    grid-template-columns: 1fr !important;
  }
}

/* ---- Project cards on home: 3 per row desktop ---- */
.projects{
  grid-template-columns: repeat(12, 1fr);
}
.project{
  grid-column: span 4;
}
@media (max-width: 1000px){
  .project{
    grid-column: span 6;
  }
}
@media (max-width: 640px){
  .project{
    grid-column: span 12;
  }
}


/* ===== Project detail pages ===== */
.projectHero{
  padding: 22px 0 12px;
}
.projectHeroGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:stretch;
}
@media (max-width: 980px){
  .projectHeroGrid{ grid-template-columns:1fr; }
}
.projectHero .media{
  min-height:380px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  border-radius:16px;
}
.projectHero .content{
  padding:22px;
}
.projectMeta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0 14px;
}
.projectMeta .badge{
  font-size:13px;
}
.projectLead{
  color:var(--muted);
  font-size:16px;
}
.projectDetailGrid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
}
@media (max-width: 980px){
  .projectDetailGrid{ grid-template-columns:1fr; }
}
.projectPanel{
  padding:18px;
}
.projectPanel h3{
  margin-top:0;
  margin-bottom:10px;
}
.projectPanel p{
  color:var(--muted);
}
.projectList{
  margin:0;
  padding-left:18px;
}
.projectList li{
  margin-bottom:8px;
  color:var(--muted);
}
.projectGallery{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.projectGallery img{
  width:100%;
  height:250px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--line);
}
.projectCta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.crumbs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  font-size:13px;
  color:var(--muted);
  margin-bottom:12px;
}


/* ===== PRO GALLERIES ===== */
.projectGallery{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:14px !important;}
@media (max-width:900px){.projectGallery{grid-template-columns:repeat(2,1fr) !important;}}
@media (max-width:560px){.projectGallery{grid-template-columns:1fr !important;}}
.projectGallery a{display:block;border-radius:16px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;}
.projectGallery img{width:100%;height:240px !important;object-fit:cover;border-radius:0 !important;transition:transform .28s ease;}
.projectGallery a:hover img{transform:scale(1.05);}
.lightbox{position:fixed;inset:0;background:rgba(6,15,30,.88);display:none;align-items:center;justify-content:center;padding:24px;z-index:9999;}
.lightbox.open{display:flex;}
.lightbox img{max-width:min(1100px,94vw);max-height:88vh;width:auto;height:auto;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.45);}
.lightbox-close{position:absolute;top:18px;right:18px;width:46px;height:46px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;display:grid;place-items:center;cursor:pointer;font-size:22px;font-weight:700;}


/* ==== FORCE REAL IMAGES ON HOMEPAGE PROJECT CARDS ==== */
.project-real-image{
  width:100% !important;
  height:180px !important;
  object-fit:cover !important;
  display:block !important;
  border-top-left-radius:16px !important;
  border-top-right-radius:16px !important;
  border-bottom:1px solid var(--line) !important;
}

/* ==== BIGGER TEAM CARDS + FULL EMAIL ==== */
.team{
  grid-template-columns: repeat(12, 1fr) !important;
  gap:16px !important;
}
.member{
  grid-column: span 6 !important;
  min-height: 280px !important;
}
@media (max-width: 900px){
  .member{
    grid-column: span 12 !important;
  }
}
.member .head{
  padding:22px !important;
  gap:16px !important;
}
.avatar{
  width:120px !important;
  height:120px !important;
  flex:0 0 120px !important;
}
.member .body{
  padding:20px !important;
}
.links{
  display:block !important;
}
.email-pill{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  white-space:normal !important;
  word-break:break-word !important;
  overflow-wrap:anywhere !important;
  text-align:center !important;
  padding:12px 14px !important;
  border-radius:14px !important;
  line-height:1.45 !important;
}

.lang-switch{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--line);background:var(--paper);border-radius:999px;box-shadow:0 4px 14px rgba(16,24,40,.06)}
.lang-switch a{font-weight:900;font-size:12px;padding:6px 10px;border-radius:999px;color:var(--muted);display:inline-flex;align-items:center;gap:5px;line-height:1}
.lang-switch a.active{background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff}
@media (max-width:900px){.lang-switch{margin-left:auto}.cta{gap:6px}.cta .btn.soft,.cta .btn.primary{display:none}}


/* Language selector flags */
.lang-switch a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.flag-icon {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
  vertical-align: middle;
}
