/*==============================
    Pages
==============================*/

.container-fluid{
    padding:30px;
}

/*==============================
    Header
==============================*/

.pages-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    flex-wrap:wrap;
    gap:15px;
}

.pages-header h3{
    margin:0;
    font-size:30px;
    font-weight:800;
    color:#125458;
}

/*==============================
    Card
==============================*/

.card{
    border:none;
    border-radius:20px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 15px 40px rgba(0,0,0,.07);
}

.card-body{
    padding:0;
}

/*==============================
    Table
==============================*/

.table{
    margin:0;
    width:100%;
    border-collapse:collapse;
}

.table thead{
    background:linear-gradient(135deg,#125458,#8ab20e);
}

.table thead th{
    color:#fff;
    padding:18px;
    font-size:15px;
    font-weight:700;
    border:none;
    white-space:nowrap;
}

.table tbody td{
    padding:18px;
    vertical-align:middle;
    border-bottom:1px solid #edf2f7;
    color:#334155;
    font-size:15px;
}

.table tbody tr{
    transition:.3s;
}

.table tbody tr:hover{
    background:#f8fafc;
}

/*==============================
    Status
==============================*/

.badge-status{
    display:inline-block;
    padding:7px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
}

.badge-active{
    background:#dcfce7;
    color:#15803d;
}

.badge-inactive{
    background:#fee2e2;
    color:#dc2626;
}

/*==============================
    Buttons
==============================*/

.btn{
    border:none;
    border-radius:12px;
    padding:10px 18px;
    font-weight:700;
    transition:.3s;
    text-decoration:none;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-primary{
    background:linear-gradient(135deg,#125458,#8ab20e);
    color:#fff;
}

.btn-primary:hover{
    color:#fff;
    box-shadow:0 12px 25px rgba(18,84,88,.25);
}

.btn-warning{
    background:#f59e0b;
    color:#fff;
}

.btn-warning:hover{
    background:#d97706;
    color:#fff;
}

.btn-danger{
    background:#dc2626;
    color:#fff;
}

.btn-danger:hover{
    background:#b91c1c;
    color:#fff;
}

.btn-sm{
    padding:8px 14px;
    font-size:13px;
}

.d-inline{
    display:inline-block;
}

/*==============================
    Empty
==============================*/

.table tbody td.text-center{
    padding:60px;
    color:#64748b;
    font-size:17px;
    font-weight:600;
}

/*==============================
    Pagination
==============================*/

.pagination{
    justify-content:center;
    gap:8px;
}

.pagination .page-link{
    border:none;
    border-radius:12px;
    color:#125458;
    padding:10px 16px;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
}

.pagination .active .page-link{
    background:#125458;
    color:#fff;
}

/*==============================
    Responsive
==============================*/

@media(max-width:768px){

    .container-fluid{
        padding:15px;
    }

    .pages-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .table{
        min-width:700px;
    }

    .card{
        overflow:auto;
    }

}

/*==================================
    PAGE FORM
==================================*/

.card{
    border:0;
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 12px 35px rgba(15,23,42,.06);
    margin-bottom:25px;
}

.card-header{
    background:linear-gradient(135deg,#125458,#8ab20e);
    color:#fff;
    border:0;
    padding:18px 22px;
}

.card-header h5{
    margin:0;
    font-size:18px;
    font-weight:700;
    display:flex;
    align-items:center;
    gap:10px;
}

.card-body{
    padding:25px;
}

/*==================================
    LABELS
==================================*/

.form-label,
label{
    display:block;
    margin-bottom:8px;
    color:#125458;
    font-weight:700;
    font-size:14px;
}

/*==================================
    INPUTS
==================================*/

.form-control,
.form-select{
    height:50px;
    border-radius:12px;
    border:1px solid #dbe3ea;
    background:#fafafa;
    transition:.25s;
    box-shadow:none;
    min-width: 100%;
}

textarea.form-control{
    height:auto;
    min-height:120px;
    resize:vertical;
}

.form-control:focus,
.form-select:focus{
    border-color:#8ab20e;
    background:#fff;
    box-shadow:0 0 0 .2rem rgba(138,178,14,.18);
}

/*==================================
    CHECKBOX
==================================*/

.form-check{
    background:#f8fafc;
    border-radius:12px;
    padding:14px 16px 14px 42px;
    margin-bottom:12px;
}

.form-check-input{
    width:20px;
    height:20px;
    margin-top:2px;
}

.form-check-input:checked{
    background:#8ab20e;
    border-color:#8ab20e;
}

.form-check-label{
    font-weight:600;
    color:#334155;
}

/*==================================
    BUTTON
==================================*/

.btn-success{
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,#125458,#8ab20e);
    font-weight:700;
    padding:15px;
    transition:.3s;
    box-shadow:0 12px 30px rgba(18,84,88,.18);
}

.btn-success:hover{
    transform:translateY(-3px);
    background:linear-gradient(135deg,#0f4649,#789c0d);
    box-shadow:0 18px 35px rgba(18,84,88,.28);
}

.btn-success i{
    margin-left:8px;
}

/*==================================
    SIDEBAR
==================================*/

.col-lg-4 .card{
    position:sticky;
    top:20px;
}

/*==================================
    TinyMCE
==================================*/

.tox-tinymce{
    border-radius:14px !important;
    border:1px solid #dbe3ea !important;
    overflow:hidden;
}

.tox .tox-toolbar,
.tox .tox-toolbar__primary{
    background:#f8fafc !important;
}

.tox-statusbar{
    border-top:1px solid #edf2f7 !important;
}

/*==================================
    ROW
==================================*/

.row{
    row-gap:25px;
}

/*==================================
    Responsive
==================================*/

@media(max-width:991px){

    .col-lg-4 .card{
        position:static;
    }

    .card-body{
        padding:20px;
    }

    .btn-lg{
        margin-top:10px;
    }

}

/*==========================
    Header
==========================*/

.page-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;

    margin-bottom:30px;
    padding:30px;

    background:linear-gradient(135deg,#125458,#8ab20e);
    color:#fff;

    border-radius:22px;
    box-shadow:0 15px 40px rgba(18,84,88,.18);
}

.page-header h2{
    margin:0;
    font-size:32px;
    font-weight:800;
}

.page-header h2 i{
    margin-left:10px;
}

.page-header p{
    margin:8px 0 0;
    opacity:.9;
    font-size:15px;
}

/*==========================
    Card
==========================*/

.page-card{
    background:#fff;
    border-radius:22px;
    padding:30px;
    box-shadow:0 15px 40px rgba(15,23,42,.06);
}

/*==========================
    Button
==========================*/

.btn-outline-secondary{
    border:2px solid rgba(255,255,255,.4);
    color:#fff;
    border-radius:12px;
    padding:10px 18px;
    font-weight:700;
    transition:.3s;
}

.btn-outline-secondary:hover{
    background:#fff;
    color:#125458;
    border-color:#fff;
}

/*==========================
    Responsive
==========================*/

@media(max-width:768px){

    .page-header{
        padding:22px;
    }

    .page-header h2{
        font-size:24px;
    }

    .page-card{
        padding:20px;
    }

}

.page-header-actions{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.page-header-actions .btn{
    min-width:140px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-radius:12px;
    font-weight:700;
}

.btn-light{
    background:#fff;
    color:#125458;
    border:none;
    transition:.3s;
}

.btn-light:hover{
    background:#f8fafc;
    color:#125458;
    transform:translateY(-2px);
}

.tox-tinymce{
    border-radius:18px !important;
    border:1px solid #dbe3ea !important;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    overflow:hidden;
}

.tox-editor-header{
    background:#f8fafc !important;
}

.tox .tox-toolbar,
.tox .tox-toolbar__primary{
    background:#f8fafc !important;
    border-bottom:1px solid #e5e7eb !important;
}

.tox-statusbar{
    background:#fff !important;
}


/*==================================
    PAGE HERO
==================================*/

.page-hero{
    position:relative;
    padding:100px 0 80px;
    background:linear-gradient(135deg,#125458 0%,#8ab20e 100%);
    overflow:hidden;
    color:#fff;
}

.page-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top right,rgba(255,255,255,.12),transparent 35%),
        radial-gradient(circle at bottom left,rgba(255,255,255,.08),transparent 40%);
}

.page-header{
    position:relative;
    z-index:2;
    max-width:850px;
    margin:auto;
    text-align:center;
}

.page-header h1{
    font-size:52px;
    font-weight:900;
    line-height:1.3;
    margin-bottom:20px;
    color:#fff;
}

.page-excerpt{
    font-size:20px;
    line-height:2;
    color:rgba(255,255,255,.92);
    max-width:720px;
    margin:auto;
}

/*==================================
    CONTENT
==================================*/

.page-content{
    padding:70px 0;
    background:#f8fafc;
}

.page-content .container{
    max-width:1050px;
}

/*==================================
    IMAGE
==================================*/

.page-image{
    text-align:center;
}

.page-image img{
    width:100%;
    max-height:600px;
    object-fit:cover;
    border-radius:24px;
    box-shadow:0 20px 50px rgba(0,0,0,.15);
}

/*==================================
    ARTICLE
==================================*/

.content{
    background:#fff;
    padding:60px;
    border-radius:24px;
    box-shadow:0 15px 40px rgba(15,23,42,.08);
    font-size:18px;
    line-height:2.2;
    color:#334155;
}

/* Headings */

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6{
    color:#125458;
    font-weight:800;
    margin-top:40px;
    margin-bottom:20px;
    line-height:1.4;
}

.content h2{
    font-size:34px;
}

.content h3{
    font-size:28px;
}

.content h4{
    font-size:24px;
}

/* Paragraph */

.content p{
    margin-bottom:22px;
}

/* Lists */

.content ul,
.content ol{
    margin:25px 0;
    padding-right:25px;
}

.content li{
    margin-bottom:12px;
}

/* Links */

.content a{
    color:#125458;
    font-weight:700;
    text-decoration:none;
}

.content a:hover{
    color:#8ab20e;
}

/* Images */

.content img{
    display:block;
    max-width:100%;
    height:auto;
    margin:35px auto;
    border-radius:18px;
    box-shadow:0 12px 35px rgba(0,0,0,.12);
}

/* Tables */

.content table{
    width:100%;
    border-collapse:collapse;
    margin:35px 0;
    overflow:hidden;
    border-radius:16px;
}

.content table th{
    background:#125458;
    color:#fff;
    padding:15px;
    text-align:right;
}

.content table td{
    padding:15px;
    border:1px solid #edf2f7;
}

.content table tr:nth-child(even){
    background:#f8fafc;
}

/* Blockquote */

.content blockquote{
    margin:35px 0;
    padding:25px 30px;
    border-right:5px solid #8ab20e;
    background:#f8fafc;
    font-size:20px;
    font-style:italic;
    border-radius:14px;
}

/* Code */

.content pre{
    background:#1e293b;
    color:#fff;
    padding:20px;
    border-radius:14px;
    overflow:auto;
}

.content code{
    background:#eef2f7;
    padding:3px 8px;
    border-radius:6px;
}

/* HR */

.content hr{
    margin:45px 0;
    border:none;
    border-top:1px solid #e5e7eb;
}

/*==================================
    Responsive
==================================*/

@media(max-width:992px){

    .page-header h1{
        font-size:40px;
    }

    .content{
        padding:40px;
    }

}

@media(max-width:768px){

    .page-hero{
        padding:70px 0 50px;
    }

    .page-header h1{
        font-size:30px;
    }

    .page-excerpt{
        font-size:17px;
    }

    .content{
        padding:25px;
        font-size:16px;
    }

    .content h2{
        font-size:26px;
    }

    .content h3{
        font-size:22px;
    }

}

.seo-pages{
    padding:90px 0;
    background:#f8fafc;
}

.section-title{
    text-align:center;
    max-width:760px;
    margin:0 auto 55px;
}

.section-title span{
    display:inline-block;
    padding:8px 18px;
    background:#e8fff2;
    color:#28a745;
    border-radius:40px;
    font-weight:700;
    margin-bottom:15px;
}

.section-title h2{
    font-size:42px;
    font-weight:800;
    color:#1e293b;
    margin-bottom:18px;
}

.section-title p{
    color:#64748b;
    line-height:2;
}

.pages-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:28px;
}

.page-card{
    background:#fff;
    border-radius:22px;
    padding:30px;
    text-decoration:none;
    transition:.35s;
    border:1px solid #edf2f7;
    box-shadow:0 12px 30px rgba(15,23,42,.05);
}

.page-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(15,23,42,.10);
}

.page-card .icon{
    width:70px;
    height:70px;
    border-radius:18px;
    background:linear-gradient(135deg,#28a745,#0bbab5);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:28px;
    margin-bottom:22px;
}

.page-card h3{
    color:#1e293b;
    font-size:22px;
    line-height:1.7;
    margin-bottom:15px;
    font-weight:700;
}

.page-card p{
    color:#64748b;
    line-height:2;
    margin-bottom:20px;
}

.read-more{
    color:#000;
    font-weight:700;
    display:inline-flex;
    align-items:center;
    gap:8px;
}

.page-card:hover .read-more{
    gap:14px;
}

@media(max-width:768px){

    .section-title h2{
        font-size:30px;
    }

}