
.tagline {
    font-size: 20px;
    /*font-weight: bold;*/
    font-family: 'Playfair Display', serif;
    text-align: center; 
    display: block;
    margin-left: 20px; 
    margin-top: 10px; 
    color: rgb(16, 21, 59);
    letter-spacing: 1px;
    z-index: 1000;
    margin-bottom: -10px;
}
section {
    display: block;
    unicode-bidi: isolate;
}
/* Website title link styles */
.website-title {
    text-decoration: none;
    text-align: center;
    color: inherit; /* Keeps the original text color */
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}
.hi{ margin-top: 100px; 
    float: left;
}

/* Hover effect */
.website-title:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Light highlight */
    transform: scale(1.02); /* Slight enlargement */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Active/click effect */
.website-title:active {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0.98);
}

/* Focus effect (for keyboard navigation) */
.website-title:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 3px;
}

/* Keep your existing styles and add these */
.brand-name {
    text-align: center;
    font-size: 1.5em;
    transition: all 0.3s ease;
}

.website-title:hover .brand-name {
    color: #37afce; /* Change color on hover if desired */
}

.logo-in-heading {
    transition: all 0.3s ease;
}

.website-title:hover .logo-in-heading {
    transform: rotate(5deg); /* Optional: Add a slight tilt to logo */
}
/* Navigation Bar Styles */
.navbar {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: normal;
    padding: 10px 0;
    margin: 20px 0;
    border-radius: 5px;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 28px;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s;
}
.tagline-mini {
    font-size: 22px;
    opacity: 0.8;
    font-weight: normal;
    display: inline-block;
    margin-left: 5px;
}/* Unified navigation styles */
.nav-item {
    text-decoration: none;
    color: inherit;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hover effect for all nav items */
.nav-item:hover {
    background-color: #37afce;;
    transform: translateY(-1px);
}

/* Active/click effect */
.nav-item:active {
    background-color: rgba(0, 0, 0, 0.15);
    transform: translateY(0);
}

/* Current page highlight */
.nav-item.current {
    background-color: rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

/* Site title specific styles */
.site-title {
    padding: 5px 10px;
    font-size: 1.2rem;
}

.site-title:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Navbar specific styles */
.navbar .nav-item {
    font-size: 0.95rem;
    color: #333;
}

/* Keep your existing styles and add these */
.logo-in-heading {
    height: 30px;
    transition: transform 0.3s ease;
}

.nav-item:hover .logo-in-heading {
    transform: rotate(5deg);
}

.brand-name {
    font-weight: bold;
}
h1 {
    text-align: center;
    color: #ffffff;
    background-color: #003366;
    padding: 20px;
    border-radius: 8px;
    font-size: 32px;
    letter-spacing: 2px;
}

label {
    font-weight: bold;
    font-size: 18px;
    color: #003366;
}

select, button {
    margin: 15px 0;
    padding: 14px;
    font-size: 16px;
    border: 1px solid #003366;
    border-radius: 5px;
    width: 100%;
    max-width: 320px;
    background-color: #ffffff;
    color: #003366;
}

button {
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    background-color: #003366;
    color: white;
    transition: background-color 0.3s;
}

.button-container {
    padding: 20px;
    border-radius: 8px;
    font-size: 32px;
    letter-spacing: 2px;
    text-align: left; /* ensures content aligns left */
    width: 100%;       /* spans full width of form box */
}


button:hover {
    text-align: center;
    background-color: #001f3d;
}

.scholarship-list {
    margin-top: 20px;
}

.scholarship-item {
    background: #ffffff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.scholarship-item h3 {
    font-size: 20px;
    color: #003366;
    margin-bottom: 10px;
    text-align: center;
    z-index: 1000;
}

.footer {
    background-color: #003366;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    border-radius: 8px;
}

.footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}

#navbar ul{
    font-family: var(--roboto);
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    max-width: 400px;
    /* used to be 2rem */
    font-size: 1rem; 
    color: #ddd;
    margin: 0;
    padding: 55px 0;
    list-style-type: none;
}
#about {
    padding: 20px 50px;
    max-width: 600px;
    width: 100%;
}

.semi-title {
    font-family: var(--syne);
    font-size: 4.5rem;
    margin-bottom: 35px;
}

.xl-subtext {
    font-size: 1.9rem;
    margin-bottom: 30px;
    text-align: justify;
}

.main-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}
.credits-new {
    font-family: var(--syne);
    font-weight: initial;
    font-size: 1.5rem;
    cursor:default;
}

.footer-credits {
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}
body {
    background: linear-gradient(135deg, #7a9cbe, #434e9a);
    background-attachment: fixed;
}
button {
    transition: transform 0.3s, box-shadow 0.3s;
}
button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}
h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.scholarship-item {
    transition: transform 0.3s;
}
.scholarship-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
html {
    scroll-behavior: smooth;
}
@media (max-width: 768px) {
    select, button {
      width: 90%;
    }
    .scholarship-item {
      padding: 10px;
    }
}
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #003366;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
  }
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1; /* Ensures particles stay behind content */
    background: linear-gradient(135deg, #6e99c4 0%, #0066cc 100%);
}

.content {
    position: relative; /* Ensures content stays above particles */
}
.logo-in-heading {
    width: 50px; /* or 60px */
    height: 50px;
    object-fit: cover;
    border-radius: 50%; /* This makes it perfectly circular */
    margin-right: 10px; /* Small space between logo and text */
    vertical-align: middle; /* Aligns nicely with text */
    background-color: white; /* optional if your logo has no background */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2); /* optional: small shadow */
}
.logo-in-heading:hover {
    animation: spin 2s linear infinite;
}

/* Define the spin animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}/* Testimonials Section */
.testimonials {
    padding: 40px 20px;
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
}

.section-title {
    text-align: center;
    color: #003366;
    margin-bottom: 40px;
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #37afce;
    margin: 15px auto 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    background: rgba(255, 255, 255, 2.2);
    margin: 0 auto;
}

.testimonial-box {
   background: rgba(255, 255, 255, 2.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
}

.testimonial-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.student-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.student-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #37afce;
    margin-right: 15px;
}

.student-details h3 {
    margin: 0;
    color: #003366;
    font-size: 1.2rem;
}

.stars {
    color: #FFD700;
    margin-top: 5px;
    font-size: 0.9rem;
}

.testimonial-text {
    color: #333;
    line-height: 1.6;
    font-style: italic;
    padding: 10px 0;
    border-top: 1px dashed #e0e0e0;
    border-bottom: 1px dashed #e0e0e0;
    margin: 15px 0;
}

.scholarship-info {
    color: #37afce;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

.scholarship-info i {
    margin-right: 5px;
}

.container {
  position: absolute;
  right: 90px; /* Adjust this value to move left/right */
  top: 220px; /* Adjust this value to move up/down */
}
.container img {
  width: 500px; /* adjust size as needed */
  height: 240px;
  border-radius: 10px;
  object-fit: cover;
}


/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-box {
        padding: 20px;
    }
}
.nav-item:nth-child(1), .nav-item:nth-child(2) {
    font-size: 20px; /* Larger font size for Home and About */
    font-weight: bold; /* Make text bold */
}
