﻿/* Custom Theme Colors */
:root {
    --ocms-dark-primary: #003135; /* Dark Teal/Green */
    --ocms-accent: #0FA4AF; /* Medium Teal/Cyan */
    --ocms-light-bg: #AFDDE5; /* Light Teal/Cyan */
    --ocms-white: #FFFFFF; /* White */
    --ocms-text-dark: #343a40; /* Dark grey for general text */
    --ocms-text-light: #f8f9fa; /* Light grey for text on dark backgrounds */
}

/* General Body Styling */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--ocms-text-dark);
}

/* Custom Background Colors */
.bg-ocms-dark-primary {
    background-color: var(--ocms-dark-primary) !important;
}

.bg-ocms-accent {
    background-color: var(--ocms-accent) !important;
}

.bg-ocms-light-bg {
    background-color: var(--ocms-light-bg) !important;
}

.bg-ocms-white {
    background-color: var(--ocms-white) !important;
}

/* Custom Text Colors */
.text-ocms-dark-primary {
    color: var(--ocms-dark-primary) !important;
}

.text-ocms-accent {
    color: var(--ocms-accent) !important;
}

.text-ocms-light-bg {
    color: var(--ocms-light-bg) !important;
}

.text-ocms-white {
    color: var(--ocms-white) !important;
}

/* Custom Button Styles */
.btn-ocms-primary {
    background-color: var(--ocms-accent);
    border-color: var(--ocms-accent);
    color: var(--ocms-white);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .btn-ocms-primary:hover {
        background-color: #0c8a94; /* Slightly darker accent on hover */
        border-color: #0c8a94;
        color: var(--ocms-white);
    }

.btn-outline-ocms-primary {
    color: var(--ocms-accent);
    border-color: var(--ocms-accent);
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

    .btn-outline-ocms-primary:hover {
        background-color: var(--ocms-accent);
        color: var(--ocms-white);
        border-color: var(--ocms-accent);
    }

.btn-light-ocms { /* For buttons on dark backgrounds */
    background-color: var(--ocms-white);
    border-color: var(--ocms-white);
    color: var(--ocms-dark-primary);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

    .btn-light-ocms:hover {
        background-color: var(--ocms-light-bg);
        border-color: var(--ocms-light-bg);
        color: var(--ocms-dark-primary);
    }


/* General Section Styling */
section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

    section:nth-of-type(even) { /* Alternate background for sections */
        background-color: var(--ocms-light-bg);
    }

/* Section Title Styling */
.section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    text-align: center;
    color: var(--ocms-dark-primary); /* Use dark primary for titles */
}

    .section-title::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 100px;
        height: 5px;
        background-color: var(--ocms-accent); /* Accent color for underline */
        border-radius: 3px;
    }

/* Carousel/Slider Styling */
.carousel-item img {
    max-height: 550px;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    bottom: 20%;
    text-align: left;
    left: 10%;
    right: 10%;
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.4); /* Slightly darker overlay for text */
    padding: 20px;
    border-radius: 8px;
}

    .carousel-caption h2 {
        font-family: 'Roboto', sans-serif;
        font-size: 3.5rem;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .carousel-caption p {
        font-family: 'Open Sans', sans-serif;
        font-size: 1.3rem;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }

/* Card Styling */
.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
    }

.card-body {
    padding: 30px;
}

/* Icon Styling for "Why Choose Us" */
.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--ocms-accent); /* Accent color for icons */
}

/* Testimonial Card Styling */
.testimonial-card {
    background-color: var(--ocms-white); /* White background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

    .testimonial-card img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 15px;
        border: 3px solid var(--ocms-accent); /* Accent border */
    }

    .testimonial-card .quote {
        font-style: italic;
        color: var(--ocms-text-dark); /* Dark text for quote */
        margin-bottom: 15px;
    }

    .testimonial-card .author {
        font-weight: bold;
        color: var(--ocms-dark-primary); /* Dark primary for author */
    }

    .testimonial-card .role {
        font-size: 0.9rem;
        color: var(--ocms-text-dark);
    }

/* Gallery Styling */
.gall-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

    .gall-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

        .gall-item img:hover {
            transform: scale(1.05);
        }

/* Footer Styling */
footer {
    background-color: var(--ocms-dark-primary); /* Dark primary for footer */
    color: var(--ocms-text-light);
    padding: 60px 0;
    font-family: 'Open Sans', sans-serif;
}

    footer h5 {
        color: var(--ocms-white);
        margin-bottom: 25px;
        font-weight: 700;
    }

    footer ul {
        padding-left: 0;
        list-style: none;
    }

        footer ul li a {
            color: var(--ocms-text-light);
            text-decoration: none;
            transition: color 0.3s ease;
            padding: 5px 0;
            display: block;
        }

            footer ul li a:hover {
                color: var(--ocms-accent); /* Accent color on hover */
            }

    footer .social-icons a {
        color: var(--ocms-white);
        font-size: 1.8rem;
        margin-right: 15px;
        transition: color 0.3s ease;
    }

        footer .social-icons a:hover {
            color: var(--ocms-accent); /* Accent color on hover */
        }

.footer-bottom {
    background-color: #002022; /* Even darker shade for footer bottom */
    padding: 20px 0;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}
.hero-section {
            
        }
.contact-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

    .contact-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}
.department-list {
    list-style-type: none;
    padding-left: 0;
}

    .department-list li {
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }

        .department-list li:last-child {
            border-bottom: none;
        }

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .social-icon:hover {
        background-color: var(--primary-dark);
        transform: scale(1.1);
    }

.testimonial-card {
    border-left: 3px solid var(--primary);
    padding-left: 20px;
    margin-bottom: 30px;
}

.testimonial-author {
    font-weight: bold;
    margin-top: 15px;
}

.testimonial-role {
    color: var(--primary);
    font-size: 0.9rem;
}

.faq-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(175, 221, 229, 0.3);
    color: var(--primary-dark);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-light);
}

.staff-card {
    border: 1px solid #eee;
    border-radius: 10px;
    transition: all 0.3s;
    overflow: hidden;
}

    .staff-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.staff-img {
    height: 180px;
    object-fit: cover;
}

.staff-position {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Gallery Specific Styles */
.gallery-hero {
    background: linear-gradient(rgba(0, 49, 53, 0.8), rgba(0, 49, 53, 0.8)), url('https://source.unsplash.com/random/1920x1080/?college') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 80px;
}

.gallery-hero-content {
    z-index: 2;
}

.gallery-section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    text-align: center;
    color: var(--ocms-dark-primary);
}

    .section-title::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 100px;
        height: 5px;
        background-color: var(--ocms-accent);
        border-radius: 3px;
    }

.category-filter {
    margin-bottom: 50px;
    text-align: center;
}

.filter-btn {
    margin: 5px;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.gallery-container {
    position: relative;
}

.gallery-item {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: var(--ocms-white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .gallery-item:hover {
        transform: translateY(-15px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

.gallery-img-container {
    overflow: hidden;
    height: 280px;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 49, 53, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .img-overlay {
    opacity: 1;
}

.img-caption {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

    .img-caption h5 {
        font-family: 'Roboto', sans-serif;
        color: var(--ocms-dark-primary);
        margin-bottom: 10px;
        font-weight: 700;
    }

    .img-caption p {
        color: var(--ocms-text-dark);
        margin-bottom: 15px;
        flex-grow: 1;
    }

.img-date {
    font-size: 0.8rem;
    color: var(--ocms-accent);
    font-weight: 600;
}

.view-more-btn {
    align-self: flex-start;
    margin-top: auto;
}

.gallery-cta {
    background-color: var(--ocms-dark-primary);
    padding: 80px 0;
    margin-top: 80px;
}

.video-gallery {
    background-color: var(--ocms-light-bg);
    padding: 100px 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }



/* Modal Styles */
.gallery-modal .modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.gallery-modal .modal-header {
    border-bottom: none;
    background-color: var(--ocms-dark-primary);
    color: white;
}

.gallery-modal .modal-body {
    padding: 0;
}

.gallery-modal .modal-footer {
    border-top: none;
    background-color: #f8f9fa;
}

/* Faculty Page Specific Styles */
.faculty-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.faculty-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .faculty-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.faculty-img-container {
    position: relative;
    overflow: hidden;
}

.faculty-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    transition: bottom 0.3s ease;
}

.faculty-card:hover .faculty-social {
    bottom: 0;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.faculty-list-card {
    transition: transform 0.3s ease;
}

    .faculty-list-card:hover {
        transform: translateY(-5px);
    }

.testimonial-card {
    transition: transform 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
    }

/* Pagination Styles */
.page-item.active .page-link {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.page-link {
    color: #2c3e50;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .faculty-hero .display-4 {
        font-size: 2.5rem;
    }
}

