@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Raleway:wght@300;400;600&display=swap');

:root {
    --primary: #dc2626;
    --dark: #121212;
    --gray-light: #f8fafc;
    --gray-medium: #64748b;
    --text-color: #334155;
    --white: #ffffff;
    --header-height: 80px;
    --transition: all 0.3s ease;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--text-color);
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body.admin-bar .main-header {
    top: 32px;
}

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

img {
    display: block;
    height: auto;
    max-width: 100%;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    margin: 0 auto;
    max-width: var(--container);
    padding: 0 5%;
}

.main-header {
    align-items: center;
    background: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    height: var(--header-height);
    justify-content: space-between;
    left: 0;
    padding: 0 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.main-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.logo img {
    height: 40px;
}

.logo-text {
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.menu-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    background: var(--dark);
    display: block;
    height: 2px;
    width: 28px;
}

.nav-links {
    align-items: center;
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--gray-medium);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.nav-links .menu-item-has-children {
    position: relative;
}

.nav-links .menu-item-has-children::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 30px;
}

.nav-links .sub-menu {
    background: var(--white);
    border-top: 3px solid var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    left: 0;
    list-style: none;
    min-width: 240px;
    opacity: 0;
    padding: 12px 0;
    pointer-events: none;
    position: absolute;
    top: 52px;
    transform: translateY(6px);
    transition: var(--transition);
    visibility: hidden;
}

.nav-links .sub-menu a {
    display: block;
    padding: 10px 18px;
}

.nav-links .menu-item-has-children:hover > .sub-menu,
.nav-links .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links .menu-item:not(.menu-item-type-custom).current-menu-item > a,
.nav-links .menu-item:not(.menu-item-type-custom).current-menu-ancestor > a,
.nav-links .menu-item:not(.menu-item-type-custom).current-menu-parent > a {
    color: var(--primary);
}

.hero-slider {
    height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    overflow: hidden;
    position: relative;
}

.slides-wrapper {
    height: 100%;
    width: 100%;
}

.single-slide {
    align-items: center;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: var(--white);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    opacity: 0;
    padding: 0 20px;
    position: absolute;
    text-align: center;
    top: 0;
    transition: opacity 1s ease-in-out;
    width: 100%;
}

.single-slide.active {
    opacity: 1;
    z-index: 3;
}

.hero-box {
    position: relative;
    z-index: 4;
}

.hero-center-image {
    margin: 0 auto;
    max-width: 450px;
    width: 100%;
}

.hero-box h1 {
    font-size: clamp(2rem, 4vw, 42px);
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 25px;
    max-width: 800px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.btn-eng,
.budget-btn {
    background: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 4px;
    color: var(--white);
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 35px;
    text-transform: uppercase;
}

.btn-eng:hover,
.budget-btn:hover {
    background: transparent;
    color: var(--primary);
}

.slider-arrow {
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    font-size: 18px;
    height: 45px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--primary);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.section-padding {
    padding: 80px 5%;
}

.section-title,
.entry-title {
    color: var(--dark);
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 35px;
    text-align: center;
    text-transform: uppercase;
}

.section-about {
    background: var(--gray-light);
}

.narrow-content {
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
}

.section-copy {
    color: var(--gray-medium);
    font-size: 16px;
}

.services-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 0 auto;
    max-width: var(--container);
}

.service-card {
    padding: 20px;
    text-align: center;
}

.service-card h3 {
    color: var(--primary);
    font-size: 15px;
    text-transform: uppercase;
}

.service-card a:hover {
    opacity: 0.8;
}

.team-section {
    background: var(--dark);
    color: var(--white);
}

.team-section .section-title {
    color: var(--white);
}

.team-container {
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
}

.team-avatar {
    border: 4px solid var(--primary);
    border-radius: 50%;
    height: 140px;
    margin: 0 auto 20px;
    overflow: hidden;
    width: 140px;
}

.team-avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.team-name {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.team-desc {
    color: #cbd5e1;
    font-size: 14px;
    margin: 0 auto;
    max-width: 600px;
}

.contact-section {
    display: flex;
}

.contact-left,
.contact-right {
    flex: 1;
    padding: 80px 5%;
}

.contact-left {
    align-items: flex-end;
    background: var(--dark);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details {
    max-width: 400px;
    text-align: right;
}

.contact-details h2 {
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.logo-footer {
    margin-bottom: 25px;
    text-align: right;
}

.logo-footer img {
    display: inline-block;
    max-width: 130px;
}

.contact-right {
    background: var(--primary);
    color: var(--white);
}

.contact-right form,
.form-placeholder {
    margin: 0 auto;
    max-width: 500px;
}

.contact-right .forminator-ui.forminator-custom-form .forminator-row {
    gap: 15px;
}

.form-placeholder {
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 30px;
    text-align: center;
}

.site-footer {
    background: #09090b;
    color: #71717a;
    font-size: 12px;
    padding: 20px;
    text-align: center;
}

.site-main--default {
    margin-top: var(--header-height);
    padding: 70px 0 40px;
}

.prose-content {
    max-width: 960px;
}

.entry-content p,
.service-body p {
    margin-bottom: 15px;
}

.page-content {
    align-items: flex-start;
    display: flex;
    gap: 40px;
    margin: calc(var(--header-height) + 40px) auto 40px;
    max-width: var(--container);
    padding: 0 5%;
}

.service-intro-section {
    background: #efefef;
    padding: calc(var(--header-height) + 40px) 0 40px;
    width: 100%;
}

.service-intro-section .page-content {
    margin: 0 auto;
}

.page-text {
    flex: 2;
}

.page-text h1 {
    color: var(--primary);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 25px;
}

.page-text ul {
    list-style: none;
    margin-bottom: 30px;
}

.page-text ul li {
    color: #4b5563;
    font-size: 15px;
    margin-bottom: 12px;
    padding-left: 18px;
    position: relative;
}

.page-text ul li::before {
    color: var(--dark);
    content: "•";
    font-size: 22px;
    font-weight: 700;
    left: 0;
    position: absolute;
    top: -4px;
}

.contact-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.service-builder-section {
    margin: 0 auto 40px;
    max-width: var(--container);
    padding: 0 5%;
}

.clients-table-section {
    margin-top: 72px;
}

.clients-table-wrap {
    background: #ffffff;
    border: 1px solid #dbe3ec;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    overflow-x: auto;
}

.clients-table {
    border-collapse: collapse;
    width: 100%;
}

.clients-table th,
.clients-table td {
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 20px;
    text-align: left;
    vertical-align: top;
}

.clients-table th {
    background: #f8fafc;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.clients-table th + th,
.clients-table td + td {
    border-left: 1px solid #e2e8f0;
}

.clients-table td {
    color: #334155;
    font-size: 15px;
    line-height: 1.65;
}

.clients-table tbody tr:nth-child(even) td {
    background: #fcfdff;
}

.clients-table tbody tr:last-child td {
    border-bottom: 0;
}

.whatsapp-banner {
    align-items: center;
    background: #00b359;
    border-radius: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--white);
    display: flex;
    gap: 12px;
    padding: 10px 20px;
}

.whatsapp-banner:hover {
    background: #00984a;
    transform: translateY(-2px);
}

.whatsapp-banner .text {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.whatsapp-banner .icon {
    align-items: center;
    background: var(--white);
    border-radius: 50%;
    color: #00b359;
    display: flex;
    font-size: 18px;
    height: 35px;
    justify-content: center;
    width: 35px;
}

.budget-btn {
    background: #191919;
    border-color: #191919;
    font-size: 13px;
    padding: 14px 30px;
}

.page-sidebar {
    align-self: flex-start;
    background: #f8fafc;
    border-radius: 8px;
    border-top: 4px solid var(--primary);
    flex: 1;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.page-sidebar h3 {
    color: var(--dark);
    font-size: 15px;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.sidebar-list li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-list a {
    align-items: center;
    color: var(--gray-medium);
    display: flex;
    gap: 8px;
}

.sidebar-list a:hover,
.sidebar-list a.is-active {
    color: var(--primary);
    font-weight: 700;
}

.clients-grid-section {
    margin-top: 56px;
}

.clients-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.client-card {
    align-items: center;
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
    min-height: 120px;
    padding: 8px;
}

.client-card img {
    max-height: 100px;
    object-fit: contain;
    width: auto;
}

@media (max-width: 960px) {
    .menu-toggle {
        display: flex;
    }

    .primary-nav {
        background: var(--white);
        left: 0;
        opacity: 0;
        padding: 20px 5%;
        pointer-events: none;
        position: absolute;
        right: 0;
        top: 100%;
        transform: translateY(10px);
        transition: var(--transition);
        visibility: hidden;
    }

    .primary-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }

    .nav-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .nav-links .sub-menu {
        border-top: 0;
        box-shadow: none;
        min-width: 0;
        opacity: 1;
        padding: 8px 0 0 18px;
        pointer-events: auto;
        position: static;
        transform: none;
        visibility: visible;
    }

    .single-slide {
        background-attachment: scroll;
    }

    .contact-section,
    .page-content {
        flex-direction: column;
    }

    .page-sidebar {
        position: static;
        top: auto;
        width: 100%;
    }

    .clients-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 782px) {
    body.admin-bar .main-header {
        top: 46px;
    }
}

@media (max-width: 640px) {
    .slider-arrow {
        display: none;
    }

    .section-padding,
    .contact-left,
    .contact-right {
        padding: 60px 5%;
    }

    .contact-details {
        text-align: left;
    }

    .logo-footer,
    .contact-left {
        align-items: flex-start;
        text-align: left;
    }

    .clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clients-table,
    .clients-table tbody,
    .clients-table tr,
    .clients-table td {
        display: block;
        width: 100%;
    }

    .clients-table thead {
        display: none;
    }

    .clients-table tr {
        background: #ffffff;
        border: 1px solid #dbe3ec;
        border-radius: 12px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
        margin-bottom: 14px;
        overflow: hidden;
    }

    .clients-table td {
        border: 0;
        border-bottom: 1px solid #e5e7eb;
        padding: 14px 14px 14px 44%;
        position: relative;
    }

    .clients-table td:last-child {
        border-bottom: 0;
    }

    .clients-table td::before {
        color: var(--dark);
        content: attr(data-label);
        font-family: 'Montserrat', sans-serif;
        font-size: 12px;
        font-weight: 700;
        left: 14px;
        position: absolute;
        top: 12px;
        width: calc(44% - 24px);
    }
}
