/* Netri Academy custom theme overrides — built on top of the Educavo template */

/* Brand colors: Navy + Orange */
:root {
    --netri-navy: #0a2540;
    --netri-orange: #ff6a00;
    --netri-orange-soft: #ffb27a;
}

/* Hero override */
#rs-banner.netri-hero {
    background: linear-gradient(120deg, rgba(10,37,64,0.92) 0%, rgba(10,37,64,0.7) 60%, rgba(255,106,0,0.55) 100%),
                url('../images/hero/hero-main.jpg') center/cover no-repeat;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 120px 0 90px;
}
#rs-banner.netri-hero .banner-title { font-size: 56px; line-height: 1.1; }
#rs-banner.netri-hero .banner-desc { font-size: 18px; max-width: 620px; margin-bottom: 30px; }

/* Pillar cards (n-ICL framework) */
.netri-pillar {
    background:#fff;
    border-radius:12px;
    padding:35px 25px;
    text-align:center;
    box-shadow:0 6px 30px rgba(10,37,64,0.08);
    height:100%;
    transition:transform .3s ease, box-shadow .3s ease;
}
.netri-pillar:hover{ transform:translateY(-6px); box-shadow:0 10px 40px rgba(10,37,64,0.15); }
.netri-pillar .icon-wrap{
    width:74px; height:74px; line-height:74px;
    background:linear-gradient(135deg,var(--netri-navy),var(--netri-orange));
    color:#fff; font-size:32px; border-radius:50%; margin:0 auto 18px;
}
.netri-pillar h4{ color:var(--netri-navy); margin-bottom:10px; }
.netri-pillar p{ color:#5a6378; margin-bottom:0; }

/* ICL strip */
.netri-icl-strip {
    background: var(--netri-navy);
    color:#fff;
    border-radius:14px;
    padding:36px 30px;
    margin-top:40px;
}
.netri-icl-strip .step{ text-align:center; padding:10px; }
.netri-icl-strip .step .num{
    display:inline-block; width:54px; height:54px; line-height:54px;
    border-radius:50%; background:var(--netri-orange); color:#fff;
    font-size:22px; font-weight:700; margin-bottom:12px;
}
.netri-icl-strip .step h5{ color:#fff; margin-bottom:6px; }
.netri-icl-strip .step p{ color:#cfd6e2; margin-bottom:0; font-size:14px; }

/* Stats band */
.netri-stats { background:var(--netri-navy); padding:60px 0; }
.netri-stats .stat { text-align:center; color:#fff; }
.netri-stats .stat .num{ font-size:48px; font-weight:800; color:var(--netri-orange); display:block; }
.netri-stats .stat .lbl{ font-size:15px; letter-spacing:.5px; text-transform:uppercase; color:#cfd6e2; }

/* Project cards (showcase) */
.netri-project {
    position:relative; overflow:hidden; border-radius:10px; margin-bottom:30px;
}
.netri-project img{ width:100%; height:260px; object-fit:cover; transition:transform .5s ease; }
.netri-project:hover img{ transform:scale(1.06); }
.netri-project .overlay{
    position:absolute; inset:0;
    background:linear-gradient(180deg, transparent 40%, rgba(10,37,64,0.92) 100%);
    display:flex; flex-direction:column; justify-content:flex-end;
    padding:20px; color:#fff;
}
.netri-project .overlay h5{ color:#fff; margin-bottom:4px; }
.netri-project .overlay span{ color:var(--netri-orange-soft); font-size:13px; }

/* Why-us card */
.netri-why { padding:24px; border-radius:10px; background:#f7f9fc; height:100%; }
.netri-why .icn { font-size:36px; color:var(--netri-orange); margin-bottom:10px; }
.netri-why h5 { color:var(--netri-navy); }

/* Page hero (small banner for inner pages) */
.netri-page-hero {
    background: linear-gradient(120deg, rgba(10,37,64,0.92), rgba(10,37,64,0.75)), url('../images/hero/inner.jpg') center/cover no-repeat;
    color:#fff; padding:120px 0 70px; text-align:center;
}
.netri-page-hero h1 { color:#fff; font-size:46px; }
.netri-page-hero .breadcrumb-link { color:#cfd6e2; }
.netri-page-hero .breadcrumb-link a{ color:var(--netri-orange-soft); }

/* Program detail */
.netri-program-block { padding:60px 0; }
.netri-program-block:nth-child(even) { background:#f7f9fc; }
.netri-program-block .img-wrap img{ width:100%; border-radius:10px; }
.netri-program-block h2 { color:var(--netri-navy); }
.netri-program-block .tagline { color:var(--netri-orange); font-weight:600; margin-bottom:15px; }
.netri-program-block ul.netri-list { list-style:none; padding-left:0; }
.netri-program-block ul.netri-list li{ padding:6px 0 6px 28px; position:relative; }
.netri-program-block ul.netri-list li:before{
    content:"\f00c"; font-family:FontAwesome; color:var(--netri-orange);
    position:absolute; left:0; top:6px;
}

/* Forms */
.netri-form .form-group { margin-bottom:18px; }
.netri-form input, .netri-form select, .netri-form textarea {
    width:100%; padding:12px 16px; border:1px solid #e1e6ee; border-radius:6px;
    background:#fff; color:#0a2540; font-size:15px;
}
.netri-form textarea { min-height:140px; resize:vertical; }
.netri-form button {
    background:var(--netri-orange); color:#fff; border:0; padding:14px 32px;
    border-radius:6px; font-weight:600; cursor:pointer; transition:background .25s;
}
.netri-form button:hover { background:var(--netri-navy); }
.netri-alert { padding:14px 18px; border-radius:6px; margin-bottom:20px; }
.netri-alert.success { background:#e6f7ec; color:#1e6f3a; border:1px solid #b6e3c2; }
.netri-alert.error { background:#fdecec; color:#9b1c1c; border:1px solid #f3b6b6; }

/* Workshop card */
.netri-workshop { background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 5px 25px rgba(10,37,64,0.08); margin-bottom:30px; }
.netri-workshop img { width:100%; height:220px; object-fit:cover; }
.netri-workshop .body { padding:22px; }
.netri-workshop .badge-cat { display:inline-block; padding:4px 10px; border-radius:4px; background:var(--netri-orange); color:#fff; font-size:12px; text-transform:uppercase; letter-spacing:.5px; margin-bottom:10px; }
.netri-workshop h4 { color:var(--netri-navy); }
.netri-workshop .date { color:#7a8395; font-size:14px; }

/* Admin */
.admin-shell { display:flex; min-height:100vh; font-family: 'Nunito', sans-serif; background:#f4f6fa; }
.admin-side { width:240px; background:var(--netri-navy); color:#fff; padding:24px 0; }
.admin-side .brand { padding:0 22px 22px; border-bottom:1px solid #1a3a60; font-weight:700; font-size:20px; }
.admin-side a { display:block; padding:12px 22px; color:#cfd6e2; text-decoration:none; }
.admin-side a:hover, .admin-side a.active { background:#0e2e52; color:#fff; border-left:3px solid var(--netri-orange); }
.admin-main { flex:1; padding:30px 36px; }
.admin-card { background:#fff; padding:24px; border-radius:8px; box-shadow:0 3px 12px rgba(10,37,64,0.05); margin-bottom:24px; }
.admin-table { width:100%; border-collapse:collapse; }
.admin-table th, .admin-table td { padding:10px 12px; text-align:left; border-bottom:1px solid #eef1f6; vertical-align:top; }
.admin-table th { background:#f7f9fc; color:var(--netri-navy); font-weight:600; }
.admin-btn { display:inline-block; background:var(--netri-orange); color:#fff !important; padding:8px 14px; border-radius:5px; text-decoration:none; border:0; cursor:pointer; font-size:14px; }
.admin-btn.secondary { background:#7a8395; }
.admin-btn.danger { background:#c0392b; }
.admin-login-card { max-width:380px; margin:80px auto; padding:32px; background:#fff; border-radius:10px; box-shadow:0 8px 30px rgba(10,37,64,0.1); }

/* Apply Educavo orange button to brand orange */
.readon3, .apply-btn { background:var(--netri-orange) !important; }
.readon3.active { background:var(--netri-navy) !important; }

/* ----- Rounded corners — applied globally to content imagery ----- */
.netri-rounded,
.subject-wrap img,
.netri-pillar img,
.netri-why img,
.netri-workshop img,
.netri-project img,
.netri-program-block .img-wrap img,
.testi-item .user-info img,
.about-intro img,
.rs-about img,
.banner-content img,
.netri-team-card img,
.netri-hero-slide .slide-img img,
.rs-popular-courses img { border-radius: 14px; }
.testi-item .user-info img { border-radius: 50%; }

/* ----- Hero carousel (Owl) ----- */
.netri-hero-carousel { position:relative; }
.netri-hero-slide {
    position:relative;
    min-height: 620px;
    display:flex; align-items:center;
    background-size:cover; background-position:center;
    color:#fff;
    padding:120px 0 90px;
}
.netri-hero-slide:before{
    content:""; position:absolute; inset:0;
    background:linear-gradient(120deg, rgba(10,37,64,0.92) 0%, rgba(10,37,64,0.7) 55%, rgba(255,106,0,0.55) 100%);
}
.netri-hero-slide .container { position:relative; z-index:2; }
.netri-hero-slide h1 { color:#fff; font-size:54px; line-height:1.1; margin-bottom:18px; max-width:780px; }
.netri-hero-slide p  { color:#e7ecf3; font-size:18px; max-width:640px; margin-bottom:28px; }
.netri-hero-slide .btns a { margin-right:12px; margin-bottom:10px; display:inline-block; }
.netri-hero-carousel .owl-dots { position:absolute; bottom:24px; left:0; right:0; text-align:center; z-index:5; }
.netri-hero-carousel .owl-dots .owl-dot span {
    width:14px; height:14px; background:rgba(255,255,255,0.45); border-radius:50%; display:inline-block; margin:0 5px;
}
.netri-hero-carousel .owl-dots .owl-dot.active span { background:var(--netri-orange); width:36px; border-radius:8px; }
.netri-hero-carousel .owl-nav button {
    position:absolute; top:50%; transform:translateY(-50%);
    background:rgba(10,37,64,0.55) !important; color:#fff !important;
    width:48px; height:48px; border-radius:50%; font-size:22px !important; z-index:5;
}
.netri-hero-carousel .owl-nav button.owl-prev { left:20px; }
.netri-hero-carousel .owl-nav button.owl-next { right:20px; }
.netri-hero-carousel .owl-nav button:hover { background:var(--netri-orange) !important; }

/* ----- Team grid card ----- */
.netri-team-card {
    background:#fff; border-radius:14px; padding:28px 22px; text-align:center;
    box-shadow:0 6px 24px rgba(10,37,64,0.08); height:100%;
}
.netri-team-card img {
    width:140px; height:140px; object-fit:cover; border-radius:50%; margin:0 auto 18px; display:block;
    border:4px solid #f3f5f9;
}
.netri-team-card h5 { color:var(--netri-navy); margin-bottom:4px; }
.netri-team-card .role { color:var(--netri-orange); font-weight:600; font-size:14px; margin-bottom:10px; display:block; }
.netri-team-card p { color:#5a6378; font-size:14px; margin-bottom:0; }

/* Mission/Vision/Values cards */
.netri-mvv-card {
    background:#fff; border-radius:14px; padding:32px 26px; height:100%;
    border-top:4px solid var(--netri-orange); box-shadow:0 6px 22px rgba(10,37,64,0.07);
}
.netri-mvv-card h4 { color:var(--netri-navy); }
.netri-mvv-card .icn { font-size:32px; color:var(--netri-orange); margin-bottom:12px; }
.netri-values-list { list-style:none; padding-left:0; }
.netri-values-list li { padding:10px 0 10px 30px; position:relative; border-bottom:1px solid #eef1f6; }
.netri-values-list li:last-child { border-bottom:0; }
.netri-values-list li:before {
    content:"\f005"; font-family:FontAwesome; color:var(--netri-orange); position:absolute; left:0; top:12px;
}

/* Impact band */
.netri-impact-band {
    background:linear-gradient(135deg, var(--netri-navy) 0%, #102d52 100%);
    color:#fff; padding:80px 0; border-radius:0;
}
.netri-impact-band h2 { color:#fff; }
.netri-impact-band p { color:#cfd6e2; }
.netri-impact-band .actions li {
    padding:8px 0 8px 30px; position:relative; color:#e7ecf3;
}
.netri-impact-band .actions li:before {
    content:"\f0a9"; font-family:FontAwesome; color:var(--netri-orange); position:absolute; left:0; top:8px;
}

@media (max-width: 991px){
    #rs-banner.netri-hero { min-height: auto; padding: 100px 0 60px; }
    #rs-banner.netri-hero .banner-title{ font-size: 36px; }
    .netri-hero-slide { min-height:auto; padding:90px 0 60px; }
    .netri-hero-slide h1 { font-size:32px; }
    .netri-hero-slide p { font-size:15px; }
    .admin-shell { flex-direction:column; }
    .admin-side { width:100%; }
}

/* ===== Franchise page ===== */
.netri-franchise-check {
    display:flex; gap:16px; align-items:flex-start;
    background:#fff; border-radius:10px; padding:24px;
    box-shadow:0 5px 20px rgba(10,37,64,0.07); height:100%;
}
.netri-franchise-check .check-icon {
    flex-shrink:0; width:48px; height:48px; line-height:48px;
    border-radius:50%; background:linear-gradient(135deg,var(--netri-navy),var(--netri-orange));
    color:#fff; font-size:20px; text-align:center;
}
.netri-franchise-check .check-body h5 { color:var(--netri-navy); margin-bottom:6px; }
.netri-franchise-check .check-body p  { color:#5a6378; margin-bottom:0; font-size:14px; }

/* ===== Vision / quote strip (shared by franchise + impact) ===== */
.netri-vision-strip {
    background:var(--netri-navy); color:#fff; padding:70px 0; text-align:center;
}
.netri-vision-strip .quote {
    font-size:24px; font-style:italic; font-weight:600;
    color:#fff; max-width:860px; margin:0 auto 24px;
    line-height:1.5; border-left:4px solid var(--netri-orange);
    padding-left:22px; text-align:left;
}
.netri-vision-strip p { color:#cfd6e2; max-width:760px; margin:0 auto 22px; }

/* FontAwesome 4 aliases for icons used in new pages */
.fa-sync:before    { content:"\f021"; } /* fa-refresh */
.fa-wheelchair:before { content:"\f193"; }
.fa-female:before  { content:"\f182"; }
.fa-building:before{ content:"\f0f7"; }
.fa-hand-rock-o:before { content:"\f255"; }
.fa-birthday-cake:before { content:"\f1fd"; }

/* ===== Floating side CTAs ===== */
.netri-floats {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.float-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px 11px 13px;
    border-radius: 8px 0 0 8px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.4px;
    transition: padding-right 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    color: #fff !important;
    line-height: 1.2;
}
.float-trial {
    background: var(--netri-orange);
    box-shadow: -3px 3px 16px rgba(255,106,0,0.38);
}
.float-trial:hover {
    padding-right: 22px;
    box-shadow: -4px 4px 22px rgba(255,106,0,0.5);
    color: #fff !important;
}
.float-admissions {
    background: #1db954;
    box-shadow: -3px 3px 16px rgba(29,185,84,0.35);
    text-transform: uppercase;
    font-size: 11px;
}
.float-admissions:hover {
    padding-right: 22px;
    box-shadow: -4px 4px 22px rgba(29,185,84,0.5);
    color: #fff !important;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    animation: netri-pulse 1.8s ease-in-out infinite;
}
@keyframes netri-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.45; transform: scale(0.6); }
}
@media (max-width: 767px) {
    .netri-floats { top: auto; bottom: 14px; transform: none; flex-direction: row; gap: 6px; right: 10px; }
    .float-cta { border-radius: 8px; padding: 10px 14px; font-size: 11px; }
}

/* ===== Program cards (new design — replaces course-wrap) ===== */
.netri-prog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(10,37,64,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.netri-prog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 44px rgba(10,37,64,0.15);
}
.netri-prog-card .card-img { position: relative; overflow: hidden; }
.netri-prog-card .card-img img {
    width: 100%; height: 220px; object-fit: cover;
    transition: transform 0.45s ease;
    border-radius: 0 !important;
    display: block;
}
.netri-prog-card:hover .card-img img { transform: scale(1.06); }
.netri-prog-card .card-badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--netri-orange); color: #fff;
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; padding: 4px 10px; border-radius: 4px;
}
.netri-prog-card .card-body { padding: 22px 22px 0; flex: 1; }
.netri-prog-card .card-title { color: var(--netri-navy); margin-bottom: 10px; font-size: 19px; }
.netri-prog-card .card-title a { color: var(--netri-navy); text-decoration: none; }
.netri-prog-card .card-title a:hover { color: var(--netri-orange); }
.netri-prog-card .card-desc { color: #5a6378; font-size: 14px; line-height: 1.75; margin-bottom: 0; }
.netri-prog-card .card-foot {
    padding: 16px 22px 22px;
    display: flex; gap: 10px; align-items: center;
    border-top: 1px solid #f0f3f8;
    margin-top: 16px;
}
.netri-prog-card .btn-learn {
    background: var(--netri-navy); color: #fff !important;
    padding: 9px 18px; border-radius: 6px; text-decoration: none;
    font-size: 13px; font-weight: 700; transition: background 0.2s;
}
.netri-prog-card .btn-learn:hover { background: var(--netri-orange); }
.netri-prog-card .btn-enquire {
    background: transparent; color: var(--netri-orange);
    border: 2px solid var(--netri-orange);
    padding: 7px 15px; border-radius: 6px;
    font-size: 13px; font-weight: 700; cursor: pointer;
    transition: all 0.2s;
}
.netri-prog-card .btn-enquire:hover { background: var(--netri-orange); color: #fff; }

/* ===== Program enquiry modal ===== */
.netri-modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(10,37,64,0.72);
    z-index: 99990;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.netri-modal-overlay.active { display: flex; }
.netri-modal {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 520px; width: 100%;
    position: relative;
    box-shadow: 0 24px 70px rgba(0,0,0,0.22);
    animation: modal-in 0.22s ease;
}
@keyframes modal-in { from { transform:scale(0.94); opacity:0; } to { transform:scale(1); opacity:1; } }
.modal-close {
    position: absolute; top: 14px; right: 18px;
    background: none; border: none; font-size: 30px;
    cursor: pointer; color: #9aa5b8; line-height: 1;
    transition: color 0.15s;
}
.modal-close:hover { color: var(--netri-navy); }

/* ===== Date input wrapper ===== */
.netri-date-wrap { position: relative; }
.netri-date-wrap > i {
    position: absolute; left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--netri-orange); pointer-events: none; z-index: 1; font-size: 15px;
}
.netri-date-wrap input[type="date"] { padding-left: 40px; color: #5a6378; }

/* ===== Rich text rendered output ===== */
.netri-rich-content p { color: #5a6378; font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
.netri-rich-content h3 { color: var(--netri-navy); font-size: 20px; margin: 22px 0 10px; }
.netri-rich-content h4 { color: var(--netri-navy); font-size: 18px; margin: 18px 0 8px; }
.netri-rich-content h5 { color: var(--netri-navy); font-size: 16px; margin: 14px 0 6px; }
.netri-rich-content ul.netri-list { padding-left: 0; }
.netri-rich-content ul.netri-list li { padding: 6px 0 6px 26px; position: relative; color: #5a6378; font-size: 15px; border-bottom: none; }
.netri-rich-content ul.netri-list li:before { content:"\f00c"; font-family:FontAwesome; color:var(--netri-orange); position:absolute; left:0; top:8px; }
.netri-rich-content strong { color: var(--netri-navy); }

/* ===== Workshop detail page ===== */
.netri-workshop-meta { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.netri-workshop-meta span { color: #cfd6e2; font-size: 15px; }
.netri-workshop-meta span i { color: var(--netri-orange); margin-right: 5px; }
.netri-badge-hero {
    display: inline-block; background: var(--netri-orange); color: #fff;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.2px; padding: 5px 14px; border-radius: 4px;
}
.netri-takehome-box {
    display: flex; gap: 16px; align-items: flex-start;
    background: #fff5ec; border-left: 4px solid var(--netri-orange);
    padding: 18px 20px; border-radius: 0 8px 8px 0; margin: 28px 0;
}
.netri-takehome-box i { color: var(--netri-orange); font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.netri-takehome-box strong { color: var(--netri-navy); display: block; margin-bottom: 4px; }
.netri-takehome-box p { color: #5a6378; margin: 0; font-size: 14px; }
.netri-detail-chip {
    background: #f7f9fc; border-radius: 10px; padding: 16px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    border: 1px solid #e8edf5;
}
.netri-detail-chip i { font-size: 22px; color: var(--netri-orange); margin-bottom: 6px; }
.netri-detail-chip .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #9aa5b8; display: block; }
.netri-detail-chip .val { font-size: 14px; font-weight: 700; color: var(--netri-navy); display: block; margin-top: 2px; }
.netri-register-box {
    background: #fff; border-radius: 14px; padding: 32px;
    box-shadow: 0 8px 36px rgba(10,37,64,0.1);
    border-top: 4px solid var(--netri-orange);
    position: sticky; top: 100px;
}

/* Newsletter form expanded (footer) */
.newsletter-form input[type="text"] {
    width: 100%; padding: 12px 16px; border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px; background: rgba(255,255,255,0.1);
    color: #fff; font-size: 14px; outline: none;
}
.newsletter-form input[type="text"]::placeholder { color: rgba(255,255,255,0.55); }

/* General spacing cleanup */
.rs-subject.style1 { padding-top: 80px; padding-bottom: 60px; }
@media (max-width: 991px) {
    .netri-register-box { position: static; margin-top: 40px; }
    .netri-floats { display: none; } /* hide on small screens — nav already has CTA */
}
@media (max-width: 575px) {
    .netri-modal { padding: 28px 20px; }
    .netri-prog-card .card-foot { flex-direction: column; align-items: stretch; }
    .netri-prog-card .btn-learn, .netri-prog-card .btn-enquire { text-align: center; }
}


