/* Base Styles */
:root {
    --primary-color: #FF7722;
    --secondary-color: #FF5500;
    --background-color: #ffffff;
    --text-color: #333333;
    --accent-color: #F97316;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Menu Styles */
.nav-links {
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .mobile-menu {
        display: block !important; /* Force display */
    }
    
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        padding: 15px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 100;
    }

    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }

    .nav-links a {
        padding: 10px 20px;
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #fff5eb, #fff);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    padding: 50px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.swami-images {
    position: relative;
    height: 120px;
    margin-bottom: 30px;
}

.swami {
    position: absolute;
    width: 100px;
    transition: 0.3s ease;
}

.swami.left {
    left: 20px;
}

.swami.right {
    right: 20px;
}

.subtitle {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.trust-name {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.main-title {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.tagline {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.typing-text {
    height: 50px;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
    margin: 0 10px;
}

.btn.primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 119, 34, 0.3);
}

.btn.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn:hover {
    transform: translateY(-3px);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f9f9f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.feature-card {
    perspective: 1000px;
    height: 300px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.feature-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-front {
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-back {
    background: var(--gradient);
    color: white;
    transform: rotateY(180deg);
}

.feature-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Stats Section */
.stats {
    padding: 100px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.counter::after {
    content: "+";
}

/* About Us Section Styles */
.section-title {
    font-size: 35px;
    color: var(--primary-color);
    text-shadow: 2px 4px 4px rgba(46,94,178,0.2);
    margin-bottom: 40px;
}

.about-card {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card.reverse {
    flex-direction: row-reverse;
}

.about-image {
    flex: 1;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-card:hover .about-image img {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
    padding: 40px;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.about-content p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 15px;
}

/* Notices & Announcements Section */
.notices-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.notices-header {
    text-align: center;
    margin-bottom: 50px;
}

.notices-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.notices-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.notices-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 30px;
    background: white;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.filter-btn.active {
    background: var(--gradient);
    color: white;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.notices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.notice-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.notice-category {
    padding: 8px 15px;
    background: var(--primary-color);
    color: white;
    display: inline-block;
    font-size: 0.85rem;
    border-radius: 20px;
    margin-bottom: 15px;
}

.notice-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.notice-content {
    padding: 25px;
}

.notice-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.notice-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.notice-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.notice-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.notice-link:hover {
    color: var(--secondary-color);
}

.notice-link:hover i {
    transform: translateX(3px);
}

.notice-card.admission .notice-category {
    background: #FF7722;
}

.notice-card.examination .notice-category {
    background: #1095af;
}

.notice-card.holiday .notice-category {
    background: #8bc34a;
}

.notice-card.scholarship .notice-category {
    background: #9c27b0;
}

.notice-card.event .notice-category {
    background: #2196f3;
}

.notices-admin-section {
    padding: 150px 0 80px;
    background: #f9f9f9;
    min-height: 100vh;
}

.admin-header {
    text-align: center;
    margin-bottom: 50px;
}

.admin-panel {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.admin-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.notice-form-container {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.notice-form h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

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

.notice-form input,
.notice-form select,
.notice-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}

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

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.image-preview {
    margin-top: 15px;
    display: none;
}

.image-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.notices-list-container {
    margin-top: 30px;
}

.notices-list-container h3 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.admin-filter {
    margin-bottom: 30px;
}

.notices-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.notice-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.notice-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.notice-image {
    height: 200px;
    overflow: hidden;
}

.notice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.notice-item:hover .notice-image img {
    transform: scale(1.05);
}

.notice-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.edit-btn, .delete-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.edit-btn {
    background: #4CAF50;
    color: white;
}

.delete-btn {
    background: #f44336;
    color: white;
}

.edit-btn:hover, .delete-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.manage-notices-btn {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.notice-card .notice-image {
    height: 180px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.notice-card .notice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.notice-card:hover .notice-image img {
    transform: scale(1.05);
}

.contact {
    padding: 100px 0;
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.map-container {
    margin-top: 50px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

footer {
    background: #333;
    color: white;
    padding: 80px 0 30px;
}

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

.footer-logo {
    width: 100px;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.quick-links-column h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1rem;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.academics-hero {
    min-height: 50vh;
    background: linear-gradient(135deg, #fff5eb, #fff);
    padding: 150px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.courses-section {
    padding: 80px 0;
    background: #fff;
}

.course-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    color: #555;
    line-height: 1.8;
}

.eligibility-box {
    background: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.eligibility-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    perspective: 1000px;
    height: 250px;
}

.course-card .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.course-card:hover .card-inner {
    transform: rotateY(180deg);
}

.course-card .card-front, 
.course-card .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.course-card .card-front {
    background: var(--gradient);
    color: white;
}

.course-card .card-back {
    background: white;
    color: var(--text-color);
    transform: rotateY(180deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.course-card i {
    font-size: 48px;
    margin-bottom: 20px;
}

.course-card .card-front h3 {
    color: white;
}

.academic-philosophy {
    padding: 80px 0;
    background: #f9f9f9;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.philosophy-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    text-align: center;
}

.philosophy-card:hover {
    transform: translateY(-10px);
}

.philosophy-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.career-guidance {
    padding: 80px 0;
    background: white;
}

.guidance-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.guidance-image {
    flex: 1;
}

.guidance-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.guidance-text {
    flex: 1;
}

.guidance-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.examination-system {
    padding: 80px 0;
    background: #f9f9f9;
}

.exam-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.exam-content p {
    margin-bottom: 20px;
}

.college-rules {
    padding: 80px 0;
    background: white;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.rule-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    text-align: center;
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.rule-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.rule-card h3 {
    color: var(--text-color);
    margin-bottom: 15px;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 50px;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.faculty-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faculty-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.faculty-image {
    height: 350px;
    overflow: hidden;
}

.faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.faculty-card:hover .faculty-image img {
    transform: scale(1.1);
}

.faculty-info {
    padding: 20px;
}

.faculty-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #333;
}

.faculty-info .designation {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 500;
}

.faculty-info .qualification {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

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

.faculty-social a {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.faculty-social a:hover {
    color: var(--secondary-color);
}

.facilities-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.facility-card {
    display: flex;
    margin-bottom: 60px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
}

.facility-card.reverse {
    flex-direction: row-reverse;
}

.facility-image {
    flex: 1;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.05);
}

.facility-content {
    flex: 1;
    padding: 40px;
}

.facility-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
}

.facility-content p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 16px;
}

.about-choose-section {
    padding: 80px 0;
    background: #fff;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-features-grid {
    margin-top: 40px;
}

.vision-mission-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.vision-mission-container {
    max-width: 1000px;
    margin: 0 auto;
}

.vision-box, .mission-box {
    display: flex;
    margin-bottom: 60px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.mission-box {
    flex-direction: row-reverse;
}

.vision-image, .mission-image {
    flex: 1;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.vision-image img, .mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vision-box:hover .vision-image img,
.mission-box:hover .mission-image img {
    transform: scale(1.05);
}

.vision-content, .mission-content {
    flex: 1;
    padding: 40px;
}

.vision-content h2, .mission-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
}

.vision-content p, .mission-content p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 16px;
}

.objectives-section {
    padding: 80px 0;
    background: #fff;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.objective-card {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.objective-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 20px;
    line-height: 1;
    opacity: 0.8;
}

.objective-content {
    flex: 1;
}

.objective-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.site-heading {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 1rem;
    color: var(--primary-color);
    letter-spacing: 1px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px;
        z-index: 100;
    }
    
    .nav-links a {
        display: block;
        margin: 15px 0;
        text-align: center;
    }

    .mobile-menu {
        display: block;
    }

    .main-title {
        font-size: 2rem;
    }

    .swami {
        width: 80px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-card, .about-card.reverse {
        flex-direction: column;
    }

    .about-image {
        min-height: 250px;
    }

    .about-content {
        padding: 20px;
    }

    .notices-grid {
        grid-template-columns: 1fr;
    }

    .guidance-content {
        flex-direction: column;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .facility-card, .facility-card.reverse {
        flex-direction: column;
    }
    
    .facility-image {
        min-height: 250px;
    }
    
    .facility-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 30px 15px;
    }

    .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }

    .swami {
        width: 60px;
    }

    .objective-card {
        flex-direction: column;
    }

    .objective-number {
        margin-bottom: 15px;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .vision-box, .mission-box {
        flex-direction: column;
    }
    
    .vision-image, .mission-image {
        min-height: 200px;
    }
    
    .vision-content, .mission-content {
        padding: 20px;
    }
    
    .objectives-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .faculty-grid {
        grid-template-columns: 1fr;
    }
}

body.admin-login {
    background: #f9f9f9;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

.login-form h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.login-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    width: 100%;
    font-weight: 500;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 119, 34, 0.3);
}

.error-message {
    color: #f44336;
    margin-bottom: 20px;
    text-align: center;
}

.college-logo {
    text-align: center;
    margin-bottom: 20px;
}

.college-logo img {
    height: 80px;
}

body.admin-dashboard {
    background: #f9f9f9;
    min-height: 100vh;
    padding-top: 80px;
}

.admin-header {
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header .logo img {
    height: 50px;
}

.admin-nav {
    display: flex;
    align-items: center;
}

.admin-nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.admin-nav a:hover {
    color: var(--primary-color);
}

.admin-nav .logout-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-nav .logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 119, 34, 0.3);
}

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

.admin-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.dashboard-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.dashboard-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.dashboard-card p {
    color: #666;
    margin-bottom: 20px;
}

.dashboard-card .btn {
    margin: 0;
}

.recent-activity {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.activity-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.activity-list {
    list-style: none;
}

.activity-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.activity-content p {
    font-size: 0.9rem;
    color: #666;
}

.activity-time {
    font-size: 0.8rem;
    color: #999;
}

.form-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.form-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.no-image {
    background: #f9f9f9;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}
