/* UKAM College Main Stylesheet */

:root {
    --primary-color: #003366;
    /* Deep Navy Blue */
    --secondary-color: #008f58;
    /* Medical Green */
    --accent-color: #f8f9fa;
    /* Light Gray/White */
    --text-color: #333333;
    --light-text: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Navbar Styling */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    margin-left: 15px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

.navbar .btn-primary {
    color: #ffffff !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 143, 88, 0.8)), url('../img/header-bg.png') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero-section h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Common */
section {
    padding: 60px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto 0;
}

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

footer h4 {
    color: #fff;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 10px;
}

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

footer .social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 18px;
}

/* Feature Cards & Utils */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.bg-primary-light {
    background-color: rgba(0, 51, 102, 0.1);
}

.bg-success-light {
    background-color: rgba(0, 143, 88, 0.1);
}

.bg-warning-light {
    background-color: rgba(255, 193, 7, 0.1);
}

.bg-danger-light {
    background-color: rgba(220, 53, 69, 0.1);
}

.bg-info-light {
    background-color: rgba(13, 202, 240, 0.1);
}

.mw-600 {
    max-width: 600px;
}

.resource-card {
    transition: transform 0.3s;
}

.resource-card:hover {
    transform: scale(1.05);
}

.resource-card img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

.about-img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    width: 100%;
    height: auto;
}

/* Enhanced Visuals */
.page-header {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.7)), url('../img/header.png') center/cover no-repeat;
    background-color: #003366;
    /* Fallback */
    background-attachment: fixed;
    margin-top: 56px;
    color: #ffffff;
}

.page-header h1 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Card Improvements */
.card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

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

/* Button Refinement */
.btn {
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Section Backgrounds */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Typography Enhancements */
h1,
h2,
h3 {
    letter-spacing: -0.5px;
}

/* Contact Page Redesign */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.contact-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

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

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

.bg-success-light {
    background-color: rgba(25, 135, 84, 0.1);
}

.modern-form .form-floating>.form-control {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.modern-form .form-floating>.form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.15);
}

.modern-form button {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.modern-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(25, 135, 84, 0.2);
}

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


.lead {
    font-weight: 400;
    opacity: 0.9;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 120px;
        /* Account for fixed navbar */
        padding-bottom: 60px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }
}