/* Custom styles for BTechVerse */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #f8fafc;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -10px, 0);
    }
    70% {
        transform: translate3d(0, -5px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Animation classes */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInFromRight 0.8s ease-out;
}

.animate-slide-in-left {
    animation: slideInFromLeft 0.8s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* Branch card hover effects */
.branch-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.branch-card:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Category tab styles */
.category-tab {
    color: #6b7280;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover {
    color: #4f46e5;
    background-color: #f3f4f6;
}

.category-tab.active {
    color: #4f46e5;
    background-color: #e0e7ff;
    font-weight: 600;
}

/* Toast notifications */
.toast-notification {
    position: relative;
    z-index: 9999;
    margin-bottom: 12px;
}

/* Loading spinner */
.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4f46e5;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom button styles */
.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: #4f46e5;
    border: 2px solid #4f46e5;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #4f46e5;
    color: white;
    transform: translateY(-2px);
}

/* Form input styles */
.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.input-field:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.input-field:invalid {
    border-color: #ef4444;
}

/* Card styles */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Header styles */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

/* Gradient backgrounds */
.gradient-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-bg-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.gradient-bg-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* File upload area */
.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #4f46e5;
    background: #f0f4ff;
}

.upload-area.dragover {
    transform: scale(1.02);
}

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Status badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-error {
    background: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .branch-card {
        padding: 24px 16px;
    }
    
    .card {
        margin: 0 16px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #0f172a;
        color: #e2e8f0;
    }
    
    .card {
        background: #1e293b;
        color: #e2e8f0;
    }
    
    .input-field {
        background: #1e293b;
        border-color: #374151;
        color: #e2e8f0;
    }
    
    .input-field:focus {
        border-color: #4f46e5;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Selection styles */
::selection {
    background: #4f46e5;
    color: white;
}

::-moz-selection {
    background: #4f46e5;
    color: white;
}

/* Chatbot Styles */
.chatbot-toggle-btn {
    @apply bg-gradient-to-r from-indigo-500 to-purple-600 shadow-2xl;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chatbot-toggle-btn:hover {
    @apply shadow-indigo-500/25;
    transform: scale(1.1) !important;
}

.chatbot-tooltip {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-input input:focus {
    @apply ring-2 ring-indigo-500 border-transparent;
    background: rgba(255, 255, 255, 0.15);
}

.chatbot-input button:hover {
    @apply shadow-lg;
    transform: translateY(-1px);
}

.chatbot-input button:active {
    transform: translateY(0);
}

/* Typing Animation */
.typing-dots {
    @apply flex space-x-1;
}

.typing-dots span {
    @apply w-2 h-2 bg-indigo-400 rounded-full;
    display: inline-block;
}

/* Chat Message Animations */
@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-message {
    animation: messageSlideIn 0.3s ease-out;
}

/* Chatbot Container Animation */
@keyframes chatbotSlideUp {
    from {
        opacity: 0;
        transform: translateY(100%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chatbot-container-open {
    animation: chatbotSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Scrollbar Styling for Chat */
#chatMessages::-webkit-scrollbar {
    width: 6px;
}

#chatMessages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

#chatMessages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

#chatMessages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive Chatbot */
@media (max-width: 768px) {
    #chatbotContainer {
        width: calc(100vw - 2rem);
        right: 1rem;
        left: 1rem;
        height: 70vh;
    }
    
    .chatbot-toggle-btn {
        @apply p-3;
    }
    
    .chatbot-toggle-btn i {
        @apply text-xl;
    }
}

@media (max-width: 480px) {
    #chatbotContainer {
        height: 80vh;
        bottom: 1rem;
    }
    
    .chatbot-header {
        @apply p-3;
    }
    
    .chatbot-header h3 {
        @apply text-sm;
    }
    
    .chatbot-header p {
        @apply text-xs;
    }
}

/* Loading placeholder styles */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Utility classes */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.text-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Component specific styles */
.resource-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #4f46e5;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

/* Enhanced Login/Signup Styles */
.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.logo-glow {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    filter: blur(20px);
}

.input-glow {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 1;
}

.btn-glow {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    filter: blur(10px);
}

/* Particle System */
.particles-container {
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.particle:nth-child(1) { background: rgba(102, 126, 234, 0.8); }
.particle:nth-child(2) { background: rgba(118, 75, 162, 0.8); }
.particle:nth-child(3) { background: rgba(240, 147, 251, 0.8); }
.particle:nth-child(4) { background: rgba(245, 87, 108, 0.8); }
.particle:nth-child(5) { background: rgba(79, 172, 254, 0.8); }
.particle:nth-child(6) { background: rgba(0, 242, 254, 0.8); }
.particle:nth-child(7) { background: rgba(67, 233, 123, 0.8); }
.particle:nth-child(8) { background: rgba(56, 249, 215, 0.8); }

/* Enhanced Form Styles */
.form-group {
    position: relative;
}

.input-container input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(102, 126, 234, 0.8);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    outline: none;
}

.input-container input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-container input {
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.input-container select {
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.input-container input:focus,
.input-container select:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

/* Enhanced Button Styles */
#loginBtn, #signupBtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

#loginBtn::before, #signupBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#loginBtn:hover::before, #signupBtn:hover::before {
    left: 100%;
}

/* Enhanced Link Styles */
a {
    position: relative;
    text-decoration: none;
}

a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 25%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Enhanced Error States */
.error-shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Success States */
.success-pulse {
    animation: successPulse 0.6s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .glass-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .logo-text {
        font-size: 3rem !important;
    }
    
    .particle {
        width: 3px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .glass-card {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 2.5rem !important;
    }
    
    .subtitle {
        font-size: 1rem !important;
    }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    .glass-card {
        background: rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .particle {
        background: rgba(255, 255, 255, 0.4);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .particle {
        animation: none !important;
    }
    
    .glass-card {
        backdrop-filter: none;
    }
    
    .loading-shimmer {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .glass-card {
        background: rgba(0, 0, 0, 0.8);
        border: 2px solid white;
    }
    
    .input-container input {
        background: rgba(0, 0, 0, 0.8);
        border: 2px solid white;
        color: white;
    }
}

/* Enhanced Index Page Styles */
.glass-nav {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero Section Styles */
.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-btn {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 32px;
    border: none;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Interview button specific tweaks to align text and badge vertically */
.interview-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.interview-btn .btn-content {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
}

.interview-btn span.block {
    line-height: 1;
}

/* Coming soon badge to match gradient style */
.coming-soon-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(6px);
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.3s ease;
}

.hero-btn:hover .btn-glow {
    opacity: 0.3;
}

/* Features Section Spacing */
.features-section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Team Section Styling */
.team-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(66, 153, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(20px) translateY(-10px);
    }
    50% {
        transform: translateX(-10px) translateY(20px);
    }
    75% {
        transform: translateX(15px) translateY(10px);
    }
}

.team-section > * {
    position: relative;
    z-index: 1;
}

/* Background Decorative Elements */
.team-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-element {
    position: absolute;
    animation: floatAround 15s ease-in-out infinite;
    opacity: 0.1;
}

.bg-element-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-element-2 {
    top: 20%;
    right: 15%;
    animation-delay: 2.5s;
}

.bg-element-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 5s;
}

.bg-element-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 7.5s;
}

.bg-element-5 {
    top: 50%;
    left: 5%;
    animation-delay: 10s;
}

.bg-element-6 {
    top: 60%;
    right: 25%;
    animation-delay: 12.5s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(90deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-20px) translateX(-15px) rotate(180deg);
        opacity: 0.15;
    }
    75% {
        transform: translateY(-40px) translateX(10px) rotate(270deg);
        opacity: 0.2;
    }
}

.team-card {
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.profile-picture-wrapper {
    position: relative;
}

.profile-picture {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-picture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
}

.social-link-team {
    transition: transform 0.3s ease;
}

.social-link-team:hover {
    transform: translateY(-2px);
}

.social-icon-team {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* Profile Picture Animations */
.profile-picture-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.floating-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
    z-index: 5;
}

.floating-element-1 {
    top: 10px;
    right: 10px;
    animation-delay: 0s;
}

.floating-element-2 {
    top: 50px;
    left: -20px;
    animation-delay: 1.5s;
}

.floating-element-3 {
    bottom: 20px;
    right: -10px;
    animation-delay: 3s;
}

.floating-element-4 {
    bottom: 60px;
    left: 10px;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

.glowing-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    z-index: 1;
}

.glowing-ring-2 {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite reverse;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(66, 153, 225, 0.1), rgba(147, 51, 234, 0.1));
    animation: rotate 20s linear infinite;
    z-index: 0;
}

.circle-1 {
    width: 180px;
    height: 180px;
    top: 10px;
    left: 10px;
    animation-delay: 0s;
}

.circle-2 {
    width: 120px;
    height: 120px;
    top: 40px;
    right: 20px;
    animation-delay: 7s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    bottom: 30px;
    left: 20px;
    animation-delay: 14s;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Hover Effects */
.profile-picture-wrapper:hover .floating-element {
    animation-duration: 3s;
}

.profile-picture-wrapper:hover .glowing-ring,
.profile-picture-wrapper:hover .glowing-ring-2 {
    animation-duration: 1s;
}

/* Floating Stats */
.floating-stats {
    perspective: 1000px;
    margin-top: 3rem; /* Reduced from default mt-20 */
}

.stat-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

.stat-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scroll Indicator */
.scroll-indicator {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Geometric Shapes */
.geometric-shapes {
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation: rotate 20s linear infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation: rotate 25s linear infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation: rotate 15s linear infinite;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    animation: rotate 30s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Feature Cards */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-hover-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-hover-effect {
    opacity: 1;
}

.icon-wrapper {
    transition: transform 0.3s ease;
}

.feature-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Branch Cards */
.branch-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.branch-hover-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.branch-card:hover .branch-hover-effect {
    opacity: 1;
}

.branch-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

.branch-btn {
    position: relative;
    overflow: hidden;
}

.branch-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.branch-card:hover .branch-btn::before {
    left: 100%;
}

/* Quick Link Cards */
.quick-link-card {
    position: relative;
    overflow: hidden;
}

.quick-link-hover-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.quick-link-card:hover .quick-link-hover-effect {
    opacity: 1;
}

/* Social Links */
.social-link {
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-icon {
    transition: all 0.3s ease;
}

/* Enhanced Responsive Design for Index */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .floating-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .shape {
        display: none;
    }
}

/* Signup/Login Page Responsive Fixes */
@media (max-width: 768px) {
    .logo-text {
        font-size: 3rem !important;
    }
    
    .subtitle {
        font-size: 1rem !important;
    }
    
    .glass-card {
        margin: 1rem;
        padding: 1.5rem !important;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .input-container input,
    .input-container select {
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Input Field Fixes */
.input-container input,
.input-container select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    cursor: text;
    position: relative;
    z-index: 10;
}

.input-container input:focus,
.input-container select:focus {
    border-color: rgba(102, 126, 234, 0.8);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    transform: scale(1.02);
}

.input-container input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* Select dropdown styling */
.input-container select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Fix dropdown options visibility */
select option {
    background-color: #1e293b !important;
    color: white !important;
    padding: 8px 12px;
}

/* For resources page dropdowns specifically */
#branchFilter option,
#categoryFilter option {
    background-color: #1e293b !important;
    color: white !important;
    padding: 8px 12px;
}

/* Ensure dropdown text is visible */
select {
    color: white !important;
}

select option:checked {
    background-color: #3b82f6 !important;
    color: white !important;
}

/* Fix interview page text visibility */
.glass-card h3 {
    color: white !important;
    font-weight: 600;
}

.glass-card h2 {
    color: white !important;
    font-weight: 700;
}

/* Ensure all text in glass cards is visible */
.glass-card {
    color: white !important;
}

.glass-card p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Ensure text is visible */
.input-container input,
.input-container select {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    pointer-events: auto;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.input-container input:focus,
.input-container select:focus {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    outline: none;
    border-color: rgba(102, 126, 234, 0.8) !important;
}

/* Input container fixes */
.input-container {
    position: relative;
    pointer-events: auto;
}

.input-container * {
    pointer-events: auto;
}

/* Remove any overlay blocking */
.input-container::before,
.input-container::after {
    pointer-events: none;
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 2.5rem !important;
    }
    
    .glass-card {
        margin: 0.5rem;
        padding: 1rem !important;
    }
    
    .form-title {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .branch-card,
    .quick-link-card {
        padding: 1.5rem;
    }
    
    .nav-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Performance optimizations */
.particle,
.shape {
    will-change: transform;
}

.glass-card,
.hero-btn,
.branch-card,
.feature-card {
    will-change: transform, box-shadow;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .particle,
    .shape,
    .scroll-indicator {
        animation: none !important;
    }
    
    .hero-btn,
    .branch-card,
    .feature-card {
        transition: none;
    }
    
    .glass-card {
        backdrop-filter: none;
    }
}

/* Branch checkboxes styles */
.branch-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.branch-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.branch-checkboxes label:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
}

.branch-checkboxes input[type="checkbox"] {
    accent-color: #4f46e5;
    cursor: pointer;
}

.branch-checkboxes input[type="checkbox"]:checked + span {
    color: #4f46e5;
    font-weight: 600;
}

/* Footer styles */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
}

footer a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #4f46e5;
}
