/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-blue: #002147;
    --accent-cyan: #00aeef;
    --accent-green: #2ecc71;
    --text-gray: #555;
    --white: #ffffff;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: var(--white);
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-blue);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

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

/* Hero Video Section */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    background: rgba(0, 33, 71, 0.6);
    padding: 40px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 { font-size: 3rem; margin-bottom: 10px; }
.hero p { font-size: 1.2rem; }

/* Stats Bar */
.stats-bar {
    background: var(--primary-blue);
    display: flex;
    justify-content: space-around;
    padding: 50px 5%;
    color: white;
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 15px;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 15%;
    text-align: center;
    line-height: 1.8;
}

.welcome-section h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

/* Cards Section */
.programs {
    background: #f9f9f9;
    padding: 80px 5%;
    text-align: center;
}

.card-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex: 1;
    max-width: 350px;
}

.card i { font-size: 2rem; margin-bottom: 20px; color: var(--accent-cyan); }
.card h3 { margin-bottom: 15px; color: var(--primary-blue); }
.card p { font-size: 0.95rem; color: var(--text-gray); margin-bottom: 20px; }

.view-details {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 80px 5%;
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-apply, .btn-request {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    color: white;
}

.btn-apply { background: var(--accent-cyan); }
.btn-request { background: var(--accent-green); }

/* Footer */
.main-footer {
    background: #00152e;
    color: white;
    padding: 60px 5% 20px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-info { flex: 2; }
.footer-links { flex: 1; }

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #ccc; text-decoration: none; font-size: 0.9rem; }

.social-icons { margin-top: 20px; }
.social-icons a { color: white; margin-right: 15px; font-size: 1.2rem; }

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
}




/* --- GLOBAL THEME (If not already in your file) --- */
:root {
    --primary-blue: #002147;
    --accent-cyan: #00aeef;
    --accent-green: #2ecc71;
    --white: #ffffff;
    --gray: #f4f7f9;
}

/* --- MISSION & VISION (Centralized with Double Borders) --- */
.mission-vision-container {
    padding: 80px 10%;
    background-color: var(--gray);
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.v-card {
    background: white;
    padding: 50px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 900px;
    width: 100%;
    /* Double Navy Blue Borders */
    border-left: 10px solid var(--primary-blue);
    border-right: 10px solid var(--primary-blue);
    transition: all 0.4s ease;
}

.v-card:hover {
    background-color: var(--primary-blue);
    transform: scale(1.02);
}

.v-card:hover h2, .v-card:hover p { color: white; }
.v-card:hover i { color: var(--accent-cyan); }

.v-card i { font-size: 3.5rem; color: var(--accent-cyan); margin-bottom: 20px; }
.v-card h2 { color: var(--primary-blue); margin-bottom: 15px; text-transform: uppercase; }

/* --- CAMPUS SECTION --- */
.campus-section {
    padding: 80px 10%;
    text-align: center;
}

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

.campus-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.3s;
}

.campus-img img:hover {
    transform: rotate(2deg) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* --- MESSAGE BOXES (Graphics) --- */
.messages-section {
    padding: 80px 10%;
    background: white;
}

.message-box {
    margin-bottom: 60px;
    padding: 40px;
    background: var(--gray);
    border-radius: 30px 0 30px 0;
    position: relative;
    border-top: 4px solid var(--accent-cyan);
}

.message-box::after {
    content: "\f10e"; /* Quote Icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    bottom: 20px;
    right: 40px;
    font-size: 4rem;
    color: rgba(0,0,0,0.03);
}

.message-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.message-header i { font-size: 2.5rem; color: var(--primary-blue); }
.message-header h2 { color: var(--primary-blue); font-size: 1.8rem; }

.message-content p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
    text-align: justify;
}

/* --- WHY CHOOSE IES (Horizontal Cards) --- */
.why-choose {
    background: var(--primary-blue);
    color: white;
    padding: 80px 10%;
    text-align: center;
}

.h-card-container {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.h-card {
    flex: 1;
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    min-width: 280px;
}

.h-card i { font-size: 2.5rem; color: var(--accent-cyan); margin-bottom: 20px; }




/* --- ENHANCED ABOUT PAGE STYLES --- */

/* Vertical Mission/Vision Cards */
.mission-vision-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 80px 10%;
    background-color: #f8fbff;
}

.v-card {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 850px;
    text-align: center; /* Centralizes text and icons */
    
    /* Double Border Design */
    border-left: 8px solid var(--primary-blue);
    border-right: 8px solid var(--primary-blue);
    
    transition: all 0.4s ease; /* For smooth color change */
}

/* Hover Effect: Changes background and text color */
.v-card:hover {
    background-color: var(--primary-blue);
    transform: translateY(-5px);
}

.v-card:hover h2, 
.v-card:hover p {
    color: white;
}

.v-card:hover i {
    color: var(--accent-cyan);
}

.v-card i {
    font-size: 3.5rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    display: block;
}

.v-card h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Messages Section Graphics */
.messages-section {
    padding: 100px 10%;
    background: #ffffff;
}

.message-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.message-box {
    position: relative;
    padding: 40px;
    background: #fdfdfd;
    border-radius: 0 30px 0 30px;
    border: 1px solid #eee;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.02);
}

/* Graphic Accent for Messages */
.message-box::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 8rem;
    color: rgba(0, 33, 71, 0.05);
    font-family: serif;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.message-header i {
    font-size: 2rem;
    color: var(--accent-cyan);
}

.message-header .section-title {
    margin-bottom: 0;
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.message-content p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}


























































































/* --- ACADEMICS PAGE SPECIFIC STYLES --- */

/* Header Adjustments */
.academic-hero {
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Centralized Navy Headings */
.navy-heading {
    color: var(--primary-blue);
    text-align: center;
    font-size: 2.5rem;
    margin-top: 50px;
    text-transform: uppercase;
}

/* BS Nursing Special Section */
.special-program {
    padding: 60px 15%;
    text-align: center;
    background-color: #f9fbff;
}

.sub-heading {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin: 20px 0 30px;
}

.btn-download {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

.btn-download:hover {
    background-color: var(--accent-cyan);
}

/* Program Cards with Scheme of Studies Button */
.btn-sos {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--accent-cyan);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: 0.3s;
}

.btn-sos:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Hostel Section */
.hostel-section {
    padding: 60px 10%;
    background-color: var(--white);
    text-align: center;
}

.hostel-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hostel-apply, .btn-hostel-info {
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: white;
}

.btn-hostel-apply { background-color: var(--accent-green); }
.btn-hostel-info { background-color: var(--primary-blue); }

/* Gallery Section (Classrooms & Labs) */
.campus-gallery {
    padding: 80px 5%;
    background-color: #f4f4f4;
}

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

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Mobile Responsive Tweaks */
@media (max-width: 768px) {
    .special-program { padding: 40px 5%; }
    .navy-heading { font-size: 1.8rem; }
    .hostel-buttons { flex-direction: column; }
}

























































































































































/* --- FACULTY PAGE STYLES --- */

.faculty-hero {
    background: linear-gradient(rgba(0, 33, 71, 0.8), rgba(0, 33, 71, 0.8)), url('graphics/faculty-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 40vh;
}

.faculty-intro {
    text-align: center;
    padding: 60px 15%;
    background: #fff;
}

.faculty-intro h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 15px;
}

.faculty-department {
    padding: 80px 5%;
    text-align: center;
}

.bg-light { background-color: #f9fbff; }

.dept-title {
    color: var(--primary-blue);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.dept-subtitle {
    color: var(--text-gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.faculty-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.f-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 40px 25px;
    width: 380px;
    transition: transform 0.3s ease;
    border-top: 5px solid var(--accent-cyan);
}

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

.f-avatar {
    width: 100px;
    height: 100px;
    background: var(--primary-blue);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.f-designation {
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.f-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.f-meta {
    background: #f1f7ff;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    font-size: 0.9rem;
}

.f-meta p {
    margin-bottom: 8px;
    color: #444;
}

.f-meta strong {
    color: var(--primary-blue);
}







































































































/* --- Contact Page Specific Styles --- */

.contact-page {
    background-color: #f8f9fa;
}

/* Header Animation */
.contact-header {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effect */
}

.contact-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Layout Container */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: -100px auto 50px; /* Overlap the header */
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Contact Info Card */
.details-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.icon-circle {
    width: 45px;
    height: 45px;
    background: #eef5ff;
    color: #002147;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.btn-whatsapp-large {
    display: block;
    background: #25d366;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    transition: 0.3s;
}

.btn-whatsapp-large:hover {
    background: #128c7e;
    transform: translateY(-3px);
}

/* Form Styling */
.form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #002147;
    outline: none;
}

.submit-btn-glow {
    width: 100%;
    padding: 15px;
    background: #002147;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn-glow:hover {
    background: #00aeef;
    box-shadow: 0 0 20px rgba(0, 174, 239, 0.4);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.animate-up { animation: fadeInUp 0.8s ease-out; }
.animate-left { animation: fadeInLeft 0.8s ease-out; }
.animate-right { animation: fadeInUp 1s ease-out; }

/* Responsive */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    
    .contact-header { height: 30vh; }
    .contact-header h1 { font-size: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
}