 
 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
/* Marquee Container */
.marquee-container {
    width: 100%;
    height: 448px;
    overflow: hidden;
    position: relative;
    background: #f8f8f8;
}

/* Marquee Inner Content */
.marquee {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    width: 100%;
    animation: scrollUp 35s linear infinite; /* Faster animation */
}

/* Keyframes for Smooth Scrolling */
@keyframes scrollUp {
    from {
        transform: translateY(20%);
    }
    to {
        transform: translateY(-100%);
    }
}

/* Notice Item Styling */
.notice-item {
    display: block;
    padding: 5px 10px;
}

/* Badges */
.date-badge {
    color: #fff;
    background-color: #880000;
    border-radius: 5px;
    font-size: 12px;
    padding: 2px 5px;
}

.notice-badge {
    color: #fff;
    background-color: #098CC4;
    border-radius: 5px;
    font-size: 12px;
    padding: 2px 5px;
    margin-left: 3px;
}

.new-icon {
    margin-left: 3px;
}

/* Text & Link */
.notice-text {
    color: #146484;
    margin-left: 5px;
}

.notice-link {
    margin-left: 5px;
    color: #146484;
    text-decoration: underline;
}

/* Button Styling */
.view-all-btn {
    background-color: darkred ;
    color: #fff;
    text-align: center;
    padding: 10px;
}

/* Hover Effect to Pause Animation */
.marquee:hover {
    animation-play-state: paused;
}
	.otto {
  font-size:25px;
  color: darkred;
  text-shadow: 0 1px 0 #ccc,
               0 2px 0 #c9c9c9,
               0 3px 0 #bbb,
               0 4px 0 #b9b9b9,
               0 5px 0 #aaa,
               0 6px 1px rgba(0,0,0,.1),
               0 0 5px rgba(0,0,0,.1),
               0 1px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.2),
               0 5px 10px rgba(0,0,0,.25),
               0 10px 10px rgba(0,0,0,.2),
               0 20px 20px rgba(0,0,0,.15);
}

#text{
    color:#146484;
}

.home-sec-2 .card {
    box-shadow: 0 0 20px rgb(0 0 0 / 20%);
    background: #eee;
    border-radius: 50px 0 50px 0;
    padding: 15px;
    position: relative;
    margin-bottom: 25px;
    
}
    .home-sec-2 .card:before {
    content: "";
    /*background-color: #146484;*/
    position: absolute;
    left: -3px;
    width: 101%;
    height: 112%;
    border-radius: 50px 0 50px 0;
    top: -3px;
    z-index: -1;
}
.home-sec-2 .card.right:before {
    content: "";
    /*background-color: #146484;*/
    position: absolute;
    left: auto;
    right: -3px;
    width: 101%;
    height: 101%;
    border-radius: 0 50px 0 50px;
    top: -3px;
    z-index: -1;
}
.home-sec-2 .card.right {
    border-radius: 0 50px 0 50px;
}
.home-sec-2 .card.newss {
    height: auto;
    overflow: hidden;
    padding: 0 !important;
    border-radius: 15px!important;
}

	/* Transition */

	@keyframes marquee {
	  0% {
		transform: translateX(0)
	  }
	  100% {
		transform: translateX(-100%)
	  }
	}
	 .small {
        width: 249px; /* You can set the initial width to whatever size you want */
        height: auto; /* Maintain aspect ratio */
        transition: width 0.3s; /* Add a smooth transition effect */
        cursor: pointer; /* Change cursor to pointer when hovering */
    }
    
    /* When the image is clicked, make it larger */
    .large {
        width: 400px; /* Set the larger width */
        
    }
    
    /* Add a hover effect for when the mouse is over the image */
    .small:hover {
        transform: scale(1.1); /* You can adjust the scale factor to make it slightly bigger on hover */
    }
     
 .dcard {
        box-shadow: 0 0 20px rgb(0 0 0 / 20%);
        background: #eee;
        
        padding: 15px;
        position: relative;
       height: auto;
    overflow: hidden;
    padding: 0 !important;
    border-radius: 15px !important;
         
    }

    
    .dcard .headddd{
         background: #146484;
          padding: 15px 0;
        text-align: center;
         margin: 0;
        font-size: 20px;
        color: #fff;
         
        
    }
    
    /*          */
      .college-hero {
            position: relative;
            width: 100%;
            min-height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), 
                        url('https://mscollege.net/images/MS/I-4.png') no-repeat center center/cover;
            color: #fff;
            padding: 2rem;
        }
        
        .hero-content {
            max-width: 1200px;
            text-align: center;
            position: relative;
            z-index: 2;
            animation: fadeInUp 1.5s ease-out;
        }
        
        .college-logo {
            width: 120px;
            margin-bottom: 1.5rem;
            animation: pulse 2s infinite;
        }
        
        h1 {
            font-size: 2.8rem;
            color: #fff;
            margin-bottom: 1.5rem;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        
        .highlight {
            color: #f5a623;
            font-weight: 600;
        }
        
        .hero-text {
            font-weight:900;
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 2.5rem;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
            text-align: justify;
            color: #fff;
           
        }
        
        .read-more-btn {
            display: inline-block;
            background: #f5a623;
            color: #fff;
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 2px solid #f5a623;
            margin-bottom: 3rem;
        }
        
        .read-more-btn:hover {
            background: transparent;
            color: #f5a623;
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        
        .leadership {
            display: flex;
            justify-content: center;
            gap: 3rem;
            flex-wrap: wrap;
            margin-top: 3rem;
        }
        
        .leader-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 1.5rem;
            width: 280px;
            transition: transform 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .leader-card:hover {
            transform: translateY(-10px);
            background: rgba(255, 255, 255, 0.15);
        }
        
        .leader-name {
            font-weight: 600;
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: #f5a623;
        }
        
        .leader-position {
            font-size: 0.9rem;
            opacity: 0.9;
        }
        
        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }
        
        .floating-elements span {
            position: absolute;
            display: block;
            width: 20px;
            height: 20px;
            background: rgba(255, 255, 255, 0.2);
            animation: float 15s linear infinite;
            bottom: -150px;
            border-radius: 50%;
        }
        
        .floating-elements span:nth-child(1) {
            left: 25%;
            width: 80px;
            height: 80px;
            animation-delay: 0s;
            animation-duration: 12s;
        }
        
        .floating-elements span:nth-child(2) {
            left: 10%;
            width: 20px;
            height: 20px;
            animation-delay: 2s;
            animation-duration: 12s;
        }
        
        .floating-elements span:nth-child(3) {
            left: 70%;
            width: 20px;
            height: 20px;
            animation-delay: 4s;
        }
        
        .floating-elements span:nth-child(4) {
            left: 40%;
            width: 60px;
            height: 60px;
            animation-delay: 0s;
            animation-duration: 18s;
        }
        
        .floating-elements span:nth-child(5) {
            left: 65%;
            width: 20px;
            height: 20px;
            animation-delay: 0s;
        }
        
        .floating-elements span:nth-child(6) {
            left: 75%;
            width: 110px;
            height: 110px;
            animation-delay: 3s;
        }
        
        .floating-elements span:nth-child(7) {
            left: 35%;
            width: 150px;
            height: 150px;
            animation-delay: 7s;
        }
        
        .floating-elements span:nth-child(8) {
            left: 50%;
            width: 25px;
            height: 25px;
            animation-delay: 15s;
            animation-duration: 45s;
        }
        
        .floating-elements span:nth-child(9) {
            left: 20%;
            width: 15px;
            height: 15px;
            animation-delay: 2s;
            animation-duration: 35s;
        }
        
        .floating-elements span:nth-child(10) {
            left: 85%;
            width: 150px;
            height: 150px;
            animation-delay: 0s;
            animation-duration: 11s;
        }
        
        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 1;
                border-radius: 0;
            }
            100% {
                transform: translateY(-1000px) rotate(720deg);
                opacity: 0;
                border-radius: 50%;
            }
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            h1 {
                font-size: 2rem;
            }
            
            .hero-text {
                font-size: 1rem;
            }
            
            .leadership {
                flex-direction: column;
                align-items: center;
                gap: 1.5rem;
            }
            
            .leader-card {
                width: 100%;
                max-width: 300px;
            }
        }
    
    :root {
            --primary: #2c3e50;
            --secondary: #e74c3c;
            --accent: #3498db;
            --light: #ecf0f1;
            --dark: #2c3e50;
            --success: #27ae60;
            --warning: #f39c12;
        }
        
        
        .welfare-section {
            padding: 5rem 2rem;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            position: relative;
            overflow: hidden;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
            z-index: 2;
        }
        
        .section-header h2 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }
        
        .section-header h2::after {
            content: '';
            position: absolute;
            width: 70%;
            height: 4px;
            background: var(--accent);
            bottom: -10px;
            left: 15%;
            border-radius: 2px;
        }
        
        .section-header p {
            color: var(--dark);
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }
        
        .cards-row {
            display: flex;
            gap: 1.5rem;
            max-width: 1300px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
            padding-bottom: 1rem;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scrollbar-width: none; /* For Firefox */
        }
        
        .cards-row::-webkit-scrollbar {
            display: none; /* For Chrome/Safari */
        }
        
        .card {
            background: white;
            border-radius: 15px;
            min-width: 300px;
            flex: 1;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            scroll-snap-align: start;
        }
        
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
        
        .card.e-content {
            border-top: 5px solid var(--accent);
        }
        
        .card.anti-ragging {
            border-top: 5px solid var(--secondary);
        }
        
        .card.nss {
            border-top: 5px solid var(--success);
        }
        
        .card.grievance {
            border-top: 5px solid var(--warning);
        }
        
        .card-icon {
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3.5rem;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .card-icon::before {
            content: '';
            position: absolute;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
            transform: translateX(-100%) rotate(30deg);
            transition: all 0.6s ease;
        }
        
        .card:hover .card-icon::before {
            transform: translateX(100%) rotate(30deg);
        }
        
        .e-content .card-icon {
            background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
        }
        
        .anti-ragging .card-icon {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
        }
        
        .nss .card-icon {
            background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
        }
        
        .grievance .card-icon {
            background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
        }
        
        .card-content {
            padding: 2rem;
        }
        
        .card-content h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--dark);
            position: relative;
            display: inline-block;
        }
        
        .card-content h3::after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            background: currentColor;
            bottom: -8px;
            left: 0;
            border-radius: 2px;
        }
        
        .card-content p {
            color: #555;
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }
        
        .card-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 25px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 2px solid;
        }
        
        .e-content .card-btn {
            color: var(--accent);
            border-color: var(--accent);
        }
        
        .anti-ragging .card-btn {
            color: var(--secondary);
            border-color: var(--secondary);
        }
        
        .nss .card-btn {
            color: var(--success);
            border-color: var(--success);
        }
        
        .grievance .card-btn {
            color: var(--warning);
            border-color: var(--warning);
        }
        
        .card-btn:hover {
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .e-content .card-btn:hover {
            background: var(--accent);
        }
        
        .anti-ragging .card-btn:hover {
            background: var(--secondary);
        }
        
        .nss .card-btn:hover {
            background: var(--success);
        }
        
        .grievance .card-btn:hover {
            background: var(--warning);
        }
        
        .card-btn i {
            margin-left: 8px;
            transition: transform 0.3s ease;
        }
        
        .card-btn:hover i {
            transform: translateX(5px);
        }
        
        .floating-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }
        
        .shape {
            position: absolute;
            opacity: 0.1;
            border-radius: 50%;
        }
        
        .shape-1 {
            width: 200px;
            height: 200px;
            background: var(--accent);
            top: -50px;
            right: -50px;
            animation: float 8s infinite ease-in-out;
        }
        
        .shape-2 {
            width: 300px;
            height: 300px;
            background: var(--secondary);
            bottom: -100px;
            left: -100px;
            animation: float 12s infinite ease-in-out reverse;
        }
        
        .shape-3 {
            width: 150px;
            height: 150px;
            background: var(--success);
            top: 40%;
            right: 20%;
            animation: float 10s infinite ease-in-out 2s;
        }
        
        .shape-4 {
            width: 180px;
            height: 180px;
            background: var(--warning);
            bottom: 30%;
            left: 10%;
            animation: float 9s infinite ease-in-out 1s;
        }
        
        @keyframes float {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(5deg);
            }
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .section-header h2 {
                font-size: 2rem;
            }
            
            .card {
                min-width: 280px;
            }
        }
   			