/*general*/
  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Raleway', sans-serif;
    }

/*top headline*/

.top-headline {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center; 
  height: 60px;
  background-color: rgb(255, 255, 255);
  padding: 0 15px;
  z-index: 100;
  transition: opacity 0.5s ease;
}

.the-text h1 {
  margin: 0;
  font-size: 20px;
  display: flex;
  align-items: center;
}

.info-and-languages-options {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.info a {
  display: flex;
  align-items: center;
  gap: 8px; 
  color: black;
  text-decoration: none;
  font-size: 14px;
}

.info a p {
  margin: 0; 
}

.info img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.media {
  display: flex;
  align-items: center;
  gap: 8px;
}

.media img {
  width: 25px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.media img:hover {
  transform: scale(1.1);
}

.separator {
  width: 1px;
  height: 30px;
  background-color: gray;
}

  .language-selector {
      position: relative;
      display: inline-block;
      color: red;
      font-size: 14px;
    }

    .custom-select {
      position: relative;
      width: 100px;
      cursor: pointer;
      user-select: none;
    }

    .custom-select .selected {
      display: flex;
      align-items: center;
      padding: 5px 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
      background: #fff;
      gap: 8px;
    }

    .custom-select .selected img.flag {
      width: 22px;
      object-fit: cover;
      flex-shrink: 0;
      border-radius: 50%;
    }

    .custom-select .options {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 5px;
      max-height: 200px;
      overflow-y: auto;
      display: none;
      z-index: 10;
      margin-top: 2px;
      padding: 0;
      list-style: none;
    }

    .custom-select .options li {
      display: flex;
      align-items: center;
      padding: 5px 10px;
      gap: 8px;
    }


    .custom-select .options li img.flag {
      width: 22px;
      object-fit: cover;
      flex-shrink: 0;
      border-radius: 50%;
    }

    .custom-select .options li:hover {
      background: #f0f0f0;
      color: rgb(255, 72, 0);
    }

/*header*/
header {
  position: sticky;
  top: 0;
  height: 60px; 
  line-height: 60px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  padding: 0 30px;
}

header img {
  height: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  padding: 8px 12px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ff0000;
}


@media (max-width: 992px) {
 
  .the-text h1 {
    display: flex; 
  }

  .the-text > :not(h1) {
    display: none;
  }

  .info-and-languages-options .info {
    display: none;
  }

  .info-and-languages-options .language,
  .info-and-languages-options .media {
    display: flex;
  }
}

@media (min-width: 993px) {
  .the-text,
  .info-and-languages-options .info,
  .info-and-languages-options .language,
  .info-and-languages-options .media {
    display: flex;
  }
}


nav ul li ul {
  position: absolute;
  top: 100%; 
  left: 0;
  background: #ffffff;
  display: none;
  flex-direction: column;
  min-width: 200px;
  padding: 0;
  border-radius: 6px;
  z-index: 1000;
}

nav ul li ul li a {
  color: #222; 
  padding: 10px 16px; 
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #ccc; 
  line-height: normal; 
  transition: background 0.3s, color 0.3s;
}

nav ul li ul li:last-child a {
  border-bottom: none; 
}

nav ul li:hover ul {
  display: flex;
}





    .hamburger {
      width: 30px;
      height: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
      z-index: 2100;
    }

    .hamburger span {
      display: block;
      height: 3px;
      background: white;
      border-radius: 2px;
      transition: all 0.4s ease;
    }

    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
    }

    .drop-menu {
      position: fixed;
      top: -100%;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(54, 54, 54, 0.25); 
  backdrop-filter: blur(8px);          
  -webkit-backdrop-filter: blur(8px);  
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding: 40px 20px;
      z-index: 2000;
      overflow-y: auto;
      transition: top 0.5s ease;
      overflow: hidden; 
    }


    .drop-menu.active {
      top: 0;
    }

    .drop-menu .close-btn {
      position: absolute;
      top: 20px;
      right: 30px;
    }

    .drop-menu .close-btn span {
      background: #000; 
    }

    .drop-menu > div.logo-box {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      margin-top: 60px; 
      margin-bottom: 20px;
    }

    .drop-menu > div.logo-box img {
      height: 60px;
    }

    .drop-menu h1 {
      font-size: 28px;
      font-weight: bold;
      color: #ff0000;
      padding-top: 20px;
    }

    .drop-menu .separator {
      width: 100%;
      height: 2px;
      background: #e8e8e8;
      margin: 20px 0;
    }

    .capitalcites-and-options {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      width: 100%;
      max-width: 1200px;
    }

    .capitalcites-and-options section h2 {
      font-size: 18px;
      font-weight: bold;
      color: #ff0000;
      margin-bottom: 10px;
    }

    .capitalcites-and-options section a {
      display: block;
      margin: 4px 0;
      color: #ffffff;
      text-decoration: none;
      transition: color 0.3s;
    }

    .capitalcites-and-options section a:hover{
      color: rgb(255, 72, 0);
    }
    

.drop-menu-contact-icons {
  display: flex;
  gap: 20px; 
  justify-content: center;
  margin-top: 10px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0; 
  overflow: hidden; 
  transition: gap 0.3s ease;
  cursor: pointer;
  color: white;
}

.contact-item img {
  width: 24px;
  height: 24px;
}

.contact-item span {
  white-space: nowrap;
  max-width: 0; 
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.3s ease, opacity 0.3s ease, margin-left 0.3s ease;
}

.contact-item:hover {
  gap: 10px; }

.contact-item:hover span {
  max-width: 300px; 
  opacity: 1;
  margin-left: 5px;
}





    
@media (max-width: 992px) {
  nav {
    display: none; 
  }

  .hamburger {
    display: flex; 
  }
}

@media (min-width: 993px) {
  nav {
    display: flex;
  }
}

  footer{
    background-color: #222;
    display: flex;
    flex-direction: column;
    gap: 10PX;
    padding: 20px;
    justify-content:space-around;
  }

  .footer-contents{
    display: flex;
    flex-direction: row;
    gap: 10PX;
    padding: 20px;
    justify-content:space-around;
  }

  footer div{
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  footer a{
    text-decoration: none;
  }



.arrow-list {
  list-style: none; 
  padding-left: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
}


.arrow-list li {
  position: relative;
  padding-left: 25px; 
  margin: 5px 0;
  padding-top: 5px;
}

.arrow-list li a{
  color: white;
  transition: 0.3s;
}

.arrow-list li a:hover{
  color: rgb(255, 140, 0);
}

  .arrow-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: #ff0000;
  font-size: 16px;
}


.showall{
  background-color: red;
  border: none;
  border-radius: 10px;
  padding: 10px;
  color: white;
  font-size: 15px;
  margin-top: 15px;
  transition: 0.4s;
}

.showall:hover{
  background-color: rgb(193, 0, 0);
}

.showall:active{
  background-color: rgb(255, 53, 53);
}

footer .media{
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 10px;
}

.footer-media p{
  color: white;
  text-align: center;
  font-size: 10px;
}

.title-of-page{
    background-image: linear-gradient(to bottom, red, rgb(185, 0, 0));
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 200px;
    padding: 20px;
    gap: 15px;
    justify-content: center;

        clip-path: polygon(
        0 0,          
        100% 0,       
        100% 80%,     
        80% 100%,     
        0 100%        
    );
}

.title-of-page-h1, .title-of-page-p{ 
    color: rgb(255, 255, 255);
}

.title-of-page-p a{
    text-decoration: none;
    color: rgb(255, 255, 255);
}



.our-packages{
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 50px;
  font-weight: 300;
  font-size: 35px;
}


.container {
    width: 90%;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.carousel-track-wrapper {
    overflow: visible; 
    flex-grow: 1;
    margin: 0 80px; 
}


.carousel-btn {
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 25px;
    flex-shrink: 0;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.carousel-btn.left { left: 15px; }
.carousel-btn.right { right: 15px; }
.carousel-btn:hover { background: rgba(0,0,0,0.8); }


.carousel-track {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease-in-out;
}

.carousel-card {
  flex: 0 0 calc((100% - 50px)/3); 
  transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.3s ease;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  background: #ececec;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  padding: 20px; 
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.carousel-card.visible { opacity: 1; transform: translateY(0); }
.carousel-card:hover {
  transform: translateY(-15px) scale(1.05);
  z-index: 900;   
  box-shadow: 0 20px 30px rgba(0,0,0,0.3);
}


.ribbon-card {
    position: absolute;
    top: 85px;
    right: -20px;
    background: red;
    color: #fff;
    font-weight: bold;
    padding: 5px 45px;
    transform: rotate(45deg);
    transform-origin: right top;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 14px;
    pointer-events: none;
}

.ribbon-card.expert { background: #e10613; }
.ribbon-card.economic { background: #099140; }
.ribbon-card.popular { background: #0cc6c9; }

.card-inner {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


.carousel-card img {
    display: block;
    margin: 0 auto 15px auto; 
    max-width: 80%;
    border-radius: 10px;
}

.carousel-card b {
    font-weight: 600;
    color: #303030;
    display: block;
    margin-bottom: 10px;
    flex-shrink: 0;
    height: 40px; 
}

.carousel-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.carousel-card ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.carousel-card li{
  color: rgb(76, 76, 76);
  font-weight: 100;
  font-size: smaller;
}

.carousel-card ul li::before {
    content: "✔";
    color: red;
    position: absolute;
    left: 0;
}

.carousel-container.dragging {
    cursor: grabbing;
    user-select: none;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .carousel-card { flex: 0 0 calc((100% - 25px)/2); min-height: 500px; }
}
@media (max-width: 600px) {
    .carousel-card { flex: 0 0 100%; min-height: 480px; }
}

.detail-btn{
  border: solid 2px;
  border-color: #c4c4c4;
  background-color: transparent;
  border-radius: 10px;
  padding: 10px;
  transform: 0.5s;
}
.detail-btn a{
  text-decoration: none;
  color: #303030;
  font-weight: bold;
}
.appointment-btn{
  border: 1px gray;
  background-color: red;
  border-radius: 10px;
  padding: 10px;
  transform: 0.5s;
}

.appointment-btn a{
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}
.detail-btn:hover, .appointment-btn:hover{
  box-shadow: 0px 0px 5px rgb(56, 56, 56);
}

.detail-btn:active, .appointment-btn:active{
    box-shadow: 0px 0px 10px rgb(249, 0, 0);
}

.carousel-wrapper {
  position: relative;
  overflow: visible; 
}

.carousel-track-wrapper {
  overflow: visible;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  height: 100%;
  background: #fff;
  pointer-events: none; 
  z-index: 300;     
}

.carousel-btn {
  position: absolute;
  z-index: 1000;     
}

.carousel-card img { display:block; max-width:100%; }

 .who-we-are {
        max-width: 1000px;
        margin: 50px auto;
        padding: 0 20px;
  margin-bottom: 20px;
  position: relative;
    }

    .who-we-are h2 {
        text-align: center;
        font-size: 2em;
        margin-bottom: 10px;
        position: relative;
        display: inline-block;
    }

    .who-we-are h2::after {
        content: '';
        display: block;
        width: 50px;
        height: 3px;
        background: #c00;
        margin-top: 5px;
        transition: width 0.3s;
        }

        .who-we-are h2:hover::after {
        width: 100px;
        }


    .who-we-are p {
        margin-bottom: 15px;
        line-height: 1.8;
    }

    .why-dynomark {
        max-width: 1000px;
        margin: 50px auto;
        padding: 0 20px;
    }

    .why-dynomark h2 {
        text-align: center;
        font-size: 2em;
        margin-bottom: 10px;
        position: relative;
        display: inline-block;
    }

        .why-dynomark h2::after {
        content: '';
        display: block;
        width: 50px;
        height: 4px;
        background: #c00;
        margin-top: 5px;
        transition: width 0.3s;
        }

        .why-dynomark h2:hover::after {
        width: 100px;
        }


    .why-dynomark p {
        margin-bottom: 15px;
        line-height: 1.8;
    }

    .why-dynomark ul {
        margin-bottom: 15px;
        padding-left: 20px;
        line-height: 1.8;
    }


.packets {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}

.grid-wrapper {
  flex: 1 1 60%;
}

.grid-view {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 25px;
}

.why-dynomark {
  flex: 1 1 35%;
}

@media (max-width: 992px) {
  .grid-view {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-dynomark {
    flex: 1 1 100%;
    margin-top: 40px;
  }
}

@media (max-width: 600px) {
  .grid-view {
    grid-template-columns: 1fr;
  }
}

  .info-and-languages-options{
    display: flex !important;
    flex-direction: row !important;
  }


@media (max-width: 600px) {

  .top-headline {
    flex-direction: column;
    height: auto;
    gap: 5px;
    padding: 10px;
  }
  .the-text h1 { font-size: 14px; }
  .info-and-languages-options { flex-direction: column; gap: 5px; }

  header {
    padding: 0 10px;
    height: 50px;
  }
  header img { height: 28px; }

    .info-and-languages-options{
    display: flex !important;
    flex-direction: row !important;
  }

  .drop-menu .logo-box img { height: 50px; }
  .capitalcites-and-options {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .drop-menu h1 { font-size: 22px; }

  .slider {
    height: 60vh;
  }
  .btn img { width: 20px; height: 20px; }

  .grid-container {
    grid-template-columns: 1fr;
  }
  .grid-card {
    padding: 1rem;
  }

  footer {
    padding: 10px;
  }
  .footer-contents {
    flex-direction: column;
    gap: 15px;
  }
  .arrow-list li {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .hamburger {
    width: 28px;
    height: 18px;
  }

  .drop-menu {
    padding: 30px 15px;
    justify-content: flex-start;
    align-items: center;
  }

  .drop-menu .logo-box {
    margin-top: 50px;
    gap: 8px;
  }

  .drop-menu .logo-box img {
    height: 50px;
  }

  .drop-menu h1 {
    font-size: 24px;
  }

  .capitalcites-and-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 95%;
  }

  .capitalcites-and-options section h2 {
    font-size: 16px;
  }

  .capitalcites-and-options section a {
    font-size: 14px;
  }

  .drop-menu-contact-icons {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 60px;
  }

  .contact-item img {
    width: 22px;
    height: 22px;
  }

  .contact-item span {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .hamburger {
    width: 26px;
    height: 16px;
  }

  .drop-menu {
    padding: 20px 10px;
    align-items: center;
  }

  .drop-menu .close-btn {
    top: 10px;
    right: 15px;
  }

  .drop-menu .logo-box {
    margin-top: 40px;
    gap: 6px;
  }

  .drop-menu .logo-box img {
    height: 40px;
  }

  .drop-menu h1 {
    font-size: 20px;
    padding-top: 10px;
  }

  .drop-menu .separator {
    width: 90%;
    height: 1px;
    margin: 10px 0;
  }

  .capitalcites-and-options {
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
    padding: 0 10px;
  }

  .capitalcites-and-options section h2 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .capitalcites-and-options section a {
    font-size: 13px;
  }

  .drop-menu-contact-icons {
    margin-top: 40px;
    gap: 12px;
  }

  .contact-item img {
    width: 20px;
    height: 20px;
  }

  .contact-item span {
    font-size: 13px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  header nav {
    display: block !important; 
    flex: 1;
    font-size: 10px !important;
  }
}

@media only screen and (max-width: 767px) {
  header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  header nav {
    display: block !important;
    flex: 1;
    font-size: 13px !important;
  }

  header nav ul > li:nth-child(1),  
  header nav ul > li:nth-child(2),  
  header nav ul > li:nth-child(3),  
  header nav ul > li:nth-child(5) { 
    display: none !important;
  }

}


/* -------------------------------------------------
   KEEP .info (phone + WhatsApp) ALWAYS VISIBLE
   ------------------------------------------------- */
.info,
.info a,
.info p,
.info img,
.info span {
  display: flex !important;      /* keep the flex layout */
  visibility: visible !important;
  opacity:  scalability 1 !important;
}

/* ---- Phones (≤ 600 px) ---- */
@media (max-width: 600px) {
  .info a { font-size: 12px; }            /* same size you already use elsewhere */
  .info img { width: 18px; height: 18px; }/* keep the icons from shrinking */
}

/* ---- Tablets (≤ 992 px) ---- */
@media (max-width: 992px) {
  .info a { font-size: 12px; }
  .info img { width: 18px; height: 18px; }
}

/* ---- Larger tablets / small desktops (768‑1024 px) ---- */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .info a { font-size: 13px; }   /* a little bigger on tablets */
  .info img { width: 20px; height: 20px; }
}

/* -------------------------------------------------
   PHONE LAYOUT (≤600px): 
   - Phone → OR → WhatsApp (each on own line)
   - Keep original 12px font
   - All centered, no separators
   ------------------------------------------------- */
@media (max-width: 600px) {
  .info-and-languages-options {
    flex-direction: column !important;
    gap: 10px;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 8px;
  }

  /* Order: info → media → language */
  .info              { order: 1; }
  .media             { order: 2; }
  .language-selector { order: 3; }

  /* HIDE SEPARATORS */
  .separator {
    display: none !important;
  }

  /* RESTRUCTURE .info: one item per line */
  .info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
  }

  .info a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px !important;   /* Keep original size */
    text-decoration: none;
    color: inherit;
    width: 100%;
    margin: 0;
  }

  .info img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
  }

  .info p {
    margin: 0;
    font-family: sans-serif;
  }

  /* "OR" — make it a centered standalone line */
  .info a:nth-child(2) {
    margin: 4px 0;
    font-style: italic;
    color: red;
  }

  .info a:nth-child(2) span {
    margin: 0 6px;
    font-size: 11px;
  }

  /* Remove default margin-top from second <a> */
  .info a:nth-child(2) {
    margin-top: 0 !important;
  }

  /* SOCIAL ICONS */
  .media {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin: 8px 0;
  }
  .media img {
    width: 18px;
    height: 18px;
  }
  

  /* LANGUAGE SELECTOR */
  .language-selector {
    display: flex;
    justify-content: center;
  }
  .custom-select .selected {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .custom-select .flag {
    width: 16px;
    height: 16px;
  }
}
