/* Jainee College of Engineering and Technology – additions to the Enlighten theme */
:root { --jcet-maroon: #84120c; --jcet-yellow: #fed116; --jcet-text: #333; --jcet-line: #e6e1d6; }

/* header logo banner */
.header-logo-container picture, .header-logo-container img.custom-logo { display: block; width: 100%; height: auto; }
.logo_info_wrap { width: 100%; }
.header-logo-container { width: 100%; padding: 6px 0; }
#masthead .ak-container .logo_info_wrap { float: none; }

/* homepage */
#section_service { background-size: cover; background-position: center; }
.service_slider .content_wrap .service_image img { width: 49px; height: 46px; object-fit: contain; }
#section_achieve { background: var(--jcet-maroon); padding: 70px 0 60px; color: #fff; }
#section_achieve .section_title .title_one { color: #fff; }
#section_achieve .bg_achieve .wrap_counter .counter_count { color: var(--jcet-yellow); }
#section_achieve .bg_achieve .wrap_counter .counter_title { color: #fff; }
#section_achieve .image_wrap_fa i { color: var(--jcet-yellow); font-size: 40px; }
#section_achieve .wrap_counter > div { text-align: center; }
#section_achieve .after-effet1 { display: none; }
#section_cta .cta_desc p { margin: 0; }
.portfolio_slider_wrap .image_wrap_port img { width: 100%; height: auto; }

/* inner page banner */
.header-banner-container { background: var(--jcet-maroon); padding: 34px 0; }
.header-banner-container .page-title { color: #fff; margin: 0 0 6px; font-size: 32px; line-height: 1.25; }
#enlighten-breadcrumb, #enlighten-breadcrumb a { color: #fff; font-size: 14px; }
#enlighten-breadcrumb a:hover { color: var(--jcet-yellow); }
#enlighten-breadcrumb .current { color: var(--jcet-yellow); }

/* content */
#primary .entry-content { color: var(--jcet-text); font-size: 16px; line-height: 1.75; }
#primary .entry-content h2 { color: var(--jcet-maroon); font-size: 24px; margin: 1.4em 0 .6em; }
#primary .entry-content h3 { font-size: 18px; }
#primary .entry-content a { color: var(--jcet-maroon); }
#primary .entry-content ul, #primary .entry-content ol { margin: 0 0 1.2em 1.4em; }
#primary .entry-content li { margin-bottom: .35em; }
#primary .single_page_image img, #primary .post-image-wrap img { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: 4px; }
#primary .single_page_image, #primary .post-image-wrap { margin-bottom: 24px; }
#primary .entry-meta { margin-bottom: 18px; color: #777; font-size: 14px; }
.wp-block-image.jcet-figure img { width: 100%; height: auto; border-radius: 4px; }
.wp-block-table table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--jcet-line); padding: 10px 14px; text-align: left; vertical-align: top; }
.wp-block-table th { background: var(--jcet-maroon); color: #fff; }
.wp-block-table tr:nth-child(even) td { background: #faf7f0; }
.wp-block-table td:first-child { font-weight: 600; width: 34%; }
.wp-block-quote { border-left: 4px solid var(--jcet-yellow); background: #fffbea; padding: 16px 20px; font-style: italic; }

.jcet-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; margin: 18px 0 28px; }
.jcet-card { border: 1px solid var(--jcet-line); border-top: 4px solid var(--jcet-yellow); background: #fff; padding: 18px; border-radius: 4px; transition: box-shadow .2s, transform .2s; }
.jcet-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-2px); }
.jcet-card a { text-decoration: none; }
.jcet-card h3 { margin: 10px 0 6px; font-size: 17px; color: var(--jcet-maroon); line-height: 1.35; }
.jcet-card p { margin: 0; font-size: 14px; line-height: 1.55; color: #555; }
.jcet-card-icon { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--jcet-maroon); color: var(--jcet-yellow); align-items: center; justify-content: center; font-size: 20px; }

.jcet-docs { list-style: none; margin: 10px 0 24px !important; padding: 0; columns: 2 280px; column-gap: 24px; }
.jcet-docs li { break-inside: avoid; margin: 0 0 8px !important; }
.jcet-docs a { display: block; padding: 9px 12px; border: 1px solid var(--jcet-line); border-radius: 4px; background: #fff; text-decoration: none; font-size: 15px; }
.jcet-docs a:hover { background: #fffbea; border-color: var(--jcet-yellow); }
.jcet-docs .fa { color: #c0392b; margin-right: 6px; }
.jcet-links { margin-top: 0 !important; }

.jcet-btn, a.jcet-btn, button.jcet-btn { display: inline-block; background: var(--jcet-maroon); color: #fff !important; border: 0; padding: 10px 22px; border-radius: 3px; font-weight: 600; text-decoration: none !important; cursor: pointer; margin: 4px 6px 4px 0; font-size: 15px; line-height: 1.4; }
.jcet-btn:hover { background: #a3170f; }
.jcet-btn-alt, a.jcet-btn-alt, button.jcet-btn-alt { background: var(--jcet-yellow); color: #222 !important; }
.jcet-btn-alt:hover { background: #ffdc45; }
.jcet-cta { background: #fffbea; border: 1px solid #f3e3a0; border-left: 5px solid var(--jcet-yellow); padding: 18px 22px; margin: 26px 0; border-radius: 4px; }
.jcet-cta p { margin: 0 0 10px; }
.jcet-cta p:last-child { margin: 0; }

.jcet-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 10px 0 24px; }
.jcet-gallery a { position: relative; display: block; overflow: hidden; border-radius: 4px; text-decoration: none; }
.jcet-gallery img { width: 100%; aspect-ratio: 358 / 276; object-fit: cover; display: block; transition: transform .3s; }
.jcet-gallery a:hover img { transform: scale(1.05); }
.jcet-gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: 13px; line-height: 1.35; }

.jcet-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.jcet-vm > div { background: #faf7f0; border-top: 4px solid var(--jcet-maroon); padding: 4px 20px 10px; border-radius: 4px; }
.jcet-message-name { color: var(--jcet-maroon); }
.jcet-message .jcet-message-name { border-left: 4px solid var(--jcet-yellow); padding-left: 12px; }

.jcet-form label { display: block; font-weight: 600; font-size: 14px; color: #444; }
.jcet-form input, .jcet-form select, .jcet-form textarea { display: block; width: 100%; margin-top: 5px; padding: 9px 11px; border: 1px solid #ccc; border-radius: 3px; font: inherit; font-weight: 400; box-sizing: border-box; background: #fff; }
.jcet-form input:focus, .jcet-form select:focus, .jcet-form textarea:focus { outline: 2px solid var(--jcet-yellow); border-color: var(--jcet-maroon); }
.jcet-form .jcet-invalid { border-color: #c0392b; }
.jcet-form-note { font-size: 13px; color: #777; }
.jcet-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.jcet-contact .fa { color: var(--jcet-maroon); width: 18px; }
.jcet-map, .jcet-video { position: relative; padding-top: 50%; margin: 20px 0; border-radius: 4px; overflow: hidden; }
.jcet-map iframe, .jcet-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.jcet-quiz .jcet-q { border: 1px solid var(--jcet-line); border-radius: 4px; padding: 12px 16px; margin: 0 0 14px; background: #fff; }
.jcet-quiz legend { font-weight: 600; padding: 0 6px; color: #333; }
.jcet-quiz label { display: block; padding: 5px 6px; cursor: pointer; border-radius: 3px; }
.jcet-quiz label:hover { background: #fffbea; }
.jcet-quiz label.correct { background: #e3f6e5; color: #1e6b2a; font-weight: 600; }
.jcet-quiz label.wrong { background: #fde8e6; color: #a5281b; text-decoration: line-through; }
.jcet-quiz-result { font-size: 18px; font-weight: 700; color: var(--jcet-maroon); }

/* sidebar */
#secondary .widget { margin-bottom: 28px; }
#secondary .widget ul { list-style: none; margin: 0; padding: 0; }
#secondary .widget ul li { padding: 7px 0; border-bottom: 1px dashed #ddd; }
#secondary .widget ul li a { color: #444; }
#secondary .widget ul li.current-menu-item > a { color: var(--jcet-maroon); font-weight: 700; }
.jcet-admission-widget .textwidget { background: var(--jcet-maroon); color: #fff; padding: 16px; border-radius: 4px; }
.jcet-admission-widget .textwidget p { color: #fff; margin: 0 0 10px; }
.jcet-admission-widget .jcet-code strong { color: var(--jcet-yellow); font-size: 26px; display: block; }
.jcet-admission-widget .jcet-btn { background: var(--jcet-yellow); color: #222 !important; }
.jcet-side-contact .fa { color: var(--jcet-maroon); width: 16px; }
.site-footer a { color: inherit; }

@media (max-width: 768px) {
  .jcet-vm, .jcet-contact { grid-template-columns: 1fr; }
  .header-banner-container .page-title { font-size: 25px; }
  .jcet-map, .jcet-video { padding-top: 75%; }
  .wp-block-table td:first-child { width: 40%; }
  #primary .entry-content { font-size: 15px; }
}

/* full-width header banner (St_Header) – theme limits logo to 25% */
.logo_info_wrap .header-logo-container { width: 100% !important; float: none !important; margin: 0 !important; padding: 8px 0; }
.logo_info_wrap .header-logo-container img.custom-logo { width: 100%; max-width: 100%; height: auto; margin: 0 auto; }
#masthead .logo_info_wrap { margin: 0; }

/* readable text on the yellow facilities slider */
#section_service .bg_service .service_title a { color: #84120c; font-weight: 700; }
.service_slider .content_wrap .title_content_service,
.service_slider .content_wrap .title_content_service .service_content { color: #3d2a00 !important; }
.service_slider.owl-carousel .owl-controls .owl-nav div { color: #84120c !important; }
#section_achieve .bg_achieve .wrap_counter div .image_wrap_fa i { color: #fed116; font-size: 56px; }
#section_cta .title_section_cta, #section_cta .title_description .cta_title, #section_cta .title_description .cta_desc, #section_cta .cta_desc p { color: #3d0805; }
#section_cta .title_section_cta { border-color: rgba(132,18,12,.35) !important; }
#section_cta .button_cta a { color: #84120c; border-color: #84120c; }
#section_cta .button_cta a:hover { background: #84120c; color: #fff; }
/* keep the H1 visible on phones (theme hides it) and slim the banner */
.header-banner-container .page-title-wrap { padding: 46px 0; }
@media (max-width: 768px) {
  .header-banner-container .page-title { display: block !important; font-size: 23px; }
  .header-banner-container .page-title-wrap { padding: 28px 0; }
  .header-banner-container { padding: 0; }
}
#section_achieve h1.title_two { display: block; margin: 0; font-size: 34px; line-height: 1.3; }
@media (max-width: 768px) { #section_achieve h1.title_two { font-size: 24px; } }
