* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    animation: gradientShift 15s ease infinite;
    overflow-x: hidden;
}
.go_to_home{
    position: fixed;
    right: 10px;
    bottom: 10px;
    background-color: maroon;
    /* padding-top: 20px; */
        padding: 20px;
        z-index: 2;
        border-radius: 190px;
    a{
        font-size: 30px;
        color: white;
    }
    transform: 3s;
}

.go_to_home:hover{
   
    background-color: rgb(151, 19, 19);
}

/* @keyframes gradientShift {
    0%, 100% { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
    25% { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
    50% { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
    75% { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
} */

/* Floating particles animation */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Content wrapper */
.content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Enhanced Top Header */
.top-header {
    background: linear-gradient(45deg, #002147, #003366);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideDown 1s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.social-icons a {
    margin-right: 15px;
    text-decoration: none;
    color: white;
    font-size: 22px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.3) rotate(360deg);
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.header-buttons a {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #002147;
    padding: 10px 20px;
    margin-left: 15px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.header-buttons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); */
    transition: left 0.5s;
}

.header-buttons a:hover::before {
    left: 100%;
}

.header-buttons a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
}
/* --- Dropdown essentials --- */
.site-nav { 
  background:#7b1c1c;            /* maroon */
  position:relative; 
  z-index:1000;                   /* keep above slider */
  overflow:visible;               /* don't clip dropdowns */
  font-family:system-ui, Arial;
}
.site-nav .menu{
  margin:0; padding:0;
  list-style:none;
  display:flex; flex-wrap:wrap;
}
.site-nav .menu>li{ position:relative; }
.site-nav .menu>li>a{
  display:block; padding:12px 16px;
  color:#fff; text-decoration:none; 
  font-weight:600; letter-spacing:.2px;
}
.site-nav .menu>li>a:hover{ background:#9a2a2a; }

/* first level dropdown */
.dropdown-menu{
  position:absolute; left:0; top:100%;
  min-width:260px;
  background:#7b1c1c;
  border-top:2px solid #d5a73a;  /* gold accent like screenshot */
  list-style:none; margin:0; padding:0;
  display:none;                   /* hidden by default */
  box-shadow:0 10px 20px rgba(0,0,0,.25);
}
.dropdown-menu>li>a{
  display:block; padding:12px 14px;
  color:#fff; text-decoration:none;
  white-space:nowrap;
}
.dropdown-menu>li>a:hover{ background:#9a2a2a; }

/* second level (flyout) */
.dropdown-sub{ position:relative; }
.dropdown-submenu{
  position:absolute; top:0; left:100%;
  min-width:240px;
  background:#7b1c1c;
  list-style:none; margin:0; padding:0;
  display:none; box-shadow:0 10px 20px rgba(0,0,0,.25);
  border-left:2px solid #d5a73a;
}

/* show on hover (desktop) */
.dropdown:hover>.dropdown-menu{ display:block; }
.dropdown-sub:hover>.dropdown-submenu{ display:block; }

/* tiny style helpers */
.caret{ margin-left:6px; font-weight:700; }
.caret-right{ float:right; }

/* make sure later sections don't overlap the nav */
.slider{ position:relative; z-index:1; }
/* Enhanced Main Header */
.main-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideInFromLeft 1.2s ease-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


@keyframes slideInFromLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.header-left {
    display: flex;
    align-items: center;
    animation: bounceIn 1.5s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #00274d;
  padding: 6px 15px;
  color: white;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 16px;
  color: white;
  border-radius: 5px;
  margin-right: 5px;
}


.social-icons .phone { background: #28a745; }
.social-icons .email { background: #dc3545; }
.social-icons .facebook { background: #3b5998; }
.social-icons .instagram { background: #c13584; }
.social-icons .twitter { background: black; }
.social-icons .youtube { background: #ff0000; }

.lang-date {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.lang-date a {
  background: white;
  color: black;
  padding: 3px 8px;
  text-decoration: none;
  border-radius: 3px;
}

.lang-date a.active {
  font-weight: bold;
}

.lang-date .old-website {
  color: #ffd700;
  background: none;
  padding: 0;
}
.lang-date img {
  width: 18px;
  height: auto;
  margin-right: 4px;
  vertical-align: middle;
  border-radius: 2px;
}
.date-time {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
}

.date-time span,
.date-time a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.date-time i {
  font-size: 16px;
  color: #ffffff;
}

.date-time .old-website {
  color: #ffff00;
  font-weight: bold;
  text-decoration: none;
}

.date-time .old-website:hover {
  text-decoration: underline;
}

.date-time span.separator {
  padding: 0 8px;
  color:white;
}

.header-buttons a {
  background: #c2a450;
  color: black;
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  margin-left: 5px;
}

.header-buttons a i {
  margin-right: 5px;
}
.college-logo img {
    height: 90px;
    margin-right: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.college-logo img:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.college-info h1, .college-info h2 {
    margin: 0;
    background: linear-gradient(45deg, #002147, #003366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.college-info h1 {
    font-size: 26px;
    animation: typeWriter 2s ease-out;
}

.college-info h2 {
    font-size: 20px;
    animation: typeWriter 2.5s ease-out;
}

@keyframes typeWriter {
    from { width: 0; opacity: 0; }
    to { width: 100%; opacity: 1; }
}

.header-center {
    text-align: center;
    font-weight: bold;
    animation: pulse 2s infinite;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.header-right {
    text-align: right;
    animation: slideInFromRight 1.2s ease-out;
}

@keyframes slideInFromRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Enhanced Navigation */
nav {
    background: linear-gradient(45deg, #8B0000, #A52A2A);
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0;
    position: relative;
}

nav ul li a {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.4s ease;
}

nav ul li a:hover::before {
    width: 100%;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Enhanced Slider */
.slider {
    position: relative;
    height: 450px;
    overflow: hidden;
    /* border-radius: 0 0 30px 30px; */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.slides img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: none;
    transition: all 1s ease-in-out;
    filter: brightness(0.8);
}

.slides img.active {
    display: block;
    animation: zoomIn 1s ease-out;
}

@keyframes zoomIn {
    from { transform: scale(1.1); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Enhanced News Ticker */
.news-ticker {
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
    height: 50px;
    overflow: hidden;
    background: linear-gradient(45deg, #800000, #A00000);
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3); }
    to { box-shadow: 0 4px 25px rgba(255, 0, 0, 0.5); }
}

.ticker-title {
    background: #fff;
    color: #a00000;
    font-weight: bold;
    padding: 0 20px 0 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
    animation: bounce 1s ease-in-out  alternate;
}

@keyframes bounce {
    from { transform: translateX(-5px); }
    to { transform: translateX(5px); }
}

.ticker-content {
    flex: 1;
    /* background: linear-gradient(45deg, #7a0000, #8B0000); */
    color: white;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.ticker-items {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
    font-size: 16px;
    font-weight: 500;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* Enhanced Welcome Section */
.welcome-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 60px 50px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.9) 100%);
    margin: 30px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: fadeInScale 1.5s ease-out;
}

@keyframes fadeInScale {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.welcome-text {
    flex: 1;
    padding-right: 50px;
    animation: slideInFromLeft 1.8s ease-out;
}

.welcome-text h2 {
    color: #0b2e4e;
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    animation: gradientText 3s ease-in-out infinite;
}

@keyframes gradientText {
    0%, 100% { color: #0b2e4e; }
    50% { color: #2c5282; }
}

.welcome-text h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #a00000, #ff4757);
    border-radius: 2px;
    animation: expandWidth 2s ease-out;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 80px; }
}

.welcome-text p {
    text-align: justify;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    animation: fadeInUp 2s ease-out 0.5s both;
}

.welcome-text button {
    background: linear-gradient(45deg, #0b2e4e, #2c5282);
    color: white;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(11, 46, 78, 0.3);
    position: relative;
    overflow: hidden;
}

.welcome-text button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.welcome-text button:hover::before {
    width: 300px;
    height: 300px;
}

.welcome-text button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(11, 46, 78, 0.4);
}

.welcome-image {
    flex: 0.9;
    text-align: center;
    animation: slideInFromRight 1.8s ease-out;
}

.welcome-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    filter: brightness(1.1) contrast(1.1);
}

.welcome-image img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.quote {
    margin-top: 15px;
    font-style: italic;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #a00000, #c53030);
    padding: 15px 20px;
    font-size: 16px;
    /* border-radius: 25px; */
    display: inline-block;
    box-shadow: 0 8px 25px rgba(160, 0, 0, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

/* Enhanced Notice Cards */
.notice-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    padding: 40px 20px;
    animation: staggeredFadeIn 2s ease-out;
}

@keyframes staggeredFadeIn {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.notice-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 320px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notice-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-header {
    background: linear-gradient(45deg, #072f5f, #0a4d8c);
    color: white;
    padding: 18px;
    font-size: 18px;
    font-weight: bold;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.card-body {
    height: 320px;
    overflow: hidden;
    position: relative;
    padding: 15px;
}

.scroll-content {
    display: flex;
    flex-direction: column;
    animation: scroll-up 15s linear infinite;
}

@keyframes scroll-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.notice {
    padding: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.notice:hover {
    background: rgba(7, 47, 95, 0.05);
    transform: translateX(5px);
}

.notice-text {
    font-weight: 600;
    color: #072f5f;
    margin: 8px 0;
}

.date {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.tag {
    display: inline-block;
    background: linear-gradient(45deg, #f8d7da, #f5c6cb);
    color: #721c24;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 15px;
    margin-bottom: 5px;
    font-weight: 600;
}

.card-footer {
    text-align: center;
    padding: 15px;
    background: rgba(248, 249, 250, 0.8);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.card-footer a {
    color: #8b0000;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

.card-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #8b0000, #ff4757);
    transition: width 0.3s ease;
}

.card-footer a:hover::after {
    width: 100%;
}

/* Enhanced Sections */
.section-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #0d2b52;
    position: relative;
    margin-bottom: 40px;
    text-align: center;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 0 10px rgba(13, 43, 82, 0.3); }
    to { text-shadow: 0 0 20px rgba(13, 43, 82, 0.6), 0 0 30px rgba(13, 43, 82, 0.3); }
}

.section-title .underline {
    display: block;
    width: 400px;
    height: 4px;
    background: linear-gradient(45deg, #e63946, #457b9d, #e63946);
    background-size: 200% 100%;
    margin: 10px auto 0;
    border-radius: 2px;
    animation: gradientSlide 3s ease-in-out infinite;
}

@keyframes gradientSlide {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Enhanced Principal Section */
.principal-section {
    width: 100%;
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 50px 0;
    backdrop-filter: blur(10px);
}

.principal-card {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    overflow: hidden;
    width: 90%;
    margin: 0 auto;
    transition: all 0.4s ease;
}

.principal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.principal-image {
    flex: 1 1 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
    overflow: hidden;
}

.principal-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 8s linear infinite;
}

.principal-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: grayscale(0.2) brightness(1.1);
}

.principal-image img:hover {
    filter: grayscale(0) brightness(1.2);
    transform: scale(1.05);
}

.principal-content {
    flex: 1 1 60%;
    padding: 40px;
    background: rgba(248, 249, 250, 0.9);
    animation: slideInFromRight 2s ease-out;
}

.principal-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
    font-size: 16px;
}

.read-more {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, #0d2b52, #2c5282);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(13, 43, 82, 0.3);
}

.read-more:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(13, 43, 82, 0.4);
}

/* Enhanced Icon Section */
.icon-section {
    background: linear-gradient(135deg, #7b1714, #a52a2a);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.icon-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.icon-grid {
    display: grid;
    margin: 0 10%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    justify-items: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.icon-item {
    padding: 25px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.icon-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.icon-item i {
    font-size: 35px;
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.icon-item:hover i {
    transform: scale(1.2) rotateY(180deg);
    color: #ffd700;
}

.icon-item p {
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}
.icon-section {
  padding: 30px 20px;
  background-color: #f5f5f5;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.icon-item {
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 20px 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.icon-item:hover {
  transform: translateY(-5px);
}

.icon-item i {
  font-size: 2rem;
  color: #8B0000; /* Dark Maroon */
  margin-bottom: 10px;
}

.icon-item p {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}


/* Enhanced Social Media Section */
.social-media-section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.social-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 0 10px;
}

.social-card {
    flex: 1 1 300px;
    max-width: 380px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.95);
}

.social-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.social-header {
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.social-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

.instagram { background: linear-gradient(45deg, #E1306C, #fd1d1d, #833AB4); }
.youtube { background: linear-gradient(45deg, #FF0000, #cc0000); }
.twitter { background: linear-gradient(45deg, #000, #1da1f2); }

.social-content {
    height: 420px;
    overflow-y: auto;
    background: rgba(248, 249, 250, 0.5);
}

iframe {
    border: none;
    width: 100%;
    height: 100%;
}

/* Enhanced Alumni Section */
.alumni-section {
    text-align: center;
    padding: 60px 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.alumni-cards {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.card {
    width: 280px;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
}

.card img:hover {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2);
}

.card .info {
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.9) 100%);
}

.card .info p {
    font-size: 14px;
    color: #666;
    margin: 8px 0;
    font-style: italic;
}

.card .info h3 {
    font-size: 20px;
    margin: 8px 0;
    color: #0d2b52;
    font-weight: bold;
}

.invite-box {
    width: 280px;
    border: none;
    border-radius: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.invite-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

.invite-box:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
}

.invite-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.invite-box p {
    font-size: 15px;
    margin: 12px 0;
    position: relative;
    z-index: 1;
}

.invite-box a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.invite-box a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.invite-box button {
    margin-top: 20px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.invite-box button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Enhanced Placement Section */
.placement-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(238, 242, 247, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 60px 20px;
    backdrop-filter: blur(10px);
}

.placement-section p {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
    font-size: 18px;
    line-height: 1.7;
}

.logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.logo-track {
    display: flex;
    animation: scroll 25s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-track img {
    width: 140px;
    height: 90px;
    object-fit: contain;
    margin: 0 25px;
    background: white;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(0.3);
}

.logo-track img:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    filter: grayscale(0) brightness(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.view-more-btn {
    background: linear-gradient(45deg, #002d5b, #004080);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 45, 91, 0.3);
    position: relative;
    overflow: hidden;
}

.view-more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.view-more-btn:hover::before {
    width: 300px;
    height: 300px;
}

.view-more-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 45, 91, 0.4);
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #111 0%, #222 50%, #111 100%);
    color: #fff;
    padding: 60px 20px 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    animation: gradientSlide 3s ease-in-out infinite;
}
.footer-grp{
    margin: -60px;
    background: url('https://149818895.v2.pressablecdn.com/wp-content/uploads/2013/03/Cuba-Government-Scholarships-in-Medicine-for-Students-of-Saint-Lucia-1024x597.png') ;
    
      
}
.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 50px;
    text-align: center;
    margin: 10px;
       }

.stat {
    margin: 20px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.stat:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.stat h2 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

.stat p {
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 10px;
    color: #ccc;
}


.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.footer-section:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(45deg, #667eea, #764ba2) 1;
    padding-bottom: 8px;
    color: #ffd700;
}

.footer-section p,
.footer-section a {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transform: translateX(5px);
}

.footer-section i {
    margin-right: 10px;
    color: #ffd700;
    width: 20px;
    text-align: center;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(10px);
}

.footer-section iframe {
    border-radius: 10px;
    height: fit-content;
    filter: brightness(0.8) contrast(1.2);
    transition: all 0.4s ease;
}

.footer-section iframe:hover {
    filter: brightness(1) contrast(1);
    transform: scale(1.02);
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    animation: fadeIn 2s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        margin: 10px;
        border-radius: 15px;
    }
    
    .top-header {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .main-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .welcome-section {
        flex-direction: column;
        padding: 40px 20px;
    }
    
    .welcome-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .notice-container {
        flex-direction: column;
        align-items: center;
    }
    
    .icon-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        margin: 0 5%;
    }
    
    .social-container {
        flex-direction: column;
        align-items: center;
    }
    
    .alumni-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .principal-card {
        flex-direction: column;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Additional Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
}
/* Default: keep layout unchanged */
.nav-topbar {
  display: none;
}

/* Hamburger menu and stacked nav for small screens */
@media (max-width: 991px) {
  .nav-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background-color: #7b1f24;
  }

  .nav-topbar .brand-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
  }

  .hamburger {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
  }

  .site-nav .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #7b1f24;
  }

  .site-nav .menu.show {
    display: flex;
  }

  .site-nav .menu li {
    width: 100%;
  }

  .site-nav .menu li a {
    padding: 1rem;
    border-top: 1px solid #a33;
  }

  .site-nav .dropdown-menu,
  .site-nav .dropdown-submenu {
    position: static;
    display: none;
    background-color: #922;
  }

  .site-nav .dropdown:hover > .dropdown-menu,
  .site-nav .dropdown-sub:hover > .dropdown-submenu {
    display: block;
  }

  .site-nav .dropdown .dropdown-menu li a,
  .site-nav .dropdown-submenu li a {
    padding-left: 2rem;
  }
}
.footer {
  background-color: #2b2b2b;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-grp {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.stat h2 {
  font-size: 2rem;
  margin-bottom: 5px;
  color: #ffc107;
}

.stat p {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ccc;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0;
}

.footer-section h3 {
  color: #ffc107;
  margin-bottom: 15px;
  font-size: 16px;
  text-transform: uppercase;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
  text-decoration: none;
}

.footer-section a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section i {
  margin-right: 8px;
  color: #ffc107;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 13px;
  color: #aaa;
  margin-top: 20px;
}
