/* --- PREMIUM STYLES FOR ACKNOWLEDGMENT PAGE --- */

/* --- STYLES FOR ACKNOWLEDGMENT PAGE --- */

/* Cover Section */
.acknowledgment-cover {
    height: 45vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    
    /* CORRECTED #1: The path now correctly goes "up" one folder */
    background-image: url('/media/acknowledgment/cover (cropped).jpg');
    
    background-size: cover;
    
    /* CORRECTED #2: "absolute" is not a valid value here */
    background-position: center; 
    
    background-attachment: fixed;
}

.acknowledgment-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* This dark overlay makes the text on top more readable */
    background: rgba(29, 29, 29, 0.5); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
}
.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}


/* Main Content Container */
.ack-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Premium "Glass Effect" Cards */
.ack-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center; /* Center the icon and title */
    
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.ack-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--button-default-blue);
    margin-bottom: 15px;
}
.ack-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.ack-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify; /* Align text to the left for better readability */
}

/* Active Menu Style */
.active-submenu {
    color: #a8cfff !important;
}

@media (max-width: 768px) {

    .acknowledgment-cover {
    height: 35vh; /* Reduced height for smaller screens */
    width: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    
    /* CORRECTED #1: The path now correctly goes "up" one folder */
    background-image: url('/media/acknowledgment/cover (mobile).jpg');
    
    background-size: cover;
    
    /* CORRECTED #2: "absolute" is not a valid value here */
    background-position: center; 
    
    background-attachment: fixed;
    }

    .hero-content {
    position: relative;
    z-index: 2;
    }
    .hero-content h1 {
        font-size: 1.8rem;
        font-weight: 700;
    }
    .hero-content p {
        font-size: 0.9rem;
        opacity: 0.9;
        text-align: center; /* Center text on smaller screens */
    }


    .ack-card {
        padding: 20px 30px; /* Reduced padding for smaller screens */
    }
    .ack-card h2 {
        font-size: 1.3rem; /* Smaller title font size */
    }
    .card-icon {
        font-size: 3rem; /* Smaller icon size */
    }
    
}

.link {
  /* Default state: no underline, black, bold */
  text-decoration: none;
  color: black;
  font-weight: bold;
  
  /* Underline setup */
  background-image: linear-gradient(to right, darkblue, darkblue);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  
  /* Smooth transition */
  transition: color 0.3s ease, background-size 0.3s ease;
}

.link:hover, .institution-link:hover {
  /* Hover state: dark blue color */
  color: darkblue;
  
  /* Underline animates on hover */
  background-size: 100% 2px;
}