@import url('./root.css');
@import url('./global.css');


/* ==========================================================================
   RESET
   ========================================================================== */

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


html {
    scroll-behavior: smooth;
    font-size: 16px;
}


body {
    font-family: "Montserrat", sans-serif;
    background-color: #0A0A0A;
    color: #D1D5DB;
    line-height: 1.6;
    overflow-x: hidden;
}


body,
button,
a {
    -webkit-font-smoothing: antialiased;
}


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


button {
    font: inherit;
}


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


ul {
    list-style: none;
}


/* ==========================================================================
   CONTAINER
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}


/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

.slide-on-scroll {
    opacity: 0;
    will-change: transform, opacity;

    transition:
        opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}


.slide-left {
    transform: translate3d(-70px, 0, 0);
}


.slide-right {
    transform: translate3d(70px, 0, 0);
}


.slide-up {
    transform: translate3d(0, 50px, 0);
}


.slide-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}





/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-details-section {
    padding: 5rem 0 7rem;
    background-color: #0A0A0A;
}


/* ==========================================================================
   SERVICE ROW
   ========================================================================== */

.service-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 4.5rem;
    align-items: center;
    padding: 4.5rem 0;
    border-bottom: 1px solid #1F1F1F;
}


.service-row:last-child {
    border-bottom: none;
    padding-bottom: 1rem;
}


/* ==========================================================================
   REVERSE ROW
   ========================================================================== */

.service-row.reverse {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}


.service-row.reverse .service-image-col {
    order: 2;
}


.service-row.reverse .service-content-col {
    order: 1;
}


/* ==========================================================================
   IMAGE
   ========================================================================== */

.service-image-col {
    min-width: 0;
}


.image-frame {
    width: 100%;
    overflow: hidden;
    border-radius: 22px;
    background-color: #141414;
    border: 1px solid #262626;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}


.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}


.service-image-col:hover .image-frame img {
    transform: scale(1.04);
}


/* ==========================================================================
   CONTENT
   ========================================================================== */

.service-content-col {
    min-width: 0;
}


.service-tag {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}


.service-heading {
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}


.service-desc {
    margin-bottom: 1.2rem;
    color: #CACACA;
    font-size: 0.98rem;
    line-height: 1.8;
    text-align: justify;
}


.service-desc:last-of-type {
    margin-bottom: 0;
}


/* ==========================================================================
   SERVICE BUTTON
   ========================================================================== */

.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    min-height: 48px;
    padding: 0.85rem 2rem;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(165, 0, 13, 0.25);
    transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.service-btn i {
    transition: transform 0.3s ease;
}


.service-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(165, 0, 13, 0.35);
}


.service-btn:hover i {
    transform: translateX(4px);
}


.service-btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}