@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Send+Flowers&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ms+Madi&display=swap');

.light-text { color: #fff; transition: color 0.3s ease; }
.dark-text { color: #000; transition: color 0.3s ease; }

*,
*::after,
*::before {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  /* font-family: 'futura_ptlight'; */
  font-family: "Inter", sans-serif;
}

p {
  margin: 0;
  padding: 0;
}

ul {
  padding: 0;
  margin: 0;
}

ul li {
  list-style: none;
}

a {
  margin: 0;
  padding: 0;
}

/* 
=========================
HERO SECTION 
========================= */

#gradient-canvas {
    width: 100%;
    height: 100%;
    --gradient-color-1: #6a7dff;  /* Albastru-indigo puternic, punct central */
  --gradient-color-2: #8e5fff;  /* Mov electric, adaugă dinamism */
  --gradient-color-3: #a7c8ff;  /* Albastru pastel, luminează gradientul */
  --gradient-color-4: #fe4040;  /* Albastru pastel, luminează gradientul */
  --gradient-color-5: #e4eaff;  /* Alb-lavandă foarte subtil, pentru final */
    z-index: 0;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0% 100%);
  }
  
  .hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  /* Canvas-ul animat */
  #gradient-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  /* Conținutul din față */
  .hero-content {
    position: relative;
    z-index: 2; /* Peste gradient */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1250px;
    color: #fff;
    margin-top: 3rem;
  }
  
  /* Bloc text */
  .text-block {
    min-width: 500px;
    text-align: left;
    color: rgb(0, 0, 92);

  }
  
  .text-block h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 4.5rem;
  }

  @media screen and (max-width: 550px) {
    .text-block h1{
    font-size: 11.5vw;
    }
}

@media screen and (max-width: 450px) {
    .text-block h1{
    font-size: 13vw;
    }
}
  
  .text-block p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 300;
  }
  
  .cta {
    background-color: rgb(0, 0, 92);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid black;
    outline: none;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    transition: 200ms ease-in-out;
  }

  .cta:hover{
    transform: scale(1.05);
  }

  .signature-text{
    font-family: "Ms Madi", cursive;
    font-size: 6rem;
    color: white;
    font-weight: 400;
  }

  @media screen and (max-width: 550px) {
    .signature-text{
    font-size: 16.5vw;
    }
}

@media screen and (max-width: 450px) {
    .signature-text{
    font-size: 17vw;
    }
}
  
  /* Mock-up-uri */

  .mockup-block{
    display: flex;
    align-items: center;
  }

  .iphone-mockup-login{
    max-width: 50rem;
    margin-left: 20px;
    z-index: 5;
  }

  .report-mockup{
    max-width: 350px;
    margin-left: -40px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    z-index: 4;
  }

  @media screen and (max-width: 550px) {
    .text-block{
        width: 100%;
        max-width: 400px;
        min-width: 100%;
    }

    .mockup-block{
        display: none;
    }
  }



/* ======================== */
/* NAVBAR STILING  */
/* ========================== */


/* STYLING NAVBAR  */

.overlay {
    height: 100%;
    width: 0%;
    position: fixed;
    z-index: 9;
    top: 0;
    right: 0;
    /* Modificare aici pentru a seta meniul la dreapta */
    background-color: #111111;
    overflow-y: hidden;
    transition: width 0.8s cubic-bezier(.7, 0, .2, 1);
    /* Utilizare cubic-bezier pentru o tranziție personalizată */
    overflow: hidden;
  }
  
  .overlay-content {
    position: relative;
    top: 25%;
    left: 10%;
    width: 100%;
    text-align: left;
    margin-top: 30px;
  }
  
  .overlay a:not(.overlay-socials a) {
    padding: 8px;
    text-decoration: none;
    font-size: 20px;
    color: white;
    display: block;
    transition: 0.3s;
    letter-spacing: 2px;
    font-family: 'Mulish', serif;
    text-transform: capitalize;
  }
  
  .overlay-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Mulish', serif;
    text-transform: uppercase;
    margin-top: 30px;
  }
  
  .overlay-socials a {
    color: #818181;
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
    padding: 0 8px;
    letter-spacing: 3px;
    opacity: 0.7;
  
  }
  
  .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
  }
  
  .overlay .closebtn {
    position: absolute;
    top: 30px;
    right: 60px;
    font-size: 35px;
  }
  
  hr.new1 {
    margin-top: 30px;
    width: 60%;
    height: 5px;
    border-top: 1px solid rgba(57, 57, 57, 0.832);
    border-left: transparent;
    border-bottom: transparent;
    border-right: transparent;
  }
  
  .stop-scrolling {
    overflow: hidden;
  }
  
  @media screen and (max-height: 450px) {
    .overlay {
      overflow-y: auto;
    }
  
    .overlay a {
      font-size: 16px
    }
  
    .overlay .closebtn {
      font-size: 20px;
      top: 15px;
      right: 35px;
    }
  }
  
  @media screen and (max-width: 450px) {
    .overlay-content {
      top: 20%;
    }
  }
  
  /* NAVBAR  */
  
  .nav-btn {
    display: none;
  }
  
  .navbar {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 50px;
    padding: 0rem 2rem 0rem 2rem;
    z-index: 2;
    top: 0px;
    background-color: transparent;
    transition: background-color 0.3s ease;
    /* Smooth transition for background color */
    /* box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px; */
  }
  
  .navbar.scrolled {
    background-color: black;
    /* Change background color when scrolled */
  }
  
  .logo-navbar {
    width: 4rem;
    padding: 0.7rem 0;
  }
  
  .first-item-navbar ul {
    display: flex;
    gap: 40px;
    font-size: 0.9rem;
    transition: color 300ms ease-in-out;
    align-items: flex-start;
    list-style: none;
    font-weight: 100;
    letter-spacing: 1px;
    /* text-transform: capitalize; */
    /* text-shadow: 1px 1px 2px black; */
  }
  
  .first-item-navbar ul a {
    color: white;
    text-decoration: none;
    transition: 200ms ease-in-out;
    /* text-transform: uppercase; */
  }
  
  
  .navbar li {
    color: red;
    /* background-color: #404040; */
    float: left;
    position: relative;
    padding: 15px 10px;
    font-weight: 400;
    overflow: hidden;
  }
  
  .navbar li::after {
    background-color: #162b88;
    content: "";
    width: 0;
    height: 3px;
    left: 0;
    top: 10px;
    transition: width 0.35s ease 0s;
    position: absolute;
  }
  
  .navbar li:hover::after {
    width: 100%;
  }
  
  .navbar ul a.active-nav{
    /* border-top: 3px solid #47b749; */
    /* padding: 1.95rem 0; */
    width: 100%;
    color: #001563;
  }
  
  .overlay-content .action.active-nav{
    color: #0037ff;
  
  
  }
  
  .dropdown {
    float: left;
    overflow: hidden;
  }
  
  .dropdown .dropbtn {
    border: none;
    outline: none;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    font-size: 0.8rem;
    padding: 0;
  }
  
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: rgba(255, 170, 0, 0.833);
    color: white;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dashboard-btn{
    padding: 10px 10px;
    border-radius: 10px;
    outline: none;
    background-color: #001563;
    color: white;
    cursor: pointer;
    transition: 200ms ease-in;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border: 1px solid rgba(0, 0, 0, 0.422);
  }
  
  .dashboard-btn:hover{
    background-color: #0037ff;
    transform: scale(1.02);
  }
  
  
  @media only screen and (max-width: 1260px) {
  
    .navbar {
      justify-content: center;
      flex-direction: column;
      gap: 0;
    }
  
    .first-item-navbar {
      padding-bottom: 1rem;
    }
  
    .logo {
      width: 5rem;
    }
  
    .navbar {
      justify-content: space-around;
      flex-direction: row;
    }
  
    .first-item-navbar {
      padding-bottom: 0rem;
    }
  
    .first-item-navbar {
      display: none;
    }
  
    .nav-btn {
      display: block;
        color: #001563;
    }
  }
  
  
  
 
 /* CONTACT PAGE  */

 .contact-title {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    margin-top: 1rem;
    text-align: center;
    color: rgb(0, 0, 92);
    padding: 0 20px;
  }

  @media screen and (max-width: 550px) {
    .contact-title {
    font-size: 5.5vw;
    }
  }
  
  
  .contact-subtitle {
    text-align: center;
    color: gray;
    font-size: 1.2rem;
    padding: 1rem;
  }
  
  .contact-us p a{
    /* color: black; */
    text-decoration: none;
  }
  
  input[type="text"],
  select,
  textarea,
  input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
  }
  
  input[type="submit"] {
    background-color: rgb(4, 0, 231);
    ;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    border-radius: 10px;
  }
  
  input[type="submit"]:hover {
    transform: translateY(3px);
  }
  
  .contact-form {
    border-radius: 5px;
    background-color: #ffffff;
    padding: 20px;
    width: min(550px + 20%, 450px);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 20px;
    /* border-top: 4px solid black; */
  }
  
  .contact-section {
    width: 95%;
    margin: 1rem auto;
    /* margin: 3rem auto; */
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0rem;
    padding: 3rem;
    background-color: rgb(245 245, 245);
    border-radius: 20px;
  }
  
  .logo-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    z-index: 2;
  }
  
  .logo-container img {
    width: 160px;
    max-width: 100%;
    height: auto;
  }

  @media screen and (max-width: 480px) {
    .logo-container img {
      width: 120px;
    }
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5rem;
  }
  
  .contact-info p:not(.contact-info-title) {
    text-align: center;
    font-size: 1.6rem;
  }
  
  .contact-info-title {
    font-weight: 400;
    text-align: center;
    font-size: 2.2rem;
    padding-bottom: 1rem;
    color: #47b749;
  }
  
  
  .contact-hr {
    width: 500px;
  }
  
  .contact-social-media {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-bottom: 3rem;
  }
  
  
  
  @media (max-width: 850px) {
    .contact-section {
      flex-direction: column;
      width: 100%;
    }
  
    .contact-form, .google-maps {
      width: 95%;
    }
  
    .contact-info {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
    }
  }
  
  .help-section {
    text-align: center;
    color: white;
    background: rgb(13, 27, 42);
    padding: 30px 0;
    font-size: 1.3rem;
    font-weight: 500;
    width: 95%;
    margin: 1rem auto;
    border-radius: 20px;
  }
  
  .help-section a {
    color: white;
  }
  
  @media (max-width: 500px) {
    .help-section p {
      padding: 0 20px;
    }
  }
  

  /* FOOTER SECTION  */

footer{
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(13, 27, 42);
    height: auto;
    width: 95%;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    padding-top: 40px;
    color: #fff;
    padding: 20px;
    margin-bottom: 2rem;
  }
  
  .logo-footer{
    width: 7rem;
  }
  
  .footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }
  .footer-content h3{
    font-size: 2.1rem;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 3rem;
  }
  .footer-content p{
    max-width: 500px;
    margin: 10px auto;
    line-height: 28px;
    font-size: 14px;
    color: #cacdd2;
  }
  .socials{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
  }
  .socials li{
    margin: 0 10px;
  }
  .socials a{
    text-decoration: none;
    color: #fff;
    border: 1.1px solid white;
    padding: 5px;
  
    border-radius: 50%;
  
  }
  .socials a i{
    font-size: 1.1rem;
    width: 20px;
  
  
    transition: color .4s ease;
  
  }
  .socials a:hover i{
    color: blue;
  }
  
  .footer-bottom{
    background: rgb(13, 27, 42);
    width: 95%;
    margin: 0 auto;
    border-radius: 20px;  
    padding: 20px;
    padding-bottom: 40px;
    text-align: center;
    color: black;
    margin-bottom: 1.5rem;
  
  }
  
  .footer-bottom p{
  float: left;
    font-size: 14px;
    word-spacing: 2px;
    text-transform: capitalize;
    font-size: 0.75rem;
    color: white;
  }
  
  .footer-bottom p a{
  color:#44bae8;
  font-size: 16px;
  text-decoration: none;
  font-size: 0.75rem;
  
  }
  .footer-bottom span{
    /* text-transform: uppercase; */
    opacity: .4;
    font-weight: 200;
  }
  .footer-menu{
  float: right;
  
  }
  .footer-menu ul{
  display: flex;
  font-size: 0.75rem;
  }
  .footer-menu ul li{
  padding-right: 10px;
  display: block;
  }
  .footer-menu ul li a{
    color: white;
  
  text-decoration: none;
  }
  .footer-menu ul li a:hover{
  color: rgb(178, 178, 178);
  }
  
  @media (max-width:500px) {
  .footer-menu ul{
  display: flex;
  margin-top: 10px;
  margin-bottom: 20px;
  }
  }
  
  @media (max-width: 720px) {
    
    .footer-bottom{
      display: flex;
      text-align: center;
      flex-direction: column-reverse;
      align-items: center;
      gap: 1rem;
    }
    }
  
   /* Toast – pentru contact form */
/* Toast sus */
/* Toast sus */
#toastContact {
  visibility: hidden;
  min-width: 300px;
  background-color: #28a745;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 14px;
  position: fixed;
  z-index: 10001;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.5s, top 0.5s;
}
#toastContact.show {
  visibility: visible;
  opacity: 1;
  top: 50px;
}
#toastContact.error {
  background-color: #d32f2f;
}

/* Buton dezactivat */
input[type="submit"].disabled-btn {
  background-color: #ccc !important;
  cursor: not-allowed !important;
}
