/* Custom CSS for DNB Radiodiagnosis Program Page */

/* Base container & typography */
.dnb-container {
    font-family: 'Roboto', sans-serif;
    color: #4a5666;
}

/* Page Banner custom styles */
.dnb-banner {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, rgba(19, 107, 159, 0.9) 0%, rgba(6, 69, 111, 0.95) 100%), url('images/inner/dnb-radiodiagnosis.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    border-bottom: 5px solid #eb222e;
}

.dnb-banner .badge-accredited {
    display: inline-block;
    background: #eb222e;
    color: #fff;
    padding: 6px 15px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(235, 34, 46, 0.3);
    animation: pulse 2s infinite;
}

.dnb-banner h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 42px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dnb-banner .lead-text {
    font-size: 16px;
    line-height: 1.6;
    max-width: 750px;
    margin-bottom: 30px;
    color: #e2e8f0;
}

.dnb-banner .btn-dnb-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.dnb-banner .btn-dnb {
    display: inline-block;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.dnb-banner .btn-dnb-primary {
    background: #eb222e;
    color: #fff;
    border: 2px solid #eb222e;
    box-shadow: 0 4px 15px rgba(235, 34, 46, 0.4);
}

.dnb-banner .btn-dnb-primary:hover {
    background: #c91924;
    border-color: #c91924;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 34, 46, 0.5);
    color: #fff;
}

.dnb-banner .btn-dnb-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.dnb-banner .btn-dnb-secondary:hover {
    background: #fff;
    color: #136b9f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Sections */
.dnb-section {
    padding: 60px 0;
}

.dnb-section-grey {
    background-color: #f7fafc;
}

.dnb-section-title {
    font-family: 'Roboto Slab', serif;
    font-size: 28px;
    font-weight: 700;
    color: #136b9f;
    margin-top: 0;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.dnb-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #eb222e;
}

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

.dnb-section-title-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* About content styling */
.dnb-about-text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.dnb-about-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.dnb-about-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 500;
}

.dnb-about-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #136b9f;
    font-size: 18px;
}

/* Why Choose Us Cards */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.why-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #136b9f;
    transition: all 0.3s ease;
    text-align: left;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(19, 107, 159, 0.15);
    border-top-color: #eb222e;
}

.why-card-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: rgba(19, 107, 159, 0.1);
    color: #136b9f;
    border-radius: 50%;
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.why-card:hover .why-card-icon {
    background: #eb222e;
    color: #fff;
    transform: rotateY(180deg);
}

.why-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-top: 0;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
    color: #718096;
}

/* Faculty Section */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.faculty-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
    padding: 30px 20px;
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #136b9f;
}

.faculty-img-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #136b9f;
    transition: all 0.3s ease;
}

.faculty-card:hover .faculty-img-wrapper {
    border-color: #eb222e;
    transform: scale(1.05);
}

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

.faculty-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #136b9f;
    margin-top: 0;
    margin-bottom: 5px;
}

.faculty-card .subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #eb222e;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faculty-card .details {
    font-size: 13px;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Highlights and Academic Activities Split layout */
.highlight-panel {
    background: #fff;
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    border-left: 4px solid #136b9f;
}

.highlight-panel-secondary {
    border-left-color: #eb222e;
}

.highlight-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.highlight-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.highlight-list li::before {
    content: '\f0da';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 0;
    color: #136b9f;
    font-size: 15px;
}

.highlight-panel-secondary .highlight-list li::before {
    color: #eb222e;
}

/* Responsive Photo Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.gallery-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.gallery-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.gallery-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 107, 159, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 28px;
    background: rgba(235, 34, 46, 0.9);
    width: 55px;
    height: 55px;
    line-height: 55px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-card-title {
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    background: #fff;
    border-top: 1px solid #edf2f7;
}

/* Contact Area */
.dnb-contact-box {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.dnb-contact-info-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.dnb-contact-info-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.dnb-contact-info-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    background: rgba(19, 107, 159, 0.1);
    color: #136b9f;
    border-radius: 50%;
    text-align: center;
    font-size: 14px;
}

.dnb-contact-info-list li strong {
    display: block;
    color: #2d3748;
    margin-bottom: 2px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dnb-map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-top: 25px;
}

/* Captcha styling alignment */
.dnb-captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dnb-captcha-wrapper img {
    height: 40px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.dnb-captcha-wrapper input {
    flex-grow: 1;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(235, 34, 46, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(235, 34, 46, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(235, 34, 46, 0);
    }
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .dnb-banner {
        padding: 60px 0 50px;
        text-align: center;
    }
    .dnb-banner h1 {
        font-size: 30px;
    }
    .dnb-banner .btn-dnb-group {
        justify-content: center;
    }
    .dnb-section {
        padding: 40px 0;
    }
    .why-grid, .faculty-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    .dnb-contact-box {
        padding: 25px;
    }
}
