/* =========================
   ROOT VARIABLES
========================= */
:root {
  --primary: #2c5f87;
  --primary-light: #3b78a3;
  --bg: #ffffff;
  --text: #222;
  --card: #ffffff;
  --light-bg: #f4f6f8;
}

/* Dark mode variables */
[data-theme="dark"] {
  --bg: #121212;
  --text: #f1f1f1;
  --card: #1e1e1e;
  --light-bg: #181818;
}

/* =========================
   BASE
========================= */
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
}

/* =========================
   TOP BAR
========================= */
.top-bar {
  font-size: 13px;
  background: #f8f9fb;
  padding: 8px 0;
  position: sticky;
  overflow: visible;
  z-index: 100;
  top: 0;
 
}

[data-theme="dark"] .top-bar {
  background: #1b1b1b;
}

.top-bar i {
  color: var(--primary);
}

/* =========================
   NAVBAR
========================= */
.navbar {
  
  background: var(--bg);
  position: sticky;
  top: 0;
  overflow: scroll;
  z-index: 11;
  
}

.nav-link {
  font-weight: 500;
  color: var(--text) !important;
}


/* =========================
   LOGO (DOUBLE SIZE)
========================= */
.navbar-logo {
  height: 100px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .navbar-logo {
    height: 64px;
  }
}

[data-theme="dark"] .navbar-logo {
  filter: brightness(1.1);
}

/* =========================
   HERO
========================= */
.hero {
  min-height: 80vh;
  background:
    linear-gradient(
      rgba(44, 95, 135, 0.65),
      rgba(44, 95, 135, 0.65)
    ),
    url("https://autokad.de/img/Medsalt_Hero.jpeg")
      center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  font-size: 15px;
  line-height: 1.7;
}

/* =========================
   FEATURES SECTION
========================= */
.features {
  background: var(--light-bg);
  padding: 80px 0;
  margin-top: -80px;
}

/* =========================
   CARD FEATURE (BASE)
========================= */
.card-feature {
  
    z-index: 1000;
  margin-top: -100px;   
  position: relative;
  background: var(--card);
  padding: 35px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card-feature i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
  transition:
    transform 0.35s ease,
    color 0.35s ease;
}

.card-feature h5 {
  margin-bottom: 12px;
  transition: color 0.35s ease;
}

.card-feature p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  transition: color 0.35s ease;
}

[data-theme="dark"] .card-feature p {
  color: #bbb;
}

/* =========================
   CARD FEATURE HOVER ANIMATION
========================= */

/* Gradient overlay */
.card-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-light)
  );
  opacity: 0;
  transform: translateY(100%);
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
  z-index: 0;
}

/* Hover overlay slide */
.card-feature:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* Lift card */
.card-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Keep content above overlay */
.card-feature * {
  position: relative;
  z-index: 1;
}

/* Text color change */
.card-feature:hover h5,
.card-feature:hover p {
  color: #ffffff;
}

/* Icon animation */
.card-feature:hover i {
  color: #ffffff;
  transform: scale(1.15);
}

/* Dark mode hover gradient tweak */
[data-theme="dark"] .card-feature::before {
  background: linear-gradient(
    135deg,
    #1f4b6b,
    #2c5f87
  );
}





/*==========Presentation Area Start ======= */

.feature-Area
{
    margin: 5%;
}


.ali_center {
    align-items: center;
}

.feature_title a {margin-top: 10px;display: inline-block;}

.feature_title p {
    max-width: 580px;
}

.sec_title h1 {
    font-size: 41px;
    color: var(--primary);
    margin-bottom: 16px;
}

.sec_title p {
    font-size: 18px;
    color: var(--text);
    line-height: 1.3;
}
.feature_img {text-align: right;}
i.card_bg {max-width: 455px;width: 100%;display: inline-flex;border-radius: 47px;position: relative;}

i.card_bg:before {
    content: "";
    position: absolute;
    width: 95%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transform: matrix(0.99, 0.17, -0.14, 0.99, 0, 0);
    border-radius: 47px;
    left: 5%;
}

.card_bg img {
    width: 100%;
    object-fit: cover;
    border-radius: 47px;
    position: relative;
    z-index: 50;
}

.card_bg img.team_crop {
    position: absolute;
    width: 340px;
    height: 297px;
    bottom: -100px;
    left: -100px;
    box-shadow: 6px 12px 12px 1px rgba(0, 0, 0, 0.25);
    border-radius: 22px;
    z-index: 99;
}
/*==========Presentation Area End ======= */


/*==========presentation 2 service Area Start ======= */


.sec_title span {font-size: 30px;font-weight: 500;color: var(--text));}

.svc_title a {
    margin-top: 100px;
}

/*==========pd_service Area Start ======= */

.pd_service-Area {margin-bottom: 0;}

.pd_service-Area .pd_btm {
    margin-top: 70px;
}

.center_row {justify-content: center;}

/*==========pd_service Area End ======= */
/*==========Presentation 2 service Area End ======= */



/* =========================
   Produits
========================= */

.product_section
{
  background: var(--light-bg);
  
  
}


.title-main-head h2 {
    
    margin-top: 5%;
    font-style: normal;
    font-weight: 700;
    font-size: 46px;
    line-height: 57px;
    /* identical to box height */
    color: var(--primary);
    text-align: center;
    padding: 3% ;
}


product-main-desc h5 {
    
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    /* identical to box height */
    color: #686868;
    padding: 3% ;
}

.product-main-desc p {
    
    font-style: normal;
    font-weight: 400;
    font-size: 14px; 
    line-height: 1.6;
    color: #666;
    
}

.product-main-box a img {
    
	/*max-width: 100%;*/
	/*height: auto;*/ 
    
     width: 250px;
    height: 250px;
    
}

.product-main-desc {
    margin-bottom: 30px;
}

/* =========================
   contact
========================= */

.contact_section {
    
    margin-top: 2%;
    background:  var(--primary);;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    padding: 35px;
}

.title-contact h2 {
    
    font-style: normal;
    font-weight: 700;
    font-size: 46px;
    line-height: 57px;
    /* identical to box height */
    color: #FFFFFF;
    padding-bottom: 30px;
    text-align: center;
}

.contact_section ::placeholder {
    color: #FFFFFF;
    font-size: 14px;
    
    font-style: normal;
    font-weight: 400;
}

.contact_section input,
.contact_section textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    /* identical to box height */
    color: #FFFFFF;
    border-radius: 4px;
    margin: 8px 0;
    outline: none;
    padding: 15px 25px;
    box-sizing: border-box;
    transition: .3s;
}

.contact_section input:focus,
.contact_section textarea:focus {
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 8px 0 rgba(255, 255, 255, 0.05);
}

.contact-btn .field-contact-btn {
    background: #FFFFFF;
    
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    /* identical to box height */
    color: #00A3C8;
    padding: 20px 50px;
}

.contact-btn {
    padding-top: 50px;
    text-align: center;
}





/* =========================
   FOOTER
========================= */
footer {
    
    margin-top: 2%;
  background: #111;
  color: #aaa;
  padding: 25px 0;
  text-align: center;
}

[data-theme="dark"] footer {
  background: #0d0d0d;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

    .card-feature {
  
    z-index: 1000;
  margin-top: 1px;   
    
    }
    
  .features {
    margin-top: 0;
  }
    
    
    .product-main-box a img {
    
	/*max-width: 100%;*/
	/*height: auto;*/ 
    
    max-width: 100%;
  height: auto;
}
    
}
}

    