
/* =========================================================
   01. ROOT VARIABLES
   ========================================================= */

:root {
    --tech-blue: #0A58CA;
    --deep-navy: #0E2A47;
    --cyan: #00C6FB;

    --white: #FFFFFF;
    --light-bg: #F4F7FB;
    --soft-bg: #EEF4FA;

    --text-dark: #10253F;
    --text: #40536A;
    --text-light: #718096;

    --border: rgba(14, 42, 71, 0.10);

    --shadow-sm: 0 8px 25px rgba(14, 42, 71, 0.07);
    --shadow-md: 0 18px 45px rgba(14, 42, 71, 0.11);
    --shadow-lg: 0 30px 80px rgba(14, 42, 71, 0.16);

    --container: 1240px;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition: 0.3s ease;
}
/* =========================================================
   02. RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}


/* =========================================================
   03. GLOBAL
   ========================================================= */

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding: 110px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--tech-blue);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    margin-bottom: 16px;
}

.section-label::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--cyan);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading.centered .section-label {
    justify-content: center;
}

.section-heading h2 {
    color: var(--deep-navy);
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.section-heading h2 span {
    color: var(--tech-blue);
}

.section-heading p {
    max-width: 700px;
    margin-top: 20px;

    color: var(--text-light);
    font-size: 16px;
}

.section-heading.centered p {
    margin-inline: auto;
}


/* =========================================================
   04. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 54px;
    padding: 0 27px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        box-shadow var(--transition);
}

.btn span {
    font-size: 19px;
    line-height: 1;
    transition: transform var(--transition);
}

.btn:hover span {
    transform: translateX(4px);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    background: var(--tech-blue);
    box-shadow: 0 12px 30px rgba(10, 88, 202, 0.25);
}

.btn-primary:hover {
    background: #084ba9;
    box-shadow: 0 18px 35px rgba(10, 88, 202, 0.30);
}

.btn-outline {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    color: var(--deep-navy);
    background: var(--white);
    border-color: var(--white);
}

.btn-light {
    color: var(--deep-navy);
    background: var(--white);
}

.btn-light:hover {
    color: var(--tech-blue);
}


/* =========================================================
   05. TOP BAR
   ========================================================= */

.top-bar {
    position: relative;
    z-index: 100;

    color: rgba(255, 255, 255, 0.82);
    background: var(--deep-navy);

    font-size: 12px;
}

.top-bar-inner {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 13px;
}

.top-contact a {
    transition: color var(--transition);
}

.top-contact a:hover {
    color: var(--cyan);
}

.top-divider {
    width: 1px;
    height: 13px;
    background: rgba(255, 255, 255, 0.25);
}

.top-hours {
    color: rgba(255, 255, 255, 0.65);
}


/* =========================================================
   HEADER — DESKTOP
   ========================================================= */

.site-header {
    position: relative;
    z-index: 90;

    height: 64px;

    background: var(--white);

    border-bottom: 1px solid rgba(14, 42, 71, 0.07);

    transition:
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.nav-wrapper {
    height: 64px;
    min-height: 64px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   OFFICIAL TS LOGO
   ========================================================= */

/* =========================================================
   HORIZONTAL LOGO — LARGER, COMPACT HEADER
   ========================================================= */

.brand-logo {
    flex: 0 0 auto;

    width: 225px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    overflow: visible;
}

.brand-logo img {
    display: block;

    width: 270px;
    height: auto;

    max-width: none;
    max-height: 75px;

    object-fit: contain;
    object-position: left center;

    flex-shrink: 0;
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;

    margin-left: auto;
}

.nav-link {
    position: relative;

    display: flex;
    align-items: center;

    height: 78px;

    padding: 0;

    color: var(--text-dark);

    font-size: 13px;
    font-weight: 500;

    white-space: nowrap;

    transition: color var(--transition);
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 20px;

    width: 0;
    height: 2px;

    background: var(--tech-blue);

    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--tech-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.nav-actions {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 12px;
}

.search-button {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    transition:
        background var(--transition),
        transform var(--transition);
}

.search-button:hover {
    background: var(--light-bg);

    transform: translateY(-1px);
}

.search-icon {
    position: relative;

    width: 16px;
    height: 16px;

    border: 1.7px solid var(--deep-navy);

    border-radius: 50%;
}

.search-icon::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 1.7px;

    right: -5px;
    bottom: -2px;

    background: var(--deep-navy);

    border-radius: 2px;

    transform: rotate(45deg);
}


/* =========================================================
   GET A QUOTE
   ========================================================= */

.quote-button {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 19px;

    color: var(--white);
    background: var(--tech-blue);

    border-radius: 7px;

    font-size: 13px;
    font-weight: 600;

    transition:
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.quote-button:hover {
    background: #084ba9;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(10, 88, 202, 0.22);
}

.quote-button .arrow {
    font-size: 17px;
}


/* =========================================================
   HEADER SCROLL
   ========================================================= */

.site-header.header-scrolled {
    box-shadow:
        0 8px 30px rgba(14, 42, 71, 0.08);
}

/* =========================================================
   07. MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-button {
    width: 44px;
    height: 44px;

    display: none;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;
}

.mobile-menu-button span {
    display: block;

    width: 22px;
    height: 2px;

    background: var(--deep-navy);

    border-radius: 3px;

    transition: transform var(--transition);
}


/* =========================================================
   16. FOOTER
   ========================================================= */

.site-footer {
    color: rgba(255, 255, 255, 0.65);

    background: #071a2d;
}

.footer-main {
    display: grid;

    grid-template-columns: 1.5fr 0.8fr 1fr 1.15fr;

    gap: 60px;

    padding-top: 75px;
    padding-bottom: 65px;
}

.footer-company {
    max-width: 340px;
}

.footer-logo {
    display: inline-block;

    padding: 10px;

    border-radius: 8px;

    background: var(--white);
}

.footer-logo img {
    width: 145px;
}

.footer-company > p {
    margin-top: 22px;

    font-size: 13px;

    line-height: 1.8;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 22px;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.65);

    font-size: 11px;

    transition: color var(--transition);
}

.footer-socials a:hover {
    color: var(--cyan);
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 9px;

    color: var(--white);

    font-size: 14px;
}

.footer-column a,
.footer-column p {
    color: rgba(255, 255, 255, 0.60);

    font-size: 12px;

    line-height: 1.7;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--cyan);
}

.footer-contact a {
    word-break: break-word;
}

.footer-bottom {
    min-height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom p {
    font-size: 11px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.55);

    font-size: 11px;

    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--cyan);
}


/* MOBILE MENU */

@media (max-width: 991px) {
    .nav-wrapper {
        gap: 12px;
    }

    .brand-logo {
        width: 180px;
    }

    .brand-logo img {
        width: 210px;
    }

    .main-navigation,
    .nav-actions {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
        flex-shrink: 0;
    }
}

@media (max-width: 991px) {
    .main-navigation {
        display: none;
    }

    .nav-actions {
        display: flex;
        margin-left: auto;
    }

    .nav-actions .search-button,
    .nav-actions .quote-button {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .container {
        width: calc(100% - 30px);
    }

    .brand-logo {
        width: 145px;
    }

    .brand-logo img {
        width: 175px;
    }

    .top-hours {
        display: none;
    }
}


/* =========================================================
   17. MOBILE NAVIGATION
   ========================================================= */

.mobile-navigation {
    position: fixed;

    top: 0;
    right: 0;

    width: min(360px, 90vw);
    height: 100vh;

    z-index: 999;

    display: flex;
    flex-direction: column;

    padding: 90px 30px 30px;

    background: var(--deep-navy);

    transform: translateX(100%);

    transition: transform 0.35s ease;

    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.20);
}

.mobile-navigation.active {
    transform: translateX(0);
}

.mobile-navigation::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(0, 198, 251, 0.13),
            transparent 35%
        );

    pointer-events: none;
}

.mobile-navigation a {
    position: relative;

    padding: 14px 0;

    color: rgba(255, 255, 255, 0.82);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    font-size: 14px;

    transition:
        color var(--transition),
        padding-left var(--transition);
}

.mobile-navigation a:hover {
    color: var(--cyan);
    padding-left: 5px;
}

.mobile-navigation-close {
    position: absolute;

    top: 24px;
    right: 25px;

    z-index: 2;

    width: 40px;
    height: 40px;

    color: var(--white);

    font-size: 30px;
    line-height: 1;
}

.mobile-quote-button {
    margin-top: 25px;

    padding: 14px 18px !important;

    color: var(--white) !important;

    border: 0 !important;

    background: var(--tech-blue);

    border-radius: 7px;

    text-align: center;
}


/* =========================================================
   18. RESPONSIVE — LARGE TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1200px) {

    .container {
        width: min(var(--container), calc(100% - 40px));
    }

    .main-navigation {
        gap: 20px;
    }

    .hero-container {
        grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);
    }

    .hero-content h1 {
        font-size: clamp(43px, 5vw, 66px);
    }

    .about-grid {
        gap: 55px;
    }

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

    .footer-main {
        gap: 35px;
    }
}


/* =========================================================
   19. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 991px) {

    .section {
        padding: 85px 0;
    }

    .top-hours {
        display: none;
    }

    .main-navigation,
    .nav-actions .search-button,
    .nav-actions .quote-button {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .nav-wrapper {
    height: 70px;
    min-height: 70px;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;

        padding-top: 80px;
        padding-bottom: 170px;
    }

    .hero-content {
        max-width: 760px;
    }

    .hero-visual {
        position: absolute;

        right: -90px;
        bottom: 80px;

        width: 430px;
        min-height: 400px;

        opacity: 0.42;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 20, 37, 0.97),
                rgba(5, 20, 37, 0.75)
            );
    }

    .hero-highlights {
        width: calc(100% - 40px);
    }

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

    .about-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .about-visual {
        min-height: auto;

        max-width: 600px;

        margin-inline: auto;
    }

    .about-content {
        max-width: 750px;
        margin-inline: auto;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 30px;
    }

    .process-item,
    .process-item:not(:first-child) {
        padding: 15px 20px 20px 0;

        border-right: 0;
        border-bottom: 1px solid rgba(14, 42, 71, 0.12);
    }

    .process-item:nth-child(even) {
        padding-left: 20px;
        border-left: 1px solid rgba(14, 42, 71, 0.12);
    }

    .process-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

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

    .project-card:last-child {
        grid-column: 1 / -1;

        max-width: calc(50% - 11px);
        width: 100%;

        margin-inline: auto;
    }

    .cta-container {
        min-height: 330px;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   20. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .container {
        width: calc(100% - 32px);
    }

    .section {
        padding: 70px 0;
    }

    .top-bar {
        display: none;
    }

    .nav-wrapper {
        min-height: 70px;
    }

    .brand-logo img {
        width: 200px;
    }

    .hero-container {
        width: calc(100% - 32px);

        padding-top: 70px;
        padding-bottom: 185px;
    }

    .hero-content h1 {
        font-size: clamp(40px, 11vw, 58px);

        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-tagline {
        flex-wrap: wrap;

        gap: 8px;

        font-size: 9px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-visual {
        right: -100px;
        bottom: 100px;

        width: 340px;

        opacity: 0.25;
    }

    .hero-highlights {
        width: calc(100% - 32px);

        grid-template-columns: 1fr;

        border-top: 0;
    }

    .hero-highlight {
        min-height: 75px;

        padding: 13px 15px;

        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .hero-highlight:last-child {
        border-bottom: 0;
    }

    .highlight-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .highlight-icon img {
        width: 20px;
        height: 20px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .section-heading p {
        font-size: 14px;
    }

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

    .service-card {
        min-height: auto;

        padding: 27px;
    }

    .about-visual {
        min-height: auto;
    }

    .about-image-frame {
        width: 100%;
    }

    .about-decoration {
        width: 120px;

        right: -10px;
        bottom: -20px;
    }

    .about-content h2 {
        font-size: 34px;
    }

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

    .capability-item {
        min-height: 140px;
    }

    .process-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .process-item,
    .process-item:not(:first-child),
    .process-item:nth-child(even) {
        padding: 20px 0;

        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(14, 42, 71, 0.12);
    }

    .process-item:last-child {
        border-bottom: 0;
    }

    .projects-heading {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .project-card:last-child {
        grid-column: auto;

        max-width: none;
    }

    .project-image {
        height: 220px;
    }

    .cta-container {
        min-height: auto;

        flex-direction: column;
        align-items: flex-start;

        padding-top: 70px;
        padding-bottom: 70px;
    }

    .cta-content h2 {
        font-size: 36px;
    }

    .footer-main {
        grid-template-columns: 1fr;

        gap: 38px;

        padding-top: 55px;
        padding-bottom: 45px;
    }

    .footer-company {
        max-width: 100%;
    }

    .footer-bottom {
        min-height: auto;

        flex-direction: column;
        align-items: flex-start;

        padding-top: 22px;
        padding-bottom: 22px;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 12px 18px;
    }
}


/* =========================================================
   21. SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .container {
        width: calc(100% - 26px);
    }

    .hero-container {
        width: calc(100% - 26px);
    }

    .hero-content h1 {
        font-size: 39px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-tagline {
        letter-spacing: 1px;
    }

    .capabilities-grid {
        gap: 10px;
    }

    .capability-item {
        min-height: 125px;

        padding: 15px 8px;
    }

    .capability-item img {
        width: 34px;
        height: 34px;
    }

    .capability-item h3 {
        font-size: 11px;
    }

    .service-card {
        padding: 23px;
    }
}


/* =========================================================
   22. ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 3px solid rgba(0, 198, 251, 0.55);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* new */
/* =========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================= */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;

    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   HEADER SCROLL EFFECT
   ========================================================= */

.site-header {
    transition:
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.site-header.header-scrolled {
    box-shadow: 0 8px 30px rgba(14, 42, 71, 0.08);
}


/* =========================================================
   SEARCH STATE
   ========================================================= */

body.search-active .search-button {
    background: rgba(10, 88, 202, 0.08);
}


/* =========================================================
   DISABLE ANIMATION FOR REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

} 
