/* Medconnect CSS */

/* lato-regular - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/lato-v25-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/inter-v20-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
  
/* inter-500 - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('/fonts/inter-v20-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
  
/* inter-600 - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/inter-v20-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
  
  
:root {
  --med-green: #349B94; 
  --white: #f2f2f2; 
  --dark-blue: #222938;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    background-image: url("/img/page_bg_top.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: normal;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

header {
    height: 100vh;
    background-image: url("/img/medconnect_header.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

@media (max-width: 900px) {

    header {
        height: 700px;
        background-image: url("/img/medconnect_header_mobile.jpg");
        background-attachment: initial ;
    }

    .arrow-icon img {
        width: 80%;
    }
}

.navbar {
    background-color: transparent;
    padding: 20px 20px 0px;
    z-index: 999;
    transition: all .3s ease-in-out;
}

.navbar-container {
    width: 100%;
    max-width: 1300px;
    padding: 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
}

.navbar.sticky {
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.9);
    padding: 20px 20px 0px;
    z-index: 999;
}

.navbar .logo {
    transition: all .3s ease-in-out;
}

@media (max-width: 768px) {

    .navbar .logo img {
        max-width: 200px;
    }
    
}

.menu {
    display: flex;
    position: relative;
    margin-left: 6vw;
}

.navbar.sticky .menu {
    padding-top: 0px;
}

.menu li a {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
    margin-right: 40px;
}

.menu li a::before {
    content:'';
    width: 0%;
    height: 2px;
    display: block;
    background-color: var(--med-green);
    margin-bottom: 6px;
}

.menu li a:hover::before {
    width: 100%;
    transition: all .5s;
}

.lang-menu {
    opacity: .5;
}

.icon {
    cursor: pointer;
    display: none;
}

.icon.close-btn {
    top: 30px;
    right: 30px;
    position: absolute;
}

.container {
    width: 100%;
    max-width: 1100px;
    padding: 0px 40px;
    margin: 0 auto;
}

@media (max-width: 1065px) {

    body.disabledScroll {
        overflow: hidden;
    }

    .navbar-container {
        align-items: center;
        justify-content: space-between;
    }

    .lang-menu {
        position: unset;
        right: unset;
        font-size: 20px;
    }

    .icon {
        display: block;
        position: relative;
    }

    .icon.menu-btn {
        top: 3px;
    }

    .navbar.sticky .icon.menu-btn {
        top: 5px;
    }

    .icon.hide {
        display: none;
    }

    .menu {
        background: #000;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        max-width: 300px;
        display: block;
        padding: 40px 0px;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .menu.active {
        right: 0;
    }

    .menu li {
        margin-top: 45px;
        margin-left: 50px;
    }

}

.header-container {
    width: 100%;
    max-width: 915px;
    padding: 0 20px;
    margin: 230px auto 0;
    position: relative;
}

.header-title {
    font-size: 5em;
    line-height: 120%;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
}

p.header-subtitle {
    max-width: 800px;
    margin-top: 0;
    font-size: 1.75em;
    line-height: 120%;
    color: var(--white);
}

.arrow-icon {
    display: block;
    width: 40px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 50px;
}

@media (max-width: 900px) {

    .header-title {
        font-size: 2.75em;
    }

}

@media (max-width: 768px) {

    .header-title {
        font-size: 2.5em;
    }

    p.header-subtitle {
        font-size: 1.5em;
    }

}

@media (max-width: 480px) {

    .header-title {
        font-size: 2em;
    }
    
    p.header-subtitle {
        font-size: 1.3em;
        line-height: 28px;
        opacity: .8;
    }

    p.header-subtitle {
        margin-bottom: 40px;
    }

}


p {
    font-size: 1.5em;
    line-height: 34px;
}

h2 {
    font-size: 3em;
    margin-bottom: 24px;
}

@media (max-width: 480px) {

    p {
        font-size: 1.3em;
        line-height: 28px;
    }

}

section .container {
    max-width: 900px;
    margin: 100px auto;
    padding: 0 20px;
}


@media (max-width: 480px) {

    section .container {
        margin: 60px auto;
      }

}

.section_title {
    color: var(--dark-blue);
    font-weight: 500;
    font-size: 2.5em;
    letter-spacing: 0.0325em;
}

.section_title::after {
    content: "";
    display: block;
    width: 113px;               
    height: 20px;           
    margin-top: 10px;
    background-image: url("/img/m-line.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}


@media (max-width: 768px) {

    .section_title {
        font-size: 2em;
    }

    .section_title::after {
        width: 90px;               /* Scaled down from 113px (≈80%) */
        height: 16px;            
        margin-top: 10px;
    }

}

.gradient-section {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse 131.6% 167.1% at -1.8% 2.1%,
        #1C3943 0%,
        #326261 37.68%,
        #4A7C73 54.57%,
        rgba(52, 155, 148, 0.8) 100%
    );
    overflow: hidden;
}

/* Cyan glow effect */
.gradient-section::before {
    content: '';
    position: absolute;
    width: 474px;
    height: 474px;
    left: calc(48% - 237px);
    top: calc(46% - 237px);
    background: radial-gradient(
        circle,
        rgba(0, 255, 238, 0.4) 0%,
        rgba(0, 255, 238, 0.2) 30%,
        rgba(0, 255, 238, 0.05) 50%,
        transparent 70%
    );
    filter: blur(80px);
    border-radius: 50%;
}

.gradient-section .section_title {
    color: white;
}

.gradient-section .section_title::after {
    background-image: url("/img/m-line.svg");
    filter: brightness(0) invert(1); /* Makes the SVG white */
}

.icons_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 90px;
    padding: 60px 0;
    align-items: center;
}
.icon-item {
    display: flex;
    flex-direction: column;
    height: 315px;
    z-index: 100;
}

.icon-circle {
    width: 167px;
    height: 167px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle img {
    width: 100%;
    height: auto;
}

/* icons styles */
.partnership {
    max-width: 120px;
    position: relative;
    top: 4px;
}

.surgery {
    max-width: 77px;
}

.local {
    max-width: 110px;
}

.support {
    max-width: 93px;
    position: relative;
    top: 3px;
}

.icon-text {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    font-size: 1.5em;
    font-weight: 400;
    line-height: 1.325em;
    margin-top: 20px;
    max-width: 320px;
}

@media (max-width: 768px) {

    .gradient-section .container {
        margin: 80px auto 0;
    }

    .gradient-section {
        padding: 0px;
    }

    .icons_grid {
        gap: 20px;
        padding: 40px 0;
    }

    .icon-item {
        height: 280px;
      }
    
    .icon-circle {
        width: 120px;
        height: 120px;
    }
    
    .icon-text {
        font-size: 1.235em;
        margin-top: 15px;
        max-width: 200px;
    }

    /* icons styles */
    .partnership {
        max-width: 92px;
        position: relative;
        top: 3px;
    }

    .surgery {
        max-width: 56px;
    }

    .local {
        max-width: 88px;
    }

    .support {
        max-width: 70px;
        position: relative;
        top: 3px;
    }

}

@media (max-width: 480px) {

    .icons_grid {
        gap: 20px;
        padding: 30px 0;
    }
    
}

.brands-section {
    background-image: url("/img/page_bg_top.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
}

.brands_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 100px;
    margin: 90px 0 150px;
    align-items: center;
    justify-items: center;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;          
    width: 100%;
    max-width: 360px;     
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;  
}


.inion {
    position: relative;
    top: -10px;
}

.nexon {
    position: relative;
    top: 12px;
}

.spineguard {
    position: relative;
    top: 15px;
}

@media (max-width: 768px) {
    
    .brands_grid {
        gap: 30px;
        margin: 80px 0 100px;
    }

    .brand-item {
        max-width: 160px;
        margin-bottom: 40px;     
    }

    .emd {
        max-width: 150px;
    }

    .inion {
        max-width: 140px;
    }

    .mizuhosi {
        max-width: 250px;
    }

    .nexon {
        top: 5px;
    }

    .ortolog {
        max-width: 250px;
    }
    
}

@media (max-width: 480px) {

    .emd {
        max-width: 120px;
    }

    .inion {
        max-width: 110px;
    }

    .spineguard {
        top: 5px;
    }


}

.footer {
    background-color: var(--med-green);
    background-image: url("/img/m-page-bg.svg");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 50% auto;
    padding: 80px 0 100px;
    color: var(--white);
    position: relative;
}

footer .container {
    max-width: 900px;
    padding: 0 20px;
}

footer .section_title {
    color: var(--white);
}

footer .section_title::after {
    display: none;
}


.footer-logo img {
    position: relative;
    left: -7px;
    height: auto;
    margin-bottom: 20px;
}

.footer-email {
    font-family: 'Inter', sans-serif;
    font-size: 2em;
    color: var(--white);
    margin-bottom: 30px;
}

.footer-email:hover {
    opacity: 0.8;
}

.footer-address {
    margin-top: 10px;
}

.footer-address p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1em;
    color: white;
    margin: 0;
    line-height: 1.6;
}


@media (max-width: 768px) {
    .footer {
        padding: 60px 0 90px;
        background-size: 100% auto;
    }
    
    .footer-logo img {
        max-width: 300px;
    }
    
    .footer-title {
        font-size: 1.75em;
    }
    
    .footer-email {
        font-size: 1.75em;
    }
    
    .footer-address p {
        font-size: 1.325em;
    }
}

@media (max-width: 480px) {
    .footer {
        background-size: 100% auto;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
    
}


/* Scroll to top btn */
#scrollTop {
    display: none; /* Hidden by default */
    background-color: #8B8B8B;
    width: 50px;
    height: 50px;
    text-align: center;
    border: none;
    border-radius: 50%;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    outline: none;
    cursor: pointer;
}
  
#scrollTop::-moz-focus-inner {
    border: 0;
}
  
#scrollTop:hover {
    background-color: #797979; 
}
  

