/* Base Styles */
:root {
    /* Base colors */
    --primary-color: #000;
    --secondary-color: #fff;
    --accent-color: #BC93F5;
    --text-color: #000;
    --background-color: #fff;
    --card-background: #f9f9f9;
    --card-border: #e0e0e0;
    --hover-color: #9B6CD6;

    /* Common variables */
    --transition-slow: 0.5s;
    --transition-fast: 0.3s;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

/* Dark theme variables */
[data-theme="dark"] {
    --primary-color: #fff;
    --secondary-color: #000;
    --text-color: #fff;
    --background-color: #121212;
    --card-background: #1e1e1e;
    --card-border: #333;
    --hover-color: #BC93F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 20px;
}

/* Language Selection */
.language-selector {
    display: flex;
    gap: 5px;
}

.language-selector button {
    background: transparent;
    padding: 5px 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    border: 1px solid currentColor;
    color: var(--text-color);
}

.language-selector button.active {
    background: var(--text-color);
    color: var(--background-color);
}

/* Language Content */
.ru, .it {
    display: none;
}

.ru.active, .it.active {
    display: block;
}

/* Page Transitions */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-transition.active {
    transform: translateY(0);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background-color 0.5s, padding 0.5s;
}

header.scrolled {
    padding: 10px 40px;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 102;
}

.logo a {
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2px;
}

/* Main Navigation */
.main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    z-index: 101;
    transition: right var(--transition-slow);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding-top: 100px;
    background-color: var(--background-color);
}

.main-nav.active {
    right: 0;
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0 40px;
}

.main-nav ul li {
    margin: 20px 0;
}

.main-nav ul li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
    display: block;
    padding: 5px 0;
    color: var(--text-color);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transition: width var(--transition-slow);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 102;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    transition: all var(--transition-fast);
    background-color: var(--text-color);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Main Content */
main {
    padding-top: 80px;
    min-height: calc(100vh - 200px);
}

.section {
    position: relative;
    padding: 60px 0;
}

.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(188, 147, 245, 0.05) 15%,
        rgba(188, 147, 245, 0.3) 50%,
        rgba(188, 147, 245, 0.05) 85%,
        transparent 100%
    );
    margin: 40px auto;
    position: relative;
}

.section-divider::before {
    content: '❋';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: rgba(188, 147, 245, 0.6);
    font-size: 24px;
    background: var(--bg-color);
    padding: 0 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px 0 30px; /* Уменьшаем левый отступ для смещения всего содержимого влево */
    width: 100%;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 2px;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-family: var(--font-secondary);
    font-size: 60px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    font-size: 18px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: all var(--transition-fast);
    z-index: -1;
}

.cta-button:hover {
    color: black;
}

.cta-button:hover::before {
    left: 0;
}

/* Section Previews (for homepage) */
.preview-section {
    padding: 80px 0;
}

.preview-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.section-preview {
    padding: 30px;
    border-radius: 10px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.section-preview:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-preview h3 {
    font-family: var(--font-secondary);
    font-size: 24px;
    margin-bottom: 15px;
}

.section-preview p {
    margin-bottom: 20px;
}

.preview-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.preview-link i {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.preview-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    z-index: -1;
}

.about-image img {
    width: 100%;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-family: var(--font-secondary);
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
}

.certificates {
    margin-top: 40px;
}

.certificates h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.certificate-gallery {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.certificate {
    width: calc(33.33% - 14px);
    min-width: 100px;
    transition: transform var(--transition-fast);
}

.certificate:hover {
    transform: scale(1.05);
}

.certificate img {
    width: 100%;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    padding: 10px 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 5px;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.02);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    overflow-y: auto;
}

.portfolio-modal-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Services Section */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 20px auto;
    max-width: 1200px;
}

.service-card {
    background-color: var(--card-background);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-fast);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--hover-color));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 45px;
    margin-bottom: 25px;
    color: var(--accent-color);
    background: rgba(188, 147, 245, 0.1);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: rgba(188, 147, 245, 0.2);
}

.service-card h3 {
    font-family: var(--font-secondary);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.4;
}

.service-card .price {
    font-size: 32px;
    font-weight: 600;
    margin: 25px 0;
    color: var(--accent-color);
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
}

.services-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

/* Testimonials */
.testimonials {
    margin-top: 80px;
}

.testimonials h3 {
    font-family: var(--font-secondary);
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: var(--card-background);
    border: 1px solid var(--card-border);
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    text-align: right;
}

/* Testimonials Slider */
.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    overflow: hidden;
    padding-bottom: 40px; /* Space for dots */
}

.testimonial-container {
    display: flex;
    transition: transform 0.8s ease;
}

.testimonial-item {
    min-width: calc(33.333% - 20px);
    margin: 0 10px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    transition: transform 0.3s ease;
    height: 350px; /* Фиксированная высота */
    position: relative;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(188, 147, 245, 0.2);
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Это обеспечит заполнение контейнера без искажения */
    display: block;
    transition: transform 0.5s ease;
}

.testimonial-item:hover .testimonial-image {
    transform: scale(1.05);
}

.testimonial-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(188, 147, 245, 0.3);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--accent-color);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(188, 147, 245, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
}

.slider-arrow:hover {
    background: rgba(188, 147, 245, 0.6);
}

.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }

@media (max-width: 768px) {
    .testimonial-item {
        min-width: calc(100% - 20px);
        height: 300px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
}

/* Contact Form */
.contact-form {
    margin-top: 80px;
}

.contact-form h3 {
    font-family: var(--font-secondary);
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

#contactForm {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group:nth-child(3), .form-group:nth-child(4) {
    grid-column: span 2;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    padding: 12px;
    border: 1px solid var(--card-border);
    border-radius: 5px;
    background-color: var(--card-background);
    color: var(--text-color);
    font-family: var(--font-primary);
}

.submit-button {
    grid-column: span 2;
    padding: 12px;
    border: none;
    background-color: var(--accent-color);
    color: white;
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.submit-button:hover {
    background-color: var(--hover-color);
}

/* FAQ Section */
.faq-section {
    margin-top: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-section h3 {
    font-family: var(--font-secondary);
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 10px;
    margin-bottom: 16px;
    background-color: var(--card-background);
    border: 1px solid var(--card-border);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
}

.faq-question h4 {
    font-weight: 500;
    font-size: 18px;
    margin: 0;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    transition: all var(--transition-fast);
    background-color: rgba(188, 147, 245, 0.15);
    border-radius: 50%;
}

.faq-toggle i {
    color: var(--accent-color);
    font-size: 14px;
}

.faq-answer {
    padding: 0 25px 20px;
    display: none;
}

.faq-item.active {
    background-color: rgba(188, 147, 245, 0.05);
    border-color: var(--accent-color);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background-color: var(--accent-color);
}

.faq-item.active .faq-toggle i {
    color: white;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Approach Items */
.about-extra {
    margin-top: 80px;
}

.about-extra h3 {
    font-family: var(--font-secondary);
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.approach-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.approach-item {
    padding: 30px;
    text-align: center;
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.approach-icon {
    font-size: 3.5em;
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    transition: all 0.4s ease;
}

.approach-card:hover .approach-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.3);
    background: linear-gradient(145deg, var(--accent-color), rgba(255,255,255,0.1));
}

.approach-card {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.2);
}

/* Booking Steps */
.booking-info {
    margin-top: 80px;
}

.booking-info h3 {
    font-family: var(--font-secondary);
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.booking-steps {
    max-width: 800px;
    margin: 0 auto 50px;
}

.booking-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.cta-section {
    text-align: center;
    margin-top: 40px;
}

/* Footer */
footer {
    background-color: #111;
    padding: 80px 0 40px;
    margin-top: 80px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(188, 147, 245, 0.1) 15%,
        rgba(188, 147, 245, 0.5) 50%,
        rgba(188, 147, 245, 0.1) 85%,
        transparent 100%
    );
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 40px;
    text-align: center;
}

.footer-logo h3 {
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #BC93F5, #9B6CD6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0px 2px 10px rgba(188, 147, 245, 0.3);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    width: 100%;
}

.footer-column {
    min-width: 200px;
    flex: 1;
    text-align: center;
}

.footer-title {
    font-family: var(--font-secondary);
    font-size: 20px;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 15px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
}

.footer-link:hover {
    color: var(--accent-color);
}

.footer-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.footer-item i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 16px;
}

.footer-text {
    color: #ccc;
    font-size: 15px;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(188, 147, 245, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

.footer-copyright {
    margin-top: 30px;
    font-size: 14px;
    color: #888;
}

/* Common section styling */
.section {
    padding: 60px 0;
    position: relative;
}

.approach-embed {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.embed-content {
    text-align: center;
}

.title-embed {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--text-color);
}

/* Portfolio section specific */
.portfolio-preview-section .portfolio-slider {
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

/* Services section specific */
.services-preview-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.service-preview-item {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: var(--text-color);
}

.service-preview-item:hover {
    transform: translateY(-5px);
    background: rgba(188, 147, 245, 0.1);
    border-color: rgba(188, 147, 245, 0.3);
    box-shadow: 0 10px 30px rgba(188, 147, 245, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(188, 147, 245, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #BC93F5;
    transition: all 0.3s ease;
}

.service-preview-item:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    background: #BC93F5;
    color: white;
}

.service-info {
    flex: 1;
    margin-left: 20px;
    text-align: left;
}

.service-info h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
    color: var(--text-color);
}

.price {
    font-size: 1.5em;
    font-weight: 600;
    color: #BC93F5;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .approach-embed {
        padding: 20px;
        margin: 0 15px;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .service-preview-item {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .certificate-gallery {
        justify-content: center;
    }
    
    .certificate {
        width: calc(50% - 10px);
    }
    
    .portfolio-filter {
        flex-wrap: wrap;
    }
    
    .contacts-content {
        flex-direction: column;
    }
    
    .contact-map {
        height: 300px;
    }
    
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .approach-embed {
        padding: 20px;
        margin: 0 15px;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .service-preview-item {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .certificate {
        width: 100%;
    }
    
    .services-list {
        gap: 30px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* CSS for Loading Animations */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.approach-section {
    padding: 80px 0;
    background: var(--bg-gradient);
}

.approach-embed {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.embed-content {
    text-align: center;
}

.title-embed {
    margin-bottom: 50px;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.approach-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-10px);
}

.approach-icon {
    font-size: 2.5em;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.approach-content h4 {
    margin-bottom: 15px;
    font-size: 1.3em;
    color: var(--text-color);
}

.approach-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Section dividers */
.section {
    position: relative;
    padding: 60px 0;
}

.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(188, 147, 245, 0.05) 15%,
        rgba(188, 147, 245, 0.3) 50%,
        rgba(188, 147, 245, 0.05) 85%,
        transparent 100%
    );
    margin: 40px auto;
    position: relative;
}

.section-divider::before {
    content: '❋';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: rgba(188, 147, 245, 0.6);
    font-size: 24px;
    background: var(--bg-color);
    padding: 0 20px;
}

/* Section spacing */
.approach-section,
.services-preview-section,
.portfolio-preview-section {
    position: relative;
    z-index: 1;
    margin: 20px 0;
}

.approach-embed {
    border: 1px solid rgba(188, 147, 245, 0.1);
    box-shadow: 0 0 30px rgba(188, 147, 245, 0.05);
}

/* Hover effects for embeds */
.approach-embed:hover {
    border-color: rgba(188, 147, 245, 0.2);
    box-shadow: 0 0 40px rgba(188, 147, 245, 0.1);
}

/* Portfolio Button Container */
.portfolio-button-container {
    margin-top: 40px;
    text-align: center;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(188, 147, 245, 0.3);
}

.btn-primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(188, 147, 245, 0.4);
}

/* Enhanced Contact Section Styles */
.contact-hero {
    margin-bottom: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-map {
    height: 500px;
    width: 100%;
}

.contact-details-container {
    margin-bottom: 60px;
}

.contacts-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background-color: var(--card-background);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(188, 147, 245, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-card:hover .contact-icon {
    background-color: var(--accent-color);
}

.contact-icon i {
    font-size: 28px;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon i {
    color: white;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-family: var(--font-secondary);
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-info p {
    line-height: 1.6;
    margin: 0;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.social-links {
    text-align: center;
    margin-top: 40px;
}

.social-links h3 {
    font-family: var(--font-secondary);
    font-size: 28px;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    width: 60px;
    height: 60px;
    background-color: var(--card-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(188, 147, 245, 0.3);
}

/* Section subtitle */
.section-subtitle {
    font-family: var(--font-secondary);
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
}

/* CTA Container */
.cta-container {
    text-align: center;
    margin-top: 60px;
}

/* Media queries for contact section */
@media (max-width: 768px) {
    .contact-map {
        height: 300px;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
    
    .section-subtitle {
        font-size: 28px;
        margin-bottom: 30px;
    }
}
