/* Additional styles for Anti-Ragging Cell page */
/* Vision & Mission Section - Advanced Styling */
.vision-mission-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.vision-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.vision-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255,255,255,0.2),
        inset 0 1px 0 rgba(255,255,255,0.9);
    padding: 50px;
    margin-bottom: 40px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.vision-card:hover::before {
    left: 100%;
}

.vision-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 40px 80px rgba(0,0,0,0.15),
        0 0 0 1px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255,255,255,1);
}

/* Objectives Grid - Advanced Layout */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.objective-item {
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(248,250,252,0.8));
    backdrop-filter: blur(15px);
    padding: 35px 25px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}

.objective-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary-color), 
        var(--secondary-color), 
        var(--accent-color), 
        var(--success-color)
    );
    background-size: 400% 400%;
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    animation: gradientShift 3s ease infinite;
    transition: opacity 0.3s ease;
}

.objective-item:hover::before {
    opacity: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.objective-item:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,1);
    background: rgba(255,255,255,0.95);
}

.objective-item i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    background: linear-gradient(135deg, currentColor, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: all 0.4s ease;
}

.objective-item:hover i {
    transform: scale(1.2) rotateY(15deg);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.objective-item strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Committee Members Section - Premium Styling */
.principal-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
    backdrop-filter: blur(20px);
    border-radius: 35px;
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.12),
        0 0 0 1px rgba(255,255,255,0.3),
        inset 0 1px 0 rgba(255,255,255,0.9);
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255,255,255,0.2);
}

.principal-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.05), 
        rgba(245, 158, 11, 0.05)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.principal-card:hover::after {
    opacity: 1;
}

.principal-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 
        0 50px 100px rgba(0,0,0,0.2),
        0 0 0 1px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255,255,255,1);
}

.principal-info {
    padding: 50px;
    position: relative;
    z-index: 2;
}

.principal-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.principal-card:hover .principal-name {
    transform: scale(1.05);
}

.principal-title {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.principal-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
    border-radius: 2px;
}

.contact-info {
    background: linear-gradient(145deg, 
        rgba(255,255,255,0.8), 
        rgba(248,250,252,0.6)
    );
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.8),
        0 8px 25px rgba(0,0,0,0.05);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    padding: 18px 20px;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(59, 130, 246, 0.1), 
        transparent
    );
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.1),
        0 0 0 1px rgba(59, 130, 246, 0.2);
    background: rgba(255,255,255,1);
}

.contact-item i {
    color: var(--secondary-color);
    width: 30px;
    margin-right: 20px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    color: var(--accent-color);
    transform: scale(1.2) rotate(5deg);
}

.contact-item a,
.contact-item span {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item:hover a,
.contact-item:hover span {
    color: var(--secondary-color);
}

/* Advanced Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.vision-card:nth-child(even) {
    animation: float 6s ease-in-out infinite;
    animation-delay: -3s;
}

.vision-card:nth-child(odd) {
    animation: float 6s ease-in-out infinite;
}

/* Stagger Animations for Grid Items */
.objective-item:nth-child(1) { animation: fadeInUp 0.8s ease 0.1s both; }
.objective-item:nth-child(2) { animation: fadeInUp 0.8s ease 0.2s both; }
.objective-item:nth-child(3) { animation: fadeInUp 0.8s ease 0.3s both; }
.objective-item:nth-child(4) { animation: fadeInUp 0.8s ease 0.4s both; }
.objective-item:nth-child(5) { animation: fadeInUp 0.8s ease 0.5s both; }
.objective-item:nth-child(6) { animation: fadeInUp 0.8s ease 0.6s both; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design with Enhanced Mobile Experience */
@media (max-width: 768px) {
    .vision-mission-section {
        padding: 60px 0;
    }
    
    .objectives-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .objective-item {
        padding: 30px 20px;
    }
    
    .objective-item i {
        font-size: 2.5rem;
    }
    
    .vision-card {
        padding: 35px 25px;
        margin-bottom: 30px;
    }
    
    .principal-info {
        padding: 35px 25px;
    }
    
    .principal-name {
        font-size: 2rem;
    }
    
    .principal-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .contact-item {
        padding: 15px 18px;
        font-size: 1rem;
    }
    
    .contact-item i {
        font-size: 1.1rem;
        margin-right: 15px;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .vision-card {
        background: rgba(30, 41, 59, 0.9);
        color: #e2e8f0;
    }
    
    .objective-item {
        background: rgba(30, 41, 59, 0.8);
        color: #e2e8f0;
    }
    
    .principal-card {
        background: rgba(30, 41, 59, 0.9);
        color: #e2e8f0;
    }
    
    .contact-item {
        background: rgba(51, 65, 85, 0.9);
        color: #e2e8f0;
    }
}


/* Emergency Alert Banner */
.emergency-alert {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 15px 0;
    text-align: center;
    position: relative;
    animation: pulse-alert 2s infinite;
}

@keyframes pulse-alert {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

.emergency-alert .helpline-number {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Committee Table Styles */
.committee-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 30px 0;
}

.committee-table table {
    margin: 0;
}

.committee-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 20px 15px;
    font-weight: 600;
    text-align: center;
}

.committee-table td {
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.committee-table tr:last-child td {
    border-bottom: none;
}

.committee-table tr:hover {
    background: var(--light-bg);
}

/* Responsibility Cards */
.responsibility-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 5px solid var(--accent-color);
    transition: all 0.3s ease;
}

.responsibility-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.responsibility-card h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.responsibility-card h5 i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Program Timeline */
.program-timeline {
    position: relative;
    padding-left: 30px;
}

.program-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 30px;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--secondary-color);
}

.timeline-year {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

/* Reporting Methods */
.reporting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.reporting-method {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 5px solid var(--secondary-color);
}

.reporting-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-top-color: var(--accent-color);
}

.reporting-method i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.reporting-method:hover i {
    color: var(--accent-color);
}

.reporting-method h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.reporting-method .contact-detail {
    background: var(--light-bg);
    padding: 12px 18px;
    border-radius: 25px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 15px;
    font-size: 1.1rem;
}

/* Safety Banner */
.safety-banner {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin: 60px 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.safety-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 20px 20px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.safety-banner h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.safety-banner p {
    font-size: 1.1rem;
    margin: 0;
    position: relative;
    z-index: 2;
}