*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    transition: background 0.5s ease;
}

body {
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeSpeed;
    color: #ffffff;
    margin: 50px;
    transition: color 0.4s ease;
    
    background: linear-gradient(-45deg, #12181f, #1a242f, #1d2b3e, #2c1d3e);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
}

html.light-theme body {
    color: #1f2937;
    background: linear-gradient(-45deg, #82dfca, #c5f1f9, #f5fbf9, #f0f8f8);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
    background-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    padding-top: 5rem;
}

h1 span {
    color: #079e7b;
}

header .container {
    margin-bottom: 80px;
}
header h1 {
    text-align: left;
}
.hand {
    display: inline-block;
    width: 75px;
    height: 75px;
    position: relative;
    top: 12px;
    left: -13px;
    background-image: url(../img/waving_hand.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

main {
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

html.light-theme main {
    border-color: rgba(31, 41, 55, 0.1);
}

main .container {
    padding: 0 50px;
}

.sticky-nav {
    position: sticky;
    top: 0px;
    z-index: 10;
    background: rgba(18, 24, 31, 0.55);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-bottom: -85px;
    width: 99%;
    max-width: 1194px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px 10px 0 0;
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

html.light-theme .sticky-nav {
    background: rgba(245, 251, 249, 0.95);
    border-bottom: 1px solid rgba(31, 41, 55, 0.1);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #079e7b;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

html.light-theme .burger-menu span {
    background-color: #2d3748;
}

@keyframes red-wave {
    0% {
        background-color: #079e7b;
    }
    5% {
        background-color: #ff4757;
    }
    15% {
        background-color: #079e7b;
    }
    100% {
        background-color: #079e7b;
    }
}

html.light-theme .burger-menu span {
    animation: none;
}

.burger-menu span:nth-child(1) {
    animation: red-wave 6s ease-in-out infinite;
    animation-delay: 0s;
}

.burger-menu span:nth-child(2) {
    animation: red-wave 6s ease-in-out infinite;
    animation-delay: 0.3s;
}

.burger-menu span:nth-child(3) {
    animation: red-wave 6s ease-in-out infinite;
    animation-delay: 0.6s;
}

html.light-theme .burger-menu span:nth-child(1),
html.light-theme .burger-menu span:nth-child(2),
html.light-theme .burger-menu span:nth-child(3) {
    animation: red-wave-light 6s ease-in-out infinite;
}

html.light-theme .burger-menu span:nth-child(1) {
    animation-delay: 0s;
}

html.light-theme .burger-menu span:nth-child(2) {
    animation-delay: 0.3s;
}

html.light-theme .burger-menu span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes red-wave-light {
    0% {
        background-color: #2d3748;
    }
    5% {
        background-color: #ff4757;
    }
    15% {
        background-color: #2d3748;
    }
    100% {
        background-color: #2d3748;
    }
}

.burger-menu.active span {
    animation: none !important;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 7px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.navigation {
    display: flex;
    align-items: center;
}

.menu-overlay {
    display: none;
}

.top .LinkItem {
    position: relative;
    margin-right: 25px;
    padding-bottom: 8px;
    font-size: 22px;
    text-align: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.top .LinkItem {
    color: #e5e7eb;
}
.top .LinkItem:hover,
.top .activeLink {
    color: #079e7b;
}

html.light-theme .top .LinkItem {
    color: #6b7280;
}
html.light-theme .top .LinkItem:hover,
html.light-theme .top .activeLink {
    color: #079e7b;
}

.activeLink::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 4px;
    background-color: #079e7b;
    border-radius: 2px;
}

.top .LinkItem.anchor-link {
    text-decoration: none;
    display: inline-block;
}

.anchor-btn {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: all 0.3s ease;
}

.anchor-btn:hover {
    transform: translateY(-2px);
}

.page-content {
    margin-bottom: 80px;
    padding-top: 80px;
}

.page-content:first-of-type {
    padding-top: 0;
}

.page-content:last-of-type {
    margin-bottom: 0;
}


.theme-switch-input {
    display: none;
}

.theme-switch-label {
    display: block;
    position: relative;
    width: 70px;
    height: 38px;
    background-color: #129cbf73;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.theme-switch-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 4px;
    left: 4px;
    width: 30px;
    height: 30px;
    background-color: #5080b1;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px 10px #56cae7;
}

.theme-switch-toggle svg {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: opacity 0.2s ease-in-out, color 0.3s ease;
}

.theme-switch-input:checked+.theme-switch-label {
    background-color: #0b2247;
}

.theme-switch-input:checked+.theme-switch-label .theme-switch-toggle {
    transform: translateX(32px);
    background-color: #1a242f;
    box-shadow: 0 0 10px 8px #21447e;
}

.theme-switch-input:not(:checked)+.theme-switch-label .moon {
    opacity: 1;
    color: #1a242f;
}

.theme-switch-input:not(:checked)+.theme-switch-label .sun {
    opacity: 0;
}

.theme-switch-input:checked+.theme-switch-label .sun {
    opacity: 1;
    color: #fff;
}

.theme-switch-input:checked+.theme-switch-label .moon {
    opacity: 0;
}


.about {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-top: 30px;
}

.about h2 {
    font-size: 50px;
    max-width: 500px;
    line-height: 1.1;
    color: #079e7b;
    margin-right: 40px;
    position: relative;
}
.about h2 i {
    position: absolute;
    top: -190px;
    left: 0;
}
#about-page {
    padding-top: 90px;
}

.wrapAnimation {
    position: relative;
    width: 400px;
    height: 400px;
    overflow: visible;
}

#code-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 375px;
    min-height: 306px;
    -webkit-mask-image: radial-gradient(ellipse 100% 95% at 50% 50%, black 70%, rgba(0,0,0,0.9) 85%, transparent 100%);
    mask-image: radial-gradient(ellipse 100% 95% at 50% 50%, black 70%, rgba(0,0,0,0.9) 85%, transparent 100%);
}

.bottom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;
    margin-top: 30px;
}

.bottom>a {
    width: 160px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.bottom>a:first-of-type {
    background-color: #079e7b;
    border: 2px solid #079e7b;
    color: #fff;
}

.bottom>a:last-of-type {
    border: 2px solid #fff;
    color: #fff;
    transition: all 0.3s ease;
}

html.light-theme .bottom>a:last-of-type {
    border-color: #1f2937;
    color: #1f2937;
}

.bottom>a:first-of-type:hover {
    background-color: transparent;
    color: #079e7b;
}

.bottom>a:last-of-type:hover {
    background-color: #fff;
    color: #1a242f;
}

html.light-theme .bottom>a:last-of-type:hover {
    background-color: #1f2937;
    color: #fff;
}

.page-content {
    animation: fadeIn 0.5s ease-in-out;
}

.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-me-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding: 0;
}

.about-me-text h2, .about-me-skills h3 {
    color: #079e7b;
    margin-bottom: 20px;
}

.about-me-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}
html.light-theme .about-me-text p {
    color: #4b5563;
}

.about-me-text h3 {
    margin-top: 30px;
}
.about-me-text ul {
    list-style: none;
    padding-left: 5px;
}
.about-me-text li {
    margin-bottom: 10px;
}


.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-card {
    background-color: #2b3648;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

html.light-theme .skill-card {
    background-color: #f9fafb;
    border-color: #e5e7eb;
}

.skill-card:hover {
    border-color: #079e7b;
    transform: translateY(-5px);
    color: #fff;
}

html.light-theme .skill-card h4 {
    color: #1f2937;
}

.skill-card h4 {
    margin-bottom: 10px;
}

.skill-card p {
    font-size: 14px;
    color: #ccc;
}

html.light-theme .skill-card p {
    color: #6b7280;
}

#skills-page h2 {
    text-align: left;
    font-size: 3rem;
    color: #079e7b;
    margin-bottom: 50px;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 0 50px 50px
}

.skill-item {
    position: relative;
    border-bottom: 1px solid #333;
    padding: 15px 0;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.skill-icon {
    display: none;
    fill: currentColor;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.skill-name {
    font-size: 2.5rem;
    font-weight: bold;
    color: #555;
    transition: all 0.3s ease;
    text-align: left;
}

html.light-theme .skill-name {
    color: #d1d5db;
}

.skill-explanation {
    position: absolute;
    top: 50%;
    left: 120%;
    transform: translateY(-50%);
    font-size: 20px;
    
    background-color: #2b3648;
    color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

html.light-theme .skill-explanation {
    background-color: #ffffff;
    color: #374151;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.skill-item:hover .skill-name {
    color: #fff;
    transform: translateX(20px);
}

html.light-theme .skill-item:hover .skill-name {
    color: #079e7b;
}

.skill-item:hover .skill-explanation {
    opacity: 1;
    visibility: visible;
}

#contact-page .contact-wrapper {
    text-align: center;
    padding: 0 0 30px;
}

#contact-page h2 {
    font-size: 3rem;
    color: #079e7b;
    margin-bottom: 20px;
}

#contact-page p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

html.light-theme #contact-page p {
    color: #4b5563;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-method {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border: 1px solid #555;
    border-radius: 8px;
    background-color: transparent;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

html.light-theme .contact-method {
    border-color: #d1d5db;
    color: #1f2937;
    background-color: #f9fafb;
}

.contact-method:hover {
    background-color: #079e7b;
    border-color: #079e7b;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(7, 158, 123, 0.2);
}

html.light-theme .contact-method:hover {
    background-color: #079e7b;
    color: #fff;
    border-color: #079e7b;
    box-shadow: 0 5px 15px rgba(7, 158, 123, 0.2);
}

.contact-method svg {
    width: 24px;
    height: 24px;
    transition: color 0.3s ease;
}

.contact-method.linkedin {
    border-color: #0077b5;
}
.contact-method.linkedin:hover {
    background-color: #0077b5;
    border-color: #0077b5;
    color: #fff;
}
.contact-method.linkedin svg {
    color: #0077b5;
}
.contact-method.linkedin:hover svg {
    color: #fff;
}

#portfolio-page h2 {
    text-align: center;
    font-size: 3rem;
    color: #079e7b;
    margin-bottom: 20px;
}

#reviews-page h2 {
    text-align: center;
    font-size: 3rem;
    color: #079e7b;
    margin-bottom: 20px;
}

.portfolio-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #ccc;
    line-height: 1.6;
}

html.light-theme .portfolio-intro {
    color: #4b5563;
}

.portfolio-switcher-wrap {
    margin-bottom: 30px;
}

.portfolio-swiper {
    padding: 0;
    position: relative;
}
.portfolio-swiper::after {
    content: '';
    position: absolute;
    right: -4px;
    bottom: 0;
    height: 46px;
    width: 80px;
    background: linear-gradient(to right, transparent, #1a242f);
    pointer-events: none;
    z-index: 1;
}
html.light-theme .portfolio-swiper::after {
    background: linear-gradient(to right, transparent, #f5fbf9);
}
.portfolio-swiper.at-end::after {
    display: none;
}

.portfolio-swiper-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.portfolio-swiper-prev,
.portfolio-swiper-next {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(7, 158, 123, 0.2);
    color: #079e7b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.portfolio-swiper-prev:hover,
.portfolio-swiper-next:hover {
    background: rgba(7, 158, 123, 0.35);
    color: #08b992;
}
.portfolio-swiper-prev.disabled,
.portfolio-swiper-next.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.portfolio-swiper-prev.disabled:hover,
.portfolio-swiper-next.disabled:hover {
    background: rgba(7, 158, 123, 0.2);
    color: #079e7b;
}

.portfolio-swiper-prev svg,
.portfolio-swiper-next svg {
    width: 22px;
    height: 22px;
}

.portfolio-swiper .swiper-slide {
    width: auto;
    flex-shrink: 0;
}

.portfolio-swiper .portfolio-btn {
    white-space: nowrap;
    min-width: fit-content;
}
.portfolio-btn {
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(7, 158, 123, 0.15);
    color: #079e7b;
    border: 2px solid rgba(7, 158, 123, 0.3);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.portfolio-btn:hover {
    background: rgba(7, 158, 123, 0.25);
    border-color: rgba(7, 158, 123, 0.5);
    transform: translateY(-2px);
}

.portfolio-btn.active {
    background: linear-gradient(135deg, #079e7b 0%, #08b992 100%);
    color: #fff;
    border-color: #079e7b;
    box-shadow: 0 4px 15px rgba(7, 158, 123, 0.4);
    transform: translateY(-2px);
    font-weight: 600;
}

html.light-theme .portfolio-btn {
    background: rgba(7, 158, 123, 0.08);
    color: #079e7b;
    border-color: rgba(7, 158, 123, 0.25);
}

html.light-theme .portfolio-btn:hover {
    background: rgba(7, 158, 123, 0.15);
    border-color: rgba(7, 158, 123, 0.4);
}

html.light-theme .portfolio-btn.active {
    background: linear-gradient(135deg, #079e7b 0%, #08b992 100%);
    color: #fff;
    border-color: #079e7b;
    box-shadow: 0 4px 15px rgba(7, 158, 123, 0.3);
}
.portfolio-projects {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.portfolio-item {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.portfolio-item-column {
    flex-direction: column;
    display: flex;
    gap: 50px;
}
@media (max-width: 768px) {
    .portfolio-item-column {
        gap: 20px;
    }
}
.portfolio-item video, .portfolio-item img {
    width: 460px;
    height: 450px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(7,158,123,0.10);
    object-fit: cover;
    object-position: center;
}
#project-onas video,
#project-performiq-main video,
#project-digital-radar video,
#project-geo video,
#project-birthday video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(7,158,123,0.10);
    object-fit: cover;
    object-position: center;
}

@media (max-width: 900px) {
    .portfolio-item { 
        flex-direction: column; gap: 20px; 
    }
    .portfolio-item video, .portfolio-item img {
        width: auto;
        height: auto;
        margin-right: 0;
    }
    
}

.portfolio-image-container {
    flex: 1 1 50%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.portfolio-image-container a {
    display: block;
    width: 100%;
    height: 100%;
}

.portfolio-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.portfolio-image-container:hover img {
    transform: scale(1.05);
}

.portfolio-image-link img {
    border-radius: 8px;
}

.wedding-image {
    flex: 1 1 0;
}

.portfolio-info {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wedding-details {
    flex: 1.5 1 0;
}

.portfolio-details h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    max-width: 570px;
}
.portfolio-details > p {
    margin-bottom: 25px;
    line-height: 1.6;
}
html.light-theme .portfolio-details > p {
    color: #4b5563;
}

.portfolio-details h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #079e7b;
}

.features-list {
    list-style: none;
    margin-bottom: 25px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.features-list li svg {
    color: #079e7b;
    flex-shrink: 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tech-tag {
    background-color: #3c4a5c;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
}

html.light-theme .tech-tag {
    background-color: #e5e7eb;
}

.portfolio-button {
    background-color: #079e7b;
    color: #fff;
    font-size: 1.2rem;
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: "Poiret One", sans-serif;
    font-weight: 600;
    box-shadow: 0 4px 24px rgba(7,158,123,0.10);
    transition: background 0.3s, color 0.3s, transform 0.2s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.portfolio-button:hover {
    background-color: #08b992;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

.discount-btn-wrapper {
    display: flex;
    justify-content: center;
    position: fixed;
    z-index: 11;
    bottom: 20px;
    right: 20px;
}
.discount-btn {
    background-color: #079e7b;
    color: #fff;
    font-size: 1.2rem;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 400;
    box-shadow: 0 4px 24px rgba(7,158,123,0.10);
    transition: background 0.3s, color 0.3s, transform 0.2s;
    position: relative;
    overflow: hidden;
    animation: pulse 2.5s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
    100% {
        transform: scale(1);
    }
}
.discount-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 2;
    animation: shine 2.5s infinite;
}
@keyframes shine {
    0% {
        left: -75%;
    }
    60% {
        left: 120%;
    }
    100% {
        left: 120%;
    }
}
.discount-btn:hover {
    background-color: #08b992;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

.modal-overlay#discountModal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.modal-overlay#discountModal.active {
    display: flex;
}
.discount-modal-content {
    background: #2b3648;
    color: #fff;
    border-radius: 16px;
    padding: 36px 32px 28px 32px;
    max-width: 400px;
    width: 95%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    text-align: center;
}
html.light-theme .discount-modal-content {
    background: #fff;
    color: #1f2937;
}
.modal-close {
    position: absolute;
    top: -1px;
    right: 11px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2;
}
.modal-close:hover {
    color: #079e7b;
}
.discount-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}
.discount-form label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 1rem;
    color: #079e7b;
    font-weight: 500;
    gap: 6px;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    padding: 4px 8px;
}
.discount-form .label-text {
    border: 2px solid #079e7b;
    border-radius: 10px;
    padding: 4px 8px;
}
.discount-form input,
.discount-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
    margin-top: 2px;
    background: #f9fafb;
    color: #1f2937;
    transition: border 0.2s;
}
.discount-form input:focus,
.discount-form textarea:focus {
    border-color: #079e7b;
    outline: none;
}


.contact-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 8px;
}

.contact-options {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #079e7b;
    font-weight: 500;
    justify-content: space-between;
}

.contact-option {
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 4px;
    border: 2px solid transparent;
    border-radius: 10px;
}

.contact-option:hover {
    color: #0d8a6b;
}

.contact-option.active {
    color: #079e7b;
    font-weight: 600;
    border-color: #079e7b;
    background-color: rgba(7, 158, 123, 0.1);
}

.contact-separator {
    color: #6b7280;
    font-weight: 500;
}
.discount-submit {
    background: #079e7b;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}
.discount-submit:hover {
    background: #08b992;
}
.discount-success {
    margin-top: 8px;
    color: #079e7b;
    font-weight: 600;
    font-size: 1.1rem;
}
.discount-desc {
    color: #4b5563;
    font-size: 1rem;
    margin-bottom: 10px;
}

.spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 3px solid #DF6417;
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

img[src="img/starvin.png"] {
    width: auto;
}

.reviews-intro {
    color: #6b7280;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.reviews-swiper {
    padding: 20px 10px 50px;
    width: 100%;
}

.reviews-swiper-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reviews-swiper .swiper-button-next,
.reviews-swiper .swiper-button-prev {
    position: static;
    margin: 0;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(7, 158, 123, 0.2);
    color: #079e7b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.reviews-swiper .swiper-button-next::after,
.reviews-swiper .swiper-button-prev::after {
    display: none;
}

.reviews-swiper .swiper-button-next svg,
.reviews-swiper .swiper-button-prev svg {
    width: 24px;
    height: 24px;
}

.reviews-swiper .swiper-button-next:hover,
.reviews-swiper .swiper-button-prev:hover {
    background: rgba(7, 158, 123, 0.35);
    color: #08b992;
}

.reviews-swiper .swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.reviews-swiper .review-card {
    height: 100%;
    margin: 0;
}

.reviews-swiper .swiper-pagination-bullet-active {
    background: #079e7b;
}

.reviews-grid {
    display: none;
}

.review-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(7, 158, 123, 0.2);
    border-color: rgba(7, 158, 123, 0.3);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #079e7b, #08b992);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.author-info h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
}

.review-date {
    font-size: 0.85rem;
    color: #9ca3af;
}

.review-rating {
    font-size: 1rem;
}

.review-text {
    line-height: 1.7;
    color: #d1d5db;
    font-size: 0.95rem;
    margin: 0;
}

.review-author-title {
    margin-top: 0.5rem;
    font-style: italic;
    color: #9ca3af;
    font-size: 0.9rem;
}

.reviews-cta {
    text-align: center;
    margin-top: 3rem;
}

.reviews-fl-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #079e7b, #08b992);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(7, 158, 123, 0.3);
}

.reviews-fl-btn:hover {
    background: linear-gradient(135deg, #08b992, #079e7b);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(7, 158, 123, 0.4);
}

.light-theme .reviews-intro {
    color: #4b5563;
}

.light-theme .review-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.light-theme .review-card:hover {
    box-shadow: 0 10px 30px rgba(7, 158, 123, 0.15);
    border-color: rgba(7, 158, 123, 0.3);
}

.light-theme .author-info h4 {
    color: #1f2937;
}

.light-theme .review-date {
    color: #6b7280;
}

.light-theme .review-text {
    color: #4b5563;
}

.light-theme .review-author-title {
    color: #6b7280;
}

.site-footer {
    margin-top: 4rem;
    padding: 2rem 0 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: #9ca3af;
    font-size: 0.95rem;
}

.light-theme .site-footer {
    border-top: 1px solid #e5e7eb;
}

.light-theme .site-footer p {
    color: #6b7280;
}