:root {
    /* New Palette: Deep Indigo & Electric Lime */
    --color-bg: #0F172A;
    --color-bg-light: #1E293B;
    --color-primary: #6366F1;
    /* Indigo */
    --color-primary-light: #818CF8;
    --color-accent: #A3E635;
    /* Lime Green - High contrast for CTA */
    --color-text: #F8FAFC;
    --color-text-dim: #94A3B8;
    --color-error: #EF4444;

    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --container-width: 1200px;
    --header-height: 70px;
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.full-width {
    width: 100%;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: #0b1120;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.section {
    padding: 80px 0;
}

.section__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--color-text);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

.btn--primary:hover {
    background-color: #bef264;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(163, 230, 53, 0.3);
}

.btn--outline {
    border: 2px solid var(--color-text-dim);
    background: transparent;
    color: var(--color-text);
}

.btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(163, 230, 53, 0.2);
}

.btn--small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-text);
    transition: var(--transition);
}

.logo:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.logo svg {
    transition: var(--transition);
}

.logo:hover svg {
    transform: scale(1.1);
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    transition: var(--transition);
    position: relative;
}

.nav__link:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 25px;
    height: 20px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    transition: var(--transition);
    position: absolute;
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger span:nth-child(3) {
    bottom: 0;
}

/* Burger animation when menu is open */
.header.menu-open .burger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.header.menu-open .burger span:nth-child(2) {
    opacity: 0;
}

.header.menu-open .burger span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--color-bg);
    overflow: hidden;
    transition: 0.4s;
    z-index: 999;
}

.mobile-menu.active {
    height: calc(100vh - var(--header-height));
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    gap: 20px;
}

.mobile-menu__list a {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    transition: var(--transition);
    display: inline-block;
}

.mobile-menu__list a:hover {
    color: var(--color-accent);
    transform: translateX(10px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-bg);
    padding: calc(var(--header-height) + 40px) 0 40px;
    overflow: hidden;
}

.hero__container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .hero__container {
        padding: 0 15px;
    }
}

.hero__content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.hero__text-section {
    position: relative;
    z-index: 2;
    padding-right: 20px;
}

.hero__image-section {
    position: relative;
    height: 100%;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__image-section::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(163, 230, 53, 0.1), rgba(99, 102, 241, 0.1));
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero__image-section:hover::before {
    opacity: 1;
}

.hero__image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(163, 230, 53, 0.2), 0 0 0 1px rgba(163, 230, 53, 0.1);
    background: var(--color-bg-light);
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
    display: block;
    transition: transform 0.6s ease;
    filter: brightness(1.05) contrast(1.1);
}

.hero__image-wrapper:hover .hero__image {
    transform: scale(1.03);
}

.hero__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(99, 102, 241, 0.03) 0%,
            rgba(163, 230, 53, 0.02) 100%);
    pointer-events: none;
    opacity: 0.6;
}

.hero__decorative-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero__shape-1 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(163, 230, 53, 0.08) 0%, transparent 70%);
    top: -80px;
    right: -80px;
    animation: float 6s ease-in-out infinite;
}

.hero__shape-2 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    bottom: -40px;
    left: -40px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    transition: var(--transition);
}

.badge:hover {
    background: rgba(163, 230, 53, 0.1);
    transform: scale(1.05);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--color-text-dim);
}

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

.card {
    background: var(--color-bg-light);
    padding: 30px;
    border-radius: var(--radius);
    border-top: 3px solid var(--color-primary);
    transition: var(--transition);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    border-top-color: var(--color-accent);
}

.card:hover .card__icon {
    transform: scale(1.1);
    color: var(--color-accent);
}

.card__icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    transition: var(--transition);
}

.card h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.card p {
    color: var(--color-text-dim);
    font-size: 0.95rem;
}

/* Services */
.services__grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, 1fr);
}

.service-item {
    background: var(--color-bg);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

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

.service-item:hover h3 {
    color: var(--color-accent);
}

.service-item.full-width {
    grid-column: 1 / -1;
    flex-direction: row;
}

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

.service-item.full-width img {
    width: 50%;
    height: auto;
}

.service-item__content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-item h3 {
    color: var(--color-primary-light);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    transition: var(--transition);
}

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

.review-card {
    background: var(--color-bg-light);
    padding: 30px;
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(163, 230, 53, 0.3);
}

.review-card:hover .avatar {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(163, 230, 53, 0.3);
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
}

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

.avatar {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    overflow: hidden;
    flex-shrink: 0;
    transition: var(--transition);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Contact */
.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact__info {
    padding-top: 40px;
}

.contact__list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact__list i {
    color: var(--color-accent);
    width: 20px;
    margin-right: 10px;
}

.contact__form {
    background: var(--color-bg-light);
    padding: 40px;
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid #334155;
    background: var(--color-bg);
    color: var(--color-text);
    outline: none;
}

.form-group input {
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.1);
    transform: translateY(-1px);
}

.error-msg {
    color: var(--color-error);
    font-size: 0.8rem;
    display: none;
    margin-top: 5px;
}

/* Loader */
.loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-bg);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Footer */
.footer {
    background: #000;
    padding: 50px 0;
    color: var(--color-text-dim);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.logo--footer {
    color: var(--color-text);
    margin-bottom: 15px;
}

.footer__col h4 {
    color: var(--color-text);
    margin-bottom: 20px;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col a {
    transition: var(--transition);
}

.footer__col a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
    display: inline-block;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: var(--color-bg-light);
    padding: 20px;
    z-index: 2000;
    border-top: 1px solid var(--color-accent);
    transition: 0.5s;
    display: flex;
    justify-content: center;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: var(--container-width);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-btns {
    display: flex;
    gap: 10px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    display: block;
    opacity: 1;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background: var(--color-bg-light);
    padding: 40px;
    padding-top: 50px;
    border-radius: var(--radius);
    z-index: 3001;
    display: none;
    overflow-y: auto;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal.active {
    display: block;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-text);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    line-height: 1;
}

.modal-close:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
    transform: rotate(90deg);
}

.modal-content h3 {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.modal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 15px;
}

/* Responsive */
/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .hero__content-wrapper {
        gap: 60px;
    }

    .hero__title {
        font-size: 2.5rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .section {
        padding: 60px 0;
    }

    .section__title {
        font-size: 2rem;
    }

    .hero__content-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero__text-section {
        padding-right: 0;
        text-align: center;
    }

    .hero__image-section {
        min-height: 450px;
        order: -1;
    }

    .hero__image-wrapper {
        box-shadow: 0 15px 50px rgba(163, 230, 53, 0.15);
    }

    .hero__shape-1,
    .hero__shape-2 {
        display: none;
    }

    .features__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

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

    .service-item.full-width {
        flex-direction: column;
    }

    .service-item.full-width img {
        width: 100%;
        height: 300px;
    }

    .reviews__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .contact__wrapper {
        gap: 40px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Mobile and Small Tablets */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 50px 0;
    }

    .section__title {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero {
        padding: calc(var(--header-height) + 20px) 0 20px;
        min-height: auto;
    }

    .hero__container {
        padding: 0 20px;
    }

    .hero__content-wrapper {
        gap: 30px;
    }

    .hero__title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__image-section {
        min-height: 350px;
    }

    .hero__image-wrapper {
        border-radius: 16px;
    }

    .badge {
        font-size: 0.85rem;
        padding: 4px 10px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }

    .features__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 25px;
    }

    .card__icon {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }

    .services__grid {
        gap: 20px;
    }

    .service-item {
        border-radius: 12px;
    }

    .service-item img {
        height: 200px;
    }

    .service-item.full-width img {
        height: 250px;
    }

    .service-item__content {
        padding: 25px;
    }

    .service-item h3 {
        font-size: 1.25rem;
    }

    .reviews__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        padding: 25px;
    }

    .review-text {
        font-size: 0.95rem;
    }

    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact__info {
        padding-top: 0;
    }

    .contact__info h2 {
        font-size: 1.75rem;
    }

    .contact__form {
        padding: 30px 20px;
    }

    .form-group input {
        padding: 10px;
        font-size: 0.95rem;
    }

    .footer {
        padding: 40px 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer__col:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo--footer {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .modal {
        width: 95%;
        padding: 30px 20px;
        padding-top: 50px;
        max-height: 85vh;
    }

    .modal-close {
        width: 30px;
        height: 30px;
        font-size: 1.25rem;
        top: 10px;
        right: 10px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-btns {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btns .btn {
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 40px 0;
    }

    .section__title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .hero {
        padding: calc(var(--header-height) + 15px) 0 15px;
    }

    .hero__title {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }

    .hero__subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero__image-section {
        min-height: 280px;
    }

    .badge {
        font-size: 0.8rem;
        padding: 3px 8px;
        margin-bottom: 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .card {
        padding: 20px;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    .service-item__content {
        padding: 20px;
    }

    .service-item h3 {
        font-size: 1.1rem;
    }

    .review-card {
        padding: 20px;
    }

    .avatar {
        width: 45px;
        height: 45px;
    }

    .contact__form {
        padding: 25px 15px;
    }

    .logo {
        font-size: 1rem;
    }

    .logo svg {
        width: 35px;
        height: 35px;
    }

    .modal {
        padding: 25px 15px;
        padding-top: 45px;
    }

    .modal-content h3 {
        font-size: 1.25rem;
    }

    .modal-content p,
    .modal-content li {
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero__title {
        font-size: 1.5rem;
    }

    .section__title {
        font-size: 1.35rem;
    }

    .btn {
        padding: 9px 18px;
        font-size: 0.85rem;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 15px) 0 15px;
    }

    .hero__image-section {
        min-height: 300px;
    }

    .section {
        padding: 40px 0;
    }
}