/* Color Variables */
:root {
    --color-primary: #3277ae; /* Deep Navy */
    --color-secondary: #dc6737; /* Gold/Amber */
    --color-background: #F5F5F5; /* Light Gray */
    --color-text-dark: #212121; /* Dark Gray */
    --color-text-light: #FFFFFF; /* White */
    --color-success: #4CAF50; /* Green */
    --color-hardblue: #263775; /* Green */
    --color-light:#ffffff; /*white*/
}
.container{
    max-width:1380px;
}
body {
    background:#f8f9fa url(../images/bodybg.png);
    background-repeat: no-repeat;
}
.navbar-brand img{
    max-width: 350px;
   
    padding-right: 20px;
}
.navbar{
    border-top:2px solid #27357b;
    box-shadow: 0 0 5px #999;
    z-index: 3;
    transition: all 0.4s ease;
    top:-100px;
    width:100%;
    position:inherit;
    padding:0;
}
.scrolled .navbar.navbar-expand-lg {
    position:fixed;
    width:100%;
    top:0;
    padding:0;
}
.navbar.navbar-expand-lg img {
    transition: all 0.4s ease;
}
.scrolled .navbar.navbar-expand-lg img {
    width:250px;
}
.nav-link {
    font-weight: 500;
    color:var(--color-primary)
}
.social-icons {
    padding:5px 0;
    margin:0;
}
.social-icons a{
    color:#fff;
}

.our-staff {
    background: var(--color-primary);
    color: #fff;
    border-radius: 5px;
    padding-left: 20px !important;
    padding-right: 20px !important;
    text-transform: uppercase;
}
.navbar-nav .nav-link.our-staff.active{
    color:#fff;
}
.welcome-img-con {
    padding:45px;
    position: absolute;
}
.welcome-img-con img {
    position: relative;
    z-index: 2;
    box-shadow: 0px 10px 43px 0px rgb(109 125 145 / 14%);
    max-width:400px;
}
.welcome-img-con:before {
    content: "";
    background: url(../images/imgshape1.png);
    width: 200px;
    height: 200px;
    display: inline-block;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1;
}
.welcome-text {
    background:#fff;
    padding:50px;
    border-radius: 10px;
    margin-left:17%;
    padding-left:300px;
    padding-bottom:30px;
    box-shadow: 0px 10px 43px 0px rgb(109 125 145 / 14%);
}
h1 {
    color:var(--color-primary);
    font-size:32px;
    position: relative;
    margin-bottom: 30px;
}
h1:before{
    content: "";
    width:100px;
    background: var(--color-secondary);
    left:0;
    height:2px;
    position: absolute;
    bottom:-10px;
}
.navbar-toggler {
    position: absolute;
    right:5px;
    top:30px;
    padding:5px;
}
.navbar-toggler:focus{
    box-shadow: none;
}
/* Base Styles & Typography */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--color-text-dark);

    line-height: 24px;
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

/* Header & Navigation */
.main-header {
    background-color: #fafafa;
    color: var(--color-text-light);
    padding: 15px 5%;
    text-align: center;
}

.main-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8em;
}

.main-header nav a {
    color: var(--color-text-light);
    margin: 0 15px;
    font-weight: 400;
    transition: color 0.3s;
}

.main-header nav a:hover {
    color: var(--color-secondary); /* Gold/Amber hover effect */
}

/* Layout */
.content-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    gap: 20px;
}

.main-content {
    flex: 3; /* Wider column for announcements */
}

.sidebar {
    flex: 1; /* Narrower column for quick links */
}

.section-title, .sidebar-title {
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-secondary); /* Gold/Amber underline */
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 15px;
}

/* WIDGET 1: ANNOUNCEMENTS */
.announcement-widget {
    background-color: var(--color-text-light); /* White background for the widget box */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 10px 0;
}

.announcement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px dotted #eee;
    transition: background-color 0.3s;
}

.announcement-item:hover {
    background-color: #f9f9f9; /* Subtle hover highlight */
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item a {
    flex-grow: 1;
    color: var(--color-text-dark);
    font-weight: 500;
}

.announcement-item a:hover {
    color: var(--color-primary); /* Dark Navy text on hover */
}

.tag {
    font-size: 0.75em;
    font-weight: bold;
    padding: 3px 6px;
    margin-right: 10px;
    border-radius: 4px;
    color: var(--color-text-light);
}

.tag.ug {
    background-color: var(--color-primary); /* Navy tag for UG */
}

.tag.pg {
    background-color: #388E3C; /* Darker Green tag for PG */
}

.date {
    font-size: 0.9em;
    color: #999;
}
.body-content {
    padding: 50px 0;
}



.view-all-link {
    display: block;
    text-align: right;
    padding: 10px 15px 5px;
    color: var(--color-secondary);
    font-weight: bold;
}

/* WIDGET 2: QUICK LINKS */
.quick-links-widget {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.quick-link-btn {
    display: block;
    padding: 15px 20px;
    text-align: center;
    border-radius: 6px;
    font-weight: normal;
	color:var(--color-light);
    background: linear-gradient(45deg, #3277AE, #32A2AE, #62F5F0, #29D98A);
  background-size: 300% 300%;
  transition: background-position 0.5s ease;
  text-decoration: none;
  font-size:18px;
}
/* .secondary {
     background: linear-gradient(45deg, #DC6737, #FC8758, #FF723B, #FF8400);
      background-size: 300% 300%;
} */
.secondary {
     background: linear-gradient(45deg, #388E3C, #33B539, #0AC413, #02F00E);
      background-size: 300% 300%;
}
.quick-link-btn:hover {
  background-position: 100% 0;
}




/* Footer */
.main-footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 15px 0 ;
    font-size: 0.9em;
}

/* Simple image placeholder for demonstration of clean data presentation */
.archive-widget a {
    display: block;
    margin-bottom: 8px;
    padding: 5px 0;
    border-bottom: 1px dashed #ccc;
}
.archive-widget  li {
    position:relative;
    padding-left:20px;
}
.navbar-nav li {
    position: relative;
    overflow: hidden;
    margin-left:5px;
    
}
.btn-border {
    border:1px solid #ccc;
    color:var(--color-primary)
}
h2 {
    font-size:20px
}
.inner-left-box {
    border:1px solid #ccc;
    padding:20px;
    border-radius: 5px;
}
/* 1. Create the base underline using ::after */
.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px; /* Thickness of the border */
    background-color: var(--color-secondary); /* Gold/Amber Border */
    
    /* Set the initial position: outside the visible area (bottom-left) */
    transform: translateX(-100%);
    bottom: 0;
    left: 0;
    
    /* Add the smooth animation transition */
    transition: transform 0.4s ease-out; 
}
.bottom-strip{
    position: relative;
    margin-bottom: 40px;
}
.bottom-strip:after {
    content: "";
    width:60px;
    background: var(--color-secondary);
    margin-left:-30px;
    left:50%;
    height:3px;
    position: absolute;
    bottom:-10px;
}
/* 2. Animate on HOVER: Move the border from left (-100%) to fully visible (0) */
.nav-link:hover::after {
    transform: translateX(0); /* Border slides in fully */
}

/* 3. Handle the ACTIVE Link (Current Page): Keep the border visible */
.nav-link.active::after {
    transform: translateX(0); /* Always visible on the active link */
    /* Optional: Change the color or thickness slightly for the persistent active state */
    background-color: var(--color-secondary); 
}
.aboutus-title {
    border-radius: 5px;
    border: 1px solid #dc6737;
    padding: 4px 10px;
    text-align: center;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    color: #dc6737;
    font-weight: bold;
    letter-spacing: 3px;
}

.scroll-area {
    height: 300px;
    overflow: hidden;
    border: 1px solid #ccc;
    padding: 0px;
  }
  
  .scroll-area .content > div {
    margin: 6px 0;
  }
  
  .abt-img {
    max-width:400px;
    margin-left:10px;
    margin-bottom: 10px;
    padding:1px;
    border:1px solid #ccc;
    box-shadow: 0px 10px 43px 0px rgb(109 125 145 / 14%);
  }

.list-plain{
    padding:0;
    margin:0;
    list-style: none;
}
.archive-widget a  {
    display: inline-block;
}
.archive-widget .fa-angle-right  {
    font-size:12px;
    position:absolute;
    left:0;
    top:12px;
}
.about-icon {
    background: url(../images/sprite.png);
    width: 60px;
    height: 60px;
    display: inline-block;
    background-position: -40px 0;
}
.about-icon-mission {
    background-position: -134px 0;
}
.controller-examinations {
    padding:50px 0;

}
.pos-relative {
   position: relative;
}
.left-angle:before,
.left-angle:after,
.bottom-angle:before,
.bottom-angle:after
{
    content:"";
    display:inline-block;
    width:50px;
    height:2px;
    background:#dc6737;
    position:absolute;
}
.left-angle:before {
    left:20px;
    top:30px;
}

.left-angle:after {
    left:30px;
    top:20px;
}
.left-angle:after,
.bottom-angle:after{
    width:2px;
    height:50px;
}
.bottom-angle:before {
    left:285px;
    top:220px;
}
.bottom-angle:after {
    left:320px;
    top:182px;
}
.controller-examinations-img {
    max-width:350px;

    border:10px solid #fff;
    padding:1px;
    box-shadow: 0px 0px 10px #ccc;
    margin-right:20px
}
.controller-examinations-img:before {
    content:"";

}
a{
    text-decoration: underline;
}
.border-title{
    border:1px solid #dc6737;
    padding-left:5px;
    padding-right: 5px;
    font-weight: bold;
}
.main-footer {
    padding-top:75px;
    font-size:12px;
    padding-bottom: 0;
    
}
.main-footer .nav-link.active::after {
    display: none;
}
.footer-nav li a {
    color:#fff;
    font-size:14px;
}
.bottom-footer {
    background: #444;
    font-size:12px;
    padding:20px 0 10px 0;
}
.main-footer h6 {
   position: relative;
    padding-bottom: 10px;
}
.main-footer h6:before {
    content: "";
    width:200px;
    height:1px;
    background:#fff;
    position:absolute;
    left:0;
    bottom:0;
}
.image-container img {
  transition: transform 0.5s ease;

}
.img-border img {
      border:1px solid #ccc;
  padding:2px;
}
.image-container img:hover {
  transform: scale(1.05);
  opacity:0.9;
}
.quick-link-btn.green-btn{
background-color: var(--color-success)
}
.navbar-brand:focus-visible{
    outline:none;
}
.hostnine {
    width:100%;
}
.hostnine a{
    font-size: 14px;
    vertical-align: middle;
    text-decoration: none;
    color:#999;
}
.hostnine img{
    opacity: 0.6;
    width: 150px;
    vertical-align: bottom;
}

@media only screen and (max-width:767px){
    .main-footer .col-md-6,
    .main-footer .col-md-6 .text-end {
        text-align: center !important;
    }
    .welcome-img-con {
        position:relative;
    }
    .welcome-text {
       
        padding: 20px;

        margin-left: 0;
    }
    .scrolled .navbar-toggler{
        top:10px;
    }
    .navbar-brand img {
        max-width:300px;
    }
    .welcome-img-con img {
        max-width: 100%;
    }
	
}

/* Hosting credit wrapper */
.hostnine {
    display: inline-block;
    animation: fadeIn 1.2s ease;
}

/* Text animation */
.hostnine a {
    color: #e6e6e6;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    transition: 0.3s ease-in-out;
}

/* Underline animation */
.hostnine a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #00ffcc;
    transition: 0.4s ease;
}

.hostnine a:hover::after {
    width: 100%;
}

/* Glow on hover */
.hostnine a:hover {
    color: #00ffd5;
    text-shadow: 0 0 10px rgba(0, 255, 200, 0.7);
}

/* Logo animations */
.hostnine img {
    width: 140px;
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0px 0px 4px rgba(255,255,255,0.3));
    vertical-align: bottom;
}

.hostnine img:hover {
    transform: translateY(-4px) scale(1.05);
    filter: drop-shadow(0px 0px 8px #00ffcc);
}

/* Fade-in effect */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0px); }
}
.copywrite{
    line-height: 40px;
    opacity: 0.7;
}
.font-14{
    font-size:14px
}
.footer-address {
    padding:0;
    margin:0;
    list-style: none;
}
.footer-address li {
    margin:0;
    margin-bottom: 10px;
}
.footer-address .fas,
.footer-address .far {
    font-size:18px;
    margin-right:10px
}
.brown-btn {
    color:#fff;
    background: linear-gradient(45deg, #dc6737, #D95521, #ED6F3E, #BA4111);
      background-size: 300% 300%;
}
.img-border-style2 {
    box-shadow: 0 0 10px #999;
    margin-bottom: 20px;
}