/* Demo 1 Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

.top-bar {
    background-color: #0b1f38 !important;
    font-size: 0.85rem;
}

.top-bar a:hover {
    color: #ffc107 !important;
    text-decoration: none;
}

/* Colorful Header */
.colorful-header {
    background: linear-gradient(90deg, #1A2980 0%, #26D0CE 100%) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Modern Navbar unified style */
.modern-navbar {
    background-color: #0d47a1 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
}

.modern-navbar .nav-item {
    margin-right: 0.1rem;
    /* Gap between menu items */
}

.modern-navbar .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0px;
    transition: all 0.3s;
    border-radius: 4px;
    margin-left: 10px;
}

.modern-navbar .nav-link:hover,
.modern-navbar .active>.nav-link {
    color: #fff !important;
    background-color: rgba(255, 193, 7, 0.2);
    /* Warning color with opacity */
    transform: translateY(-2px);
}

.modern-navbar .text-warning:hover {
    background-color: rgba(255, 255, 255, 0.1);
}



/* Dropdown Animations */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Multilevel Dropdown */
.dropdown-menu {
    border-radius: 8px;
    margin-top: 5px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
}

.dropdown-item {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 4px;
    transition: all 0.2s ease-in-out;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    background-color: rgba(13, 71, 161, 0.1);
    color: #0d47a1;
    transform: translateX(5px);
}

.dropdown-submenu {
    position: relative;
}

/* Submenu Arrow Indicator */
.dropdown-submenu>.dropdown-item::after {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    float: right;
    margin-top: 2px;
}

/* Hide default bootstrap caret for submenus */
.dropdown-submenu>.dropdown-toggle::after {
    display: none !important;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -5px;
    margin-left: 0;
    /* Removed gap to fix hover dropout */
}

@media (min-width: 992px) {
    .navbar .dropdown:hover>.dropdown-menu {
        display: block;
        animation: slideUpFade 0.3s ease forwards;
    }

    .navbar .dropdown-submenu:hover>.dropdown-menu {
        display: block;
        animation: slideUpFade 0.3s ease forwards;
    }
}

/* Mobile Offcanvas Navbar from Right */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background-color: #0d47a1;
        transition: right 0.3s ease-in-out;
        z-index: 1050;
        padding-top: 60px;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-toggler {
        z-index: 1051;
        position: relative;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.5rem 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0 !important;
    }

    .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.1);
        box-shadow: none;
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.8);
    }

    .dropdown-item:hover {
        background-color: rgba(0, 0, 0, 0.2);
        color: #ffc107;
    }
}

.hero-section .carousel-item {
    height: 500px;
}

.hero-section .carousel-item img {
    object-fit: cover;
    height: 100%;
}

.bg-dark-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 8px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.border-top-primary {
    border-top: 4px solid #0d47a1 !important;
}

.ticker-list .list-group-item {
    border-left: 3px solid #ffc107;
    margin-bottom: 5px;
}

.opacity-70 {
    opacity: 0.7;
    transition: opacity 0.3s;
    filter: grayscale(100%);
}

.opacity-70:hover {
    opacity: 1;
    filter: grayscale(0%);
}

footer {
    background-color: #0b1f38 !important;
}

footer a:hover {
    color: #ffc107 !important;
}

/* Premium Intro Cards Styling */
.premium-card {
    transition: all 0.3s ease-in-out;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.about-card-premium {
    background: linear-gradient(135deg, rgba(26, 41, 128, 0.92) 0%, rgba(38, 208, 206, 0.92) 100%), url('../../banner/banner1.jpg') center/cover;
    color: white;
    z-index: 1;
    border-bottom: 5px solid #ffc107;
}

.about-card-premium::before {
    content: '\f085';
    /* Cogs/Gears icon for engineering feel */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.06);
    right: -20px;
    bottom: -30px;
    z-index: -1;
    transform: rotate(-15deg);
}

.about-card-premium .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

.icon-box-gradient {
    background: linear-gradient(135deg, #FFB75E 0%, #ED8F03 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(237, 143, 3, 0.3);
}

.icon-box-gradient.alt {
    background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
    box-shadow: 0 4px 10px rgba(24, 90, 157, 0.3);
}

/* Intro Image Hover Effect */
.intro-image-wrapper {
    overflow: hidden;
    border-radius: 0.25rem;
    /* Matches Bootstrap rounded */
}

.intro-image-wrapper img {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.intro-image-wrapper:hover img {
    transform: scale(1.08);
}

.badge-estd {
    transition: transform 0.4s ease;
    z-index: 2;
    /* Keep above the image scaling */
}

.intro-image-wrapper:hover .badge-estd {
    transform: translateY(-5px) scale(1.05);
}

/* Floating Widgets CSS */
.floating-enquiry {
    position: fixed;
    right: -85px;
    top: 60%;
    transform: translateY(-50%) rotate(-90deg);
    background-color: #e52d27;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    z-index: 1040;
    transition: all 0.3s;
    letter-spacing: 1px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.floating-enquiry:hover {
    background-color: #b31b17;
    color: white;
    text-decoration: none;
    right: -80px;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0d47a1;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background-color: #ffc107;
    color: #0d47a1;
    text-decoration: none;
}

.floating-contact {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1040;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
}

.contact-main-btn {
    background-color: #28a745;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.contact-main-btn:hover {
    transform: scale(1.1);
}

.contact-sub-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

.contact-sub-btns.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-sub-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    text-decoration: none;
}

.contact-sub-btn:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

.btn-email {
    background-color: #dc3545;
}

.btn-whatsapp {
    background-color: #25d366;
}

.btn-call {
    background-color: #007bff;
}

/* Enhanced Social Icons */
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none !important;
    font-size: 1.2rem;
}

.social-icon-btn:hover {
    background-color: #ffc107;
    color: #0b1f38 !important;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

/* Extracted Internal Style Block */

.excellence-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
}

.achievement-card-new {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    margin-bottom: 30px;
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
}

.achievement-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.achievement-img-wrapper {
    position: relative;
    height: 240px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    overflow: hidden;
}

.achievement-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.achievement-card-new:hover .achievement-img-wrapper img {
    transform: scale(1.1);
}

.achievement-badge {
    position: absolute;
    bottom: 25px;
    right: 20px;
    background: linear-gradient(135deg, #f2994a 0%, #f2c94c 100%);
    color: #fff;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(242, 153, 74, 0.4);
    z-index: 2;
}

.achievement-badge.badge-blue {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
}

.achievement-badge.badge-purple {
    background: linear-gradient(135deg, #da22ff 0%, #9733ee 100%);
    box-shadow: 0 4px 15px rgba(151, 51, 238, 0.4);
}

.achievement-content {
    padding: 25px;
    padding-top: 10px;
    flex-grow: 1;
}

.achievement-title {
    font-weight: 800;
    color: #1e3c72;
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.achievement-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.custom-carousel-btn {
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #1e3c72;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    cursor: pointer;
    text-decoration: none;
}

.custom-carousel-btn:hover {
    background-color: #f2c94c;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.custom-carousel-prev {
    left: -15px;
}

.custom-carousel-next {
    right: -15px;
}


/* Extracted Inline Styles */
.inline-style-1 {
    max-height: 80px;
}

.inline-style-2 {
    z-index: 1020;
}

.inline-style-3 {
    white-space: nowrap;
    z-index: 2;
}

.inline-style-4 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 35px;
    z-index: 10;
    filter: drop-shadow(0px -3px 3px rgba(0, 0, 0, 0.3));
}

.inline-style-5 {
    color: #0b1f38;
}

.inline-style-6 {
    width: 60px;
    height: 3px;
    background: #ffc107;
    margin-bottom: 1.5rem;
}

.inline-style-7 {
    font-size: 1rem;
    line-height: 1.8 !important;
    letter-spacing: 0.5px !important;
}

.inline-style-8 {
    border-left: 4px solid #ffc107 !important;
    background-color: #fff;
}

.inline-style-9 {
    font-size: 0.9rem;
    line-height: 1.7 !important;
    letter-spacing: 0.4px !important;
}

.inline-style-10 {
    border-left: 4px solid #26D0CE !important;
    background-color: #fff;
}

.inline-style-11 {
    border-radius: 8px;
    overflow: hidden;
}

.inline-style-12 {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.inline-style-13 {
    font-size: 0.75rem;
    border-radius: 12px;
    color: #1e3c72;
    font-weight: bold;
}

.inline-style-14 {
    height: 200px;
    overflow: hidden;
    background: #f4f8fb;
}

.inline-style-15 {
    height: 100%;
}

.inline-style-16 {
    background: transparent;
    border-left: none;
}

.inline-style-17 {
    height: 150px;
    overflow: hidden;
    background: #f4f8fb;
}

.inline-style-18 {
    height: 100%;
    overflow: hidden;
}

.inline-style-19 {
    background: transparent;
    border-left: none;
    padding: 15px;
}

.inline-style-20 {
    background: url('../images/bg_banner.jpg') center center no-repeat fixed;
    background-size: 100% 100%;
}

.inline-style-21 {
    z-index: 1;
}

.inline-style-22 {
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
}

.inline-style-23 {
    border-width: 2px !important;
}

.inline-style-24 {
    border-radius: 12px;
}

.inline-style-25 {
    font-size: 3rem;
    top: 10px;
    left: 10px;
    z-index: 0;
    opacity: 0.5;
}

.inline-style-26 {
    border: 3px solid white;
}

.inline-style-27 {
    height: 2px;
}

.inline-style-28 {
    line-height: 1;
}

.inline-style-29 {
    font-family: Georgia, serif;
    line-height: 1;
}

.inline-style-30 {
    line-height: 1.6;
}

.inline-style-31 {
    font-size: 0.8rem;
}

.inline-style-32 {
    font-size: 0.75rem;
}

.inline-style-33 {
    color: #1e3c72;
}

.inline-style-34 {
    border-left: 3px solid #e52d27 !important;
}

.inline-style-35 {
    border-left: 3px solid #e52d27 !important;
    background: #fff;
}

.inline-style-36 {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 12px;
}

.inline-style-37 {
    width: 70px;
    height: 70px;
}

.inline-style-38 {
    font-size: 2.2rem;
}

.inline-style-39 {
    opacity: 0.9;
}

.inline-style-40 {
    font-size: 1.05rem;
}

.inline-style-41 {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.inline-style-42 {
    width: 80px;
    height: 4px;
    background: #f2c94c;
    margin: 0 auto 3rem auto;
    border-radius: 2px;
}

.inline-style-43 {
    width: 100%;
}

.inline-style-44 {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.85) 0%, rgba(42, 82, 152, 0.95) 100%), url('https://t4.ftcdn.net/jpg/06/32/87/17/360_F_632871792_u5oI2SvD9J2vHr7YJeeTri06LtEeHvKq.jpg') center/cover no-repeat;
    color: #ffffff;
    font-family: Arial, sans-serif;
    position: relative;
    margin-top: -1px;
}

.inline-style-45 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.inline-style-46 {
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.inline-style-47 {
    fill: #f8f9fa;
}

.inline-style-48 {
    padding-top: 80px;
}

.inline-style-49 {
    word-break: break-all;
}

.inline-style-50 {
    background-color: #b5b9bf;
    border-radius: 0;
    padding: 10px 15px;
}

.inline-style-51 {
    line-height: 1.8;
}

.inline-style-52 {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.inline-style-53 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.inline-style-54 {
    height: 75px;
    object-fit: contain;
}

.inline-style-55 {
    font-family: 'Times New Roman', serif;
    letter-spacing: -1px;
    font-size: 1rem;
}

.inline-style-56 {
    font-size: 0.6rem;
    text-transform: uppercase;
}

.inline-style-57 {
    max-width: 260px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.inline-style-58 {
    position: relative;
    width: 65px;
    height: 65px;
    border: 6px solid #d32f2f;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    color: black;
    font-weight: 900;
    line-height: 1;
    flex-shrink: 0;
}

.inline-style-59 {
    font-size: 10px;
    z-index: 2;
    margin-bottom: 8px;
}

.inline-style-60 {
    font-size: 8px;
    z-index: 2;
}

.inline-style-61 {
    position: absolute;
    width: 60px;
    height: 5px;
    background: #d32f2f;
    transform: rotate(-45deg);
    z-index: 1;
}

.inline-style-62 {
    flex-grow: 1;
}

.inline-style-63 {
    font-size: 1.5rem;
    color: #0d47a1;
}

.inline-style-64 {
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.inline-style-65 {
    background-color: #1a3668;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Unified Premium Page Banner */
.page-banner {
    background-image: linear-gradient(to right, rgba(13, 27, 84, 0.92), rgba(13, 27, 84, 0.72)), url('../images/unnamed.webp');
    background-size: cover;
    background-position: center;
    color: white !important;
    padding: 40px 0 !important;
    border-bottom: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.banner-breadcrumb {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(5px);
    border-radius: 30px !important;
    padding: 6px 18px !important;
    display: inline-flex !important;
    margin-bottom: 20px !important;
}

.banner-breadcrumb .breadcrumb-item,
.banner-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.banner-breadcrumb .breadcrumb-item.active {
    color: #fff !important;
}

.banner-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4) !important;
}

.banner-title {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    margin-bottom: 12px !important;
}

.banner-subtitle {
    font-size: 1.05rem !important;
    opacity: 0.9 !important;
    max-width: 750px !important;
    letter-spacing: 0.3px !important;
    margin-bottom: 0 !important;
}

.banner-illustration-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-illustration-wrapper svg {
    max-height: 110px;
    width: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
    animation: floatIllustration 4s ease-in-out infinite;
}

@keyframes floatIllustration {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Dynamic Content Areas / CKEditor WYSIWYG Output Typography */
.welcome-text,
.card-text,
.desk-message-content,
.notice-description,
.page-content,
.inline-style-7,
.inline-style-9,
.notice-info-summary,
.page-content p,
.page-content div,
.page-content li,
.notice-description p,
.notice-description div,
.notice-description li {
    line-height: 1.85 !important;
    letter-spacing: 0.4px !important;
}

/* Desk Message Clamping */
.desk-message-truncated {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
}

.desk-message-truncated * {
    display: inline;
    margin: 0;
    padding: 0;
}