:root {
    --orange: #f57c00;
    --blue: #005cb9;
    --white: #ffffff;
    --dark: #333333;
    --light-gray: #f8f9fa;
    --navbar-height: 100px;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

/* Page Header */
.page-header {
    background: var(--orange);
    color: var(--white);
    margin-top: 20px;
    padding: 15px 0 !important;
    text-align: center;
    position: relative;
    z-index: 999;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white) !important;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 16px;
}

.breadcrumb {
    background: transparent;
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    margin: 0 auto;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 576px) {
    .breadcrumb {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 12px 0;
        margin-top: 0 !important;
    }

    .page-header h1 {
        font-size: 20px;
        margin-bottom: 6px;
    }
}

@media (max-width: 991.98px) {
    .page-header {
        margin-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .page-header {
        margin-top: 0 !important;
    }
}

/* Main Content */
.main-content {
    padding: 30px 0 60px 0;
    margin: 0;
}

/* Section heading styled like SNSS */
.section-heading-full,
h2.section-heading-full {
    background-color: #005cb9 !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    font-size: 22px !important;
    text-align: left !important;
    margin-bottom: 20px !important;
    position: relative !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 92, 185, 0.3) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.3 !important;
}

.section-heading-full::after {
    content: '';
    display: block;
    width: 65px;
    height: 3px;
    background-color: #f57c00;
    margin-top: 6px;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .section-heading-full,
    h2.section-heading-full {
        font-size: 18px !important;
        padding: 10px 16px !important;
        text-align: left !important;
        margin-bottom: 16px !important;
    }

    .section-heading-full::after {
        width: 40px !important;
        height: 2px !important;
        margin-top: 4px !important;
        margin-left: 0 !important;
    }
}

/* Section Cards like SNSS */
.section-content {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
    border-top: 4px solid var(--orange);
}

.section-body {
    padding: 30px;
}

.section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* About image styling similar to SNSS */
.about-image {
    float: left;
    margin: 0 25px 20px 0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--orange);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px;
    width: 100%;
    height: auto;
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 768px) {
    .about-image {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
        max-width: 280px;
    }
}

/* Facility Cards styled like SNSS uniqueness cards */
.facilities-grid {
    margin-top: 30px;
}

.facility-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--orange);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-top-color: var(--blue);
}

.facility-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(245, 124, 0, 0.05) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.facility-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(20%, 20%);
}

.feature-icon {
    background: linear-gradient(135deg, var(--orange) 0%, #e65100 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.feature-icon i {
    font-size: 2.2rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.facility-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 30px rgba(245, 124, 0, 0.4);
}

.facility-card:hover .feature-icon i {
    transform: scale(1.1);
}

.facility-title {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.facility-description {
    color: var(--dark);
    line-height: 1.6;
    text-align: justify;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Equipment Cards styled like SNSS research areas */
.equipment-showcase {
    margin-top: 30px;
}

.equipment-item {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border-left: 5px solid var(--orange);
    transition: all 0.3s ease;
    position: relative;
}

.equipment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.equipment-item h6 {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    font-size: 1.2rem;
}

.equipment-item p {
    color: var(--dark);
    line-height: 1.6;
    text-align: justify;
    margin: 0;
}

/* Info Cards like SNSS vision mission cards */
.info-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border-left: 5px solid var(--orange);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-card h5 {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Services List */
.services-list {
    list-style: none;
    padding-left: 0;
}

.services-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding-left: 25px;
    color: var(--dark);
    font-weight: 500;
}

.services-list li:before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

.services-list li:last-child {
    border-bottom: none;
}

/* Highlight box styled like SNSS highlights banner */
.highlight-box {
    background: linear-gradient(135deg, var(--blue) 0%, #004494 100%);
    color: white;
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.highlight-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(-50px, 50px);
}

.highlight-box h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}

/* Downloads List styled like SNSS publications */
.downloads-list {
    list-style: none;
    padding: 0;
}

.downloads-list li {
    margin-bottom: 1rem;
}

.download-link {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 5px solid var(--orange);
    position: relative;
    display: block;
    text-decoration: none;
    color: var(--dark);
}

.download-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: var(--dark);
    text-decoration: none;
}

.download-content {
    padding: 20px;
    display: flex;
    align-items: center;
}

.download-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange) 0%, #e65100 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.download-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.download-info h6 {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.download-info small {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Info styled like SNSS dean message */
.contact-info {
    background: var(--white);
    color: var(--dark);
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--orange);
}

.contact-info h4 {
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 10px 0;
}

.contact-item i {
    margin-right: 15px;
    font-size: 1.2rem;
    width: 25px;
    margin-top: 2px;
    color: var(--orange);
}

.contact-item a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Button styling */
.btn-primary {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #e65100;
    border-color: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.4);
}

.btn-outline-primary {
    border-color: var(--orange);
    color: var(--orange);
    font-weight: 500;
}

.btn-outline-primary:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .main-content {
        padding: 20px 0 40px 0;
    }

    .section-body {
        padding: 20px;
    }

    .facility-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-icon i {
        font-size: 2rem;
    }

    .facility-title {
        font-size: 1.1rem;
    }

    .highlight-box {
        padding: 25px 20px;
        text-align: center;
    }

    .equipment-item {
        padding: 20px;
    }

    .contact-info {
        padding: 25px 20px;
    }

    .download-content {
        padding: 15px;
    }

    .download-icon {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }

    .download-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .facilities-grid {
        margin-top: 20px;
    }

    .equipment-showcase {
        margin-top: 20px;
    }
}

/* Additional responsive fixes */
@media (max-width: 991.98px) {
    .main-content {
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-top: 15px;
    }
}