/* ============================================================
   ICS - Innovative Consulting Service
   Main Stylesheet
   ============================================================ */

:root {
    --ics-primary:  #1565C0;
    --ics-dark:     #0D47A1;
    --ics-accent:   #43A047;
    --ics-accent-d: #2E7D32;
    --ics-gradient: linear-gradient(135deg, #1565C0 0%, #2E7D32 100%);
    --ics-light-bg: #F0F7FF;
    --ics-text:     #4A5568;
    --ics-border:   #E2ECF8;
    --radius:       14px;
    --radius-lg:    20px;
    --shadow-sm:    0 2px 12px rgba(21,101,192,.08);
    --shadow-md:    0 6px 28px rgba(21,101,192,.14);
    --shadow-lg:    0 16px 48px rgba(21,101,192,.18);
    --transition:   .3s cubic-bezier(.4,0,.2,1);
}

/* ---- BASE ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--ics-text); }
h1,h2,h3,h4,h5,h6 { font-family: 'Barlow', sans-serif; }
a { text-decoration: none; transition: var(--transition); }
.py-6  { padding-top: 90px; padding-bottom: 90px; }
.text-muted { color: #718096 !important; }

/* ---- TOPBAR ---- */
.ics-topbar {
    background: var(--ics-light-bg);
    border-bottom: 1px solid var(--ics-border);
    padding: 8px 0;
    font-size: .82rem;
    color: var(--ics-text);
}

/* ---- NAVBAR ---- */
.ics-navbar {
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    padding: 0 26px 10px;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition);
}
.navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #1A2B3C;
    padding: 28px 14px;
    position: relative;
    transition: var(--transition);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 3px;
    background: var(--ics-gradient);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transition: var(--transition);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--ics-primary); }
.dropdown-item { font-size: .88rem; padding: 9px 16px; }
.dropdown-item:hover { background: var(--ics-light-bg); color: var(--ics-primary); }

/* ===== ICS Founder Section ===== */
.ics-founder-section {
    padding: 60px 20px;
    background: #fcfefc;
}

/* Container */
.ics-founder-container {
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left Image */
.ics-founder-image {
    flex: 1;
}

.ics-founder-image img {
    width: 100%;
    max-width: 100%;
    /*border-radius: 20px;*/
    object-fit: cover;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
}

/* Right Content */
.ics-founder-content {
    flex: 1.2;
}

.ics-founder-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--ics-primary);
}

.ics-founder-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

/* Highlight line */
.ics-founder-highlight {
    font-weight: 600;
    color: #000;
}

/* Name */
.ics-founder-name {
    margin-top: 20px;
    font-weight: 700;
    font-size: 18px;
}

/* Role */
.ics-founder-role {
    font-size: 14px;
    color: #777;
}
/* Founder Message Styling */
.ics-founder-message {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* Quote Highlight */
.ics-founder-quote {
    font-size: 18px;
    color: #0d6efd;
    margin-bottom: 20px;
}

/* Signature */
.ics-founder-sign {
    margin-top: 25px;
}

.ics-founder-sign h6 {
    font-weight: 700;
    margin-bottom: 2px;
}

.ics-founder-sign span {
    font-size: 14px;
    color: #777;
}
.reverese-img{
    flex-flow: wrap-reverse;
}
/* Responsive */
@media (max-width: 768px) {
    .ics-founder-container {
        flex-direction: column;
        text-align: center;
    }

    .ics-founder-image img {
        max-width: 300px;
        margin-bottom: 20px;
    }
}
@media(max-width:991.98px) {
    .navbar-nav .nav-link { padding: 10px 0; }
    .navbar-nav .nav-link::after { display: none; }
}

/* ---- HERO ---- */
.ics-hero .hero-slide {
    height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media(max-width:767px) { .ics-hero .hero-slide { height: 480px; } }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

/* ---- SECTION LABELS ---- */
.ics-label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(21,101,192,.1), rgba(46,125,50,.08));
    color: var(--ics-primary);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(21,101,192,.15);
    margin-bottom: 10px;
}
.ics-divider {
    width: 60px;
    height: 4px;
    background: var(--ics-gradient);
    border-radius: 2px;
}

/* ---- SERVICE CARDS ---- */
.ics-service-card {
    background: #fff;
    border: 1px solid var(--ics-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.ics-service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--ics-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}
.ics-service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ics-service-card:hover::after { transform: scaleX(1); }
.service-icon-wrap {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(21,101,192,.1), rgba(46,125,50,.08));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.7rem; color: var(--ics-primary);
    transition: var(--transition);
}
.ics-service-card:hover .service-icon-wrap { background: var(--ics-gradient); color: #fff; }
.service-category-badge {
    display: inline-block;
    font-size: .65rem; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--ics-primary);
    background: rgba(21,101,192,.08);
    padding: 3px 10px; border-radius: 20px;
    margin-bottom: 10px;
}

/* ---- TRAINING CARDS ---- */
.ics-training-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.ics-training-card:hover { background: rgba(255,255,255,.1); transform: translateY(-5px); }
.training-type-badge {
    display: inline-block;
    font-size: .65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    background: rgba(67,160,71,.2); color: #81C784;
    padding: 4px 12px; border-radius: 20px;
}

/* ---- ABOUT CARDS ---- */
.ics-about-card {
    background: #fff;
    border: 1px solid var(--ics-border);
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.ics-about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.about-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--ics-gradient);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #fff;
    margin: 0 auto;
}

/* ---- WHY CARDS ---- */
.ics-why-card {
    background: #fff;
    border: 1px solid var(--ics-border);
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.ics-why-card:hover { box-shadow: var(--shadow-md); border-color: rgba(21,101,192,.2); transform: translateY(-3px); }
.why-icon {
    width: 48px; height: 48px; border-radius: 10px;
    background: var(--ics-gradient);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: #fff;
}

/* ---- STANDARD BADGES ---- */
.ics-standard-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1.5px solid var(--ics-border);
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--ics-primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.ics-standard-badge:hover { background: var(--ics-gradient); color: #fff; border-color: transparent; transform: translateY(-2px); }

/* ---- CERT BODY BADGES ---- */
.cert-body-badge {
    padding: 10px 20px;
    background: #fff;
    border: 2px solid var(--ics-border);
    border-radius: 10px;
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: 1px;
    color: var(--ics-primary);
    font-family: 'Barlow', sans-serif;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.cert-body-badge:hover { border-color: var(--ics-primary); box-shadow: var(--shadow-md); }

/* ---- TESTIMONIALS ---- */
.ics-testimonial-card {
    background: #fff;
    border: 1px solid var(--ics-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin: 10px 8px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.ics-testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.t-quote {
   font-size: 5rem;
    line-height: 1;
    position: absolute;
    top: 0px;
    left: 5px;
    opacity: .07;
    color: var(--ics-primary);
    font-family: Georgia, serif;
}
.t-stars { font-size: .82rem; }
.t-text { font-size: .92rem; line-height: 1.7; color: var(--ics-text); font-style: italic; margin-bottom: 18px;     display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: auto; }
.t-author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--ics-border); }
.t-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--ics-gradient); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #fff; font-size: 1.1rem;
    font-family: 'Barlow', sans-serif;
}
.t-name  { font-weight: 700; color: #1A2B3C; font-size: .92rem; }
.t-role  { font-size: .75rem; color: #718096; }

/* ---- PAGE HERO ---- */
.page-hero-section {
    background: linear-gradient(135deg, #0D2137 0%, #0D47A1 100%);
    padding: 65px 0 50px;
    position: relative; overflow: hidden;
}
.page-hero-section::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 4px; background: var(--ics-gradient);
}
.breadcrumb-item a { color: rgba(255,255,255,.65); }
.breadcrumb-item a:hover { color: var(--ics-accent); }
.breadcrumb-item.active { color: #7EC8E3; }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.35); }

/* ---- ADMIN PANEL ---- */
.ics-admin-sidebar {
    width: 260px; min-height: 100vh;
    background: #0D2137;
    position: fixed; left: 0; top: 0; z-index: 1040;
    overflow-y: auto;
    transition: var(--transition);
}
.admin-sidebar-header {
     padding: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: #ffffff;
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    border-right: 1px solid #e2e2e2;
}
.admin-sidebar-header img { height: 40px; }
.admin-nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 20px;
    color: rgba(255,255,255,.65);
    font-size: .875rem; font-weight: 600;
    border-radius: 0;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.admin-nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.admin-nav-link.active { color: #fff; background: rgba(21,101,192,.3); border-left-color: var(--ics-accent); }
.admin-nav-link i { width: 18px; text-align: center; font-size: .95rem; }
.admin-nav-group { padding: 12px 20px 4px; font-size: .65rem; letter-spacing: 2px; color: rgba(255,255,255,.3); text-transform: uppercase; font-weight: 700; }
.admin-main-content { margin-left: 260px; min-height: 100vh; background: #F0F4F8; }
.admin-topbar {
    background: #fff; padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: sticky; top: 0; z-index: 100;
}
.admin-content-area { padding: 28px 24px; }
.ics-admin-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 8px rgba(0,0,0,.05);
    overflow: hidden;
}
.ics-admin-card .card-header {
    background: #fff;
    border-bottom: 1px solid #E2E8F0;
    padding: 16px 20px;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    display: flex; align-items: center; justify-content: space-between;
}
.stat-card {
    background: #fff; border-radius: var(--radius);
    border: 1px solid #E2E8F0;
    padding: 22px; transition: var(--transition);
    box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-icon {
    width: 52px; height: 52px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #fff;
}
.stat-icon.blue   { background: linear-gradient(135deg,#1565C0,#1E88E5); }
.stat-icon.green  { background: linear-gradient(135deg,#2E7D32,#43A047); }
.stat-icon.orange { background: linear-gradient(135deg,#E65100,#FB8C00); }
.stat-icon.red    { background: linear-gradient(135deg,#B71C1C,#E53935); }
.stat-num { font-size: 2rem; font-weight: 800; font-family: 'Barlow', sans-serif; color: #1A2B3C; }

/* ---- TABLES ---- */
.ics-table { font-size: .875rem; }
.ics-table th { background: #F7FAFC; color: #4A5568; font-weight: 700; font-size: .75rem; letter-spacing: 1px; text-transform: uppercase; border: none; padding: 12px 16px; }
.ics-table td { padding: 12px 16px; border-color: #EDF2F7; vertical-align: middle; }
.ics-table tr:hover td { background: #F7FAFC; }

/* ---- BADGES ---- */
.badge-new      { background:#DBEAFE; color:#1E40AF; }
.badge-read     { background:#FEF3C7; color:#92400E; }
.badge-replied  { background:#D1FAE5; color:#065F46; }
.badge-closed   { background:#F1F5F9; color:#64748B; }
.badge-pending  { background:#FEF3C7; color:#92400E; }
.badge-approved { background:#D1FAE5; color:#065F46; }
.badge-rejected { background:#FEE2E2; color:#991B1B; }

/* ---- FORMS ---- */
.form-label { font-weight: 600; font-size: .875rem; color: #374151; }
.form-control, .form-select {
    border-radius: 8px;
    border: 1.5px solid #E2E8F0;
    padding: 10px 14px;
    font-size: .9rem;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--ics-primary);
    box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}
.btn-primary { background: var(--ics-gradient); border: none; }
.btn-primary:hover { background: var(--ics-dark); }

/* ---- FOOTER ---- */
.ics-footer .footer-main { background: #0D2137; }
.ics-footer .footer-bottom { background: #080F1A; }
.footer-link {
    display: block; color: rgba(255,255,255,.55);
    font-size: .875rem; margin-bottom: 8px; transition: var(--transition);
}
.footer-link:hover { color: var(--ics-accent); padding-left: 4px; }
.footer-link i { margin-right: 7px; font-size: .75rem; }
.footer-heading { color: #fff; font-weight: 700; font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.07); color: rgba(255,255,255,.6);
    margin-right: 8px; transition: var(--transition); font-size: .85rem;
}
.footer-social a:hover { background: var(--ics-gradient); color: #fff; transform: translateY(-2px); }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed; right: 24px; bottom: 80px; z-index: 999;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: #fff;
    box-shadow: 0 6px 20px rgba(37,211,102,.4);
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; background: #20BA5A; }

/* ---- BACK TO TOP ---- */
.back-to-top {
    position: fixed; right: 24px; bottom: 18px; z-index: 999;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--ics-gradient);
    display: none; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.back-to-top:hover { transform: translateY(-3px); color: #fff; }

/* ---- AUTH PAGE ---- */
.auth-page { min-height: 100vh; background: var(--ics-gradient); display: flex; align-items: center; justify-content: center; }
.auth-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; max-width: 440px; width: 100%; box-shadow: var(--shadow-lg); }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo img { height: 60px; }

/* ---- CONTACT / FEEDBACK FORMS ---- */
.ics-contact-card {
    background: #fff; border: 1px solid var(--ics-border);
    border-radius: var(--radius); padding: 28px 24px;
    text-align: center; transition: var(--transition);
    box-shadow: var(--shadow-sm); height: 100%;
}
.ics-contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--ics-gradient);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px; font-size: 1.3rem; color: #fff;
    box-shadow: 0 6px 20px rgba(21,101,192,.25);
}

/* ---- STAR RATING INPUT ---- */
.star-rating { direction: rtl; display: inline-flex; }
.star-rating input { display: none; }
.star-rating label { font-size: 1.8rem; color: #ddd; cursor: pointer; transition: var(--transition); padding: 0 2px; }
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label { color: #F59E0B; }

/* ---- RESPONSIVE ---- */
@media(max-width:991.98px) {
    .ics-admin-sidebar { transform: translateX(-100%); }
    .ics-admin-sidebar.open { transform: translateX(0); }
    .admin-main-content { margin-left: 0; }
}
