/* ==========================================================================
   Dental Division Specific Styles
   ========================================================================== */

/* Override CSS Variables for Dental */
:root {
    --primary-color: #0D7377;
    --secondary-color: #14505C;
    --accent-color: #40C9A2;
    --bg-color: #F7FAFA;
    --text-color: #1A2E35;
    --divider-color: rgba(13, 115, 119, 0.1);
}

/* Page Header - Dental Style */
.page-header {
    background: linear-gradient(135deg, var(--bg-color) 0%, #E8F4F4 100%);
    padding: 120px 0 60px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('../images/dental-pattern.svg') no-repeat right center;
    opacity: 0.05;
}

.page-header-box h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-header-box h1 span {
    color: var(--accent-color);
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--text-color);
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: var(--text-color);
}

/* Dental Hero */
.dental-header {
    padding: 100px 0 80px;
}

.dental-header .page-header-content {
    padding-right: 30px;
}

.dental-header .page-header-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(13, 115, 119, 0.2);
}

/* Service Cards - Dental Style */
.service-card {
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(13, 115, 119, 0.15);
}

.service-card .service-image {
    position: relative;
    overflow: hidden;
}

.service-card .service-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card .featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.service-card .service-content {
    padding: 25px;
}

.service-card .service-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.service-card .service-content h3 a {
    color: var(--primary-color);
}

.service-card .service-content h3 a:hover {
    color: var(--accent-color);
}

.service-card .service-content p {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 15px;
}

.service-card .read-more {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-card .read-more:hover {
    color: var(--primary-color);
}

.service-card .read-more i {
    transition: transform 0.3s ease;
}

.service-card .read-more:hover i {
    transform: translateX(5px);
}

/* Service Item - Alternative Style */
.service-item {
    background: var(--white-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    border: 1px solid var(--divider-color);
}

.service-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(13, 115, 119, 0.12);
}

.service-item .icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-item .icon-box img {
    width: 40px;
    filter: brightness(0) invert(1);
}

.service-item .service-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-item .service-body p {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.service-item .read-more-btn a {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
}

/* Team Cards - Dental */
.team-card {
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(13, 115, 119, 0.15);
}

.team-card .team-image {
    position: relative;
    overflow: hidden;
}

.team-card .team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-card .team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    transition: bottom 0.4s ease;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-card .team-social a {
    width: 40px;
    height: 40px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.team-card .team-social a:hover {
    background: var(--accent-color);
    color: var(--white-color);
}

.team-card .team-content {
    padding: 25px;
    text-align: center;
}

.team-card .team-content h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.team-card .team-content h3 a {
    color: var(--primary-color);
}

.team-card .team-content .credentials {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}

.team-card .team-content .designation {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.team-card .btn-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
}

.stat-item {
    padding: 30px;
}

.stat-item h2 {
    font-size: 48px;
    color: var(--white-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: var(--bg-color);
    padding: 60px 0;
    border-top: 1px solid var(--divider-color);
}

.cta-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cta-content p {
    color: var(--text-color);
    margin: 0;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 80px 0;
}

.features-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-item .icon-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 24px;
}

.feature-item .feature-content h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.feature-item .feature-content p {
    color: var(--text-color);
    font-size: 14px;
    margin: 0;
}

/* Instagram Section */
.instagram-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.instagram-feed-grid {
    background: var(--white-color);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.instagram-grid-placeholder {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.instagram-grid-placeholder .insta-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-color) 0%, #E8F4F4 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.instagram-grid-placeholder .insta-item:hover {
    transform: scale(1.05);
}

.instagram-grid-placeholder .insta-item .insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 115, 119, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.instagram-grid-placeholder .insta-item:hover .insta-overlay {
    background: rgba(13, 115, 119, 0.4);
}

.instagram-grid-placeholder .insta-item .insta-overlay i {
    font-size: 28px;
    color: var(--primary-color);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.instagram-grid-placeholder .insta-item:hover .insta-overlay i {
    opacity: 1;
    color: var(--white-color);
    transform: scale(1.2);
}

.instagram-cta .btn-default i {
    margin-right: 8px;
}

@media (max-width: 991px) {
    .instagram-grid-placeholder {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .instagram-grid-placeholder {
        grid-template-columns: repeat(2, 1fr);
    }
}
