/* Custom Pink Color Scheme */
:root {
    --pink-primary: #fd81be;
    --pink-secondary: #fce4ec;
    --pink-light: #fdf2f8;
    --pink-dark: #e91e63;
    --pink-gradient: linear-gradient(135deg, #fd81be, #fce4ec);
}

/* Font Family */
body {
    font-family: 'Inter', sans-serif;
    background-image: url('/static/icons/back-new2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Custom Pink Text Color */
.text-pink {
    color: var(--pink-primary) !important;
}

/* Custom Pink Button */
.btn-pink {
    background-color: var(--pink-primary) !important;
    border-color: var(--pink-primary) !important;
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1 !important;
}

.btn-pink:hover {
    background-color: var(--pink-dark);
    border-color: var(--pink-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 129, 190, 0.4);
}

/* Custom Pink Outline Button */
.btn-outline-pink {
    color: var(--pink-primary);
    border-color: var(--pink-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-pink:hover {
    background-color: var(--pink-primary);
    border-color: var(--pink-primary);
    color: white;
}

/* Pink Gradient Background */
.bg-gradient-pink {
    background: var(--pink-gradient);
    min-height: 400px;
}

/* UK Flag SVG Styling */
.flag-svg {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 123, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
    border: none;
    transform: translateY(0);
}

.flag-svg:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25), 0 0 40px rgba(0, 123, 255, 0.6);
}

/* Card Enhancements */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Profile Card Styling */
.profile-image {
    height: 100%;
    min-height: 100%;
}

.photo-placeholder {
    height: 100%;
    min-height: 100%;
    border-radius: 1rem;
}

/* Overlay Styling */
.overlay {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.overlay:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.4) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Navigation Enhancements */
.navbar-brand {
    font-size: 1.5rem;
}

/* Open Sans Brand Style */
.handwriting-brand {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    color: #000000 !important;
}

.handwriting-brand:hover {
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: #000000 !important;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--pink-primary) !important;
}

/* Responsive Adjustments - Removed */

/* Smooth Animations */
* {
    transition: all 0.3s ease;
}

/* Lesson Cards Styling */
.lesson-card {
    background: rgba(220, 220, 220, 0.25);
    border-radius: 12px;
    padding: 20px;
    min-height: 120px;
    transition: all 0.3s ease;
    border: none;
    backdrop-filter: blur(10px);
}

.lesson-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: rgba(220, 220, 220, 0.35);
}

.lesson-card-special {
    background: rgba(253, 129, 190, 0.8) !important;
    border: none;
}

.lesson-card-special .lesson-content {
    color: white !important;
}

.lesson-card-special .lesson-number {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
}

.lesson-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--pink-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(253, 129, 190, 0.3);
}

.lesson-content {
    margin-top: 15px;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* About Me Section Styling */
.about-photo-card {
    min-height: 500px;
}

.photo-placeholder-about {
    min-height: 500px;
    border-radius: 1rem;
}

.name-badge {
    background: var(--pink-primary) !important;
    font-size: 1.1rem;
}

/* New Info Cards Styling - Like the reference image */
.info-card-new {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(253, 129, 190, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    box-shadow: 0 2px 8px rgba(253, 129, 190, 0.1);
}

/* Unified card heights */
.info-card-wide {
    min-height: 120px;
}

.info-card-standard {
    min-height: 180px; /* Увеличиваем высоту для одинакового размера */
}

.info-card-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(253, 129, 190, 0.2);
    border-color: rgba(253, 129, 190, 0.3);
}

.info-icon-new {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--pink-primary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(253, 129, 190, 0.3);
}

.icon-svg {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* Делает SVG белым */
}

.info-content-new {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    padding-right: 50px;
    margin-top: 5px;
}

/* Specific icon styles */
.info-icon-speech {
    background: var(--pink-primary) !important;
}

.info-icon-graduation {
    background: var(--pink-primary) !important;
}

.info-icon-document {
    background: var(--pink-primary) !important;
}

.info-icon-network {
    background: var(--pink-primary) !important;
}

.info-icon-volunteer {
    background: var(--pink-primary) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdf2f8;
}

::-webkit-scrollbar-thumb {
    background: var(--pink-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pink-dark);
}

/* Reviews Section */
.reviews-title-wrapper {
    position: relative;
    height: 0;
    margin-bottom: 0;
    z-index: 1;
}

.reviews-big-title {
    position: absolute;
    top: -5rem;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(3rem, 10vw, 9rem);
    letter-spacing: 4px;
    color: #000000;
    line-height: 1;
    text-align: center;
    z-index: 1;
}

.review-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 28px 22px;
    border: 1px solid rgba(102, 102, 102, 0.12);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

.review-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.review-link {
    color: var(--pink-primary);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.review-link:hover {
    color: var(--pink-dark);
    text-decoration: underline;
}

.reviews-all-link {
    display: inline-block;
    color: var(--pink-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.reviews-all-link:hover {
    color: var(--pink-dark);
    text-decoration: underline;
}

/* Reviews Slider */
.reviews-slider {
    overflow: hidden;
}

.reviews-slides {
    position: relative;
}

.reviews-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.reviews-slide.active {
    display: block;
    opacity: 1;
}

.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.review-arrow {
    background: var(--pink-primary);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(253, 129, 190, 0.3);
}

.review-arrow:hover {
    background: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 129, 190, 0.4);
}

.review-arrow:active {
    transform: translateY(0);
}

.review-arrow svg {
    width: 24px;
    height: 24px;
}

/* FAQ Section */
.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: left;
}

.faq-container {
    width: 100%;
    max-width: none;
    margin: 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(253, 129, 190, 0.05);
}

.faq-icon {
    background: var(--pink-primary);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-question:hover .faq-icon {
    background: var(--pink-dark);
    transform: scale(1.05);
}

.faq-answer {
    padding: 0 24px 20px 24px;
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.collapse {
    transition: all 0.3s ease;
}

.collapse.show {
    display: block;
}

/* Consultation Section */
.consultation-container {
    border: 4px solid var(--pink-primary);
    border-radius: 20px;
    padding: 30px;
    background: var(--pink-gradient);
    box-shadow: 0 8px 30px rgba(253, 129, 190, 0.2);
}

.consultation-photo {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.photo-placeholder-consultation {
    height: 100%;
    min-height: 500px;
    border-radius: 16px;
    border: none;
    flex: 1;
}

.consultation-form {
    background: white;
    border-radius: 16px;
    padding: 30px;
    border: none;
    height: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.consultation-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.consultation-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 25px;
}

.consultation-input {
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.consultation-input:focus {
    border-color: var(--pink-primary);
    box-shadow: 0 0 0 3px rgba(253, 129, 190, 0.1);
    outline: none;
}

.consultation-btn {
    background: #10B981 !important;
    border: none !important;
    color: white !important;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.consultation-btn:hover {
    background: #059669 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.consultation-disclaimer {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

/* Pricing Section */
.pricing-title-wrapper {
    position: relative;
    height: 0;
    margin-bottom: 0;
    z-index: 1;
}

.pricing-big-title {
    position: absolute;
    top: -5rem;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(3rem, 10vw, 9rem);
    letter-spacing: 4px;
    color: #000000;
    line-height: 1;
    text-align: center;
    z-index: 1;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 28px 22px;
    border: 1px solid rgba(102, 102, 102, 0.12);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    z-index: 2;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

.pc-lessons {
    font-size: 64px;
    font-weight: 800;
    color: #2b2b2b;
}

.pc-label {
    margin-top: -6px;
    color: #6c757d;
}

.pc-price {
    margin-top: 14px;
    font-weight: 700;
    font-size: 22px;
    color: #2b2b2b;
}

.pc-per {
    color: #8a8a8a;
    font-size: 14px;
}

.pc-valid {
    margin-top: 14px;
    color: #6c757d;
    font-size: 14px;
}

.pc-badge {
    display: inline-block;
    margin-top: 6px;
    background: #e8f6e9;
    color: #2e7d32;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-best {
    border: 2px solid rgba(103, 58, 183, 0.6);
    box-shadow: 0 8px 24px rgba(103, 58, 183, 0.15);
}
