/* 
 * JCEV Website - Main Stylesheet
 * Replica of https://pestrust.edu.in/jcev/
 */

/* ============================================
   CSS Variables & Root Styles
   ============================================ */
:root {
    --primary-color: #192f59;
    --secondary-color: #1c4c72;
    --accent-color: #3db166;
    --dark-color: #14233f;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --text-muted: #6c757d;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #192f59 0%, #1c4c72 100%);
    --gradient-accent: linear-gradient(135deg, #3db166 0%, #57ba73 100%);
    --accent-green: #3db166;
    --accent-soft: #94a8d1;
    --shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

/* ============================================
   Global Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

a:hover {
    color: var(--accent-color);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
}

.section-padding {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 15px auto 0;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--dark-color);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    margin: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 20px;
}

.top-bar .top-info li:last-child a {
    border-right: none;
}

.top-bar a:hover {
    color: var(--accent-color);
}

.top-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.btn-admission-enquiry {
    background: var(--white);
    color: #192f59 !important; /* Force dark blue text color */
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s;
    animation: pulse-background 2s infinite;
    border: 1px solid var(--primary-color);
}

.btn-admission-enquiry:hover {
    background: var(--accent-color);
    color: var(--white);
    animation: none; /* Pause animation on hover */
    border-color: var(--accent-color);
}

@keyframes pulse-background {
    0% {
        background-color: var(--white);
    }
    50% {
        background-color: #e0e0e0; /* A light gray for the pulse effect */
    }
    100% {
        background-color: var(--white);
    }
}

/* ============================================
   Notification Bar
   ============================================ */
.notification-bar {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.notification-bar marquee {
    display: flex;
    align-items: center;
}

.notification-item {
    margin-right: 50px;
    display: inline-block;
}

.notification-item i {
    margin-right: 8px;
}

.notification-item a {
    color: var(--white);
    font-weight: 500;
}

.notification-item a:hover {
    text-decoration: underline;
}

/* ============================================
   Header
   ============================================ */
.main-header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1021; /* Ensure it's above other content */
}

.logo-container {
    gap: 20px;
}

.logo-img {
    max-height: 70px;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
}

.logo-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.header-codes {
    text-align: right;
    font-weight: 600;
    color: var(--dark-color);
}

.header-codes p {
    margin: 0;
    line-height: 1.4;
}

/* ============================================
   Navigation
   ============================================ */
.main-nav {
    background: var(--primary-color) !important;
    padding: 0;
}

.main-nav .navbar-nav .nav-link {
    color: var(--white);
    padding: 15px 20px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
}

.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-item.active .nav-link {
    background-color: var(--accent-color);
}

.main-nav .nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: var(--accent-soft);
}

.main-nav .dropdown-menu {
    background: var(--white);
    border: none;
    border-radius: 0;
    margin-top: 0;
    box-shadow: var(--shadow);
}

.main-nav .dropdown-item {
    color: var(--dark-color);
    padding: 10px 20px;
    transition: all 0.3s;
}

.main-nav .dropdown-item:hover {
    background-color: var(--accent-color);
    color: var(--white);
    padding-left: 25px;
}

.main-nav .mega-menu {
    width: 800px; /* Increased width for better spacing */
    padding: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mega-menu-content h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.mega-menu-content a {
    display: block;
    color: var(--text-color);
    padding: 10px 0;
    transition: all 0.3s;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
}
.mega-menu-content .col-md-6:last-child a:last-child {
    border-bottom: none;
}


.mega-menu-content a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.nav-btn .btn-admission {
    background: var(--accent-color);
    color: var(--white);
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-btn .btn-admission:hover {
    background: var(--accent-soft);
    color: var(--dark-color);
}

/* ============================================
   Hero Slider
   ============================================ */
.hero-slider {
    position: relative;
}

.hero-slide {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(13, 71, 161, 0.9), rgba(13, 71, 161, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--transition);
}

.btn-hero.primary {
    background: var(--accent-color);
    color: var(--white);
    border: none;
}

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

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Owl Carousel Customization */
.hero-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
    color: var(--white) !important;
    font-size: 24px !important;
    transition: var(--transition);
}

.hero-slider .owl-nav button:hover {
    background: var(--accent-color) !important;
}

.hero-slider .owl-prev {
    left: 30px;
}

.hero-slider .owl-next {
    right: 30px;
}

.hero-slider .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-slider .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5) !important;
}

.hero-slider .owl-dot.active span {
    background: var(--accent-color) !important;
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   Welcome Section
   ============================================ */
.welcome-section {
    background: var(--light-color);
    padding-bottom: 100px !important;
}

.welcome-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
}

.welcome-content h2 span {
    color: var(--accent-color);
}

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

.welcome-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.welcome-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.welcome-feature-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.welcome-feature-item h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.welcome-feature-item p {
    font-size: 14px;
    margin: 0;
}

.welcome-image {
    position: relative;
}

.welcome-image {
    position: relative;
}

.welcome-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    display: block;
}

.welcome-image .experience-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--white);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.experience-badge h3 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.experience-badge span {
    font-size: 16px;
    font-weight: 500;
    display: block;
    margin-top: 5px;
}

/* ============================================
   Courses/Programs Section
   ============================================ */
.courses-section {
    background: #f4f7fb;
}

.course-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbe6f5 0%, #9db5dc 100%);
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.course-image.is-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b2f58;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    padding: 15px;
}

.course-image.is-fallback .fallback-text {
    display: block;
    max-width: 90%;
}

.course-image.is-fallback img {
    display: none;
}

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

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(13, 71, 161, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.course-short-name {
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px;
}

.course-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 220px;
}

.course-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
    min-height: 48px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 66px;
}

.course-content .btn-readmore {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.course-content .btn-readmore:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* Courses Carousel */
.courses-carousel .owl-nav {
    margin-top: 30px;
    text-align: center;
}

.courses-carousel .owl-nav button {
    width: 45px;
    height: 45px;
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border-radius: 50%;
    margin: 0 5px;
    font-size: 18px !important;
    transition: var(--transition);
}

.courses-carousel .owl-nav button:hover {
    background: var(--accent-color) !important;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    background: var(--gradient-primary);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item .icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
    width: 100%;
    text-align: center;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
    width: 100%;
    text-align: center;
}

/* ============================================
   Recruiters Section
   ============================================ */
.recruiters-section {
    background: var(--light-color);
}

.recruiter-logo {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.recruiter-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.recruiter-logo img {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
}

.recruiter-logo:hover img {
    filter: grayscale(0%);
}

/* ============================================
   News & Events Section
   ============================================ */
.news-section {
    background: var(--white);
}

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

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 13px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.news-content h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.news-content p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(rgba(13, 71, 161, 0.9), rgba(13, 71, 161, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-section .btn {
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 30px;
    font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background: var(--dark-color);
    color: var(--white);
}

.footer-top {
    padding: 60px 0 40px;
}

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

.footer-logo img {
    max-height: 80px;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-widget h5 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

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

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact li i {
    color: var(--accent-color);
    font-size: 18px;
    margin-top: 3px;
}

.footer-contact li span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-left: 20px;
}

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

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 111, 0, 0.4);
}

/* ============================================
   Page Header/Banner
   ============================================ */
.page-header {
    background: linear-gradient(rgba(13, 71, 161, 0.9), rgba(13, 71, 161, 0.9)), url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.breadcrumb-item {
    font-size: 14px;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   About Page
   ============================================ */
.about-content {
    padding: 30px;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* ============================================
   Department Page
   ============================================ */
.dept-sidebar {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.dept-sidebar h4 {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    margin: 0;
    font-size: 1.2rem;
}

.dept-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dept-sidebar li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.dept-sidebar li:last-child a {
    border-bottom: none;
}

.dept-sidebar li a:hover {
    background-color: #f8f9fa;
    color: var(--accent-color);
    padding-left: 25px;
}

.dept-sidebar li a.active {
    background-color: var(--accent-soft);
    color: var(--primary-color);
    font-weight: 600;
}

.dept-content .dept-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.dept-content .dept-image img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}

.dept-info .info-box {
    background: var(--white);
    padding: 30px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dept-info .info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.dept-info .info-box i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

.dept-info .info-box h5 {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dept-info .info-box p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.dept-description h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.dept-highlights h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.dept-highlights ul li {
    padding: 8px 0;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-info-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-info-box i {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.contact-info-box h5 {
    margin-bottom: 10px;
}

.contact-info-box p {
    color: var(--text-muted);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form .form-control {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.contact-form .btn {
    padding: 15px 40px;
    font-size: 16px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ============================================
   Forms
   ============================================ */
.form-control, .form-select {
    border-radius: var(--border-radius);
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(13, 71, 161, 0.3);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 991px) {
    .mega-menu {
        min-width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
        transform: none;
    }
    
    .hero-slide {
        height: 450px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .welcome-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .top-bar-left, .top-bar-right {
        text-align: center;
    }
    
    .top-bar-left span {
        display: block;
        margin: 5px 0;
    }
    
    .hero-slide {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
    
    .footer-bottom-links {
        margin-top: 15px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
}

@media (max-width: 575px) {
    .notification-bar {
        font-size: 12px;
    }
    
    .logo img {
        max-height: 60px;
    }
    
    .main-nav .nav-link {
        padding: 12px 15px !important;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
}
