@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #283a5e;
    --primary-dark: #1a253d;
    --secondary-color: #efa828;
    --accent-color: #f39c12;
    --text-color: #333333;
    --text-muted: #777777;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --navbar-height: 80px;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Header & Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

/* Main Header */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

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

.logo-section img {
    height: 70px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.reveal {
    opacity: 0;
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    animation: fadeIn 0.8s ease-out forwards;
}

.nav-links li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background-color: var(--primary-color);
    display: none;
    flex-direction: column;
    box-shadow: var(--box-shadow);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu li a {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu li a:hover {
    background-color: var(--secondary-color);
}
.navbar {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.nav-links {
    display: flex;
    justify-content: center;
}

.nav-links li a {
    display: block;
    padding: 20px 15px;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background-color: #333;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

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

/* Institutional Cards */
.institutions {
    background-color: var(--bg-light);
}

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

.section-header h2 {
    font-size: 32px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

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

.card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.card-img {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 25px;
    text-align: center;
}

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

.card-body p {
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 18px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col p, .footer-col li {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 15px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334e81;
    font-size: 13px;
    color: #888;
}

/* Widgets */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1001;
    cursor: pointer;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1001;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }
    .contact-info span {
        margin: 5px 0;
        display: block;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .logo-section {
        flex-direction: column;
        margin-bottom: 20px;
    }
    .logo-section img {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .nav-links {
        flex-wrap: wrap;
    }
    .nav-links li a {
        padding: 10px;
        font-size: 12px;
    }
    .hero-content h2 {
        font-size: 28px;
    }
}
/* Sticky Admission Footer */
.sticky-admission-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 3px solid var(--secondary-color);
}

.sticky-admission-bar p {
    margin-right: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

.sticky-admission-bar .btn {
    padding: 8px 16px;
    font-size: 12px;
}

/* Facility Grid */
.facility-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.facility-item:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--secondary-color);
}

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

/* Course Stats Overlay */
.course-intake {
    background: var(--bg-light);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: var(--box-shadow);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--secondary-color);
}

.testimonial-card p {
    font-style: italic;
    color: #555;
}

/* Footer Map */
.footer-map {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

/* AICTE Report Heading */
.aicte-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.aicte-header h2 {
    color: #333;
    text-transform: uppercase;
    font-size: 28px;
    white-space: nowrap;
}

.aicte-header .line {
    height: 10px;
    width: 60px;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}

/* Enhanced AICTE Table */
.aicte-table-container {
    max-width: 1000px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.aicte-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Open Sans', sans-serif;
}

.aicte-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, #001f3f 100%);
    color: #fff;
}

.aicte-table th {
    padding: 20px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--secondary-color);
}

.aicte-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 14px;
}

.aicte-table tr:nth-child(even) {
    background-color: #fcfcfc;
}

.aicte-table tr:hover {
    background-color: #f5f8ff;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f1f5f9;
    color: var(--primary-color);
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-decoration: none;
}

.btn-download:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateX(5px);
}

.btn-download i {
    color: #ef4444;
    font-size: 16px;
}

.btn-download:hover i {
    color: white;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

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

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

/* Custom Form Styles */
.custom-form .form-group {
    margin-bottom: 15px;
}

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

.custom-form input, 
.custom-form select, 
.custom-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.custom-form input:focus, 
.custom-form select:focus, 
.custom-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

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

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