
.index-banner-con {
    position: relative;
    width: 90%;
    padding: 80px 0px;
    margin: auto;
}

.index-banner-con::after{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../web-images/little-noddy.png");
    background-size: 200px;
    background-position: bottom right;
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

.index-banner-con::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../web-images/graduation-cap.png");
    background-size: 100px;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.2;
    pointer-events: none;
}

.banner-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 10px;
}

.banner-content h1 {
    font-size: clamp(2rem, 3.5vw, 3.8rem);
    font-weight: 420;
}

.banner-content h1 span{
    margin-bottom: 10px;
    color: var(--root-color);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    display:block;
}

/*================================================================*/

.inw-news-container {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-left: 5px solid var(--root-color);
}

.inw-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.inw-news-label {
    font-weight: bold;
    color: #2c3e50;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.inw-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inw-controls button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #7f8c8d;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inw-controls button:hover { color: #2c3e50; }
#inw-pause-btn { font-size: 14px; width: 30px; }

.inw-slider-viewport {
    position: relative;
    height: 45px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.inw-news-content {
    position: absolute;
    width: calc(100% - 30px);
    font-size: 15px;
    color: #34495e;
    text-decoration: none;
    cursor: none;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inw-news-content:hover { color: #e74c3c; }
.inw-pos-center { transform: translateX(0); opacity: 1; z-index: 2; }
.inw-pos-right { transform: translateX(100%); opacity: 0; z-index: 1; }
.inw-pos-left { transform: translateX(-100%); opacity: 0; z-index: 1; }
.inw-no-anim { transition: none !important; }

/*================================================================*/

.index-about-con, .index-enquiry-con { display: grid; gap: 35px; grid-template-columns: 1fr; } 

/*================================================================*/

.isl-component-root {
    width: 100%;
    max-width: 920px;
    margin: 20px auto 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.islslider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; 
    overflow: hidden;
    border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 1px solid #d9d9d9;
    background: #050505;
}

.islslider-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.islslide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

.islslide img, .islslide iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.isllabel {
    position: absolute;
    bottom: 5%;
    left: 5%;
    background: #ffffff;
    backdrop-filter: blur(15px);
    padding: 1.5% 2.5%;
    border-radius: 12px;
    border-left: 5px solid #A13230;
    z-index: 10;
    pointer-events: none;
    max-width: 80%;
}

.isllabel h2 { 
    margin: 0; 
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    letter-spacing: 1px; 
    font-weight: 420;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.islnav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    width: clamp(35px, 6vw, 55px);
    height: clamp(35px, 6vw, 55px);
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: 0.3s;
    font-size: clamp(14px, 2vw, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.islnav-btn:hover { 
    background: #A13230; 
    transform: translateY(-50%) scale(1.1); 
}
.islprev { left: 2%; }
.islnext { right: 2%; }

.isldots {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.isldot {
    width: 10px; height: 10px;
    background: #A13230;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.4s ease;
}

.isldot.islactive { 
    background: #2d54c8; 
    width: 30px; 
    border-radius: 10px; 
}
    
/*================================================================*/

.enquire-con::after {
    content: "";
    position: absolute;
    inset: 10px;
    background-image: url("../web-images/network.png");
    background-size: 300px;
    background-position: bottom right;
    background-repeat: no-repeat;
    opacity: 0.05;
    pointer-events: none;
}

/*================================================================*/

.notice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 15px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease; 
}

.notice-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.notice-popup {
    background: #fff;
    width: 90%;
    max-width: 1100px;
    max-height: 98%;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.6);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.notice-overlay.active .notice-popup {
    transform: translateY(0) scale(1);
}

@media (min-width: 1024px) {
    .notice-popup { width: 75%; }
}

.notice-close {
    position: fixed;
    top: 25px;
    right: 25px;
    font-size: 18px;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
    z-index: 10001;
    background: #dc3545;
    color: #ffffff;
}

.notice-close:hover {
    background: #ffffff;
    color: #000000;
    transform: rotate(90deg);
}

.notice-content {
    width: 100%;
    font-size: 0;
}

.notice-content img {
    width: 100%;
    height: auto;
    display: block;
}

.notice-popup::-webkit-scrollbar {
    width: 6px;
}
.notice-popup::-webkit-scrollbar-thumb {
    background: #a13230;
    border-radius: 10px;
}

/*================================================================*/

@media (max-width: 800px) {
    .index-banner-con::before { content: none; display: none; }
}


@media (min-width: 800px) {
    .index-about-con { grid-template-columns: 2fr 1fr; align-items: start; }
    .index-enquiry-con {grid-template-columns: 1fr 2fr; align-items: start; }
}
