/* 
   AuraTutor - Premium Private Tutor Website Styling
   Design System: Warm Amber, Soft Cream, and Modern Teal Accent
*/

:root {
    --primary-color: #2b251e; /* Deep Warm Charcoal */
    --primary-light: #3e362d;
    --accent-color: #d97706; /* Warm Amber */
    --accent-hover: #b45309; /* Dark Amber */
    --accent-light: rgba(217, 119, 6, 0.1);
    --teal-color: #0d9488; /* Modern Teal */
    --teal-hover: #0f766e; /* Dark Teal */
    --teal-light: rgba(13, 148, 136, 0.1);
    --text-color: #4b3f35; /* Warm Brownish Slate */
    --text-light: #786454; /* Muted Warm Slate */
    --bg-color: #fbfbf9; /* Soft Cream */
    --bg-card: #ffffff;
    --border-color: #ebdcd0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Prompt', sans-serif;
    --font-eng: 'Outfit', sans-serif;
    --shadow: 0 10px 30px -10px rgba(75, 63, 53, 0.1);
    --shadow-hover: 0 20px 45px -15px rgba(75, 63, 53, 0.18);
    --shadow-accent: 0 10px 25px -10px rgba(217, 119, 6, 0.3);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button, input, select, textarea {
    font-family: inherit;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: #ebd8cb;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* Header & Navigation */
.tutor-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(251, 251, 249, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-eng);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
}

.logo i {
    color: var(--accent-color);
}

.accent-text {
    color: var(--teal-color);
}

.nav-links {
    display: flex;
    gap: 16px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 550;
    color: var(--text-light);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    gap: 5px;
    transition: var(--transition);
}

.lang-switch:hover {
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.active-lang {
    color: var(--accent-color);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 1100;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    border-left: 1px solid var(--border-color);
}

.mobile-menu.open {
    right: 0;
}

.close-menu {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.6rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border-color);
}

.mobile-link:hover {
    color: var(--accent-color);
}

.mobile-lang-switch {
    align-self: flex-start;
    margin-bottom: 10px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(43, 37, 30, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
}

.btn-full-width {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

.btn-accent {
    background-color: var(--accent-color);
    color: #ffffff;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-accent {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline-accent:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

.pulse-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(217, 119, 6, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
    }
}

/* Sections Base */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    margin-bottom: 60px;
}

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

.sub-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal-color);
    display: inline-block;
    margin-bottom: 12px;
    background-color: var(--teal-light);
    padding: 4px 12px;
    border-radius: 20px;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: 10px;
}

/* Hero Section */
.hero-section {
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 80px;
    background-color: var(--primary-color);
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 30%, rgba(217, 119, 6, 0.15) 0%, rgba(43, 37, 30, 0) 65%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.rating-badge .stars {
    color: #fbbf24; /* Yellow 400 */
    font-family: var(--font-eng);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-badge .rating-text {
    color: #ebdcd0;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 25px;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.1rem;
    color: #ebdcd0;
    margin-bottom: 40px;
    font-weight: 350;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.visual-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    padding: 8px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.35);
}

.visual-img {
    border-radius: var(--border-radius-sm);
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Bio / About Section */
.bio-section {
    background-color: #ffffff;
}

.bio-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.bio-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.img-frame {
    position: relative;
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--teal-light) 100%);
    padding: 12px;
    border: 1px solid var(--border-color);
}

.bio-img {
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 0.9;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow);
    display: block;
}

.experience-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-hover);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-card .exp-num {
    font-family: var(--font-eng);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.experience-card .exp-txt {
    font-size: 0.75rem;
    color: #ebdcd0;
    font-weight: 600;
    margin-top: 4px;
}

.bio-info .tutor-name {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.bio-desc {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.credentials {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    margin-bottom: 30px;
}

.credentials h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 700;
}

.credentials ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.credentials li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
}

.credentials li i {
    color: var(--teal-color);
    font-size: 1.1rem;
}

.bio-stats {
    display: flex;
    gap: 40px;
}

.bio-stat {
    display: flex;
    flex-direction: column;
}

.bio-stat .stat-number {
    font-family: var(--font-eng);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.bio-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 4px;
}

/* Subjects Section */
.subjects-section {
    background-color: var(--bg-color);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.subject-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.subject-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.subject-card.highlighted {
    border: 2px solid var(--accent-color);
    background: radial-gradient(ellipse at top right, rgba(217, 119, 6, 0.05) 0%, var(--bg-card) 60%);
    box-shadow: var(--shadow-hover), 0 0 25px rgba(217, 119, 6, 0.08);
}

.popular-badge {
    position: absolute;
    top: -14px;
    right: 40px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--teal-color) 100%);
    color: white;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.subj-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-light);
    color: var(--accent-color);
    font-size: 1.8rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.subject-card.highlighted .subj-icon {
    background-color: var(--teal-light);
    color: var(--teal-color);
}

.subj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
}

.tag-level {
    background-color: #f3f4f6;
    color: #4b5563;
}

.tag-type {
    background-color: var(--accent-light);
    color: var(--accent-color);
}

.tag-type.text-accent {
    background-color: var(--teal-light);
    color: var(--teal-color);
}

.subject-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 16px;
}

.subject-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 30px;
    flex-grow: 1;
}

.subj-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
}

.subj-rate {
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
}

.subj-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--teal-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.subj-link:hover {
    color: var(--teal-hover);
    transform: translateX(3px);
}

/* Achievements Section */
.achievements-section {
    background-color: #ffffff;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.achievement-card {
    display: flex;
    gap: 24px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px;
    transition: var(--transition);
}

.achievement-card:hover {
    border-color: var(--teal-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.ach-badge {
    width: 50px;
    height: 50px;
    background-color: var(--teal-color);
    color: white;
    font-size: 1.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.ach-content {
    flex-grow: 1;
}

.ach-score {
    font-family: var(--font-eng);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--teal-color);
    line-height: 1;
    margin-bottom: 6px;
}

.ach-content h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 4px;
}

.ach-student {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.ach-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Calculator Section */
.calculator-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: stretch;
}

.calc-panel {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow);
}

.calc-panel h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 750;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
}

.calc-group {
    margin-bottom: 35px;
}

.calc-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.calc-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.calc-mode-btn {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    background-color: var(--bg-color);
}

.calc-mode-btn:hover {
    border-color: var(--teal-color);
    background-color: #ffffff;
}

.calc-mode-btn.active {
    border-color: var(--teal-color);
    background-color: var(--teal-light);
}

.mode-icon {
    font-size: 1.4rem;
    color: var(--teal-color);
    margin-bottom: 10px;
}

.mode-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.mode-desc {
    font-size: 0.75rem;
    color: var(--text-light);
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calc-hour-display {
    font-family: var(--font-eng);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-color);
    background-color: var(--accent-light);
    padding: 4px 14px;
    border-radius: 20px;
}

.slider-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2d2c5;
    outline: none;
    margin: 15px 0;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
    transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.slider-marks {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
}

.slider-marks span {
    font-family: var(--font-eng);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
}

.calc-features-list {
    border-top: 1px dashed var(--border-color);
    padding-top: 24px;
}

.calc-features-list h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.features-grid span {
    font-size: 0.85rem;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.features-grid span i {
    color: var(--teal-color);
}

/* Calc Summary */
.calc-summary {
    position: relative;
}

.summary-inner {
    position: sticky;
    top: 110px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: var(--border-radius-md);
    padding: 40px 32px;
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.summary-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.summary-badge {
    background-color: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.price-calc-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.calc-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.calc-line .line-label {
    color: #ebdcd0;
}

.calc-line .line-val {
    font-family: var(--font-eng);
    font-weight: 600;
}

.calc-line.discount-line .line-val {
    color: #fbbf24;
}

.calc-line.discount-line .line-label {
    color: #fbbf24;
    font-weight: 600;
}

.summary-hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 5px 0;
}

.total-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.total-title-container {
    display: flex;
    flex-direction: column;
}

.total-title-container .total-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.total-title-container .total-subtext {
    font-size: 0.75rem;
    color: #ebdcd0;
}

.total-price-row .total-val {
    font-family: var(--font-eng);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fbbf24;
}

.average-rate-row {
    text-align: right;
    font-size: 0.85rem;
    color: #ebdcd0;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Reviews Section */
.reviews-section {
    background-color: var(--bg-color);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--accent-color);
}

.review-stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 20px;
}

.review-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 24px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--accent-light);
    color: var(--accent-color);
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-info h4 {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 700;
}

.user-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Booking Section */
.booking-section {
    background-color: #ffffff;
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 50px 40px;
    box-shadow: var(--shadow);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-color);
    font-size: 0.95rem;
    transition: var(--transition);
}

.input-field:focus {
    border-color: var(--teal-color);
    box-shadow: 0 0 0 3px var(--teal-light);
}

.textarea-field {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.tutor-footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.footer-top .logo {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 16px;
}

.footer-moto {
    max-width: 500px;
    color: #ebdcd0;
    font-size: 0.95rem;
    margin-bottom: 24px;
    font-weight: 350;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #ebdcd0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Modal Popup */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.success-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 37, 30, 0.6);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    width: 90%;
    max-width: 550px;
    padding: 50px 40px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-modal.open .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.modal-success-img {
    width: 160px;
    height: auto;
    margin-bottom: 24px;
    object-fit: contain;
}

.modal-body h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 12px;
}

.modal-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--teal-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-accent);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--teal-hover);
    transform: translateY(-3px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .nav-links, .nav-actions {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    html {
        font-size: 15px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .rating-badge {
        justify-content: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .bio-visual {
        order: 2;
    }
    .bio-info {
        order: 1;
    }
    .calculator-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .summary-inner {
        position: static;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    .subjects-grid, .achievements-grid, .reviews-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .booking-container {
        padding: 30px 20px;
    }
}
