/* ==========================================================
   AMY International Ltd - visual refinements
   Loaded AFTER style.css; does not change the existing files.
   ========================================================== */

:root {
    --amy-blue: #01B9E6;
    --amy-red: #e42429;
    --amy-dark: #2e2e2e;
    --amy-text: #6b7075;
    --amy-radius: 6px;
}

/* ---------- Typography ---------- */
body {
    color: var(--amy-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.sec-title-two h2 {
    font-size: 38px;
    line-height: 1.25;
}

.sec-title-two p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
    line-height: 1.7;
}

.sec-title-two.text-center {
    margin-bottom: 56px;
}

.sec-title-two span.tag-line {
    letter-spacing: 2px;
    margin-bottom: 6px;
}

/* ---------- Spacing between sections ---------- */
.sec-pad,
.sec-pad-with-content-margin-30,
.sec-pad-with-content-margin-70 {
    padding-top: 90px;
}

.sec-pad-with-content-margin-70 { padding-bottom: 40px; }
.sec-pad-with-content-margin-30 { padding-bottom: 60px; }

/* ---------- Top bar & header ---------- */
.site-header.header-one .top-bar { padding: 7px 0; }

.site-header.header-one .top-bar ul.list-items > li .text-line {
    font-size: 13px;
    letter-spacing: .3px;
}

.header-navigation ul.navigation-box > li > a {
    letter-spacing: .6px;
}

/* ---------- Slider ---------- */
.slider-content-style .content h3 {
    font-size: 58px;
    line-height: 1.15;
    max-width: 680px;
}

.slider-content-style .content p {
    font-size: 20px;
    line-height: 1.5;
    max-width: 560px;
    margin-top: 18px;
    margin-bottom: 36px;
}

.slider-home-two .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 70%);
    z-index: 1;
}

.slider-home-two .carousel-caption { z-index: 2; }

/* ---------- About ---------- */
.about-style-one .about-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-style-one .about-content p.highlite {
    font-size: 21px;
    line-height: 1.5;
    margin-top: 22px;
    margin-bottom: 18px;
}

.about-style-one .about-carousel-one img {
    border-radius: var(--amy-radius);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

/* ---------- Service cards ---------- */
.single-service-style-one { margin-bottom: 80px; }

.single-service-style-one .image-block img {
    width: 100%;
    border-radius: var(--amy-radius) var(--amy-radius) 0 0;
}

.single-service-style-one .main-content,
.single-service-style-one .hover-content {
    border-radius: var(--amy-radius);
}

.single-service-style-one .main-content .text-block h3 {
    font-size: 17px;
    line-height: 1.3;
}

.single-service-style-one .main-content .text-block { padding-left: 24px; padding-right: 12px; }

.single-service-style-one .hover-content p {
    font-size: 15px;
    line-height: 1.6;
}

/* ---------- Feature boxes ---------- */
.single-feautre-style-one {
    padding: 32px;
    border-radius: var(--amy-radius);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
}

.single-feautre-style-one .text-block h3 { margin-bottom: 10px; }
.single-feautre-style-one .text-block p { font-size: 15px; line-height: 1.65; }

/* ---------- Products grid ---------- */
.project-style-one {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    border-radius: var(--amy-radius);
    overflow: hidden;
}

/* ---------- Partners ---------- */
.brand-style-two-carousel .owl-item {
    border-radius: var(--amy-radius);
    padding: 14px;
    background: #fff;
}

.brand-style-two-carousel .owl-item img {
    filter: grayscale(100%);
    opacity: .75;
}

.brand-style-two-carousel .owl-item img:hover {
    filter: none;
    opacity: 1;
}

/* ---------- Contact ---------- */
.discuss-with-expert-area {
    margin-bottom: 0;
    padding: 0;
    border-radius: var(--amy-radius);
    overflow: hidden;
}

.contact-details .overlay-content .box .inner .info-box {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.contact-details .overlay-content .box .inner .info-box ul li .text p {
    font-size: 15px;
    line-height: 1.6;
}

.discuss-form-box .sec-title-style2 .title { font-size: 32px; }

.discuss-form-box .single-box .btn-three {
    background: var(--amy-red);
    color: #fff;
    line-height: 60px;
}

.discuss-form-box .single-box .btn-three:hover {
    background: var(--amy-dark);
    color: #fff;
}

/* ---------- Footer ---------- */
.site-footer.footer-two { padding: 80px 0; }

.site-footer.footer-two .footer-widget .title-line h3 {
    font-size: 22px;
    letter-spacing: .3px;
}

.site-footer.footer-two .footer-widget .newsletter-wrapper p {
    line-height: 1.6;
}

.site-footer.footer-two .footer-widget .newsletter-wrapper input {
    margin-bottom: 0;
}

.footer-bottom-home-two p,
.footer-bottom-home-two .footer-menu li a {
    font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .slider-content-style .content h3 { font-size: 48px; }
}

@media (max-width: 767px) {
    .sec-pad,
    .sec-pad-with-content-margin-30,
    .sec-pad-with-content-margin-70 {
        padding-top: 60px;
    }

    .sec-pad-with-content-margin-70,
    .sec-pad-with-content-margin-30 { padding-bottom: 30px; }

    .sec-title-two h2 { font-size: 28px; }
    .sec-title-two p { font-size: 16px; }

    #minimal-bootstrap-carousel.slider-home-two .carousel-inner .carousel-item {
        min-height: 520px;
    }

    .slider-content-style .content h3 {
        font-size: 32px;
        line-height: 1.2;
    }

    .slider-content-style .content p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .slider-home-two .carousel-item .float-right { float: none !important; }

    .single-feautre-style-one { padding: 24px 20px; }

    .single-feautre-style-one .icon-block,
    .single-feautre-style-one .text-block {
        display: block;
    }

    .single-feautre-style-one .text-block {
        padding-left: 0;
        padding-top: 18px;
    }

    .contact-details { margin-right: 0; margin-bottom: 30px; }

    .contact-details .overlay-content .box .inner .info-box { padding: 30px 22px; }

    .site-footer.footer-two { padding: 50px 0; }
    .site-footer.footer-two .back-to-top { right: 20px; bottom: 15px; }

    .footer-bottom-home-two .left-content,
    .footer-bottom-home-two .right-content {
        float: none !important;
        text-align: center;
    }
}

/* ==========================================================
   Headings colour system
   tag-line = blue accent, heading = navy, short accent bar
   ========================================================== */
.sec-title-two h2,
.sec-title-five h2 {
    color: #203260;
}

.sec-title-two h2 span,
.sec-title-five h2 span.bold-text {
    color: #203260;
    font-weight: 700;
}

.sec-title-two span.tag-line {
    color: var(--amy-blue);
}

.sec-title-two h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 16px;
    background: var(--amy-blue);
    border-radius: 2px;
}

.sec-title-two.text-center h2::after {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================
   Contact section: details panel + form
   ========================================================== */
.contact-section { padding: 90px 0; }

.contact-split {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(32, 50, 96, .15);
    background: #fff;
}

.contact-panel {
    flex: 0 0 42%;
    padding: 48px 40px;
    background: #203260;
    color: #b3cde4;
}

.contact-panel h3 {
    margin: 0 0 30px;
    color: #fff;
    font-size: 24px;
}

.contact-panel-list { margin: 0; padding: 0; list-style: none; }

.contact-panel-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 26px;
    font-size: 15px;
    line-height: 1.6;
}

.contact-panel-list .ico {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    margin-right: 18px;
    line-height: 46px;
    text-align: center;
    border-radius: 50%;
    background: var(--amy-blue);
    color: #fff;
    font-size: 19px;
}

.contact-panel-list .ico span:before,
.contact-panel-list .ico i { color: #fff; }

.contact-panel-list strong {
    display: block;
    color: #fff;
    font-size: 16px;
    margin-bottom: 2px;
}

.contact-panel-list a { color: #b3cde4; transition: color .3s ease; }
.contact-panel-list a:hover { color: #fff; }

.contact-form-wrap { flex: 1; padding: 48px 44px; }

.contact-form .form-group { margin-bottom: 20px; }

.contact-form label {
    display: block;
    margin-bottom: 6px;
    color: #203260;
    font-size: 14px;
    font-weight: 500;
}

.contact-form label .hint {
    float: right;
    color: #9aa0a6;
    font-weight: 400;
    font-size: 12px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    color: #2e2e2e;
    font-size: 15px;
    background: #fff;
    border: 1px solid #d5dae0;
    border-radius: 5px;
    box-shadow: none;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.contact-form textarea { resize: vertical; min-height: 130px; }

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--amy-blue);
    box-shadow: 0 0 0 3px rgba(1, 185, 230, .15);
}

.contact-submit {
    padding: 14px 38px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    background: var(--amy-red);
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    transition: background .3s ease;
}

.contact-submit:hover { background: #203260; }

@media (max-width: 991px) {
    .contact-split { flex-direction: column; }
    .contact-panel { flex: none; padding: 36px 28px; }
    .contact-form-wrap { padding: 36px 28px; }
}

@media (max-width: 767px) {
    .contact-section { padding: 60px 0; }
}

/* ==========================================================
   Compact footer
   ========================================================== */
.site-footer.footer-two { padding: 50px 0 40px; }

.site-footer.footer-two .footer-widget { margin-bottom: 20px; }

.site-footer.footer-two .footer-widget .title-line h3 {
    font-size: 19px;
    margin-bottom: 18px;
}

.footer-about .footer-logo { max-height: 52px; width: auto; margin-bottom: 16px; }

.footer-about p {
    max-width: 380px;
    font-size: 15px;
    line-height: 1.7;
}

.site-footer.footer-two .links-list li { margin-bottom: 8px; }
.site-footer.footer-two .links-list li a { font-size: 15px; }

.footer-contact-list { margin: 0; padding: 0; list-style: none; }

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.footer-contact-list li i {
    flex: 0 0 24px;
    margin-top: 4px;
    color: var(--amy-blue);
    font-size: 15px;
}

.footer-contact-list li a { transition: color .3s ease; }
.footer-contact-list li a:hover { color: var(--amy-blue); }

/* Bottom bar: ~30% smaller */
.footer-bottom-home-two { padding: 14px 0; }

.footer-bottom-home-two p,
.footer-bottom-home-two .footer-menu li a {
    font-size: 11px;
}

.footer-about p,
.footer-contact-list li span { color: #b9bcc0; }

.footer-contact-list li a { color: #fff; }

/* ==========================================================
   Mobile fixes
   ========================================================== */
.site-header { position: relative; z-index: 100; }

.header-navigation .menu-toggler { cursor: pointer; -webkit-tap-highlight-color: transparent; }

@media (max-width: 1199px) {
    .header-navigation .main-navigation[data-open="1"] { display: block; }
}

@media (max-width: 991px) {
    /* space under "Learn More" so the image below doesn't touch the button */
    .about-style-one .about-content .btn-block { margin-bottom: 30px; }
}

/* ==========================================================
   Services page
   ========================================================== */
.svc-section { padding: 30px 0 70px; }

.svc-card {
    height: 100%;
    margin-bottom: 30px;
    padding: 38px 28px 32px;
    text-align: center;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: var(--amy-radius);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.svc-card:hover {
    transform: translateY(-5px);
    border-color: var(--amy-blue);
    box-shadow: 0 14px 32px rgba(32, 50, 96, .14);
}

.svc-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    line-height: 68px;
    border-radius: 50%;
    background: rgba(1, 185, 230, .12);
    color: var(--amy-blue);
    font-size: 28px;
    transition: background .3s ease, color .3s ease;
}

.svc-card:hover .svc-icon { background: var(--amy-blue); color: #fff; }

.svc-card h3 { margin: 0 0 10px; color: #203260; font-size: 19px; }
.svc-card p { margin: 0; font-size: 15px; line-height: 1.65; }

.mv-section { padding: 70px 0 40px; background: #203260; }

.mv-box {
    margin-bottom: 30px;
    padding: 34px 32px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--amy-radius);
}

.mv-box h3 { margin: 0 0 10px; color: #fff; font-size: 22px; }
.mv-box p { margin: 0; color: #b3cde4; font-size: 16px; line-height: 1.7; }

.why-section { padding: 80px 0 90px; }

.why-item {
    margin-bottom: 30px;
    padding-left: 18px;
    border-left: 3px solid var(--amy-blue);
}

.why-item h4 { margin: 0 0 6px; color: #203260; font-size: 18px; }
.why-item p { margin: 0; font-size: 15px; line-height: 1.6; }

.why-cta { margin-top: 20px; }

@media (max-width: 767px) {
    .svc-section { padding-bottom: 40px; }
    .mv-section { padding-top: 50px; }
    .why-section { padding: 50px 0 60px; }
}
