/*
 * =======================================
 * | ABOUT US PAGE STYLES
 * | Based on provided color palette and fonts.
 * =======================================
 */

/* 1. GLOBAL VARIABLES & BASE STYLES */
:root {
    /* Color Palette */
    --bg-main: #ffffff;             /* White (Main Background) */
    --accent-primary: #7B2F18;      /* Primary Accent (Text, Buttons) */
    --accent-secondary: #FCE6C8;    /* Secondary Accent (CTA Fills, Hovers) */
    --text-base: #333333;           /* Standard dark text */
    --text-subtle: #6a6a6a;         /* Subtle text color */
    
    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Transitions & Effects */
    --transition-speed: 0.3s;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* Global Rule: Smooth scrolling */
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-base);
    background-color: var(--bg-main);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section.bg-secondary {
    background-color: var(--accent-secondary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 1.15rem;
    margin-bottom: 60px;
    color: var(--text-subtle);
}

.center-text { text-align: center; }
.text-primary { color: var(--accent-primary); }
.icon-large { font-size: 3rem; margin-bottom: 15px; display: block; }
.lead-text { font-size: 1.15rem; font-weight: 500; margin-bottom: 20px; }

/* Grid Layouts */
.grid-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.grid-two-col--reverse {
    grid-template-areas: "content image";
}
.grid-two-col--reverse .content-block {
    grid-area: content;
}
.grid-two-col--reverse .image-block {
    grid-area: image;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-speed) var(--ease-out);
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    margin-top: 15px;
}
.btn-primary {
    background-color: var(--accent-primary);
    color: var(--bg-main);
}
.btn-primary:hover {
    background-color: transparent;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}
.btn-secondary {
    background-color: var(--accent-secondary);
    color: var(--accent-primary);
    border-color: var(--accent-secondary);
}
.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: var(--bg-main);
    border-color: var(--accent-primary);
}
.image-block img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 2. OFFICE SLIDER (HERO) */
.office-slider-hero {
    position: relative;
    height: 500px; 
    overflow: hidden;
    background-color: var(--text-subtle);
}
.slider-wrapper { position: relative; width: 100%; height: 100%; }
.slider-item {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1s ease-in-out; margin: 0; 
}
.slider-item--active { opacity: 1; }
.slider-item img { width: 100%; height: 100%; object-fit: cover; }
.slider-controls {
    position: absolute; top: 50%; transform: translateY(-50%); width: 100%;
    display: flex; justify-content: space-between; padding: 0 20px; z-index: 10;
}
.slider-btn {
    background: #32373c45; /* Primary color w/ transparency */
    color: white; border: none; padding: 10px 18px; cursor: pointer;
    border-radius: 50%; font-size: 1.2rem; transition: background-color var(--transition-speed);
}
.slider-btn:hover { background: var(--accent-primary); }
.slider-pagination {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 10;
}
.slider-pagination .dot {
    display: block; width: 10px; height: 10px; background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%; cursor: pointer; transition: background-color var(--transition-speed), transform var(--transition-speed);
}
.slider-pagination .dot.active { background-color: var(--accent-primary); transform: scale(1.2); }

/* 3. IMPACT NUMBERS SECTION */
.impact-numbers-section { text-align: center; }
.numbers-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 50px;
}
.stat-item {
    padding: 20px;
    opacity: 0; transform: translateY(20px); /* Initial state for scroll animation */
    transition: opacity var(--transition-speed) ease-out, transform var(--transition-speed) ease-out;
}
.stat-value {
    font-family: var(--font-heading); font-size: 3.5rem; font-weight: 700; line-height: 1; margin-bottom: 5px;
}
.stat-label {
    font-size: 1rem; font-weight: 600; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 1px;
}

/* 4. VISION AND VALUES SECTION */
.vision-block, .values-block {
    padding: 30px; border: 1px solid #eee; border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); height: 100%; 
}
.values-list { list-style: none; padding: 0; margin-top: 20px; }
.values-list li { display: flex; align-items: center; margin-bottom: 15px; font-size: 1.05rem; }
.value-icon { font-size: 1.1rem; margin-right: 10px; }

/* 5. TEAM SECTION */
/* Main Dentist Highlight */
.main-dentist-highlight {
    display: flex; gap: 50px; align-items: center; background-color: var(--bg-main);
    border-radius: 8px; padding: 40px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 50px auto 80px; max-width: 900px;
}
.dentist-image-wrap { flex-shrink: 0; width: 250px; height: 250px; }
.dentist-image-wrap img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
    border: 5px solid var(--accent-secondary); 
}
.member-name { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 5px; }
.member-designation { font-size: 1.1rem; font-weight: 600; color: var(--text-subtle); margin-bottom: 15px; }
.highlight-description { margin-top: 15px; margin-bottom: 20px; font-style: italic; }

/* Team Grid */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
.team-member-card {
    background-color: var(--bg-main); border-radius: 8px; padding: 25px; text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    opacity: 0; transform: translateY(20px); /* Initial state for scroll animation */
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.team-member-card .member-photo-wrap { width: 150px; height: 150px; margin: 0 auto 15px; }
.team-member-card .member-photo-wrap img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
    border: 3px solid var(--accent-secondary);
}
.team-member-card .member-name { font-size: 1.3rem; margin-top: 10px; }
.team-member-card .member-bio { font-size: 0.95rem; color: var(--text-subtle); margin-top: 10px; }


/* 6. SCROLL ANIMATION STATES */
[data-animate-on-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
[data-animate-on-scroll].is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* This class is also added by JS, ensuring stat-items and team cards animate */
.stat-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.team-member-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alex 23-10-2025 */
/* ==========================
   ABOUT FULL SECTION (Unique)
   ========================== */

.about-full-section {
  background-color: var(--bg-main);
 padding: 40px 0px 28px 0px !important;
}

.about-full-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center; /* Make text centered if you want */
}

.about-full-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.about-full-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-full-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.about-full-lead {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text-base);
}

.about-full-text {
  font-size: 1rem;
  color: var(--text-subtle);
  margin-bottom: 30px;
  line-height: 1.8;
}

.about-full-btn {
  display: inline-block;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .about-full-title {
    font-size: 2rem;
  }
  .about-full-lead {
    font-size: 1.1rem;
  }
  .about-full-text {
    font-size: 0.95rem;
  }
}

/* ends */
/* 7. RESPONSIVENESS */

/* Tablet - 1024px and down */
@media (max-width: 1024px) {
    .section { padding: 80px 0; }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

/* Mobile - 768px and down */
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .office-slider-hero { height: 350px; }
    
    .grid-two-col { 
        grid-template-columns: 1fr; /* Stack columns */
        gap: 40px;
    }
    

    .main-dentist-highlight {
        flex-direction: column; /* Stack highlight content */
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .dentist-image-wrap { width: 180px; height: 180px; }
    
    .team-grid { 
        grid-template-columns: 1fr; /* Stack team members */
        gap: 20px;
    }
    
    .numbers-grid { 
        grid-template-columns: 1fr; /* Stack numbers */
        gap: 30px;
    }

    
}