html {
    overflow-x: hidden;
}

.ckeditorData [style*="white-space:pre"],
.ckeditorData [style*="white-space: pre"] {
  white-space: normal !important;
}

.ckeditorData ul li {
    list-style: disc !important;
    color: inherit !important;
}
.ckeditorData ol li {
    list-style: decimal !important;
    color: inherit !important;
}

.ckeditorData body,
.ckeditorData p,
.ckeditorData li,
.ckeditorData td,
.ckeditorData th,
.ckeditorData a {
    /* font-family: Roboto, sans-serif !important; */
    font-family: 'Times New Roman',Roboto, Times, sans-serif !important;
    font-size: 14px !important;
    color: #000;
}
.ckeditorData td p{
    background-color: rgba(0, 0, 0, 0) !important;
}

.ckeditorData li font{
    font-family: 'Times New Roman',Roboto, Times, sans-serif !important;
}

.ckeditorData h2{
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px;
    margin-top: 20px;
    color: #04837c !important;
}

.ckeditorData h3, .ckeditorData h3 * {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px;
    margin-top: 20px;
    color: #04837c !important;

}

.ckeditorData h3 span {
    font-size: inherit !important;
    font-weight: inherit !important;
}

.ckeditorData h4, .ckeditorData h4 * {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px;
    margin-top: 20px;
    color: #04837c !important;

}

.ckeditorData h5, .ckeditorData h5 * {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px;
    margin-top: 20px;
    color: #04837c !important;


}


.ckeditorData h6, .ckeditorData h6 * {
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin-bottom: 16px;
    margin-top: 16px;
    text-align: justify;
    color: #04837c !important;

}

.ckeditorData p,
.ckeditorData span,
.ckeditorData li,
.ckeditorData p span,
.ckeditorData p font {
    text-align: justify;
    font-size: 14px !important;
}

.ckeditorData a {
    color: inherit;
    /* This will ensure links inherit the font color from the parent */
}

/* Optional: if you want links to have a different style, like underlined or with a specific color */
.ckeditorData a:hover {
    color: #007bff;
    /* example color for hover state */
    text-decoration: underline;
}


/* Hide empty / useless paragraphs generated by editors */
p:empty,
p:has(span:empty),
p[style*="padding: 0pt 0pt 2pt"]:has(span:empty),
p[style*="margin-bottom: 0pt;"]:has(span:empty),
p[style*="padding: 0pt 0pt 12pt"]:has(span:empty),
p[style*="margin-top: 12pt"]:has(br:empty),
p[style="line-height: 1.32"] {
    display: none !important;
}

/* ==========================================================================
   2. HEADINGS
   ========================================================================== */

.ckeditorData h1 {
    font-size: 2.25rem !important;
    font-weight: 600 !important;
    margin-bottom: 10px;
    margin-top: 20px;
    color: #04837c !important;
}

.ckeditorData h2,
.ckeditorData h3 {
    color: #04837c !important;
}

.ckeditorData h1,
.ckeditorData h2,
.ckeditorData h3,
.ckeditorData h4,
.ckeditorData h5,
.ckeditorData h6,
.ckeditorData p,
.ckeditorData span,
.ckeditorData div {
    font-family: "Times New Roman", Times, serif !important;
}

.ckeditorData h1 font,
.ckeditorData h2 font,
.ckeditorData h3 font,
.ckeditorData h4 font,
.ckeditorData h5 font,
.ckeditorData span font,
.ckeditorData p font{
    font-family: "Times New Roman", Times, serif !important;
}

.ckeditorData h1 *,
.ckeditorData h2 *,
.ckeditorData h3 *,
.ckeditorData h4 *,
.ckeditorData h5 *,
.ckeditorData span *,
.ckeditorData p * {
    font-family: "Times New Roman", Times, serif !important;
}


.ckeditorData h4,
.ckeditorData h4 * {
    font-size: 22px !important;
    color: #04837c;
}

.ckeditorData h5, .ckeditorData h5 * {
    font-size: 1.25rem !important;
    color: #04837c;
}

.ckeditorData h6, .ckeditorData h6 * {
    font-size: 1rem !important;
    color: #04837c;
}

h5 {
    font-size: 18px !important;
    color: #04837c;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 10px;
    margin-bottom: 20px;
}

.ckeditorData h1 span,
.ckeditorData h2 span,
.ckeditorData h3 span,
.ckeditorData h4 span,
.ckeditorData h5 span,
.ckeditorData h6 span {
    font-size: inherit !important;
}

.ckeditorData h2 span,
.ckeditorData h3 span,
.ckeditorData h4 span,
.ckeditorData h5 span {
    color: #04837c !important;
}

.ckeditorData h3 p span {
    color: #000;
}

/* ==========================================================================
   3. BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */

/* WhatsApp-style connect button */
.connect-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #25d366;
    text-decoration: none;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.connect-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    background-color: #128c7e;
    transition: width 0.7s ease;
    z-index: -1;
}

.connect-btn:hover::before {
    width: 100%;
}

.connect-btn:hover {
    color: #fff;
}

/* Facebook-style button */
.btn92 {
    background: #1877f2;
    border: none;
    color: #fff;
    height: 32px;
}

/* ==========================================================================
   4. CARDS & BOXES
   ========================================================================== */

.Admission {
    border: 1px solid #eaeaea;
    padding: 15px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 2px 2px 13px rgba(0, 0, 0, 0.1);
}

.card76 {
    margin: 10px;
}

.sideNews {
    border-bottom: 1px solid #efefef;
    margin: 5px 0;
    background: #e5e5e5;
    transition: border-color 0.2s;
}

.sideNews:hover {
    border: 1px solid #0066ff;
}

.sideNews h5 {
    margin: 5px;
}

/* ==========================================================================
   5. TABLES
   ========================================================================== */

table {
    width: 100% !important;
    min-width: 300px;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

tr:first-child {
    background: rgb(51, 73, 136);
    color: #fff;
}

tr:first-child td span {
    color: #fff;
}

tr:first-child:has(a) {
    background: #f2f2f2;
}

tr:nth-child(n+2):nth-child(odd) {
    background: #f2f2f2;
}

/* Responsive tables */
@media (max-width: 767px) {
    .ckeditor-content table {
        display: block;
        width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ckeditor-content table td,
    .ckeditor-content table th {
        white-space: nowrap;
    }
}

figure.table {
    margin: 0;
    padding: 0;
    display: contents;
}

/* ==========================================================================
   6. LAYOUT & MISC
   ========================================================================== */

#inner-headline {
    padding-top: 90px;
}

.bg-blue {
    background: #01386c;
    margin: -6px;
    padding: 20px;
    border: 1px solid #000;
    color: #fff;
}

ul.meta-post li {
    float: left;
    margin-right: 10px;
    padding-right: 10px;
    list-style: none;
    border-right: 1px dotted #d1d1d1;
}

ul.menu_top a {
    font-size: 18px !important;
}

.faq-container {
    margin-top: 0px;
    padding: 20px;
    border-radius: 10px;
    background-color: #f5f7fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    clear: both;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.faq-question {
    font-weight: bold;
    color: #0056b3;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 5px;
    color: #333;
    padding-left: 10px;
}

.arrow {
    font-size: 20px;
    line-height: 1;
    color: #0056b3;
}

/* Card styles for consultation card */
.consultation-card {
    width: 100%;
    padding: 35px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    text-align: center;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 20px 0;
}

.consultation-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 150%;
    background: linear-gradient(rgb(51, 73, 136), #ff6f61, rgb(51, 73, 136));
    animation: animate 4s linear infinite;
}

.consultation-card::after {
    content: "";
    position: absolute;
    inset: 5px;
    background: #ffffff;
    border-radius: 15px;
}

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.consultation-card:hover {
    transform: translateY(-8px);
}

.consultation-card-content {
    position: relative;
    z-index: 1;
}

.consultation-card h2 {
    color: #000000;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.consultation-card p {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 25px;
}

.consultation-card .btn {
    display: inline-block;
    padding: 12px 35px;
    background: #ff6f61;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.consultation-card .btn:hover {
    background: #ff6f61;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.consultation-card .note {
    margin-top: 20px;
    font-size: 14px;
    color: #333333;
    font-weight: 300;
    line-height: 1.5;
}

.toc-container{
    border:1px solid #e3e3e3;
    background:#f8f9fa;
    padding:15px;
    margin:25px 0;
    border-radius:6px;
    font-size:15px;
}

.toc-title{
    font-weight:600;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.toc-list{
    list-style:none;
    padding-left:0;
    margin-top:10px;
    display:none;
}

.toc-list.toc-open{
    display:block;
}

.toc-list li{
    margin:6px 0;
}

.toc-list a{
    text-decoration:none;
    color:#333;
    transition:0.2s;
}

.toc-list a:hover{
    color:#0073e6;
}

.toc-h2{margin-left:0;}
.toc-h3{margin-left:18px;}
.toc-h4{margin-left:35px;}

@media(max-width:768px){

.toc-container{
    padding:12px;
    font-size:14px;
}

.toc-list li{
    margin:5px 0;
}

}

.sidebar {
    position: sticky;
    top: 3rem;
    /* max-height: calc(100vh - 40px); */
    overflow: auto;
}

/* Mobile adjustments */
@media only screen and (max-width: 767px) {
    .lead-form-p {
        margin-top: 27px;
    }
}

.ckeditorData [style*="width"] {
  max-width: 100% !important;
}