/* style.css - Premium "Fadely Tutors" Design System */
/* Primary: Teal #0D9488 | Secondary: Orange #F97316 */

:root {
    --brand-blue: #0D9488;        /* Primary Teal */
    --brand-blue-hover: #0f766e;  /* Teal Hover */
    --brand-secondary: #F97316;   /* Secondary Orange */
    --brand-secondary-hover: #ea6c0a;
    --brand-dark: #121826;
    --brand-gray: #6b7280;
    --brand-bg: #fdfdfd;
    --brand-border: #e5e7eb;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Override Bootstrap CSS variables */
    --bs-primary: #0D9488;
    --bs-primary-rgb: 13, 148, 136;
    --bs-link-color: #0D9488;
    --bs-link-hover-color: #0f766e;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--brand-bg);
    color: var(--brand-dark);
}

/* Navbar */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--brand-border);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--brand-dark) !important;
}

.nav-link {
    color: var(--brand-gray) !important;
    font-weight: 500;
    margin: 0 10px;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-blue) !important;
}

/* Hero Section */
.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.text-blue {
    color: var(--brand-blue);
}

.hero-collage {
    position: relative;
    padding-right: 20px;
}

.collage-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.verified-badge {
    background: var(--brand-blue);
    color: white;
    border-radius: var(--radius-md);
    padding: 24px;
    width: 160px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

/* Search Bar (Floating) */
.search-container {
    background: white;
    padding: 12px;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-field {
    border: none !important;
    background: #f3f4f6;
    border-radius: 30px;
    padding: 14px 20px;
    font-size: 0.9rem;
    box-shadow: none !important;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

/* Buttons */
.btn-brand {
    background: var(--brand-blue);
    color: white;
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-brand:hover {
    background: var(--brand-blue-hover);
    color: white;
    transform: scale(1.02);
}

.btn-outline-brand {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-brand:hover {
    background: var(--brand-blue);
    color: white;
}

.btn-secondary-light {
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 20px;
    padding: 10px 24px;
    font-weight: 500;
}

/* Featured Tutor Card */
.tutor-highlight-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tutor-img-frame {
    background: #0d9488; /* Turquoise from image */
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

/* CTA Banner */
.cta-banner {
    background: var(--brand-blue);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    color: white;
    text-align: center;
    overflow: hidden;
    position: relative;
}

/* Footer Rendering */
.footer-modern {
    background: #f9fafb;
    padding: 80px 0 40px 0;
    border-top: 1px solid var(--brand-border);
}

/* Animations from previous version */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 45px -10px rgba(13, 148, 136, 0.15);
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--brand-blue);
}

.icon-floating {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 1.5rem;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px -5px currentColor;
    transition: transform 0.3s ease;
}

.feature-card:hover .icon-floating {
    transform: scale(1.1) rotate(-5deg);
}

/* Dashboard Specifics */
.dashboard-stat-card {
    border-radius: var(--radius-lg);
    padding: 30px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 5rem;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.modern-table thead th {
    background-color: #f9fafb;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px;
}

.modern-table tbody td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6;
}

.quick-action-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: var(--radius-md);
    background: #f9fafb;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--brand-dark);
    border: 1px solid transparent;
    margin-bottom: 12px;
}

.quick-action-item:hover {
    background: white;
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
    color: var(--brand-blue);
}

.quick-action-item i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 1.1rem;
}

/* Priority Row Highlight */
.priority-row {
    background-color: rgba(249, 115, 22, 0.05) !important;
    position: relative;
}

.priority-row::after {
    content: '';
    position: absolute;
    left: 0;
    top: 5%;
    height: 90%;
    width: 4px;
    background: var(--brand-secondary);
    border-radius: 0 4px 4px 0;
}

/* =============================================
   Bootstrap Override: Force Primary = Teal
   Secondary accent = Orange
   ============================================= */

/* btn-primary */
.btn-primary {
    background-color: #0D9488 !important;
    border-color: #0D9488 !important;
    color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #0f766e !important;
    border-color: #0f766e !important;
    color: #fff !important;
}

/* btn-outline-primary */
.btn-outline-primary {
    color: #0D9488 !important;
    border-color: #0D9488 !important;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: #0D9488 !important;
    border-color: #0D9488 !important;
    color: #fff !important;
}

/* text-primary */
.text-primary { color: #0D9488 !important; }

/* bg-primary */
.bg-primary { background-color: #0D9488 !important; }

/* border-primary */
.border-primary { border-color: #0D9488 !important; }

/* badge bg-primary */
.badge.bg-primary { background-color: #0D9488 !important; }

/* btn-secondary → Orange */
.btn-secondary {
    background-color: #F97316 !important;
    border-color: #F97316 !important;
    color: #fff !important;
}
.btn-secondary:hover, .btn-secondary:focus {
    background-color: #ea6c0a !important;
    border-color: #ea6c0a !important;
    color: #fff !important;
}

/* text-secondary accent */
.text-secondary-accent { color: #F97316 !important; }

/* focus ring color */
:focus-visible { outline-color: #0D9488; }
