﻿/* About Us Hero Section with Animation */
.about-hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f8fbff 0%, #e6f2ff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0a7cc4, #4fc3f7, #80deea);
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-main-title {
    color: #1a1a1a;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1a1a1a, #0a7cc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease;
}

.about-main-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-hero-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0a7cc4, #4fc3f7);
    margin: 20px auto;
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.8s ease 0.1s;
}

.about-hero-divider.visible {
    opacity: 1;
    transform: scaleX(1);
}

.about-hero-subtitle {
    color: #0a7cc4;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.about-hero-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-tagline {
    color: #666;
    font-size: 18px;
    font-style: italic;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.hero-tagline.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Intro Section with Image */
.about-intro-section {
    padding: 80px 0;
    background: white;
    position: relative;
}

.about-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, #f0f7ff, transparent);
}

.intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(10, 124, 196, 0.2);
}

.image-wrapper img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(10, 124, 196, 0.1), rgba(79, 195, 247, 0.05));
    pointer-events: none;
}

.intro-content {
    padding-left: 20px;
}

.intro-text p {
    color: #555;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: justify;
}

/* Rectangle Box Features */
.intro-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e3f2fd;
    box-shadow: 0 10px 30px rgba(10, 124, 196, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #0a7cc4, #4fc3f7);
}

.feature-box:hover {
    transform: translateX(10px);
    border-color: #0a7cc4;
    box-shadow: 0 15px 40px rgba(10, 124, 196, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0a7cc4, #4fc3f7);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(10, 124, 196, 0.3);
}

.feature-text {
    color: #444;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
}

/* Professional Dental Team Section */
.dental-team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    position: relative;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.dental-team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, white, transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    color: #1a1a1a;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #0a7cc4, #4fc3f7);
    border-radius: 2px;
}

.section-subtitle {
    color: #666;
    font-size: 18px;
    margin-top: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dental-team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.dentist-profile-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
}

.dentist-profile-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.dentist-profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(10, 124, 196, 0.15);
    border-color: #0a7cc4;
}

.dentist-header {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding: 40px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    border-bottom: 1px solid #eee;
}

.dentist-image-container {
    position: relative;
}

.dentist-image-frame {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.dentist-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dentist-profile-card:hover .dentist-image-frame img {
    transform: scale(1.1);
}

.dentist-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0a7cc4, #4fc3f7);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 20px rgba(10, 124, 196, 0.3);
    border: 2px solid white;
    white-space: nowrap;
}

.dentist-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dentist-name {
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.dentist-qualification {
    color: #0a7cc4;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.dentist-specialization {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 25px;
    background: #f0f7ff;
    border-radius: 25px;
    display: inline-block;
    border: 1px solid #e3f2fd;
    max-width: 100%;
}

.dentist-expertise {
    padding: 30px 40px;
    background: white;
    border-bottom: 1px solid #eee;
}

.expertise-title {
    color: #444;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expertise-title i {
    color: #0a7cc4;
    font-size: 20px;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.expertise-tag {
    padding: 10px 25px;
    background: linear-gradient(135deg, #f0f7ff, #ffffff);
    color: #0a7cc4;
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    border: 1px solid #e3f2fd;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 124, 196, 0.1);
}

.expertise-tag:hover {
    background: linear-gradient(135deg, #0a7cc4, #4fc3f7);
    color: white;
    transform: translateY(-3px);
    border-color: #0a7cc4;
    box-shadow: 0 8px 25px rgba(10, 124, 196, 0.2);
}

.dentist-description {
    padding: 30px 40px;
}

.dentist-description p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.dentist-cta {
    padding: 25px 40px;
    background: linear-gradient(135deg, #f8fbff, #ffffff);
    border-top: 1px solid #eee;
}

.dentist-quote {
    color: #1a1a1a;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    margin: 0;
    font-style: italic;
    position: relative;
    padding: 0 30px;
}

.dentist-quote i:first-child {
    position: absolute;
    left: 0;
    top: 0;
    color: #0a7cc4;
    font-size: 20px;
}

.dentist-quote i:last-child {
    position: absolute;
    right: 0;
    bottom: 0;
    color: #0a7cc4;
    font-size: 20px;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: white;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid #f0f7ff;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.8);
}

.stat-card.visible {
    opacity: 1;
    transform: scale(1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0a7cc4, #4fc3f7);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(10, 124, 196, 0.15);
    border-color: #e3f2fd;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f0f7ff, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #0a7cc4;
    font-size: 30px;
    transition: all 0.4s ease;
    border: 2px solid #e3f2fd;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, #0a7cc4, #4fc3f7);
    color: white;
    border-color: #0a7cc4;
}

.stat-content {
    position: relative;
}

.stat-number {
    color: #1a1a1a;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1a1a1a, #0a7cc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a7cc4 0%, #4fc3f7 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: floatBackground 20s linear infinite;
    z-index: 0;
}

@keyframes floatBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.cta-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: white;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.cta-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.1s;
}

.cta-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.cta-button {
    padding: 18px 35px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(30px);
}

.cta-button.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-button.phone {
    background: white;
    color: #0a7cc4;
    border: 2px solid white;
}

.cta-button.phone:hover {
    background: transparent;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

.cta-button.whatsapp {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
}

.cta-button.whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.cta-button.appointment {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.appointment:hover {
    background: white;
    color: #0a7cc4;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}


/* Three Features in One Line with Square Boxes */
.features-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature-square {
    flex: 1;
    min-width: 200px;
    padding: 25px 20px;
    background: white;
    border-radius: 15px;
    border: 2px solid #e3f2fd;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(10, 124, 196, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-square::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0a7cc4, #4fc3f7);
}

.feature-square:hover {
    transform: translateY(-10px);
    border-color: #0a7cc4;
    box-shadow: 0 20px 50px rgba(10, 124, 196, 0.2);
}

.square-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.square-icon i {
    font-size: 36px;
    background: linear-gradient(135deg, #0a7cc4, #4fc3f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.feature-square:hover .square-icon i {
    transform: scale(1.2);
    opacity: 1;
}

.feature-text {
    color: #444;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

/* Responsive for Features Line */
@media (max-width: 991px) {
    .features-line {
        justify-content: center;
        gap: 15px;
    }
    
    .feature-square {
        min-width: 180px;
        padding: 20px 15px;
    }
    
    .square-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .square-icon i {
        font-size: 30px;
    }
    
    .feature-text {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .features-line {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .feature-square {
        width: 100%;
        max-width: 300px;
        flex-direction: row;
        text-align: left;
        padding: 20px;
        gap: 20px;
    }
    
    .square-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .feature-text {
        flex: 1;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .feature-square {
        max-width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .dental-team-container {
        grid-template-columns: 1fr;
        max-width: 800px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .intro-container {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .about-hero-section {
        padding: 80px 0 40px;
        min-height: 50vh;
    }
    
    .about-main-title {
        font-size: 40px;
    }
    
    .about-hero-subtitle {
        font-size: 24px;
    }
    
    .hero-tagline {
        font-size: 16px;
    }
    
    .intro-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-content {
        padding-left: 0;
        text-align: center;
    }
    
    .image-wrapper {
        transform: perspective(1000px) rotateY(0deg);
    }
    
    .feature-box {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .dentist-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .dentist-image-frame {
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 60px 0 30px;
        min-height: 40vh;
    }
    
    .about-main-title {
        font-size: 32px;
    }
    
    .about-hero-subtitle {
        font-size: 20px;
    }
    
    .dentist-header {
        padding: 30px 20px;
    }
    
    .dentist-image-frame {
        width: 200px;
        height: 200px;
    }
    
    .dentist-name {
        font-size: 28px;
    }
    
    .dentist-qualification {
        font-size: 18px;
    }
    
    .dentist-expertise,
    .dentist-description,
    .dentist-cta {
        padding: 25px 20px;
    }
    
    .expertise-tags {
        justify-content: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 38px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-subtitle {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .dental-team-container {
        grid-template-columns: 1fr;
    }
    
    .dentist-profile-card {
        margin: 0 15px;
    }
    
    .dentist-image-frame {
        width: 180px;
        height: 180px;
    }
    
    .about-main-title {
        font-size: 28px;
    }
    
    .about-hero-subtitle {
        font-size: 18px;
    }
    
    .feature-box {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-subtitle {
        font-size: 17px;
    }
}

/* Animation Classes */
.animate-on-scroll {
    transition: all 0.8s ease;
}

/* AOS Animation Base Styles */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1);
}