﻿*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
.header {
    min-height: 120vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/vtr_Main.png);
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: visible !important;
}

nav {
    display: flex;
    padding: 2% 4%;
    justify-content: space-between;
    align-items: center;
}

    nav img {
        width: 75px;
    }

.nav-links {
    flex: 1;
    text-align: center;
}

    .nav-links ul li {
        list-style: none;
        display: inline-block;
        padding: 6px 8px;
        position: relative;
    }

        .nav-links ul li a {
            color: #fff;
            text-decoration: none;
            font-size: 10px;
        }

        .nav-links ul li::after {
            content: '';
            width: 0%;
            height: 2px;
            background: #f44336;
            display: block;
            margin: auto;
            transition: .5s;
        }

        .nav-links ul li:hover::after {
            width: 100%;
        }

nav .fa {
    display: none;
}

/* ============================= */
/* DROPDOWN MENU SUPPORT         */
/* ============================= */

/* Hide all sub-menus */
.nav-links ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2f4f9f;
    min-width: 180px;
    z-index: 9999;
    padding:0;
    margin:0;
}

    /* Second-level dropdown */
    .nav-links ul li ul li ul {
        left: 100%;
        top: 0;
    }

/* Show submenu on hover */
.nav-links ul li:hover > ul {
    display: block;
}

/* Submenu items */
.nav-links ul li ul li {
    display: block;
    padding: 0;
    margin: 0;
}

    /* Submenu links */
    .nav-links ul li ul li a {
        padding: 6px 8px;
        font-size: 10px;
        color: #fff;
        display: block;
        white-space: nowrap;
        line-height: 1.2;
    }

        /* Hover effect for submenu */
        .nav-links ul li ul li a:hover {
            background: #1e3a8a;
        }

    /* Remove underline animation for dropdown items */
    .nav-links ul li ul li::after {
        display: none;
    }

/* ========================================= */
/* HERO SECTION BELOW TOPBAR                 */
/* ========================================= */

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index:1;
}
.text-box h1{
    font-size: 30px;
}
.text-box p{
    margin: 20px 0 40px;
    font-size: 14px;
    color: #fff;
}
.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: 1s;
}

.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
}

/* ========================================= */
/* MOBILE MENU                               */
/* ========================================= */

@media(max-width: 768px) {

    .header nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
    }

        .nav-links ul li {
            display: block;
            width: 100%;
        }

            .nav-links ul li ul {
                position: static;
                width: 100%;
            }

                .nav-links ul li ul li ul {
                    position: static;
                }
}



/*---------- course --------*/

.course {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    z-index:1;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    text-decoration-line:none;
    padding: 10px;
}

.disclaim-text {
    font-size: 10px;
    color: #555;
}
.row{
    padding-top:0px;
    display: flex;
    justify-content: space-between;  
}
  
.course-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: .5s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

@media (max-width:768px){
    .row{
        flex-direction: column;
    }
} 




/*--------------Footer---------------*/

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.icons .fa{
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}
.fa-heart-o{
    color: #f44336;
}


/*--------------- About Us Page --------------*/


.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images1/background.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header h1{
    margin-top: 100px;
}
.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-col{
    flex-basis: 48%;
    padding: 5px 2px;
}
.about-col h1{
    padding-top: 0;
}
    .about-col h2 {
        padding-top: 15px;
        font-style:italic;
        font-family:'Brush Script MT';
    }

.about-col p{
    padding: 15px 0 25px;
}

.hero-btn.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}
.hero-btn.red-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    color: #fff;
}
.hero-btn.red-btn::after{
    background: #f44336;
}
.hero-btn.red-btn::before{
    background: #f44336;
}
.content-image{
    flex-basis: 50%;
}
.about-col img{
    width: 100%;
}

/*---------- Blog Page -------------*/

.blog-content{
    width: 80%;
    margin: auto;
    padding: 60px 0;
}
.blog-left{
    flex-basis: 65%;
}
.blog-right{
    flex-basis: 32%;
}
.blog-left img{
    width: 100%;
}
.blog-left h2{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}
.blog-left p{
    color: #999;
    padding: 0;
}

.blog-right h3{
    background: #f44336;
    color: #fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}
.blog-right div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}

.comment-box{
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
}

.comment-box h3{
    text-align: left;
}
.comment-form input, .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}
.comment-form button{
    margin: 10px 0;
}


@media (max-width:768px){
    .sub-header h1{
        font-size: 24px;
    }
} 


/*------- Contact Us Page ------------*/

.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;
}

.contact-us{
    width: 80%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fa{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}
    
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
    
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
}

.footer-link{
    text-decoration: none;
    color: #777;
}

/* GLOBAL TEXT FIX */
body {
    font-size: 16px;
    line-height: 1.6;
}

/* APPLICATION GRID */
.course .row {
    display: flex;
    flex-wrap: wrap;
}

.course .course-col {
    flex: 0 0 50%;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .course .course-col {
        flex: 0 0 100%;
    }
}

/* =============================== */
/* UNIFORM APPLICATION IMAGE FIX */
/* =============================== */

.app-img {
    display: block;
    width: 100%;
    height: 180px; /* FIXED HEIGHT */
    max-width: 100%;
    object-fit: contain; /* keep full image, no cropping */
    background-color: #f4f6f9;
    padding: 12px;
    box-sizing: border-box;
    margin: 0 auto 15px auto;
}

.app-img-bigger {
    height:300px;/* FIXED HEIGHT */
    max-width:50%;
}

.disclaim-text {
    font-size: 12px;
    color: #555;
    padding: 5px;
}

.highlight-text {
    font-size: 14px;
    font-weight: 100;
    text-decoration: underline !important;
    line-height: 1.0;
}
/* ================= CONTACT SECTION ================= */

.contact-section {
    font-family: Lato, Arial, sans-serif;
}

/* HEADER */
.contact-header {
    background-color:antiquewhite;
    padding: 15px;
}

    .contact-header h2 {
        color: #fff;
        margin: 0;
    }

/* BODY */
.contact-body {
    display: flex;
    flex-wrap: wrap;
    background-color:white;
    padding: 20px;
}

.contact-col {
    padding: 15px;
    box-sizing: border-box;
}

/* COLUMN WIDTHS */
.contact-icon {
    flex: 0 0 20%;
    text-align: center;
}

.contact-details {
    flex: 0 0 45%;
}

.contact-info {
    flex: 0 0 35%;
}

/* IMAGES */
.contact-main-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.contact-icon-small {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-right: 8px;
}

/* TEXT */
.site-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.highlight-text {
    color: darkorange;
    font-weight: bold;
    text-decoration: underline;
}

/* FOOTER */
.contact-footer {
    background-color:antiquewhite;
    padding: 12px;
}

    .contact-footer p {
        color:black;
        font-size: 13px;
        margin: 0;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-icon,
    .contact-details,
    .contact-info {
        flex: 0 0 100%;
        text-align: center;
    }
}

/* ================= COMMON APP BUTTON STYLE ================= */
.btn-group {
    position: absolute;
    padding-bottom: 6px;
}

.sub-menu {
    position: absolute;
    position: absolute;
    top: calc(100% - 2px); /* 🔑 overlap main button */
    left: 0;
    background: #ffffff;
    border: 1px solid #ccc;
    min-width: 160px;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

    .sub-menu::before {
        content: "";
        position: absolute;
        top: -12px; /* bridge height */
        left: 0;
        height: 12px;
        width: 100%;
    }

/* SHOW submenu on hover */
    .btn-group:hover .sub-menu,
    .sub-menu:hover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }


.app-btn {
    background: transparent;
    border: none;
    color: #0d47a1;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 10px;
    text-align: left;
}

    .app-btn:hover {
        color: #ffffff;
        background-color: #1976d2;
        border-radius: 4px;
    }

.app-sub-btn {
    display: block;
    background: transparent;
    border: none;
    color: #333;
    font-size: 13px;
    padding: 6px 10px;
    text-align: left;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    /* NEW */
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
}

    .app-sub-btn:hover {
        background-color: #f0f4ff;
        color: #0d47a1;
        padding-left: 16px; /* subtle slide effect */
        border-left: 3px solid #1976d2;
    }
.app-btn::after {
    content: " ▾";
    font-size: 12px;
    transition: transform 0.25s ease;
}

.app-btn:hover::after {
    content: " ▴";
    transform: translateX(3px);
}

.app-sub-btn:active {
    background-color: #dbe7ff;
}

.app-panel {
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

    .app-panel:hover {
        transform: translateY(-2px);
    }
.image-panel-wrapper {
    position: relative; /* creates positioning context */
    width: 100%;
}

/* Base image */
.base-image {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(80%);
}

/* Panel overlay */
.overlay-panel {
    position: absolute;
    top: 275px;
    left: 750px;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    overflow: auto; /* IMPORTANT */
}

.overlay-inputpanel {
    position: absolute;
    top: 10px;
    left: 10px;
    width:300px;
    height:50px;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    overflow: auto; /* IMPORTANT */
}

.overlay-gridpanelE {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    overflow: auto; /* IMPORTANT */
}

.overlay-gridpanelF {
    position: absolute;
    top: 10px;
    left: 325px;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    overflow: auto; /* IMPORTANT */
}
.gridpanelF {
    left: 340px;
}

.panel-sm {
    width: 300px;
    height:150px;
}

.panel-sm1 {
    max-width: 400px;
}

.panel-md {
    width: 600px;
}

.panel-lg {
    width: 550px;
}

.panel-full {
    width: 100%;
}

@media (max-width: 768px) {
    .overlay-panel {
        width: 95%;
        height: auto;
        margin: 10px;
        transform: none;
    }

    .grid-container {
        max-height: 60vh;
        overflow-y: auto;
    }
}

.grid-container {
    max-height:460px; /* 🔑 restrict grid height */
    overflow-y: auto; /* vertical scrollbar */
    overflow-x: auto; /* horizontal if needed */
}

.app-grid {
    width: 100%;
    border-collapse: collapse;
}

    .app-grid th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #1976d2;
        color: #ffffff;
        padding: 6px;
    }

    .app-grid td {
        padding: 6px 8px;
        border-bottom: 1px solid #ddd;
    }

    .app-grid tr:hover {
        background-color: #f1f5ff;
    }
.overlay-obpanel {
    position: absolute;
    top: 40px;
    left: 605px;
    width: 200px;
    height: 50px;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    overflow: auto; /* IMPORTANT */
}

.overlay-obGridpanel {
    position: absolute;
    top: 150px;
    left: 605px;
    width: 200px;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    overflow: auto; /* IMPORTANT */
}
.overlay-resultpanel {
    position: absolute;
    top: 40px;
    left: 785px;
    width: 300px;
    height: 150px;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    overflow: auto; /* IMPORTANT */
}
.overlay-drgpanel {
    position: absolute;
    top: 240px;
    left: 425px;
    width: 250px;
    height: 150px;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    overflow: auto; /* IMPORTANT */
}
.overlay-acadpanel {
    position: absolute;
    top: 240px;
    left: 725px;
    width:250px;
    height: 125px;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    overflow: auto; /* IMPORTANT */
}
.overlay-gridpanelPrt {
    width: 1100px;
    height:625px;
    margin: 10px auto;
    display: flex;
    flex-direction: column;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    overflow: auto; /* IMPORTANT */
}
.grid-containerPrt {
    max-height: 550px; /* 🔑 restrict grid height */
    overflow-y: auto; /* vertical scrollbar */
    overflow-x: auto; /* horizontal if needed */
}


.overlay-panelDrgPrt {
    display: flex;
    flex-direction: column;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    overflow: auto; /* IMPORTANT */
}

.overlay-Solpanel {
    position: absolute;
    top: 225px;
    left: 750px;
    width:275px;
    height:150px;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    overflow: auto; /* IMPORTANT */
}

.overlay-calPanel {
    position: absolute;
    top: 10px;
    left: 345px;
    width: 375px;
    height: 260px;
    z-index: 10;
    background-color: white;
    opacity: 0.75;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    overflow: auto; /* IMPORTANT */
}
/* ========================================= */
/* MOBILE RESPONSIVE MENU                    */
/* ========================================= */

@media screen and (max-width: 768px) {

    /* MAIN NAVIGATION AREA */

    .nav-links {
        background: #0b1f3a;
        width: 100%;
        position: relative;
        z-index: 9999;
        text-align: left;
    }

        /* MAIN MENU ITEMS */

        .nav-links ul li {
            display: block;
            width: 100%;
            background: #0b1f3a;
            padding: 4px 8px;
        }

            /* MAIN MENU LINKS */

            .nav-links ul li a {
                font-size: 12px;
                display: block;
                padding: 8px 10px;
            }

            /* DROPDOWN MENU */

            .nav-links ul li ul {
                position: static; /* IMPORTANT */
                display: none;
                width: 100%;
                min-width: 100%;
                background: #1e3a8a;
                box-shadow: none;
                z-index: 9999;
            }

            /* SHOW DROPDOWN */

            .nav-links ul li:hover > ul {
                display: block;
            }

            /* SUBMENU LINKS */

            .nav-links ul li ul li a {
                display: block;
                font-size: 11px;
                padding: 6px 15px;
                color: white;
                background: #1e3a8a;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }

            /* SECOND LEVEL SUBMENU */

            .nav-links ul li ul li ul {
                position: static;
                width: 100%;
                background: #1e3a8a;
                /*background: #2749b3;*/            }

    /* HERO TEXT */

    .text-box h1 {
        font-size: 20px;
    }

    .text-box p {
        font-size: 11px;
    }

    /* LOGO */

    nav img {
        width: 65px;
    }

    /* HEADER HEIGHT */

    .header {
        height: auto;
        padding-bottom: 40px;
    }
}
