:root {
    --bg-color: #0b0914;
    --card-bg: #151226;
    --text-color: #e0d9f6;
    --text-muted: #a39bb8;
    --accent-color: #d4af37;
    --accent-hover: #f3c643;
    --border-color: rgba(212, 175, 55, 0.2);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Scroll Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #0b0914;
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 12px;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-sm:hover {
    background-color: var(--accent-color);
    color: #0b0914;
}

.btn-block {
    width: 100%;
}

.btn-viber {
    background-color: #7360f2;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.btn-viber:hover {
    background-color: #5c47e0;
}

.service-btn {
    margin-top: 15px;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(11, 9, 20, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-size: 14px;
    color: var(--text-color);
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(11, 9, 20, 0.7), rgba(11, 9, 20, 0.85)), url('images/ff239c4e51c7d0e401ca913313d0ea31dc1da6d6.jpg') center/cover no-repeat;
    padding-top: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--accent-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    margin-bottom: 20px;
    color: #fff;
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: var(--text-muted);
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: block;
    font-size: 14px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title {
    font-size: clamp(28px, 3vw, 40px);
}

/* About */
.about-grid {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.highlight-text {
    color: var(--accent-color) !important;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 30px !important;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--accent-color);
}

.service-img {
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-body h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.divider {
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    margin-bottom: 15px;
}

.service-body p {
    color: var(--text-muted);
    font-size: 14px;
    flex-grow: 1;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(45deg, #151226, #221c3b);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-container h2 {
    font-size: clamp(24px, 3vw, 36px);
    max-width: 800px;
    margin: 15px auto 30px;
}

/* How I help */
.help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.help-info-card, .help-list-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.help-info-card h3, .help-list-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.help-info-card p {
    color: var(--text-muted);
}

.icon-list {
    margin: 25px 0;
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

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

/* Cases Grid */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.case-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.case-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-body h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.case-body p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Diplomas */
.diplomas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.diploma-item img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.diploma-item img:hover {
    transform: scale(1.03);
    border-color: var(--accent-color);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    color: #fff;
}

.faq-question i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-content {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
    font-style: italic;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-meta img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-meta h4 {
    font-size: 16px;
}

.review-meta span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Contact Section */
.contact-container {
    max-width: 600px;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 20px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent-color);
    color: #0b0914;
    transform: translateY(-3px);
}

.contact-phone {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 28px;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: #0b0914;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
}

/* Footer */
.footer {
    background: #06050a;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-note {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 15px;
    line-height: 1.5;
}

.copyright {
    font-size: 14px;
    color: var(--accent-color);
}

/* Floating Widget with Pulsing Animation */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: var(--transition);
}

.float-icon.whatsapp { background-color: #25d366; }
.float-icon.viber { background-color: #7360f2; }

.float-icon:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.float-icon.pulsing {
    animation: pulse 2s infinite;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    width: 100%;
    max-width: 480px;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--accent-color);
    position: relative;
    transform: translateY(-20px);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
}

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

.modal-content h2 {
    margin-bottom: 10px;
    text-align: center;
}

.modal-service-notice {
    text-align: center;
    font-size: 13px;
    color: var(--accent-color);
    margin-bottom: 20px;
    min-height: 18px;
}

/* Responsive */
@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .burger-menu {
        display: block;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-container, .about-grid {
        padding: 30px 20px;
    }
}


/* Service card price alignment */
.service-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.service-header-row h3 {
    margin-bottom: 0;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color);
    background: rgba(212, 175, 55, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

/* List items price alignment */
.icon-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-price {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 14px;
}