:root {
    --accent: #3fd4ad;
    --accent-strong: #16a085;
    --accent-light: rgba(63, 212, 173, 0.12);
    --dark: #1a1a1a;
    --muted: #6b7280;
    --card: #ffffff;
    --bg: #f8fafc;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.16);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body {
    background-color: var(--bg);
    font-family: Arsenal, Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #2a2a2a;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}
h1, h2, h3, h4, h5, h6 {
    font-family: Arsenal, Arial, sans-serif;
    font-weight: 700;
    color: #111;
}
p {
    line-height: 28px;
    margin-bottom: 20px;
    font-size: 18px;
    color: #2f2f2f;
}
.centered {
    text-align: center;
}
.goright {
    text-align: right;
}
.mt {
    padding-top: 25px;
}
a {
    color: #16a085;
    word-wrap: break-word;
    -webkit-transition: color .1s ease-in, background .1s ease-in;
    -moz-transition: color .1s ease-in, background .1s ease-in;
    -ms-transition: color .1s ease-in, background .1s ease-in;
    -o-transition: color .1s ease-in, background .1s ease-in;
    transition: color .1s ease-in, background .1s ease-in;
}
a:hover, a:focus {
    color: #7b7b7b;
    text-decoration: none;
    outline: 0;
}
a:before, a:after {
    -webkit-transition: color .1s ease-in, background .1s ease-in;
    -moz-transition: color .1s ease-in, background .1s ease-in;
    -ms-transition: color .1s ease-in, background .1s ease-in;
    -o-transition: color .1s ease-in, background .1s ease-in;
    transition: color .1s ease-in, background .1s ease-in;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-green {
    color: #fff;
    background: linear-gradient(135deg, #3fd4ad 0%, #2ec39a 100%);
    box-shadow: 0 4px 14px rgba(63, 212, 173, 0.35);
}
.btn-green:hover, .btn-green:focus, .btn-green:active, .btn-green.active, .open .dropdown-toggle.btn-green {
    color: #fff;
    background: linear-gradient(135deg, #2ec39a 0%, #16a085 100%);
    box-shadow: 0 6px 20px rgba(63, 212, 173, 0.45);
    transform: translateY(-2px);
}
.tm {
    font-size: 14px;
    line-height: 20px;
}
.menu {
    position: fixed;
    right: -200px;
    width: 260px;
    height: 100%;
    top: 0;
    z-index: 10;
    text-align: left;
}
.menu.menu-open {
    right: 0;
}
.menu-wrap {
    position: absolute;
    top: 0;
    left: 60px;
    background: #1a1a1a;
    width: 200px;
    height: 100%}
.menu h1.logo a {
    font-family: Arsenal;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .15em;
    line-height: 40px;
    text-transform: uppercase;
    color: #fff;
    margin-top: 20px;
}
.menu h1.logo a:hover {
    color: #3fd4ad;
}
.menu img.logo {
    margin: 20px 0;
    max-width: 160px;
}
.menu a {
    margin-left: 20px;
    color: gray;
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.menu a:hover {
    color: #fff;
}
.menu a:active {
    color: #fff;
}
.menu a>i {
    float: left;
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    width: 25px;
    font-size: 14px;
    line-height: 40px;
    margin: 25px 2px;
}
.menu-close {
    cursor: pointer;
    display: block;
    position: absolute;
    font-size: 14px;
    color: gray;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 20px;
    right: 5px;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}
.menu-close:hover {
    color: #fff;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}
.body-push {
    overflow-x: hidden;
    position: relative;
    left: 0;
}
.body-push-toright {
    left: 200px;
}
.body-push-toleft {
    left: -200px;
}
.menu, .body-push {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
#menuToggle {
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 11;
    display: block;
    text-align: center;
    font-size: 14px;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    background: rgba(0, 0, 0, .25);
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}
#menuToggle:hover {
    color: #fff;
    background: rgba(0, 0, 0, .2);
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}
#headerwrap {

	background: url(../img/main2.png) no-repeat center top;
    margin-top: -10px;
    padding-top: 20px;
    text-align: center;
    background-attachment: relative;
    background-position: center center;
    min-height: 500px;
    width: 100%;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
	
	
}
.headerwrap {
    margin-top: 130px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 3px;
}

.headerwrap p {
    color: #fff;
    font-size: 30px;
    font-weight: 100;
    letter-spacing: 2px;
}
.headerwrap h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 100;
	font-weight:bold;
    letter-spacing: 2px;
}

.headerwrap h3 {
    color: #fff;
    font-size: 30px;
    font-weight: 100;
    letter-spacing: 2px;
}
#headerwrap i {
    font-size: 35px;
    color: #fff;
}
#headerwrap .spacer {
    margin-top: 220px;
}
#mapwrap {
    margin: 0;
    padding: 0;
}
#serviceswrap {
    background: url(../img/main3.jpg) no-repeat center top;
    margin-top: -10px;
    padding-top: 20px;
    text-align: center;
    background-attachment: relative;
    background-position: center center;
    min-height: 500px;
    width: 100%;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
#serviceswrap h2 {
    color: #fff;
    font-size: 50px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 150px;
}
#aboutwrap {
    background: url(../img/main3.jpg) no-repeat center top;
    margin-top: -10px;
    padding-top: 20px;
    text-align: center;
    background-attachment: relative;
    background-position: center center;
    min-height: 300px;
    width: 100%;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
#aboutwrap h2 {
    color: #fff;
    font-size: 50px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 80px;
}
#portwrapPrograms {
    background: url(../img/mainPrograms.jpg) no-repeat center top;
    margin-top: -10px;
    padding-top: 20px;
    text-align: center;
    background-attachment: relative;
    background-position: center center;
    min-height: 350px;
    width: 100%;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
#portwrapPrograms h2 {
    color: #3fd4ad;
    font-size: 50px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 50px;
}

#portwrap {
    background: url(../img/main3.jpg) no-repeat center top;
    margin-top: -10px;
    padding-top: 20px;
    text-align: center;
    background-attachment: relative;
    background-position: center center;
    min-height: 350px;
    width: 100%;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
#portwrap h2 {
    color: #fff;
    font-size: 50px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 50px;
}
#sp {
    background: #2f2f2f;
    padding-top: 35px;
    padding-bottom: 35px;
}
#sp h2 {
    color: #fff;
}
#sp-standout {
    background: url(../img/main3.jpg) no-repeat center top;
    margin-top: -10px;
    padding-top: 20px;
    text-align: center;
    background-attachment: relative;
    background-position: center center;
    min-height: 500px;
    width: 100%;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
#portfolio {
    width: 100%}
#services {
    padding: 70px 0;
    margin: 0;
}
#lg {
    background: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
}
#lg .desc {
    text-align: left;
}
#call {
    background: #2f2f2f;
    padding-top: 35px;
    padding-bottom: 35px;
    text-align: center;
}
#call h3 {
    color: #fff;
}
#call p {
    color: #fff;
}
#sf {
    display: block;
    width: 100%}
#sf .container {
    width: 100%}
#sf .col-lg-4 {
    margin: 0;
    padding: 15px;
}
#sf .lg {
    background-color: #3fd4ad;
}
#sf .dg {
    background-color: #16a085;
}
#sf h4 {
    color: #fff;
}
#sf p {
    color: #fff;
}
#sf .ml {
    margin-left: 30px;
}
#sf i {
    font-size: 70px;
    color: #fff;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}
#cf {
    background: #2f2f2f;
}
#cf h4 {
    color: #fff;
    margin-left: 15px;
    margin-top: 15px;
}
#cf p {
    color: #fff;
    font-size: 15px;
    line-height: 18px;
    margin-left: 15px;
}
#cf .container {
    width: 100%}
#cf .col-lg-8 {
    margin: 0;
    padding: 0;
}
.process {
    max-width: 69em;
    list-style: none;
    margin: 30px auto;
    padding: 0;
}
.process li {
    display: block;
    float: left;
    padding: 1px;
    width: 100%;
    opacity: 0;
}
.process li.shown, .no-js .process li, .no-cssanimations .process li {
    opacity: 1;
}
.process li a, .process li img {
    outline: 0;
    border: 0;
    display: block;
    max-width: 100%}
.process.effect-2 li.animate {
    -webkit-transform: translateY(200px);
    -moz-transform: translateY(200px);
    transform: translateY(200px);
    -webkit-animation: moveUp .65s ease forwards;
    -moz-animation: moveUp .65s ease forwards;
    animation: moveUp .65s ease forwards;
}
@-webkit-keyframes moveUp {
    to {
    -webkit-transform: translateY(0);
    opacity: 1;
}
}@-moz-keyframes moveUp {
    to {
    -moz-transform: translateY(0);
    opacity: 1;
}
}@keyframes moveUp {
    to {
    transform: translateY(0);
    opacity: 1;
}
}#chartwrap {
    width: 100%}
#chartwrap .container {
    margin-left: 0;
    padding-left: 0;
}
#chartwrap h1, #chartwrap p {
    margin-left: 10px;
}
.cardinfo {
    background: #fff;
    padding: 15px;
    margin: 2px;
    text-align: left;
}
.cardinfo i {
    font-size: 18px;
    padding-right: 20px;
}
.grid {
    max-width: 69em;
    list-style: none;
    margin: 30px auto;
    padding: 0;
}
.grid li {
    display: block;
    float: left;
    padding: 7px;
    width: 33%;
    opacity: 0;
}
.grid li.shown, .no-js .grid li, .no-cssanimations .grid li {
    opacity: 1;
}
.grid li a, .grid li img {
    outline: 0;
    border: 0;
    display: block;
    max-width: 100%}
.grid img {
    opacity: .7;
}
.grid img:hover {
    opacity: 1;
}
.grid.effect-2 li.animate {
    -webkit-transform: translateY(200px);
    -moz-transform: translateY(200px);
    transform: translateY(200px);
    -webkit-animation: moveUp .65s ease forwards;
    -moz-animation: moveUp .65s ease forwards;
    animation: moveUp .65s ease forwards;
}
@-webkit-keyframes moveUp {
    to {
    -webkit-transform: translateY(0);
    opacity: 1;
}
}@-moz-keyframes moveUp {
    to {
    -moz-transform: translateY(0);
    opacity: 1;
}
}@keyframes moveUp {
    to {
    transform: translateY(0);
    opacity: 1;
}
}

/* Modern layout additions */
.site-header {
    position: relative;
    z-index: 20;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}
.site-header--transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    box-shadow: none;
}
.site-header--transparent .brand-group img {
    filter: brightness(0) invert(1);
}
.site-header--transparent .brand-divider {
    background: rgba(255, 255, 255, 0.4);
}
.site-header--transparent .lang-switch__link {
    color: #fff;
}
.site-header--transparent .lang-switch__link.active {
    background: rgba(255, 255, 255, 0.15);
}
.site-header--transparent .lang-switch__divider {
    color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 993px) {
    .site-header--transparent .nav-links a {
        color: #fff;
    }
    .site-header--transparent .nav-links a:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
    }
}
.site-header:not(.site-header--transparent) .nav-toggle {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
}
.site-header:not(.site-header--transparent) .nav-toggle span {
    background: #374151;
}
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}
.brand-group {
    display: flex;
    align-items: center;
    gap: 14px;
}
.brand-divider {
    width: 1px;
    height: 44px;
    background: #d0d0d0;
}
.brand img {
    display: block;
    height: 36px;
    width: auto;
    transition: transform 0.3s ease;
}
.brand img.cep-logo {
    height: 64px;
}
.brand:hover img {
    transform: scale(1.02);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #374151;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all var(--transition);
}
.nav-links a:hover {
    color: var(--accent-strong);
    background: var(--accent-light);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.25s ease;
}
.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.22);
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid #e0e0e0;
}
.lang-switch__link {
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all var(--transition);
}
.lang-switch__link:hover {
    color: var(--accent-strong);
    background: var(--accent-light);
}
.lang-switch__link.active {
    color: #fff;
    background: var(--accent-strong);
}
.lang-switch__divider {
    color: #d0d0d0;
    font-size: 14px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0 85px;
    background:
        linear-gradient(135deg, rgba(12, 42, 105, 0.75) 0%, rgba(10, 31, 77, 0.75) 40%, rgba(23, 92, 97, 0.75) 100%),
        url(../img/cover.jpg) no-repeat center center;
    background-size: cover;
    color: #fff;
    overflow: hidden;
}
.hero__shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}
.hero__shape--1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(180deg, #00FFCC 0%, #00C79F 100%);
    right: -150px;
    top: -100px;
    animation: float1 8s ease-in-out infinite;
}
.hero__shape--2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(180deg, #146D6B 0%, #175C61 100%);
    left: -100px;
    bottom: -50px;
    animation: float2 10s ease-in-out infinite;
}
.hero__shape--3 {
    width: 200px;
    height: 200px;
    background: #00FFCC;
    right: 30%;
    bottom: 20%;
    opacity: 0.3;
    animation: float3 6s ease-in-out infinite;
}
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 20px) rotate(5deg); }
}
@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}
@keyframes float3 {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
.hero__content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.hero__content h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}
.hero__content .lead {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 28px;
}
.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00FFCC;
    margin-bottom: 20px;
}
.hero__stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.hero__stat {
    text-align: center;
}
.hero__stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #00FFCC;
    line-height: 1;
    margin-bottom: 6px;
}
.hero__stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 32px 0;
}
.btn-ghost {
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.hero__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 10px;
}
.hero__meta span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 28px 26px;
    max-width: 400px;
    margin-left: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform var(--transition), box-shadow var(--transition);
}
.hero__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.quote-mark {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 10px;
}
.quote-author {
    margin: 10px 0 0;
    font-weight: 600;
    color: #e2e2e2;
}
.scroll-cue {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    color: #fff;
    opacity: 0.8;
    animation: floaty 1.6s ease-in-out infinite;
}
@keyframes floaty {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -8px); }
}

.section {
    padding: 70px 0;
}
.section-title {
    text-align: center;
    color: #fff;
    margin-bottom: 28px;
    letter-spacing: 0.05em;
}
.content-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.partners img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.copy p:last-child {
    margin-bottom: 0;
}

/* Bento Grid Section */
.bento-section {
    background: linear-gradient(135deg, #d4e7e7 0%, #c9dde4 50%, #b8d4d4 100%);
    padding: 80px 0;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto auto;
    gap: 16px;
}
.bento-card {
    background: linear-gradient(135deg, #0d2137 0%, #0a3d5c 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}
.bento-card h4 {
    color: #00FFCC;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
}
.bento-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}
.bento-card--hero {
    grid-column: span 2;
    grid-row: span 2;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0d2137 0%, #0a3d5c 100%);
}
.bento-card--hero .bento-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}
.bento-card--hero .bento-card__content {
    position: relative;
    padding: 32px;
    flex: 1;
}
.bento-card--hero .bento-card__footer {
    position: relative;
    padding: 20px 32px 28px;
    background: linear-gradient(to top, rgba(10,30,50,0.9), transparent);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}
.bento-stat {
    display: block;
    font-size: 72px;
    font-weight: 700;
    color: #00FFCC;
    line-height: 1;
}
.bento-stat-label {
    display: block;
    font-size: 18px;
    color: #fff;
    margin-top: 8px;
}
.bento-card--stat {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 32px;
    background: linear-gradient(135deg, #0d4f4f 0%, #0a3d5c 100%);
}
.bento-card--stat .bento-stat--large {
    color: var(--accent);
}
.bento-stat--large {
    font-size: 100px;
}
.bento-stat-text {
    display: flex;
    flex-direction: column;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.bento-card--tool {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.bento-card--tool .bento-card__image {
    width: 100%;
    height: 130px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.bento-card--tool .bento-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
}
.bento-card--tool h4 {
    font-size: 16px;
    margin: 0;
}
.bento-card--events {
    grid-column: span 2;
    padding: 0;
    min-height: 200px;
    background: linear-gradient(135deg, #0d2137 0%, #0a3d5c 100%);
}
.bento-card--events .bento-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}
.bento-card--events .bento-card__content {
    position: relative;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bento-card--events h4 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 16px;
}
.bento-card--events .bento-events-list {
    font-size: 18px;
    font-weight: 700;
    color: #00FFCC;
    font-style: normal;
    line-height: 1.3;
    margin: 0;
}
/* Bento grid layout */
.bento-grid .bento-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento-grid .bento-card:nth-child(2) { grid-column: 3 / 5; grid-row: 1; }
.bento-grid .bento-card:nth-child(3) { grid-column: 5 / 7; grid-row: 1; }
.bento-grid .bento-card:nth-child(4) { grid-column: 3 / 5; grid-row: 2; }
.bento-grid .bento-card:nth-child(5) { grid-column: 5 / 7; grid-row: 2; }
.bento-grid .bento-card:nth-child(6) { grid-column: 1 / 2; grid-row: 3; }
.bento-grid .bento-card:nth-child(7) { grid-column: 2 / 3; grid-row: 3; }
.bento-grid .bento-card:nth-child(8) { grid-column: 3 / 7; grid-row: 3; }

@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .bento-grid .bento-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
    .bento-grid .bento-card:nth-child(2) { grid-column: 3 / 5; grid-row: 1; }
    .bento-grid .bento-card:nth-child(3) { grid-column: 3 / 5; grid-row: 2; }
    .bento-grid .bento-card:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
    .bento-grid .bento-card:nth-child(5) { grid-column: 3 / 5; grid-row: 3; }
    .bento-grid .bento-card:nth-child(6) { grid-column: 1 / 2; grid-row: 4; }
    .bento-grid .bento-card:nth-child(7) { grid-column: 2 / 3; grid-row: 4; }
    .bento-grid .bento-card:nth-child(8) { grid-column: 3 / 5; grid-row: 4; }
}
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bento-grid .bento-card:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
    .bento-grid .bento-card:nth-child(2) { grid-column: 1 / 3; grid-row: auto; }
    .bento-grid .bento-card:nth-child(3) { grid-column: 1 / 3; grid-row: auto; }
    .bento-grid .bento-card:nth-child(4) { grid-column: 1 / 3; grid-row: auto; }
    .bento-grid .bento-card:nth-child(5) { grid-column: 1 / 3; grid-row: auto; }
    .bento-grid .bento-card:nth-child(6) { grid-column: 1 / 2; grid-row: auto; }
    .bento-grid .bento-card:nth-child(7) { grid-column: 2 / 3; grid-row: auto; }
    .bento-grid .bento-card:nth-child(8) { grid-column: 1 / 3; grid-row: auto; }
    .bento-stat { font-size: 56px; }
    .bento-stat--large { font-size: 72px; }
    .bento-card--events h4 { font-size: 22px; }
    .bento-card--events .bento-events-list { font-size: 16px; }
}
@media (max-width: 480px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-grid .bento-card:nth-child(n) { grid-column: 1; grid-row: auto; }
}

.highlight {
    background: linear-gradient(180deg, #1a2332 0%, #1e2a3a 100%);
    color: #fff;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(63, 212, 173, 0.15);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: left;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    opacity: 0;
    transition: opacity var(--transition);
}
.feature-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(63, 212, 173, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.feature-card:hover::before {
    opacity: 1;
}
.feature-card h4 {
    color: #fff;
    font-size: 20px;
    margin: 16px 0 12px;
}
.feature-card p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.6;
}
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(63, 212, 173, 0.2), rgba(22, 160, 133, 0.1));
    border: 1px solid rgba(63, 212, 173, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(63, 212, 173, 0.15);
}
.icon-circle img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}
.section-header h3 {
    margin-bottom: 8px;
    font-size: 36px;
}
.section-header p {
    margin-bottom: 0;
    color: #4b4b4b;
}

/* New Programs Section - Brand Style */
.programs-new {
    position: relative;
    background:
        linear-gradient(135deg, rgba(12, 42, 105, 0.82) 0%, rgba(10, 31, 77, 0.8) 40%, rgba(23, 92, 97, 0.75) 100%),
        url(../img/programs-bg.png) no-repeat right center;
    background-size: cover;
    padding: 80px 0;
    overflow: hidden;
}
.programs-new__shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}
.programs-new__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}
.programs-new__shape--1 {
    width: 400px;
    height: 400px;
    background: #00FFCC;
    left: -150px;
    top: 50%;
    transform: translateY(-50%);
}
.programs-new__shape--2 {
    width: 300px;
    height: 300px;
    background: #146D6B;
    right: -100px;
    bottom: -100px;
}
.programs-new .section-header h3 {
    color: #fff;
}
.programs-new .section-header p {
    color: rgba(255, 255, 255, 0.7);
}
.programs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.program-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 16px;
    padding: 24px 20px;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    position: relative;
}
.program-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 255, 204, 0.4);
    transform: translateY(-4px);
}
.program-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #00FFCC;
    margin: 0 0 16px;
    line-height: 1.35;
    min-height: 70px;
}
.program-card__type {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}
.program-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}
.program-card__list li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
    line-height: 1.4;
}
.program-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #00FFCC;
    border-radius: 50%;
}
.program-card__footer {
    margin-top: auto;
}
.program-card__tag {
    display: inline-block;
    background: rgba(0, 255, 204, 0.15);
    border: 1px solid rgba(0, 255, 204, 0.3);
    color: #00FFCC;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
}
@media (max-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
    .program-card h4 {
        min-height: auto;
    }
}

/* Legacy course styles - keep for compatibility */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.course-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: #111;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(63, 212, 173, 0.2);
}
.course-media {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.5s ease;
}
.course-card:hover .course-media {
    transform: scale(1.03);
}
.course-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(63, 212, 173, 0.15), rgba(22, 160, 133, 0.12));
    color: var(--accent-strong);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(63, 212, 173, 0.2);
}
.pill-muted {
    background: linear-gradient(135deg, #eef1f5, #e5e9f0);
    color: #4d5565;
    border-color: #dde1e8;
}

.news {
    background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.news-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.news-media {
    height: 170px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.news-card:hover .news-media {
    transform: scale(1.05);
}
.news-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.news-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-strong);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.news-title {
    font-weight: 700;
    font-size: 17px;
    color: #1f1f1f;
    text-decoration: none;
    line-height: 1.4;
    transition: color var(--transition);
}
.news-title:hover {
    color: var(--accent-strong);
    text-decoration: none;
}
.news-empty {
    text-align: center;
    color: #6f6f6f;
    margin: 0 auto;
}

/* Page hero (for inner pages like news-list) */
.page-hero {
    background: linear-gradient(135deg, #1a1f2b 0%, #0d2137 100%);
    padding: 60px 0 50px;
    color: #fff;
    position: relative;
    margin-top: 0;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.page-hero h1 {
    color: #fff;
    font-size: 40px;
    margin: 0 0 10px;
}
.page-hero p {
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    font-size: 17px;
}
.page-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 22px;
    transition: color var(--transition);
}
.page-hero__back:hover {
    color: #fff;
    text-decoration: none;
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 56px;
    padding: 28px 0;
    flex-wrap: wrap;
    border-top: 1px solid #e8ecf0;
}
.pagination-btn {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    width: auto;
    height: 44px;
    padding: 0 10px;
    margin: 0;
    border-radius: 12px;
    border: 1.5px solid #e0e6ed;
    background: #fff;
    color: #374151;
    font-size: 15px;
    font-family: Arsenal, Arial, sans-serif;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    vertical-align: middle;
}
.pagination-btn:hover {
    border-color: var(--accent);
    color: var(--accent-strong);
    background: var(--accent-light);
    box-shadow: 0 2px 8px rgba(63, 212, 173, 0.18);
    transform: translateY(-1px);
    text-decoration: none;
}
.pagination-btn.active {
    background: linear-gradient(135deg, #3fd4ad 0%, #16a085 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(63, 212, 173, 0.4);
}
.pagination-btn.active:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(63, 212, 173, 0.5);
    color: #fff;
    background: linear-gradient(135deg, #3fd4ad 0%, #16a085 100%);
}
.pagination-btn:disabled,
.pagination-btn[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}
.pagination-btn--nav {
    padding: 0 18px;
    gap: 7px;
    font-size: 14px;
    letter-spacing: 0.01em;
    min-width: auto;
}
.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 44px;
    color: #9ca3af;
    font-size: 16px;
    letter-spacing: 0.05em;
    pointer-events: none;
    user-select: none;
}

.publication-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.pub-card {
    background: var(--card);
    border-radius: var(--radius);
    text-decoration: none;
    color: #111;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}
.pub-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(63, 212, 173, 0.2);
}
.pub-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.pub-card:hover img {
    transform: scale(1.03);
}
.pub-title {
    font-weight: 700;
    font-size: 17px;
    padding: 18px 18px 8px;
    min-height: 70px;
    line-height: 1.4;
    color: #1a1a1a;
}
.pub-date {
    color: var(--accent-strong);
    font-weight: 600;
    font-size: 13px;
    padding: 0 18px 18px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.more-link {
    margin-top: 16px;
    text-align: center;
}
.more-link a {
    font-weight: 600;
}

/* Tools Section - Unique Design */
.tools-section {
    background: linear-gradient(180deg, var(--bg) 0%, #eef2f7 100%);
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.tool-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
    background: var(--card);
    border-radius: var(--radius);
    text-decoration: none;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(63, 212, 173, 0.3);
}
.tool-card__image {
    width: 180px;
    height: 110px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f4f8;
}
.tool-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.tool-card:hover .tool-card__image img {
    transform: scale(1.05);
}

.tool-card__content {
    flex: 1;
    min-width: 0;
}
.tool-card__content h4 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}
.tool-card__content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tool-card__arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    flex-shrink: 0;
    transition: all var(--transition);
}
.tool-card:hover .tool-card__arrow {
    background: var(--accent);
    color: #fff;
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .tool-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .tool-card__image {
        width: 100%;
    }
    .tool-card__arrow {
        position: absolute;
        top: 16px;
        right: 16px;
    }
}

.site-footer {
    background: linear-gradient(180deg, #1a1f2b 0%, #111418 100%);
    color: #c8d0dc;
    padding: 60px 0 20px;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}
.site-footer h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.site-footer p {
    color: #a0a8b8;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
}
.site-footer a {
    color: #c8d0dc;
    transition: color var(--transition);
}
.site-footer a:hover {
    color: var(--accent);
}
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}
.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition);
}
.footer-links a:hover::before {
    opacity: 1;
}
.footer-bottom {
    text-align: center;
    padding: 20px 0 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
    color: #6b7280;
}
.footer-bottom p {
    margin: 0;
    color: #6b7280;
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #c8d0dc;
    font-size: 18px;
    transition: all 0.25s ease;
}
.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #0d2137;
}

.reveal-on-load {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.1s;
}
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Staggered animations for grids */
.feature-grid .feature-card,
.course-grid .course-card,
.news-grid .news-card,
.publication-grid .pub-card {
    opacity: 0;
    transform: translateY(30px);
}
.fade-up.reveal-visible .feature-card,
.fade-up.reveal-visible .course-card,
.fade-up.reveal-visible .news-card,
.fade-up.reveal-visible .pub-card {
    animation: staggerFadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.fade-up.reveal-visible .feature-card:nth-child(1),
.fade-up.reveal-visible .course-card:nth-child(1),
.fade-up.reveal-visible .news-card:nth-child(1),
.fade-up.reveal-visible .pub-card:nth-child(1) { animation-delay: 0.05s; }
.fade-up.reveal-visible .feature-card:nth-child(2),
.fade-up.reveal-visible .course-card:nth-child(2),
.fade-up.reveal-visible .news-card:nth-child(2),
.fade-up.reveal-visible .pub-card:nth-child(2) { animation-delay: 0.15s; }
.fade-up.reveal-visible .feature-card:nth-child(3),
.fade-up.reveal-visible .course-card:nth-child(3),
.fade-up.reveal-visible .news-card:nth-child(3),
.fade-up.reveal-visible .pub-card:nth-child(3) { animation-delay: 0.25s; }
.fade-up.reveal-visible .feature-card:nth-child(4),
.fade-up.reveal-visible .course-card:nth-child(4),
.fade-up.reveal-visible .news-card:nth-child(4),
.fade-up.reveal-visible .pub-card:nth-child(4) { animation-delay: 0.35s; }
@keyframes staggerFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .nav-bar {
        flex-wrap: nowrap;
        padding: 8px 16px;
    }
    .brand-group {
        flex: 1;
        gap: 8px;
    }
    .brand-group .brand img {
        height: 28px;
        max-height: 28px;
        width: auto;
    }
    .brand-group .brand img.cep-logo {
        height: 44px;
        max-height: 44px;
    }
    .brand-divider {
        height: 44px;
    }
    .nav-links {
        position: absolute;
        top: 60px;
        left: 12px;
        right: 12px;
        background: rgba(15, 23, 42, 0.88);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 20px 20px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 14px;
        display: none;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        color: #fff !important;
        font-size: 16px;
        padding: 12px 16px;
        border-radius: 10px;
        transition: background 0.2s ease;
    }
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.12) !important;
        color: #fff !important;
    }
    .nav-toggle {
        display: flex;
        order: 3;
        width: 40px;
        height: 40px;
    }
    .lang-switch {
        order: 2;
        margin-left: auto;
        margin-right: 10px;
        padding-left: 0;
        border-left: none;
    }
    .lang-switch__link {
        font-size: 12px;
        padding: 3px 6px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 70px 0 50px;
        background:
            linear-gradient(180deg, rgba(12, 42, 105, 0.9) 0%, rgba(10, 31, 77, 0.9) 60%, rgba(20, 50, 60, 0.92) 100%),
            url(../img/cover.jpg) no-repeat center center;
        background-size: cover;
    }
    .hero__shapes {
        opacity: 0.3;
    }
    .hero__content h1 {
        font-size: 34px;
    }
    .hero__content .lead {
        font-size: 17px;
    }
    .eyebrow {
        font-size: 12px;
    }
    .hero__meta {
        gap: 10px;
    }
    .hero__meta span {
        padding: 6px 12px;
        font-size: 13px;
    }
    .hero__stats {
        gap: 28px;
        margin-top: 40px;
    }
    .hero__stat-number {
        font-size: 30px;
    }
    .hero__stat-label {
        font-size: 11px;
    }
    .section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .nav-bar {
        padding: 8px 12px;
    }
    .brand-group {
        gap: 6px;
    }
    .brand-group .brand img {
        height: 22px;
        max-height: 22px;
    }
    .brand-group .brand img.cep-logo {
        height: 38px;
        max-height: 38px;
    }
    .brand-divider {
        height: 38px;
    }
    .lang-switch {
        margin-right: 6px;
    }
    .lang-switch__divider {
        display: none;
    }
    .hero__content h1 {
        font-size: 28px;
    }
    .hero__stats {
        gap: 20px;
    }
    .hero__stat-number {
        font-size: 26px;
    }
}
