:root {
    --orange:#fb8101;--red:#e10a09;--white:#ffffff;--muted:#6b6b6b;--shadow:0 18px 40px rgba(225,10,9,0.08);--card-radius:14px;--container:1140px;--gap:28px;--serif:'Playfair Display', Georgia, serif;--sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
    /* ==========================
       THEME COLORS & VARIABLES
       ========================== */
    --color-red-primary: #E02124;         /* (Red Primary/Dark) */
    --color-orange-secondary: #F48C06;    /* (Orange Secondary) */
    --color-white: #FFFFFF;
    --color-dark-text: #0D0D0D;           /* (Dark Text) */
    --color-grey-body: #718096;           /* For body copy/subtle text */

    /* GLOBAL SPACING */
    --max-content-width: 1200px;
    --max-navbar-width: 1350px;
    --navbar-height: 85px;
}

/* --------------------------------------------------
   GLOBAL RESET
-------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-dark-text);
    background: var(--color-white);
}

.container {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------------------------
   GLOBAL BUTTON UTILITIES (FIXED: Consolidated definitions)
-------------------------------------------------- */

/* Primary button — Red/Orange gradient */
.btn-primary {
    background: linear-gradient(135deg, var(--color-red-primary), var(--color-orange-secondary));
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* Secondary button — outline Orange */
.btn-secondary {
    background: transparent;
    color: var(--color-orange-secondary);
    border: 2px solid var(--color-orange-secondary);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    background: var(--color-orange-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}





/* --------------------------------------------------
   HERO SECTION
-------------------------------------------------- */
.hero {
    background:
        linear-gradient(135deg, rgba(224, 33, 36, 0.7), rgba(244, 140, 6, 0.7)),
        url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?w=1400&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    color: #f8f6f8;
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
}

.breadcrumb a {
    color: #f1ebeb;
    text-decoration: none;
}

/* Responsive hero */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 13px;
    }
}

/* --------------------------------------------------
   ABOUT SECTION
-------------------------------------------------- */
.about {
    padding: 80px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* About title + text */
.about h2 {
    font-size: 36px;
    font-weight: 700;
    color: black;
    margin-bottom: 20px;
}

.about p {
    font-size: 16px;
    color: black;
    margin-bottom: 30px;
}

/* Badge — Red/Orange */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 140, 6, 0.15);
    color: var(--color-orange-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* --------------------------------------------------
   FEATURES LIST
-------------------------------------------------- */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ICON COLORS → Orange */
.feature i {
    color: var(--color-orange-secondary);
    font-size: 20px;
}

.feature span {
    font-weight: 600;
    color: black;
}

/* --------------------------------------------------
   ABOUT SECTION BUTTONS (REMOVED DUPLICATE DEFINITIONS - USES GLOBAL UTILITIES)
-------------------------------------------------- */
.buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Responsive About Section */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .about h2 {
        font-size: 26px;
        text-align: center;
    }

    .about p {
        text-align: center;
    }
}

@media (max-width: 480px) {

    .btn-primary,
    .btn-secondary {
        padding: 10px 18px;
        font-size: 14px;
    }

    .badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .about-text .badge{
        margin-left: 147px;
    }
}

/* --------------------------------------------------
   ABOUT IMAGE + STATS CARD
-------------------------------------------------- */
.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

/* Floating stats card */
.stats-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Red/Orange icon circle */
.card-icon {
    width: 50px;
    height: 50px;
    background: var(--color-red-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.card-icon i {
    color: var(--color-white);
    font-size: 20px;
}

.stats-card h4 {
    font-size: 24px;
    font-weight: 700;
    color: #fb8101;
    margin-bottom: 5px;
}

.stats-card p {
    color: #fb8101;
    font-size: 14px;
}

/* Responsive adjustments for about image */
@media (max-width: 992px) {
    .about-image img {
        height: 350px;
    }

    .stats-card {
        bottom: -10px;
        right: -10px;
        padding: 20px;
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .about-image img {
        height: 300px;
    }

    .stats-card {
        padding: 18px;
        bottom: 0;
        right: 0;
        transform: translate(10px, 10px);
    }
}

@media (max-width: 480px) {
    .about-image img {
        height: 250px;
        border-radius: 12px;
    }

    .stats-card {
        padding: 16px;
        right: 0;
        left: 0;
        margin: 0 auto;
        bottom: -15px;
        transform: none;
        width: 90%;
    }
}

/* --------------------------------------------------
   IMAGE GALLERY INSIDE ABOUT SECTION
-------------------------------------------------- */
.about-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.about-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s;
}

.about-gallery img:hover {
    transform: scale(1.05);
}

/* --------------------------------------------------
   STATS SECTION
-------------------------------------------------- */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--color-red-primary), var(--color-orange-secondary));
    color: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat {
    text-align: center;
}

/* Icons */
.stat i {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat p {
    font-size: 16px;
    opacity: 0.9;
}

/* Responsive stats */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat( 1fr);
        gap: 30px;
    }



}

@media (max-width: 600px) {
    .stats-grid {
        gap: 25px;
    }

    .stat i {
        font-size: 32px;
    }

    .stat h3 {
        font-size: 28px;
    }

    .stat p {
        font-size: 14px;
    }



}

/* --------------------------------------------------
   VALUES SECTION
-------------------------------------------------- */
.values {
    padding: 80px 0;
    background: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: black;
    margin-bottom: 15px;
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

/* Cards */
.value-card {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

/* ICONS (Orange) */
.value-card i {
    font-size: 40px;
    color: var(--color-orange-secondary);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: black;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--color-grey-body);
    line-height: 1.6;
}

/* Responsive values */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 28px;
    }

    .value-card i {
        font-size: 32px;
    }

    .value-card h3 {
        font-size: 18px;
    }

    .value-card p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .value-card {
        padding: 25px;
    }
}

/* --------------------------------------------------
   CTA (CALL TO ACTION) SECTION (FIXED: Uses global button definitions)
-------------------------------------------------- */
.cta {
    padding: 60px 0;
    text-align: center;
}

.cta h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark-text);
    margin-bottom: 15px;
}

.cta p {
    font-size: 16px;
    color: var(--color-grey-body);
    margin-bottom: 30px;
}

/* CTA Buttons Wrapper */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive CTA */
@media (max-width: 768px) {
    .cta h3 {
        font-size: 26px;
    }

    .cta p {
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .cta {
        padding: 40px 20px;
    }

    .cta h3 {
        font-size: 22px;
    }

    .cta p {
        font-size: 14px;
    }
}

/* --------------------------------------------------
   OUR JOURNEY (TIMELINE)
-------------------------------------------------- */
.our-journey {
    padding: 60px 20px;
    background: #f9f9f9;
}

.our-journey .section-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Timeline Badge — Primary Red */
.our-journey .badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-red-primary);
    color: var(--color-white);
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Timeline vertical line — Primary Red */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--color-red-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

/* Timeline item container */
.timeline-item {
    padding: 20px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.timeline-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

/* Timeline Dots — NOW FULL Primary Red (FILLED CIRCLE) */
.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: var(--color-red-primary);
    border: 3px solid var(--color-red-primary);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

/* Timeline card */
.timeline-content {
    background: var(--color-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    margin: 0 0 10px;
    color: var(--color-red-primary);
}

.timeline-content p {
    margin: 0;
    color: black;
}

/* Responsive timeline */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 20px;
    }

    .timeline-item::before {
        left: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .timeline-item {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------
   DENTAL TIPS SECTION
-------------------------------------------------- */
.dental-tips {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

/* Tips Badge — Primary Red */
.dental-tips .badge {
    background: var(--color-red-primary);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 10px;
}

.dental-tips h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: black;
}

.dental-tips p {
    color: black;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Tips grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.tip-card {
    background: var(--color-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

/* Icon — Orange Secondary */
.tip-card i {
    font-size: 30px;
    color: var(--color-orange-secondary);
    margin-bottom: 15px;
}

.tip-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: black;
}

.tip-card p {
    font-size: 14px;
    color: var(--color-grey-body);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------
   FADE-IN ANIMATION
-------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}




/* ========== BACK TO TOP & FLOATING ACTION BUTTONS ========== */
.back-to-top-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1100;
}

#backToTopBtn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1E88E5;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#backToTopBtn:hover {
    filter: brightness(0.95);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    transform: translateY(-4px);
}

#backToTopBtn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-social-container {
    position: fixed;
    bottom: 110px;
    right: 30px;
    left: auto;
    z-index: 1201;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.floating-social-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

/* Individual Social Buttons */
.floating-social-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 1;
    transform: scale(1);
}

/* Individual Button Colors */
.btn-call {
    background: #1E88E5;
}

.btn-whatsapp {
    background: #25D366;
}

.floating-social-btn[aria-label="instagram"],
.floating-social-btn[data-tooltip="instagram"] {
    background: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
    color: #ffffff;
}

.btn-facebook {
    background: #1877F2;
}

.btn-youtube {
    background: #FF0000;
}

/* Hover Effects */
.floating-social-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

.floating-social-btn i {
    transition: transform 0.3s ease;
}

.floating-social-btn:hover i {
    transform: rotate(360deg);
}

/* Tooltip on Hover */
.floating-social-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 75px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: Arial, sans-serif;
}

.floating-social-btn::after {
    content: '';
    position: absolute;
    right: 65px;
    border: 6px solid transparent;
    border-left-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-social-btn:hover::before,
.floating-social-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .floating-social-container {
        bottom: 90px;
        right: 20px;
        gap: 12px;
    }

    .floating-social-btn {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .floating-social-container {
        bottom: 80px;
        right: 15px;
        gap: 10px;
    }

    .floating-social-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    /* Hide tooltip on small screens */
    .floating-social-btn::before,
    .floating-social-btn::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .back-to-top-wrap {
        right: 14px;
        bottom: 14px;
    }

    #backToTopBtn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}



.floating-social-btn .fa-brands{
    color: white;
}