:root {
    --brand: #0f4c5c;
    --brand-dark: #083944;
    --surface: #ffffff;
    --surface-alt: #f8f9fa;
    --surface-alt-2: #e9ecef;
    --text-strong: #12333c;
    --text-body: #4a4a4a;
    --text-muted: #6b7280;
    --radius-sm: 14px;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 8px rgba(15, 76, 92, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow: 0 10px 30px rgba(15, 76, 92, 0.10), 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 24px 60px rgba(15, 76, 92, 0.16), 0 8px 20px rgba(0, 0, 0, 0.08);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    text-rendering: optimizeLegibility;
}

.all-content {
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

::selection {
    background: rgba(15, 76, 92, 0.85);
    color: #fff;
}

html::-webkit-scrollbar {
    width: 11px;
}

html::-webkit-scrollbar-thumb {
    background-color: var(--brand);
    border-radius: 20px;
    border: 2px solid #fff;
}

html::-webkit-scrollbar-thumb:hover {
    background-color: var(--brand-dark);
}


.all-content a:not(.header a):focus-visible,
button:not(.header button):focus-visible,
.slide-btn:focus-visible {
    outline: 3px solid rgba(15, 76, 92, 0.55);
    outline-offset: 3px;
    border-radius: 8px;
}


.mainDiv-recent-projectH1 h1,
.title-jobs-maindiv h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 14px;
}

.mainDiv-recent-projectH1 h1::after,
.title-jobs-maindiv h1::after {
    content: "";
    display: block;
    width: 74px;
    height: 5px;
    margin-top: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
}

.title-jobs-maindiv p {
    max-width: 760px;
    font-size: 1.05rem;
    color: var(--text-body);
}


.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dark) 100%);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.site-preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 0 24px;
    animation: preloaderPop 0.7s var(--ease-spring) both;
}

.preloader-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.7rem, 5vw, 2.7rem);
    letter-spacing: 0.38em;
    text-indent: 0.38em;
    line-height: 1;
    text-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
}

.preloader-brand span {
    font-size: 0.32em;
    font-weight: 500;
    letter-spacing: 0.42em;
    text-indent: 0.42em;
    opacity: 0.85;
}

.preloader-track {
    position: relative;
    width: min(260px, 62vw);
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.preloader-fill {
    position: absolute;
    top: 0;
    left: -40%;
    height: 100%;
    width: 40%;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    animation: preloaderSlide 1.1s var(--ease) infinite;
}

@keyframes preloaderSlide {
    0% { left: -40%; }
    100% { left: 100%; }
}

@keyframes preloaderPop {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .preloader-inner,
    .preloader-fill {
        animation: none;
    }
}

.slide-content h1::after {
    display: none !important;
}

.slides {
    transition: left 0.85s cubic-bezier(0.7, 0, 0.2, 1) !important;
}

.slide img {
    -o-object-fit: cover;
    object-fit: cover;
    object-position: center;
}

.slide::before {
    background: linear-gradient(
        to bottom,
        rgba(8, 57, 68, 0.35) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(8, 57, 68, 0.62) 100%
    );
}

.slide-content {
    padding: 34px 40px;
    border-radius: 24px;
    background: rgba(8, 57, 68, 0.18);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.slide-content h1 {
    letter-spacing: -0.02em;
    font-weight: 800;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.08;
    background: linear-gradient(120deg, #ffffff 0%, #e9ecef 55%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
}

.slide-content p {
    font-weight: 300;
    letter-spacing: 0.2px;
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    color: #f4f7f8;
}

.slide-btn {
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 14px 34px;
}

.dots {
    bottom: 22px;
}

.dots span {
    transition: transform 0.35s var(--ease-spring), background-color 0.3s var(--ease), width 0.3s var(--ease);
}

.dot-active {
    width: 30px;
    border-radius: 999px;
}

.slider .arrows {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 34px;
    color: #fff;
}

.slider .arrows:hover {
    background: #fff;
    color: var(--brand);
    text-shadow: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.dots span {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.65);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.dots span:hover,
.dot-active {
    transform: scale(1.15);
}

.mainDiv-recent-project {
    background: linear-gradient(180deg, #ffffff 0%, var(--surface-alt) 100%);
    padding: 90px 0;
}

.recentProject-content {
    gap: 34px;
}

.recentProject-content .card {
    box-shadow: var(--shadow);
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.recentProject-content .card:hover {
    transform: translateY(14px);
    box-shadow: var(--shadow-lg);
}

.card img {
    transition: transform 0.7s var(--ease);
}

.recentProject-content .card:hover img {
    transform: scale(1.06);
}

.card .info h1 {
    letter-spacing: -0.01em;
}

.card .info p {
    font-weight: 300;
    letter-spacing: 0.2px;
}

.little-aboutUs {
    padding: 90px 0;
}

.little-aboutUs .div-span h2 {
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.little-aboutUs .div-span h2::after {
    content: "";
    display: block;
    width: 74px;
    height: 5px;
    margin-top: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
}

.little-aboutUs .div-span span {
    font-size: 1.12rem;
    line-height: 1.9;
    max-width: 900px;
}

.card-whoweare > div {
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 76, 92, 0.08);
}

.card-whoweare > div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.card-whoweare > div:hover::before {
    transform: scaleX(1);
}

.card-whoweare > div:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(15, 76, 92, 0.14) !important;
}

.card-whoweare h3 {
    font-weight: 700 !important;
    letter-spacing: -0.01em;
}

.card-whoweare li {
    line-height: 1.6;
    transition: transform 0.25s var(--ease);
}

.card-whoweare li:hover {
    transform: translateX(4px);
}

.link-aboutUS a {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.hero-section .overlay {
    background: linear-gradient(
        135deg,
        rgba(15, 76, 92, 0.62) 0%,
        rgba(8, 57, 68, 0.5) 100%
    );
}

.hero-section .hero-content {
    background: rgba(8, 57, 68, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    padding: 34px 70px 40px;
    animation: heroContentIn 0.8s var(--ease) both;
}

.hero-section .typing-text {
    display: inline-block;
    position: relative;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.1em;
    font-size: clamp(2.4rem, 7vw, 4.4rem);
    white-space: nowrap;
    overflow: visible;
    border-right: none;
    text-shadow: 0 6px 26px rgba(0, 0, 0, 0.4), 0 0 34px rgba(255, 255, 255, 0.12);
    clip-path: inset(0 100% 0 0);
    animation: heroReveal 1.9s steps(9, end) 0.4s forwards;
}

.hero-section .typing-text::after {
    content: "";
    display: inline-block;
    width: 4px;
    height: 0.95em;
    margin-left: 8px;
    vertical-align: -0.1em;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: heroCaret 0.85s step-end 2.4s infinite;
}

.hero-section .hero-content::after {
    content: "";
    display: block;
    width: 0;
    height: 5px;
    margin: 20px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    animation: heroUnderline 0.9s var(--ease) 2.7s forwards;
}

@keyframes heroReveal {
    to { clip-path: inset(0 0 0 0); }
}

@keyframes heroCaret {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes heroUnderline {
    to { width: 62%; }
}

@keyframes heroContentIn {
    from { opacity: 0; transform: translateY(26px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
    .hero-section .hero-content {
        padding: 24px 30px 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section .typing-text {
        clip-path: none;
        animation: none;
    }
    .hero-section .typing-text::after {
        animation: none;
        opacity: 0;
    }
    .hero-section .hero-content {
        animation: none;
    }
    .hero-section .hero-content::after {
        animation: none;
        width: 62%;
    }
}

.AboutUs-H1 h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.intro-text h2,
.services-overview h2,
.why-choose-us h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.intro-text p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-body);
}

.company-intro,
.services-overview,
.why-choose-us,
.service-card,
.reason-item,
.stat-item {
    box-shadow: var(--shadow-sm);
}

.service-card,
.reason-item,
.stat-item {
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service-card:hover,
.reason-item:hover {
    box-shadow: var(--shadow) !important;
}

.stat-number {
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3,
.reason-item h3 {
    font-weight: 700;
}

.service-card p,
.reason-item p {
    color: var(--text-body);
    line-height: 1.65;
}

.jobs-maindiv {
    padding: 90px 0;
}

.jobs-card {
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.jobs-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.jobs-title {
    font-weight: 700;
    font-size: 1.3em;
    letter-spacing: -0.01em;
}

#card1, #card2, #card3, #card4,
#card5, #card6, #card7, #card8 {
    scroll-margin-top: 130px;
}

.btn-modal {
    font-weight: 600;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-modal .icon {
    transition: transform 0.3s var(--ease);
}

.btn-modal:hover .icon {
    transform: translateX(5px);
}

.modal-box {
    border: 1px solid rgba(15, 76, 92, 0.08);
    box-shadow: var(--shadow-lg);
}

.modal-header h3 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.modal-description p {
    line-height: 1.75;
    color: var(--text-body);
}

.modal-description ul {
    padding-left: 1.1rem;
}

.modal-description li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-body);
}

.image-box h4 {
    font-weight: 700;
    text-align: center;
}

.image-box img {
    transition: transform 0.5s var(--ease);
}

.image-box:hover img {
    transform: scale(1.05);
}

.slide-btn,
.card .info button,
.little-aboutUs .link-aboutUS a,
.div-button .openBtn,
.btn-modal {
    will-change: transform;
}

footer {
    padding: 40px 0 !important;
    gap: 24px;
}

footer .logo-social-footer {
    text-align: center;
}

footer .social-footer {
    gap: 18px;
    justify-content: center;
}

footer .social-footer a ion-icon {
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
    border-radius: 50%;
}

footer .social-footer a:hover ion-icon {
    color: var(--brand);
    transform: translateY(-4px) scale(1.12);
}

footer .contact-h1 h1 {
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

footer .contact-h1 h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
}

footer .contact-us .div-tel-email a {
    align-items: center;
    padding: 6px 8px;
    border-radius: 10px;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

footer .contact-us .div-tel-email a:hover {
    background: rgba(15, 76, 92, 0.06);
    transform: translateX(4px);
}

footer .map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

footer .map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.copyright {
    background: var(--brand);
    color: #fff !important;
    font-weight: 300;
    letter-spacing: 0.4px;
    padding: 22px 14px !important;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.copyright-main {
    opacity: 0.9;
    font-size: 0.95em;
}

.copyright-credit {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.72em;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.85;
    position: relative;
    padding-top: 12px;
}

.copyright-credit::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.copyright-credit a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.35s var(--ease-spring);
}

.copyright-credit a ion-icon {
    font-size: 1.05em;
    position: relative;
    top: 0.5px;
}

.copyright-credit a:hover {
    background: #fff;
    color: var(--brand);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.pre-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    will-change: opacity, transform;
}

.pre-reveal.reveal-in {
    opacity: 1;
    transform: none;
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-stagger.reveal-in > * {
    opacity: 1;
    transform: none;
}

.reveal-stagger.reveal-in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.reveal-in > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.reveal-in > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.reveal-in > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.reveal-in > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.reveal-in > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.reveal-in > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.reveal-in > *:nth-child(8) { transition-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
    .pre-reveal,
    .reveal-stagger > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 991px) {
    .mainDiv-recent-project,
    .little-aboutUs,
    .jobs-maindiv {
        padding: 60px 0;
    }
    footer .map {
        width: 90%;
        max-width: 430px;
    }
}

@media (max-width: 768px) {
    .little-aboutUs .div-span span {
        font-size: 1.02rem;
    }
}
