/* Custom CSS for Jardosh Dental, Paldi, Ahmedabad */

/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    padding-top: 76px;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-main {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.logo-nabh {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffd700;
    line-height: 1.6;
}

.hero-accreditations {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-accreditations li {
    padding: 0.5rem 0;
    display: flex;
    align-items: start;
    gap: 0.5rem;
    line-height: 1.5;
}

.hero-accreditations i {
    color: #4ade80;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.hero-commitment {
    font-size: 1.05rem;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-image {
    text-align: center;
    padding: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    animation: fadeIn 1s ease-in;
}

.doctor-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.doctor-info h3 {
    color: var(--dark-text);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.doctor-info .credentials {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.doctor-info .specialty {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.doctor-info .experience {
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.doctor-info .experience i {
    font-size: 1.2rem;
}

.hero-info-block {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.hero-info-block h5 {
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.hero-info-block h5 i {
    font-size: 1.3rem;
    color: #ffd700;
}

.hero-info-block p {
    margin-bottom: 0;
    line-height: 1.8;
    font-size: 0.95rem;
}

.hero-contact-link {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.hero-contact-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

.whatsapp-btn {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background-color: #1fb855;
    border-color: #1fb855;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* About Doctor Section */
.about-doctor-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.about-doctor-header .section-title {
    color: var(--dark-text);
    font-size: 2.5rem;
}

.about-doctor-header .lead {
    font-size: 1.25rem;
    line-height: 1.6;
}

.about-doctor-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    text-align: center;
}

.expertise-card {
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 15px;
    height: 100%;
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.expertise-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.expertise-card h4 {
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.expertise-card p {
    line-height: 1.7;
    color: var(--secondary-color);
}

.philosophy-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 2.5rem;
    text-align: center;
}

.philosophy-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: #ffd700;
}

.philosophy-card h4 {
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.philosophy-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.closing-message {
    padding: 2rem 0;
}

.closing-message .lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.closing-message .cta-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* Vision & Goals Section */
.vision-goals-section {
    padding: 80px 0;
    background: white;
}

.vision-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem;
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.vision-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.vision-icon i {
    font-size: 3.5rem;
    color: #ffd700;
}

.vision-title {
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 0;
}

.vision-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.goals-header {
    margin-top: 2rem;
}

.goals-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-text);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.goals-title i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.goal-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    border: 2px solid var(--light-bg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.goal-number {
    position: absolute;
    top: -10px;
    right: 15px;
    font-size: 4rem;
    font-weight: bold;
    color: rgba(102, 126, 234, 0.1);
    line-height: 1;
}

.goal-card h4 {
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark-text);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.goal-card h4 i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.goal-card p {
    line-height: 1.7;
    color: var(--secondary-color);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: white;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border-radius: 10px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #0a58ca);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-text);
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: white;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stars i {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-author {
    margin-top: 1rem;
    font-style: italic;
}

/* Footer */
.footer {
    background-color: #212529;
    color: white;
    padding: 60px 0 20px;
    margin-top: 0;
}

.footer h5 {
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.footer-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-main {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-logo-nabh {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 0.8rem;
    color: #adb5bd;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Page Header */
.page-header {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), #0a58ca);
    padding: 4rem;
    border-radius: 15px;
    text-align: center;
}

.about-image-placeholder i {
    color: white;
    font-size: 8rem;
}

.values-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    height: 100%;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Team Section */
.team-section {
    padding: 80px 0;
}

.team-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
    margin-bottom: 1.5rem;
}

.team-image i {
    font-size: 5rem;
    color: var(--primary-color);
}

.team-card h4 {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.why-choose-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    transition: var(--transition);
}

.why-choose-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.why-choose-item i {
    font-size: 2rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.why-choose-item h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.why-choose-item p {
    margin: 0;
    color: var(--secondary-color);
}

/* Services Detail Page */
.services-detailed {
    padding: 60px 0;
}

.service-detail-card {
    background: white;
    padding: 3rem;
    margin-bottom: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.service-icon-large i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-detail-card h2 {
    margin-bottom: 1rem;
    font-weight: bold;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light-bg);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list i {
    color: var(--success-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), #0a58ca);
    padding: 4rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image-placeholder i {
    color: white;
    font-size: 6rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
}

.contact-form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-card h2 {
    font-weight: bold;
    color: var(--dark-text);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.contact-info-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 15px;
    height: fit-content;
}

.contact-info-card h3 {
    font-weight: bold;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-info-item h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info-item p {
    margin: 0;
    color: var(--secondary-color);
}

.office-hours-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.office-hours-card h3 {
    font-weight: bold;
}

.hours-list {
    margin-bottom: 1.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-bg);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .day {
    font-weight: 600;
}

.hours-item .time {
    color: var(--secondary-color);
}

.emergency-note {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: start;
}

.emergency-note i {
    color: #856404;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.emergency-note p {
    margin: 0;
    color: #856404;
    font-weight: 500;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.map-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.map-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.map-content h3 {
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    background-color: white;
    color: var(--dark-text);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--light-bg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .hero-image i {
        font-size: 6rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }

    .navbar-brand-wrapper {
        gap: 0.5rem;
    }

    .logo-main {
        height: 54px;
    }

    .logo-nabh {
        height: 42px;
    }

    .hero-section {
        padding: 40px 0;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }

    .features-section,
    .services-preview,
    .testimonials-section,
    .about-doctor-section,
    .vision-goals-section,
    .about-content,
    .values-section,
    .team-section,
    .why-choose-section,
    .services-detailed,
    .contact-section,
    .map-section,
    .faq-section {
        padding: 40px 0;
    }

    .service-detail-card {
        padding: 1.5rem;
    }

    .map-placeholder {
        height: 300px;
    }

    .about-doctor-content {
        padding: 1.5rem;
    }

    .about-intro {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .closing-message .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }

    .vision-card {
        padding: 2rem;
    }

    .vision-icon {
        width: 80px;
        height: 80px;
    }

    .vision-icon i {
        font-size: 2.5rem;
    }

    .vision-title {
        font-size: 1.5rem;
    }

    .vision-text {
        font-size: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Button Hover Effects */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #0a58ca;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.service-card,
.testimonial-card,
.team-card {
    animation: fadeIn 0.6s ease-out;
}
