/* =========================================
   1. IMPORTS & VARIABLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Roboto:wght@300;400;500&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

:root {
    --primary-color: rgb(0, 0, 64);       /* Deep Navy - Trust & Professionalism */
    --secondary-color: #1c5d99;     /* Brighter Blue - Active Elements */
    --accent-color: #e63946;        /* Alert/Action Red */
    --gold-color: #d4af37;          /* Gold - Law/Prestige */
    --program-red: #b71c1c;         /* Specific Red for Program Title */
    --bg-color: #f4f6f9;            /* Very Light Grey Background */
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --hover-shadow: 0 10px 15px rgba(0,0,0,0.15);
    
}

a{text-decoration : none;}

/* =========================================
   2. GLOBAL RESET & TYPOGRAPHY
   ========================================= */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}


/* =========================================
   4. NAVIGATION BAR
   ========================================= */
nav {
    background-color: var(--primary-color); /* Navy Blue background */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    padding: 0;
}

nav a {
    color: var(--white);
    text-decoration: none;
    padding: 16px 28px;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    font-family: 'Roboto', sans-serif;
}

nav a:hover {
    background-color: var(--secondary-color);
    border-bottom: 4px solid var(--gold-color);
}

nav a i {
    margin-right: 8px; /* Space between icon and text */
}

/* =========================================
   5. LAYOUT & CARDS
   ========================================= */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 80vh;
}

.card {
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent; /* Ready for hover effect */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-top: 4px solid var(--secondary-color);
}

/* =========================================
   6. SECTION STYLING
   ========================================= */
.section-title {
    font-size: 1.8rem;
    border-left: 6px solid var(--gold-color);
    padding-left: 15px;
    margin-top: 30px;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 700;
}

.highlight-box {
    background: #e3f2fd;
    border-left: 5px solid var(--secondary-color);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
    font-size: 1.05rem;
}

/* =========================================
   7. HERO SECTION (For Index Page)
   ========================================= */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    border-bottom: 5px solid var(--gold-color);
    background-image: linear-gradient(to bottom right, #ffffff, #f8f9fa);
}

/* =========================================
   8. COMPONENTS (Buttons, Tables, Lists)
   ========================================= */
/* Buttons */
.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(28, 93, 153, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    background: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(28, 93, 153, 0.4);
}

.btn-accent {
    background: var(--accent-color);
    box-shadow: 0 4px 6px rgba(230, 57, 70, 0.3);
}

.btn-accent:hover {
    background: #c52b35;
}

/* Tables */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 25px 0;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: #f1f7ff;
}

/* Custom Checkmark List */
ul.ticks {
    list-style: none;
    padding: 0;
}

ul.ticks li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

ul.ticks li::before {
    content: "\f00c"; /* FontAwesome Check Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    height: 28px;
    width: 28px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-size: 14px;
}

/* =========================================
   9. FOOTER
   ========================================= */
footer {
    background-color: var(--primary-color);
    color: #ccc;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    font-size: 0.95rem;
    border-top: 5px solid var(--gold-color);
}

footer p { margin: 8px 0; }

/* =========================================
   10. MEDIA QUERIES (Mobile Response)
   ========================================= */
@media (max-width: 900px) {
    .v_logo {
        flex-direction: column;
        gap: 15px;
    }

    .logo_img img {
        height: 80px;
    }
    
    .nav {
        flex-wrap: wrap;
    }
    
    nav a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

.popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(3px);
    z-index: 9999;
    font-family: Arial, sans-serif;
}

/* POPUP CARD */
.popup-content {
    background: #ffffff;
    width: 90%;
    max-width: 480px;

    /* Increased padding for better spacing */
    padding: 35px 35px 30px 35px;

    margin: 8% auto;
    border-radius: 14px;

    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);

    /* Smooth fade + slide */
    animation: fadeIn 0.25s ease-out, slideDown 0.25s ease-out;
}

/* Better paragraph spacing */
.popup-content p {
    margin: 14px 0;
    line-height: 1.6;
    font-size: 15.5px;
}

/* Title spacing */
.popup-content h3 {
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: 600;
    color: #b26b00; /* gold-like highlight */
}

.popup-content a{
	margin-top:12px;
	color: blue;
	font-weight:400;
	
}
/* Close Button */
.close-btn{
    float: right;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
}
    
.close-btn {
    
    right: 20px;
    top: 18px;
    background: #eee;
    border: none;
    font-size: 20px;
    padding: 4px 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s ease;
    float: right;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
}
.close-btn:hover {
    background: #d9534f;
    color: white;
}

/* Smooth animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideDown {
    from { transform: translateY(-10px); }
    to { transform: translateY(0); }
}

/* Marquee Announcement Bar */
.announcement-marquee {
    background: #fff3cd;
    padding: 10px 0;
    overflow: hidden;
    border-top: 2px solid #ffcc00;
    border-bottom: 2px solid #ffcc00;
    font-weight: bold;
    font-size: 15px;
    color: #5c4400;
    font-family: Arial, sans-serif;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll-left 18s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}


.error {
  
  color: #D8000C;
}


.warn {
  
  color: #9F6000;
}


.success {
  color: #4F8A10;
  background-color: #DFF2BF;
}

.success:hover {
  background-color: #B4F298;
}

.info {
  background-color: #D9EDF7;
  color: #31708F;
}

.info:hover {
  background-color: #D5D8F7;
}

.apply-btn {
    display: inline-block;
    background: #b32020;      /* deep red - professional */
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.apply-btn:hover {
    background: #8e1b1b;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
