/* ============================================================
   Suport@UBc - Stylesheet
   HTML 4.01 Transitional / CSS2
   ============================================================ */

/* ----- Reset minimal ----- */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, table, td, th, blockquote {
    margin: 0;
    padding: 0;
}
* { box-sizing: border-box; }

/* ----- Tipografie de baza ----- */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #344054;
    background-color: #F9FAFB;
}

a            { color: #185ECD; text-decoration: none; }
a:hover      { text-decoration: underline; color: #0f3e8c; }
a:visited    { color: #185ECD; }

h1 { font-size: 2.2em;  line-height: 1.15; color: #101828; }
h2 { font-size: 1.7em;  line-height: 1.2;  color: #101828; margin-bottom: 0.5em; }
h3 { font-size: 1.2em;  line-height: 1.3;  color: #1D2939; margin-bottom: 0.3em; }
h4 { font-size: 1em;    line-height: 1.35; color: #1D2939; }
p  { margin-bottom: 0.85em; }

img { border: 0; max-width: 100%; height: auto; display: block; }

/* ----- Layout wrapper ----- */
.wrapper {
    width: 960px;
    margin: 0 auto;
}
@media screen and (max-width: 980px) {
    .wrapper { width: 96%; }
}

/* ============================================================
   HEADER / NAVIGATIE
   ============================================================ */
#header {
    background: #ffffff;
    border-bottom: 3px solid #185ECD;
    position: relative;
    z-index: 100;
}
#header .wrapper {
    padding: 0;
}
#header table {
    width: 100%;
    border-collapse: collapse;
}
#header td {
    vertical-align: middle;
    padding: 12px 0;
}
#header td.logo-cell {
    width: 130px;
}
#header td.logo-cell a {
    display: inline-block;
    line-height: 0;
}
#header td.logo-cell img {
    width: 90px;
    height: auto;
}
#header td.nav-cell {
    text-align: right;
}
#header td.tagline-cell {
    padding-left: 16px;
}
#header .site-name {
    font-size: 1.3em;
    font-weight: bold;
    color: #101828;
    letter-spacing: -0.3px;
}
#header .site-subtitle {
    font-size: 0.78em;
    color: #667085;
    margin-top: 2px;
}

/* Nav */
#nav {
    display: inline;
}
#nav ul {
    list-style: none;
    display: inline;
    margin: 0;
    padding: 0;
}
#nav ul li {
    display: inline;
    margin-left: 6px;
}
#nav ul li a {
    display: inline-block;
    padding: 8px 14px;
    color: #344054;
    font-size: 0.88em;
    font-weight: bold;
    letter-spacing: 0.2px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid transparent;
}
#nav ul li a:hover {
    background-color: #EBF2FF;
    color: #185ECD;
    text-decoration: none;
    border-color: #c8d9f5;
}
#nav ul li.raport a {
    background-color: #185ECD;
    color: #ffffff;
    border-color: #185ECD;
}
#nav ul li.raport a:hover {
    background-color: #0f3e8c;
    border-color: #0f3e8c;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
#hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    background-color: #1a1a2e;
}
#hero img.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
    opacity: 0.55;
}
#hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 40px 70px;
}
#hero .hero-badge {
    display: inline-block;
    background-color: rgba(24, 94, 205, 0.85);
    color: #ffffff;
    font-size: 0.78em;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 22px;
}
#hero h1 {
    color: #ffffff;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    max-width: 760px;
    margin: 0 auto 20px;
    line-height: 1.25;
}
#hero h1 strong { font-weight: 900; }
#hero .hero-sub {
    color: #e8edf5;
    font-size: 0.95em;
    font-weight: bold;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    max-width: 620px;
    margin: 0 auto 6px;
    text-transform: uppercase;
}
#hero .hero-code {
    color: #b8ccee;
    font-size: 0.85em;
    margin-top: 6px;
}
#hero .hero-btn {
    display: inline-block;
    margin-top: 28px;
    background-color: #ffffff;
    color: #185ECD;
    font-weight: bold;
    font-size: 0.9em;
    padding: 11px 30px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    border: 2px solid #ffffff;
}
#hero .hero-btn:hover {
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
}

/* ============================================================
   SECTIUNI PRINCIPALE
   ============================================================ */
.section {
    padding: 55px 0;
}
.section-alt {
    background-color: #ffffff;
}
.section-title {
    text-align: center;
    margin-bottom: 36px;
}
.section-title h2 {
    font-size: 1.75em;
    color: #101828;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.section-title h2:after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #185ECD;
    margin: 10px auto 0;
}

/* ----- Scop ----- */
#scop .scop-box {
    background-color: #EBF2FF;
    border-left: 5px solid #185ECD;
    border-radius: 0 6px 6px 0;
    padding: 30px 36px;
    max-width: 720px;
    margin: 0 auto;
}
#scop .scop-box .scop-icon {
    font-size: 1.8em;
    color: #185ECD;
    margin-bottom: 12px;
}
#scop .scop-box h3 {
    font-size: 1.25em;
    color: #101828;
    margin-bottom: 10px;
}
#scop .scop-box p {
    font-size: 1.05em;
    color: #344054;
    margin: 0;
    line-height: 1.7;
}

/* ----- Obiective ----- */
#obiective .ob-list {
    list-style: none;
    padding: 0;
    max-width: 820px;
    margin: 0 auto;
}
#obiective .ob-list li {
    display: table;
    width: 100%;
    margin-bottom: 24px;
    background-color: #ffffff;
    border: 1px solid #e0e7f0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
#obiective .ob-list li .ob-num {
    display: table-cell;
    width: 70px;
    background-color: #185ECD;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    font-size: 1.1em;
    font-weight: 900;
    letter-spacing: 0.5px;
}
#obiective .ob-list li .ob-body {
    display: table-cell;
    padding: 18px 24px;
    vertical-align: middle;
}
#obiective .ob-list li .ob-body h3 {
    font-size: 1em;
    color: #185ECD;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#obiective .ob-list li .ob-body p {
    margin: 0;
    color: #344054;
    font-size: 0.95em;
    line-height: 1.65;
}

/* ----- Activitati ----- */
#activitati .act-list {
    list-style: none;
    padding: 0;
    max-width: 820px;
    margin: 0 auto;
    counter-reset: act-counter;
}
#activitati .act-list li {
    counter-increment: act-counter;
    display: table;
    width: 100%;
    margin-bottom: 14px;
    background-color: #F9FAFB;
    border: 1px solid #e0e7f0;
    border-radius: 5px;
    overflow: hidden;
}
#activitati .act-list li:hover {
    background-color: #EBF2FF;
    border-color: #c8d9f5;
}
#activitati .act-list li .act-num {
    display: table-cell;
    width: 50px;
    background-color: #1D2939;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    font-size: 0.9em;
    font-weight: bold;
}
#activitati .act-list li .act-num:before {
    content: counter(act-counter);
}
#activitati .act-list li .act-text {
    display: table-cell;
    padding: 13px 20px;
    vertical-align: middle;
    font-size: 0.93em;
    color: #344054;
    line-height: 1.55;
}
#activitati .act-list li .act-text a {
    color: #344054;
    text-decoration: none;
}
#activitati .act-list li:hover .act-text a {
    color: #185ECD;
}

/* ============================================================
   PAGINI DE ACTIVITATI
   ============================================================ */
.page-header {
    background-color: #1D2939;
    padding: 40px 0 32px;
    border-bottom: 4px solid #185ECD;
}
.page-header .back-link {
    color: #93c0f5;
    font-size: 0.85em;
    margin-bottom: 12px;
    display: block;
}
.page-header .back-link:hover { color: #ffffff; }
.page-header h1 {
    color: #ffffff;
    font-size: 1.8em;
    line-height: 1.2;
}
.page-header .act-meta {
    color: #98A2B3;
    font-size: 0.85em;
    margin-top: 8px;
}

.page-body {
    padding: 48px 0 60px;
}
.page-body p {
    font-size: 1.02em;
    color: #344054;
    line-height: 1.75;
    margin-bottom: 1em;
    max-width: 720px;
}

/* Galerie foto */
.photo-gallery {
    margin-top: 36px;
    margin-bottom: 10px;
}
.photo-gallery h3 {
    font-size: 1.05em;
    color: #101828;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e7f0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gallery-grid {
    /* 3-column float grid */
}
.gallery-grid:after {
    content: "";
    display: table;
    clear: both;
}
.gallery-item {
    float: left;
    width: 30%;
    margin: 0 1.5% 20px;
    background-color: #ffffff;
    border: 1px solid #e0e7f0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0,0,0,0.08);
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.gallery-item .caption {
    padding: 8px 10px;
    font-size: 0.8em;
    color: #667085;
    text-align: center;
}

/* 2-col gallery */
.gallery-2col .gallery-item { width: 47%; margin: 0 1.5% 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
    background-color: #1D2939;
    color: #98A2B3;
    padding: 36px 0;
    font-size: 0.85em;
}
#footer table {
    width: 100%;
    border-collapse: collapse;
}
#footer td {
    vertical-align: top;
    padding: 0 20px 0 0;
}
#footer td:last-child { padding-right: 0; }
#footer h4 {
    color: #ffffff;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
#footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#footer ul li {
    margin-bottom: 6px;
}
#footer ul li a {
    color: #98A2B3;
    text-decoration: none;
}
#footer ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}
#footer .footer-bottom {
    border-top: 1px solid #2d3e55;
    margin-top: 28px;
    padding-top: 18px;
    text-align: center;
    color: #667085;
    font-size: 0.88em;
}
#footer .footer-logo img {
    width: 60px;
    height: auto;
    opacity: 0.7;
    margin-bottom: 8px;
}

/* ============================================================
   UTILITARE
   ============================================================ */
.clearfix:after { content: ""; display: table; clear: both; }
.text-center     { text-align: center; }
.mt20 { margin-top: 20px; }
.mt40 { margin-top: 40px; }
.mb20 { margin-bottom: 20px; }

/* Separator orizontal */
hr.divider {
    border: 0;
    height: 1px;
    background-color: #e0e7f0;
    margin: 40px auto;
    max-width: 820px;
}
