﻿.slider {
    padding: 0;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
}

    .slider-item img {
        width: 100%;
        height: 75vh;
        object-fit: cover;
    }

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    z-index: 1;
    pointer-events: none;
}

.caption-container {
    position: absolute;
    top: 50%;
    left: 10.5%;
    color: white;
    padding: 10px;
    text-align: left;
    box-sizing: border-box;
    z-index: 2;
    width: 40%;
}

    .caption-container h2 {
        font-size: 2.2rem;
        color: #fff;
        font-weight: bold;
        margin: 0;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        line-height: 50px;
    }

    .caption-container p {
        font-size: 1rem;
        color: #fff;
        margin-top: 10px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }

    .caption-container a.button {
        display: inline-block;
        margin-top: 15px;
        background-color: #0054b5;
        color: black;
        text-decoration: none;
        padding: 10px 50px;
        border-radius: 5px;
        font-size: 1rem;
        color: #fff;
    }

        .caption-container a.button:hover {
            background-color: rgba(255, 255, 255, 1);
            color: #0054b5;
        }

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

    button.prev:hover, button.next:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

@media (max-width: 768px) {
    .slider-item img {
        height: 30vh;
    }

    .caption-container {
        width: 100%;
    }

        .caption-container h2 {
            display: none;
            font-size: 1.5rem;
        }

        .caption-container p {
            display: none;
            font-size: 1rem;
        }

        .caption-container a.button {
            display: none;
            font-size: 0.9rem;
            padding: 8px 15px;
        }

    .gradient-overlay {
        background: none;
    }
}

.it-hero {
    background: radial-gradient(circle at top left, #ffffff, #e6e3f9, #d2cdf2);
    color: #000;
}

.footerlogo {
    width: 150px;
}

.it-about-2-area {
    background: linear-gradient( 135deg, #fff1ec, /* peach */
    #f3ecff, /* lavender */
    #eefaf3 /* mint */
    );
}
.bg-blue-sky {
   background: linear-gradient(135deg,
        #f3f2ff,   /* lavender */
        #eef3ff,   /* pastel blue */
        #f9fbff    /* clean white */
    );
}
.text-justify {
    text-align: justify;
}
/* Section Background */

/* Card Style */
.director-box,
.notice-box {
    border-top:solid 4px #0054b5;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Card Heading */
.card-heading {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.card-title {
    font-weight: 700;
    color: #4a2f6f;
    margin-bottom: 2px;
}

.card-subtitle {
    font-size: 13px;
    color: #7a4fa0;
}

/* Director Image */
.director-img {
    border-bottom:solid 4px #7a4fa0;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Notice Hover */
.notice-item:hover {
    background: #faf8ff;
    padding-left: 6px;
    transition: 0.3s;
}

/* Justified Text */
.text-justify {
    text-align: justify;
    text-justify: inter-word;
}
/* ================= NOTICE BOX ================= */
.notice-box {
    background: #ffffff;
    border-radius: 16px;
}

/* ================= NOTICE ITEM ================= */
.notice-item {
    transition: all 0.3s ease;
    background: #fafafa;
    align-items: center;
}

    .notice-item .flex-grow-1 {
        display: flex;
        flex-direction: column;
        justify-content: center; /* center text vertically */
    }

    .notice-item:hover {
        background: #f2f8ff;
        border-color: #cfe3ff;
    }

/* ================= DATE BOX (PASTEL BLUE) ================= */
.notice-date {
    min-width: 72px;
    background: linear-gradient(135deg, #cfe8ff, #b6dbff);
    color: #1f3b5c;
    border-radius: 12px;
    padding: 10px 6px;
    font-weight: 700;
    line-height: 1.2;
}

    .notice-date .day {
        display: block;
        font-size: 22px;
    }

    .notice-date .month {
        font-size: 13px;
        text-transform: uppercase;
    }

    .notice-date .year {
        font-size: 11px;
        opacity: 0.8;
    }

/* ================= NOTICE TEXT ================= */
.notice-item p {
    font-size: 15px;
    line-height: 1.5;
}

/* ================= ACTION LINKS ================= */
.notice-actions a {
    font-size: 13px;
    margin-right: 14px;
    color: #393185;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

    .notice-actions a:hover {
        text-decoration: underline;
    }

/* ================= VIEW ALL ================= */
.notice-link {
    color: #0d5bd7;
    font-size: 14px;
}

/* ================================================= */
/* ================= TABLET VIEW =================== */
/* ================================================= */
@media (max-width: 991px) {
    .notice-item {
        flex-direction: row;
    }

    .notice-date {
        min-width: 65px;
        padding: 8px 5px;
    }

    .notice-item p {
        font-size: 14px;
    }
}

/* ================================================= */
/* ================= MOBILE VIEW =================== */
/* ================================================= */

@media (max-width: 575px) {
    .notice-item {
        flex-direction: column;
        gap: 12px;
    }

    .notice-date {
        width: 100%;
        max-width: 120px;
        margin: 0 auto;
        text-align: center;
    }

    .notice-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

        .notice-actions a {
            font-size: 12px;
            margin-right: 0;
        }

    .notice-item p {
        text-align: center;
        font-size: 14px;
    }

    .notice-link {
        display: block;
        text-align: center;
    }
}

/*site master logo */

.it-header-logo {
    padding: 5px 0; 
}
@media (max-width: 575px) {
   .it-header-logo {
        padding: 10px 0!important; 
        width:250px!important;
    }
}
@media (max-width: 991px) {
    .it-header-logo {
        padding: 5px 0; 
        width:120px;
    }
}

/* ===== THREE CARDS WITH GRADIENT BACKGROUNDS ===== */

/* COMMON CARD STYLING */
/*.it-tuition-item {
    height: 320px; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    background: #fff; 
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden; 
}

.row > .col-xl-4:nth-child(1) .it-tuition-item {
    background: linear-gradient(135deg, #2F57EF, #159F8F);
    color: #1a1a1a; 
}

.row > .col-xl-4:nth-child(1) .it-tuition-item .shape {
    position: absolute;
    left: -30px; 
    top: 50%;
    transform: translateY(-50%) rotate(-10deg); 
    width: 120px;
    height: auto;
    opacity: 0.3;
    pointer-events: none;
    z-index: 2; 
}

.row > .col-xl-4:nth-child(2) .it-tuition-item {
    background: linear-gradient(135deg, #1AB69D, #2F57EF);
    color: #ffffff;
}

.row > .col-xl-4:nth-child(2) .it-tuition-item .shape {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%) rotate(5deg);
    width: 120px;
    height: auto;
    opacity: 0.3;
    pointer-events: none;
    z-index: 2;
}

.row > .col-xl-4:nth-child(3) .it-tuition-item {
    background: linear-gradient(135deg, #BC9FFD, #2F57EF);
    color: #ffffff;
}

.row > .col-xl-4:nth-child(3) .it-tuition-item .shape {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%) rotate(-5deg);
    width: 120px;
    height: auto;
    opacity: 0.3;
    pointer-events: none;
    z-index: 2;
}
.it-tuition-title-sm {
    display: inline-block; 
    padding: 5px 15px;     
    border-radius: 10px;   
    background: linear-gradient(135deg, #F8C62F, #F5A623); 
    color: #1a1a1a;       
    margin-bottom: 20px;   
}*/
.it-tuition-list-box ul {
    column-count: 2;       
    column-gap: 20px;      
    list-style: none;      
    padding-left: 0;
}

.it-tuition-list-box ul li {
    margin-bottom: 10px;  
}

.it-tuition-list-box ul li span {
    display: flex;
    align-items: center;
    gap: 8px; 
}

.it-tuition-list-box ul li svg {
    flex-shrink: 0; 
    color: #F8C62F; 
}
.it-blog-2-area {
    background: linear-gradient(135deg,
        #e8f0ff,
        #f7e9ff,
        #eafaf1,
        #fff0e5
    );
}
/* Desktop & Large screens */
.it-choose-3-area .row {
    display: flex;
    flex-wrap: nowrap;     /* one line */
}

/* Equal width columns */
.it-choose-3-area .col-xxl-2 {
    flex: 1;
    max-width: 11.11%;     /* 9 items in one row */
}

/* Box design */
.it-choose-3-item {
    height: 140px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px;
    transition: all 0.3s ease;
}

.it-choose-3-title {
    font-size: 13px;
    text-align: center;
    line-height: 1.2;
}

/* Hover */
.it-choose-3-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ---------------- MOBILE RESPONSIVE ---------------- */
@media (max-width: 991px) {
    .it-choose-3-area .row {
        flex-wrap: wrap;        /* allow wrap */
    }

    .it-choose-3-area .col-xxl-2 {
        max-width: 33.33%;      /* 3 per row */
        flex: 0 0 33.33%;
    }
}

@media (max-width: 576px) {
    .it-choose-3-area .col-xxl-2 {
        max-width: 50%;         /* 2 per row */
        flex: 0 0 50%;
    }

    .it-choose-3-item {
        height: 130px;
    }
}
