/* 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, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.15);
	text-align : center;
	align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-head {
    width: 100%;
    max-width :300px;
	height : auto;
	display : block;
	margin : 0 auto;
}
.logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.4);
}

.institute-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #bfdbfe 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
	align=center;
}

.institute-tagline {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
    color: #bfdbfe;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Navigation Styles */
.navbar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 0 2px 15px rgba(15, 23, 42, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 25px;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.2);
    transition: left 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-link i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.2);
}

/* Slider Styles */
.slider-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -30%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.slide-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 20px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(34, 197, 94, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(59, 130, 246, 0.8);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #3b82f6;
    transform: scale(1.2);
}

/* Main Content Styles */
.main-content {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.content-section {
    margin-bottom: 60px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    align-items: start;
}

.content-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

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

.content-card h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1e293b;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
    text-align: justify;
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* About Us Page Specific Styles */
.about-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.about-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-content p {
    font-size: 20px;
    font-weight: 300;
    color: #bfdbfe;
    max-width: 600px;
    margin: 0 auto;
}

.about-details {
    padding: 0 0 40px;
}

/* Staff Page Styles */
.staff-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.staff-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.staff-hero-content p {
    font-size: 20px;
    font-weight: 300;
    color: #bfdbfe;
    max-width: 600px;
    margin: 0 auto;
}

.staff-table-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-bottom: 40px;
}

.staff-table {
    width: 100%;
    border-collapse: collapse;
}

.staff-table th {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.staff-table td {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.staff-table tr:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

.staff-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #22c55e;
    transition: transform 0.3s ease;
}

.staff-photo:hover {
    transform: scale(1.1);
    border-color: #3b82f6;
}

.staff-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 18px;
    margin-bottom: 5px;
}

.staff-designation {
    color: #475569;
    font-size: 14px;
    font-style: italic;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.contact-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero-content p {
    font-size: 20px;
    font-weight: 300;
    color: #bfdbfe;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.contact-form-container h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1e293b;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.contact-info-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.contact-info-container h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1e293b;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-detail:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(10px);
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.contact-detail-text h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.contact-detail-text p {
    color: #475569;
    margin: 0;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #22c55e;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo i {
    color: #22c55e;
    font-size: 28px;
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
    padding-left: 10px;
}

.footer-links a:hover::before {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #cbd5e1;
}

.contact-item i {
    color: #22c55e;
    font-size: 18px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .institute-name {
        font-size: 22px;
    }
    
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 15px 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .slider-section {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-card {
        padding: 30px 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .about-hero-content h1,
    .staff-hero-content h1,
    .contact-hero-content h1 {
        font-size: 32px;
    }
    
    .about-hero-content p,
    .staff-hero-content p,
    .contact-hero-content p {
        font-size: 18px;
    }
    
    .staff-table-container {
        overflow-x: auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .logo {
        width: 80px;
        height: 50px;
        font-size: 20px;
    }
    
    .institute-name {
        font-size: 18px;
    }
    
    .institute-tagline {
        font-size: 12px;
    }
    
    .slider-section {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .content-card {
        padding: 25px 20px;
    }
    
    .content-card h3 {
        font-size: 24px;
    }
    
    .main-content {
        padding: 50px 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .about-hero,
    .staff-hero,
    .contact-hero {
        padding: 40px 0;
    }
    
    .about-hero-content h1,
    .staff-hero-content h1,
    .contact-hero-content h1 {
        font-size: 28px;
    }
    
    .about-hero-content p,
    .staff-hero-content p,
    .contact-hero-content p {
        font-size: 16px;
    }
    
    .staff-table th,
    .staff-table td {
        padding: 15px 10px;
    }
    
    .staff-photo {
        width: 60px;
        height: 60px;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 30px 20px;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}