:root{
    --main-bg: #FFFAEF;
    --main-squ: #FFF9DD;
    --frame-border: #463024;
    --accent: #E5B739;
    --text-dark: #1E1E1E;
    --text-light: #ffffff;
    --text-red: #D0011E;
    --text-green: #7FA242;
    --nav-w: 16%;
    --box-beig: #FFF0CD; 
  }
  
  
  *{margin:0;padding:0;box-sizing:border-box}
  body{height:100%}
  body{
    width:100%;
    background:var(--main-bg);
    font-family: "Zain", system-ui, sans-serif;
   position: relative;
   overflow-x: hidden;}
  a{
      text-decoration: none;
      list-style-type: none;
  }
  
  .nav{
    position:fixed;
    top:0;
    right:0;
    width:var(--nav-w);
    height:100vh;
    background:var(--main-squ);
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:40px 12px;
    justify-content:flex-start;
    filter:drop-shadow(-2px 0 12.5px rgba(0,0,0,0.25));
    border-top-left-radius:0;
    border-bottom-left-radius:43px;
    z-index:40;
    animation: slideLeft 1s ease forwards;
  }
  
  @keyframes slideLeft {
    from {
      transform: translateX(100px);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }}
  
  .logo img{width:120px;height:auto;margin-bottom:30px;display:block}
  
  .nav-links{
    width:100%;
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:35px;
    align-items:flex-start;
    padding-left:12px;
    margin-top:6px;
    margin-bottom:auto;
  }
  
  .nav-box{
    display:flex;
    align-items:center;
    gap:10px;
    justify-content:flex-start;
    cursor:pointer;
    color:var(--text-dark);
    padding:6px 8px;
    transition:color .18s ease-in-out, transform .12s ease-in-out;
    width:100%;
  }
  
  .nav-box:hover{transform:translateX(-4px)}
  
  .nav-icon{width:35px;height:35px;object-fit:contain;flex-shrink:0}
  .nav-text{
    color:var(--text-dark);
    font-family:Lalezar;
    font-size:22px;
    font-weight:400;
    line-height:1;
    display:inline-block;
  }
  
  
  .logout{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:20px;
    cursor:pointer;
    padding:6px 8px;
    align-self: flex-start;
  }
  .nav-box:hover .nav-icon,
  .logout:hover .nav-icon{
    filter: brightness(0) saturate(100%) invert(14%) sepia(95%) saturate(4050%) hue-rotate(345deg) brightness(80%) contrast(110%);
  }
  .nav-box:hover .nav-text,
  .logout:hover .nav-text{ color:var(--text-red) }
  
  
  .left-section{
    margin-right: var(--nav-w); 
    min-height:100vh;
    display:flex;
    flex-direction:column;
    gap:40px;
    align-items:stretch;
    justify-content:flex-start;
 padding-bottom: 50px;
    position:relative;
    z-index:1;
  }
  
  
  .section1{width:100%;display:flex;flex-direction:column;gap:18px}
  .section1-up{
    width:100%;
    height:169px;
    background:var(--text-green);
    border-bottom-left-radius:33px;
    border-bottom-right-radius:33px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 75px;
    gap:12px;
    animation: slideDown 1s ease forwards;
  }

  .section1-up-box{
    display:flex;
    align-items:center;
      gap: 5px;
  }
  .section1-up-box-icon{width:auto;height:63px;display:block}
  .section1-up-box-text{
    color:var(--main-squ);
    text-align:right;
    font-family:Lalezar;
    font-size:32px;
    font-weight:400;
    overflow:hidden;
    white-space:nowrap;
    border-left:3px solid var(--main-squ);
    width:0;
    animation: typing 4s steps(40,end) forwards, blink .7s step-end infinite;
  }
  @keyframes typing{from{width:0}to{width:100%}}
  @keyframes blink{from,to{border-color:transparent}50%{border-color:var(--main-squ)}}
  
  
  .section1-up .icons{
    display:flex;
    align-items:center;
    gap:12px;
  }
  .section1-up-box1-icon,
  .hamburger{
   width:30px;height:auto;display:inline-block;cursor:pointer;transition:filter .25s ease-in-out;
  }
  .section1-up-box1-icon:hover{
  filter: brightness(0) saturate(100%) invert(79%) sepia(52%) saturate(1390%) hue-rotate(8deg) brightness(97%) contrast(98%);
  
  }
  .hamburger-menu-container {
    position: relative;
    display: none;
  }
  
  .hamburger {
   width:50px;height:50px;
    cursor: pointer;
    display: block;
    justify-content: center;
    align-items: center;
  
  }
  .hamburger:hover{
  filter: brightness(0) saturate(100%) invert(79%) sepia(52%) saturate(1390%) hue-rotate(8deg) brightness(97%) contrast(98%);
  
  }
  
  .side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 278px;
    height: 100vh;
    background: var(--main-squ);
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 50px 25px;
    transition: right 0.35s ease-in-out;
    z-index: 200;
    border-top-left-radius: 0;
    border-bottom-left-radius: 35px;
  }
  
  .menu-logo {
    width: 120px;
    margin-bottom: 40px;
  }
  
  
  .side-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .side-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-family: Lalezar;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
  }
  
  .side-item:hover {
    transform: translateX(-5px);
    color: var(--text-red);
  }
  
  .side-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }
  
  .side-logout {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-family: Lalezar;
    font-size: 22px;
    cursor: pointer;
  }
  .side-text{
    color:var(--text-dark);
    font-family:Lalezar;
    font-size:22px;
    font-weight:400;
    line-height:1;
    display:inline-block;
  }
  .side-item:hover{transform:translateX(-4px)}
  
  .side-icon{width:35px;height:35px;object-fit:contain;flex-shrink:0}
  
  .side-item:hover .side-icon,
  .side-logout:hover .side-icon{
    filter: brightness(0) saturate(100%) invert(14%) sepia(95%) saturate(4050%) hue-rotate(345deg) brightness(80%) contrast(110%);
  }
  .side-item:hover .side-text,
  .side-logout:hover .side-text{ color:var(--text-red) }
  .hamburger:hover {
  filter: brightness(0) saturate(100%) invert(79%) sepia(52%) saturate(1390%) hue-rotate(8deg) brightness(97%) contrast(98%);
  
  }
  
  .blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease-in-out;
    z-index: 150;
  }
  
  
  .hamburger-menu-container:hover .side-menu {
    right: 0;
  }
  .hamburger-menu-container:hover .blur-overlay {
    opacity: 1;
    pointer-events: all;
  }
  .section1-down {
    width: 100%;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 75px;
    margin-top: -38px;
    justify-content: center;
    animation: slideUp 1s ease forwards;
  }
  
  @keyframes slideUp {
    from {
      transform: translateY(100px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .section1-down-box {
    flex: 1 1 100%;
  
    background: var(--box-beig);
    border-radius: 25px;
    box-shadow: 0 4px 13px rgba(0,0,0,0.25);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 25px 50px;
    box-sizing: border-box;
    flex-direction: column;
  }
  .section1-down-textbox{display: flex
  ;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      width: 100%;}
      .section1-down-textbox1{display: flex
        ;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            width: 100%;}
  
  .section1-down-textbox-text {
    font-family: Lalezar;
    font-size: 32px;
    color: var(--text-red);
    margin-bottom: 4px;
  }

  .section1-down-textbox-text2 {
    font-family: Lalezar;
    font-size: 32px;
    color: var(--main-squ);
    margin-bottom: 4px;
  }
  .section1-down-textbox-text3 {
    font-family: Zain;
    font-size: 23px;
    color: var(--text-light);
    max-width: 100%;
  }
  .section1-down-box-icon{
     width: 42px;
  height: 42px; margin: 0; 
  }
  .section1-down-box-icon:hover{
        filter: brightness(0) saturate(100%) invert(14%) sepia(95%) saturate(4050%) hue-rotate(345deg) brightness(80%) contrast(110%);
  
  }
  .section1-part-title{
        width: 100%;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 75px;
  
    justify-content: center;
    animation: slideUpp 2s ease forwards;
  }
  
  @keyframes slideUpp {
    from {
      transform: translateY(100px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .section1-down-box1 {
    flex: 1 1 100%;
  
    border-radius: 29px;
    background: #7FA242;
    box-shadow: 0 6.83px 22.19px 0 rgba(0, 0, 0, 0.25);
    height: 286px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 25px 50px;
    box-sizing: border-box;
    flex-direction: column;
    gap: 10px;
  }
  .card-down {
    width: 100%;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 75px;
   
    justify-content: center;
    animation: slideUp 1s ease forwards;
  }
  
  @keyframes slideUp {
    from {
      transform: translateY(100px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  
.cta {
    display: flex
;
    text-decoration: none;
    width: 134px;
    height: 40px;
    border-radius: 28px;
    background: var(--accent);
    color: var(--text-light);
    font-family: Lalezar;
    font-size: 20px;
    /* line-height: 60px; */
    text-align: center;
    justify-content: center;
    align-items: center;}
    .cta:hover{background:var(--text-red)}
.icona{
    width: 29.245px;
    height:auto;
    margin-left: 10px;
}

.section1-up-box:hover .icona,
.section1-up-box:hover .section1-down-textbox-text1 {
  filter: brightness(0) saturate(100%) invert(14%) sepia(95%) saturate(4050%) hue-rotate(345deg) brightness(80%) contrast(110%);
  color: var(--text-red);
}

  .section1-down-textbox-text1 {
    font-family: Zain;
    font-size: 23px;
    font-weight: 800;
    color: var(--text-dark);
    max-width: 100%;
  }
  .leave{
    width: 8%;
    height: auto;
    position: absolute;
    left: 0px;
    bottom: 0px;
    z-index: -3;
  }
  .leave1{
    width: 18%;
    height: auto;
    position: absolute;
    right: 92px;
    bottom: 0px;
    z-index: -3;
  
  }
  @media (max-width:1200px){
    :root{--nav-w:18%}
    .nav{width:var(--nav-w);padding:32px 10px}
    .logo img{width:100px}
    .nav-text{font-size:20px}
    .left-section{margin-right:var(--nav-w);gap:28px}
    .section1-up{padding:0 50px;height:160px}
    .section1-up-box-text{font-size:30px}
    .section1-down{padding:0 16px}
    .section1-down-box{min-width:150px}
    .section1-part-title{
              padding: 0 16px;
  }
  .icon {
      width: 36%;}
  .icon1 {
      width: 33%;}
      .leave{
        width: 12%;}
        .leave{
          width: 22%;}
  }
     @media (max-width:900px){
     .hamburger-menu-container { display: flex; }
    .nav { display: none; } 
    .left-section{margin-right:0;}
    .section1-up{padding:18px 28px;;align-items:center;gap:12px;height:120px;}
    .section1-up-box-text{font-size:22px;border-left:3px solid var(--main-squ)}
    .section1-up .icons{order:2}
    .hamburger{display:inline-block;width:28px;height:28px;} 
    .section1-up-box1-icon{display:inline-block; width:24px;height:24px;} .section1-down {
      padding: 0 40px;
      
    }
    .section1-down-box {
     
      align-items: flex-start;
      gap: 15px;
      padding: 25px 30px;
    }
    .section1-down-textbox-text { font-size: 26px; }
    .section1-down-textbox-text1 { font-size: 16px; max-width: 100%; }
    .section1-down-textbox-text2 { font-size: 26px; }
    .section1-down-textbox-text3 { font-size: 16px; max-width: 100%; }
    .section1-part-title{
      padding: 0 39px;
  }
  .icon {
      width: 26%;
  ;}
  .icon {
      width: 23%;}
      .cards{
          padding: 25px 30px;
      }
      .card-box{
              min-width: 94px;
      }
         .card{
              min-width: 23%;
  
      }
      .leave{
        width: 16%;}
        .leave1{
          width: 26%;
          right: -69px;}
  }
  
      @media (max-width:500px){
    :root{--nav-w:0}
     .hamburger-menu-container { display: flex; }
    .nav { display: none; } 
    .left-section{margin-right:0;        gap: 25px;}
    .section1-up{padding:14px 18px;gap:10px;}
    .section1-up-box-text{font-size:18px;border-left:3px solid var(--main-squ);white-space:normal}
    .section1-up-box-icon{height:48px}
    .section1-down {
      padding: 0 25px;
    
    }
    .section1-down-box {
      width: 100%;
      border-radius: 20px;
      padding: 20px;
    }
    .section1-down-textbox-text { font-size: 22px; }
    .section1-down-textbox-text1 { font-size: 15px; }
    .section1-down-textbox-text2 { font-size: 22px; }
    .section1-down-textbox-text3{ font-size: 15px; }
  
  .section1-part-title{
      padding: 0 29px;
  }
  .section1-down-box-icon {
      width: 32px;
      height: auto;
      margin: 0;
  }
  .icon {
      width: 16%;}
  .icon1 {
      width: 13%;}
      .card{
              min-width: 41%;
  
      }
      .card-img {
      width: 87%;}
        .cards{
          padding: 14px 18px;
      }
      .box-div1 {
      width: 100%;
      height: 227px;}
      .leave{
        width: 20%;}
        .leave1{
          width: 30%;}
          .card-down {
            width: 100%;
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            padding: 0 26px;}}