/* =========================================
   GLOBAL STYLES
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    color: #222;
    line-height: 1.6;
    background: #fff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
    z-index: 1000;
    margin-bottom: 40px;
}

.header-container {
    width: min(1400px, 94%);
    min-height: 90px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* Company */

.company-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.company-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #172b4d;
    white-space: nowrap;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 0.82rem;
    color: #555;

    transition: color 0.2s ease;
}

.contact-item:hover {
    color: #d28b26;
}

.contact-icon {
    width: 19px;
    height: 19px;
    display: inline-flex;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}


/* Navigation */

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.main-nav a {
    position: relative;

    font-size: 0.85rem;
    font-weight: 600;
    color: #333;

    padding: 10px 0;

    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #d28b26;

    transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #d28b26;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}


/* Mobile menu */

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 38px;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.mobile-menu-button span {
    display: block;

    width: 26px;
    height: 2px;

    margin: 5px auto;

    background: #222;

    transition: 0.3s;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url("../img/hero1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.48),
            rgba(0, 0, 0, 0.48)
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(850px, 90%);

    color: #fff;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.15;
    font-weight: 700;

    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 35px;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 30px;

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;

    border-radius: 3px;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #d28b26;
    color: #fff;
}

.btn-primary:hover {
    background: #b87419;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-light {
    background: #fff;
    color: #172b4d;
}

.btn-light:hover {
    background: #f2f2f2;
}


/* =========================================
   DETAILS SECTION
========================================= */

.details-section {
    padding: 100px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;
}

.details-image {
    overflow: hidden;
    border-radius: 5px;
}

.details-image img {
    width: 100%;
    height: auto;
    display: block;
}


.details-image:hover img {
    transform: scale(1.02);
    transition: transform 0.4s ease;
}

.section-label {
    display: block;
    margin-bottom: 10px;
    color: #d28b26;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.details-content h2,
.section-heading h2 {
    color: #172b4d;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;

    margin-bottom: 35px;
}

.detail-block {
    margin-bottom: 28px;
}

.detail-block:last-child {
    margin-bottom: 0;
}

.detail-block h3 {
    color: #172b4d;
    font-size: 1.15rem;
    margin-bottom: 7px;
}

.detail-block p {
    color: #666;
    font-size: 0.95rem;
}


/* =========================================
   TESTIMONIALS
========================================= */

.testimonials-section {
    padding: 100px 0;
    background: #f5f7fa;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 50px;

    text-align: center;
}

.section-heading h2 {
    margin-bottom: 15px;
}

.section-heading p {
    color: #666;
}


/* Carousel */

.testimonial-carousel {
    position: relative;

    display: flex;
    align-items: center;

    gap: 20px;
}

.testimonial-window {
    width: 100%;
    overflow: hidden;
}

.testimonial-track {
    display: flex;

    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;

    min-height: 310px;

    padding: 45px 80px;

    background: #fff;

    border-radius: 6px;

    text-align: center;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stars {
    color: #d28b26;

    font-size: 1.3rem;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.testimonial-text {
    max-width: 750px;

    margin-bottom: 25px;

    color: #555;

    font-size: 1rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-card h3 {
    color: #172b4d;
    font-size: 1rem;
    margin-bottom: 4px;
}

.testimonial-card span {
    color: #999;
    font-size: 0.78rem;
}


/* Carousel arrows */

.carousel-arrow {
    flex-shrink: 0;

    width: 50px;
    height: 50px;

    border: 1px solid #ddd;
    border-radius: 50%;

    background: #fff;
    color: #172b4d;

    font-size: 1.2rem;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.carousel-arrow:hover {
    background: #d28b26;
    color: #fff;
    border-color: #d28b26;
}


/* Dots */

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;

    margin-top: 25px;
}

.dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #ccc;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.dot.active {
    background: #d28b26;
    transform: scale(1.3);
}


/* =========================================
   ABOUT SECTION
========================================= */

.about-section {
    padding: 70px 0 100px;
}

.about-section .container {
    max-width: 780px;
}

.about-section h2 {
    color: #172b4d;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 30px;
}

.about-section p {
    color: #555;
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 22px;
}

.about-section p:last-child {
    margin-bottom: 0;
}


/* =========================================
   CTA
========================================= */

.cta-section {
    padding: 90px 0;
    background: #172b4d;
    text-align: center;
    color: #fff;
}

.cta-section {
    position: relative;
    overflow: hidden;

    padding: 100px 0;

    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.025) 0px,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px,
            transparent 12px
        ),
        linear-gradient(
            135deg,
            #3b3b3b 0%,
            #1c1c1c 50%,
            #080808 100%
        );

    color: #fff;
}


.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.cta-section p {
    margin-bottom: 30px;
    color: #dfe6ef;
}





/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #171717;
    color: #fff;
}

.footer-content {
    min-height: 180px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;
}

.footer-content h3 {
    margin-bottom: 7px;
}

.footer-content p {
    color: #aab5c5;
    font-size: 0.85rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;

    text-align: right;
}

.footer-contact a {
    color: #dfe6ef;
    font-size: 0.85rem;
}

.footer-contact a:hover {
    color: #d28b26;
}

.footer-bottom {
    padding: 20px;
    border-top: 1px solid #2d2d2d;
    text-align: center;
    color: #888;
    font-size: 0.75rem;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1050px) {

    .header-container {
        flex-wrap: wrap;
        padding: 18px 0;
    }

    .company-info {
        width: 100%;
        justify-content: space-between;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        justify-content: flex-end;
    }
}


@media (max-width: 800px) {

    .header-container {
        min-height: auto;
        padding: 18px 0;
    }

    .company-info {
        width: 100%;
        gap: 10px;
    }

    .company-name {
        font-size: 1.1rem;
    }

    .contact-info {
        gap: 10px;
    }

    .contact-item span:last-child {
        display: none;
    }

    .main-nav {
        position: relative;
    }

    .mobile-menu-button {
        display: block;
        margin-left: auto;
    }

    .main-nav ul {
        display: none;

        width: 100%;

        padding: 15px 0;

        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .main-nav ul.open {
        display: flex;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        display: block;
        width: 100%;
        padding: 12px 0;
    }

    .hero {
        min-height: 560px;
    }

    .details-section,
    .testimonials-section {
        padding: 70px 0;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .details-image img {
        height: auto;
    }

    .testimonial-card {
        padding: 40px 30px;
        min-height: 340px;
    }

    .carousel-arrow {
        width: 42px;
        height: 42px;
    }

    .footer-content {
        padding: 50px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-contact {
        text-align: left;
    }
}


@media (max-width: 500px) {

    .company-info {
        align-items: center;
    }

    .contact-info {
        gap: 8px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 13px 24px;
    }

    .testimonial-carousel {
        gap: 8px;
    }

    .testimonial-card {
        padding: 35px 20px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}
