/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    color: white;
    padding: 25px 0;
    position: relative;
    overflow: hidden;
    clip-path: ellipse(100% 100% at 50% 0%);
    padding-bottom: 40px;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    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="1" fill="white" opacity="0.08"/></svg>');
    background-size: 60px 60px;
    animation: float 20s infinite linear;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    clip-path: ellipse(150% 100% at 50% 0%);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: white;
    padding: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: 3px solid rgba(255,255,255,0.3);
}

.header-logo:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.college-info h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.8px;
    line-height: 1.2;
}

.college-info p {
    font-size: 16px;
    opacity: 0.95;
    margin: 4px 0;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.govt-tag {
    font-size: 14px;
    background: rgba(255,255,255,0.25);
    padding: 8px 16px;
    border-radius: 25px;
    display: inline-block;
    margin-top: 10px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
    font-weight: 600;
    text-shadow: none;
}

.contact-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    background: rgba(255,255,255,0.15);
    padding: 12px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.25);
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.contact-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.contact-item i {
    color: #ffd700;
    font-size: 16px;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
}

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    margin-top: -20px;
    padding-top: 20px;
    clip-path: ellipse(100% 100% at 50% 100%);
    padding-bottom: 10px;
}

.navbar .container {
    position: relative;
    z-index: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    gap: 20px;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    text-decoration: none;
    color: #2d3748;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
    border-radius: 25px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #228B22, #32CD32);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 60%;
}

.nav-link:hover {
    color: #228B22;
    background: rgba(34, 139, 34, 0.08);
    transform: translateY(-1px);
}

.nav-link i {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown {
    position: relative;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(255, 255, 255, 0.98);
    min-width: 220px;
    list-style: none;
    padding: 16px 0;
    margin: 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-radius: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(34, 139, 34, 0.15);
    backdrop-filter: blur(20px);
    z-index: 1000;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 -2px 3px rgba(0,0,0,0.08));
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu .nav-link {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    margin: 2px 8px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    overflow: hidden;
    color: #2d3748;
}

.dropdown-menu .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 139, 34, 0.08), transparent);
    transition: left 0.4s ease;
}

.dropdown-menu .nav-link:hover::before {
    left: 100%;
}

.dropdown-menu .nav-link:hover {
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.08), rgba(50, 205, 50, 0.04));
    color: #228B22;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(34, 139, 34, 0.08);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #228B22;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    padding: 100px 0 120px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    clip-path: ellipse(100% 85% at 50% 0%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.08"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.08"/><circle cx="50" cy="50" r="1" fill="white" opacity="0.12"/></svg>');
    background-size: 80px 80px;
    animation: float 25s infinite linear;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    clip-path: ellipse(120% 100% at 50% 0%);
}

@keyframes float {
    0% { transform: translateX(0px) translateY(0px) rotate(0deg); }
    33% { transform: translateX(-20px) translateY(-10px) rotate(1deg); }
    66% { transform: translateX(10px) translateY(-15px) rotate(-1deg); }
    100% { transform: translateX(0px) translateY(0px) rotate(0deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.college-info {
    text-align: left;
}

.college-logo {
    width: 140px;
    height: 140px;
    border-radius: 30px;
    background: white;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    transition: all 0.4s ease;
    border: 4px solid rgba(255,255,255,0.3);
    position: relative;
}

.college-logo::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    border-radius: 34px;
    z-index: -1;
}

.college-logo:hover {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.college-info h1 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    letter-spacing: -1.5px;
}

.tagline {
    font-size: 22px;
    margin-bottom: 15px;
    opacity: 0.95;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.affiliation {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image::before {
    content: 'College Campus';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.2);
    padding: 20px 40px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    z-index: 1;
    min-width: 200px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.hero-image:hover::before {
    transform: translate(-50%, -50%) scale(1.05);
    background: rgba(255,255,255,0.25);
}

/* About Section */
.about {
    padding: 120px 0 100px;
    background: linear-gradient(145deg, #f8f9ff 0%, #e6f3ff 100%);
    position: relative;
    clip-path: ellipse(100% 90% at 50% 10%);
    margin-top: -60px;
    z-index: 1;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.03) 0%, rgba(50, 205, 50, 0.02) 100%);
    z-index: -1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-text h2 {
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #228B22, #32CD32);
    border-radius: 2px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    font-weight: 400;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.feature {
    background: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 139, 34, 0.1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #228B22, #32CD32);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(34, 139, 34, 0.15);
}

.feature-icon {
    font-size: 48px;
    color: #228B22;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    color: #32CD32;
}

.feature h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.about-stats {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(34, 139, 34, 0.1);
}

.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(135deg, #228B22, #32CD32);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}

.stat {
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(145deg, #f8f9ff, #ffffff);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(34, 139, 34, 0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: #228B22;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 16px;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Principal's Message */
.principal-message {
    padding: 100px 0 120px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
    clip-path: ellipse(100% 88% at 50% 12%);
    margin-top: -60px;
    z-index: 1;
}

.principal-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.02) 0%, rgba(50, 205, 50, 0.01) 100%);
    z-index: -1;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.principal-photo {
    position: relative;
}

.principal-photo img {
    width: 280px;
    height: 320px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: 4px solid white;
}

.principal-photo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #228B22, #32CD32);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.principal-photo:hover img {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.principal-photo:hover::before {
    opacity: 1;
    transform: scale(1.02);
}

.message-text {
    flex: 1;
}

.message-text h2 {
    color: #228B22;
    margin-bottom: 25px;
    font-size: 38px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.message-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #228B22, #32CD32);
    border-radius: 2px;
}

.message-text p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
    color: #555;
    font-weight: 400;
}

.signature {
    font-style: italic;
    color: #666;
    border-left: 4px solid #228B22;
    padding-left: 20px;
    background: linear-gradient(145deg, #f8f9ff, #ffffff);
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.signature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.02), rgba(50, 205, 50, 0.01));
    z-index: -1;
}

/* Quick Links */
.quick-links {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    clip-path: ellipse(100% 85% at 50% 15%);
    margin-top: -60px;
    z-index: 1;
}

.quick-links::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"><polygon points="50,10 90,90 10,90" fill="none" stroke="%23228B22" stroke-width="0.5" opacity="0.08"/></svg>');
    background-size: 180px 180px;
    z-index: -1;
}

.quick-links h2 {
    text-align: center;
    margin-bottom: 60px;
    color: #2d3748;
    font-size: 42px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.quick-links h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #228B22, #32CD32);
    border-radius: 2px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.quick-link {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-decoration: none;
    color: #2d3748;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.quick-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 139, 34, 0.1), transparent);
    transition: left 0.5s ease;
}

.quick-link:hover::before {
    left: 100%;
}

.quick-link:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(34, 139, 34, 0.15);
    border-color: rgba(34, 139, 34, 0.2);
}

.quick-link i {
    font-size: 48px;
    color: #228B22;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.quick-link:hover i {
    transform: scale(1.1) rotate(5deg);
    color: #32CD32;
}

.quick-link h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2d3748;
}

.quick-link p {
    font-size: 16px;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* Latest News Section */
.latest-news {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    clip-path: ellipse(100% 88% at 50% 12%);
    margin-top: -60px;
    z-index: 1;
}

.latest-news::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"><rect x="10" y="10" width="30" height="30" fill="none" stroke="%23228B22" stroke-width="0.5" opacity="0.08"/><rect x="60" y="60" width="30" height="30" fill="none" stroke="%23228B22" stroke-width="0.5" opacity="0.08"/></svg>');
    background-size: 140px 140px;
    z-index: -1;
}

.latest-news h2 {
    text-align: center;
    margin-bottom: 60px;
    color: #2d3748;
    font-size: 42px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.latest-news h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #228B22, #32CD32);
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.news-item {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #228B22, #32CD32);
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(34, 139, 34, 0.12);
}

.news-item h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.news-item p {
    color: #718096;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}

.news-date {
    color: #228B22;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 139, 34, 0.4);
    color: white;
}

.btn-secondary {
    background: white;
    color: #228B22;
    border: 2px solid #228B22;
}

.btn-secondary:hover {
    background: #228B22;
    color: white;
    transform: translateY(-2px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::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="white" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    animation: float 20s infinite linear;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
}

.page-header p {
    font-size: 20px;
    margin-bottom: 25px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.breadcrumb {
    font-size: 16px;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #228B22;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 139, 34, 0.15);
}

.news-item h3 {
    color: #228B22;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-item p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-item a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 500;
}

.news-item a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #2a5298;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #1e3c72;
}

.btn-primary {
    background: #2a5298;
}

.text-center {
    text-align: center;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    clip-path: ellipse(100% 95% at 50% 5%);
    margin-top: -60px;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.05"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.05"/></svg>');
    background-size: 100px 100px;
    z-index: -1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.footer-section {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.footer-section:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 25px;
    color: #ffd700;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 1px;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    padding-left: 0;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a::before {
    content: '▶';
    color: #ffd700;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
    padding-left: 10px;
}

.footer-section ul li a:hover::before {
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
    border: 2px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1e3c72;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.contact-info i {
    color: #ffd700;
    width: 20px;
    font-size: 16px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    margin-bottom: 8px;
    opacity: 0.8;
    font-weight: 400;
}

/* Page Content Styles */
.page-header {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::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="white" opacity="0.1"/></svg>');
    background-size: 50px 50px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Content Sections */
.content-section {
    padding: 100px 0;
}

.content-section:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-title {
    color: #2d3748;
    margin-bottom: 50px;
    font-size: 42px;
    text-align: center;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #228B22, #32CD32);
    border-radius: 2px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.content-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #228B22, #32CD32);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.content-card:hover::before {
    transform: scaleX(1);
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(34, 139, 34, 0.12);
}

.content-card h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-card h3 i {
    color: #228B22;
    font-size: 24px;
}

.content-card p {
    color: #718096;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 15px;
}

.content-card ul {
    margin: 20px 0;
    padding-left: 0;
}

.content-card li {
    color: #718096;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.content-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #228B22;
    font-weight: bold;
}

.content-card-legacy {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.content-card-legacy h3 {
    color: #2a5298;
    margin-bottom: 15px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 30px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: #2a5298;
    color: white;
    font-weight: 500;
}

tr:hover {
    background: #f8f9fa;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #2a5298;
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .message-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header {
        clip-path: none;
        padding-bottom: 25px;
    }
    
    .header::after {
        display: none;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .navbar {
        clip-path: none;
        padding-bottom: 0;
        margin-top: 0;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero {
        clip-path: none;
        padding: 80px 0;
        min-height: auto;
    }
    
    .hero::after {
        display: none;
    }
    
    .hero .college-info h1 {
        font-size: 36px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-image::before {
        min-width: 150px;
        min-height: 150px;
    }
    
    .about {
        clip-path: none;
        margin-top: 0;
        padding: 80px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .principal-message {
        clip-path: none;
        margin-top: 0;
        padding: 80px 0;
    }
    
    .message-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .quick-links {
        clip-path: none;
        margin-top: 0;
        padding: 80px 0;
    }
    
    .links-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .latest-news {
        clip-path: none;
        margin-top: 0;
        padding: 80px 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer {
        clip-path: none;
        margin-top: 0;
        padding: 60px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero .college-info h1 {
        font-size: 28px;
    }
    
    .college-logo {
        width: 100px;
        height: 100px;
    }
    
    .header-logo {
        width: 60px;
        height: 60px;
    }
    
    .college-info h1 {
        font-size: 24px;
    }
    
    .about-text h2,
    .quick-links h2,
    .latest-news h2 {
        font-size: 28px;
    }
    
    .quick-link,
    .news-item,
    .footer-section {
        padding: 20px;
    }
    
    .principal-photo img {
        width: 200px;
        height: 240px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero-image::before {
        min-width: 120px;
        min-height: 120px;
        font-size: 14px;
        padding: 15px 20px;
    }
}

/* Enhanced Modern Styles */
.course-badge {
    background: linear-gradient(135deg, #228B22, #32CD32) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin-top: 15px !important;
    box-shadow: 0 4px 12px rgba(34, 139, 34, 0.3) !important;
    transition: transform 0.3s ease !important;
}

.course-badge:hover {
    transform: translateY(-2px) !important;
}

.college-info-box {
    background: linear-gradient(135deg, #f8f9fa, #ffffff) !important;
    border: 1px solid rgba(34, 139, 34, 0.1) !important;
    box-shadow: 0 10px 30px rgba(34, 139, 34, 0.08) !important;
}

.course-summary {
    background: linear-gradient(135deg, #f8f9fa, #ffffff) !important;
    border: 1px solid rgba(34, 139, 34, 0.1) !important;
    box-shadow: 0 10px 30px rgba(34, 139, 34, 0.08) !important;
}

/* Table Enhancements */
table {
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

th {
    background: linear-gradient(135deg, #228B22, #32CD32) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

tr:nth-child(even) {
    background: rgba(34, 139, 34, 0.02) !important;
}

tr:hover {
    background: rgba(34, 139, 34, 0.05) !important;
    transform: scale(1.01) !important;
    transition: all 0.2s ease !important;
}

/* Form Enhancements */
.form-control {
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
    padding: 14px 16px !important;
}

.form-control:focus {
    border-color: #228B22 !important;
    box-shadow: 0 0 0 3px rgba(34, 139, 34, 0.1) !important;
    transform: translateY(-1px) !important;
}

/* Map Container Enhancement */
.map-container {
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    border: 2px solid rgba(34, 139, 34, 0.1) !important;
}

/* Enhanced Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.header-logo {
    animation: pulse 3s infinite ease-in-out;
}

/* Scroll-based Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #228B22, #32CD32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* Modern Shadows */
.modern-shadow {
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.02),
        0 8px 16px rgba(0,0,0,0.06),
        0 32px 64px rgba(0,0,0,0.1);
}
