: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;

  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: center;
  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-textbox-text {
  font-family: Lalezar;
  font-size: 32px;
  color: var(--text-red);
  margin-bottom: 4px;
}
.section1-down-textbox-text1 {
  font-family: Zain;
  font-size: 23px;
  color: var(--text-dark);
  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;
  }
}
.icons-div{
    max-width: 190px;
      display: flex;
  gap: 5px;
  flex-wrap: nowrap;

align-items: center;
justify-content: flex-end;
}
.icon{
    width: 40px;
height: auto;
margin: 0;
}
.icon:hover{
      filter: brightness(0) saturate(100%) invert(14%) sepia(95%) saturate(4050%) hue-rotate(345deg) brightness(80%) contrast(110%);

}
.icon1{
    width: 30px;
height: auto;
margin: 0;
}
.icon1:hover{
      filter: brightness(0) saturate(100%) invert(14%) sepia(95%) saturate(4050%) hue-rotate(345deg) brightness(80%) contrast(110%);

}
.box-div{
   width: 100%;
   height:104px ;
padding: 30px;
min-height: 65px;
   align-items: flex-start;
   justify-content: flex-start;
   margin-top: 20px; 
   border-radius: 34px;
border: 1px solid var(--frame-border);
background:var(--main-squ);
}

.box-div1{
   width: 100%;
   height:350px ;
   padding: 20px;
  
      align-items: flex-start;
      justify-content: flex-start;
min-height: 250px;

   margin-top: 20px; 
   border-radius: 34px;
border: 1px solid var(--frame-border);
background:var(--main-squ);
}

.cards{
    width: 100%;
    display: flex;
    gap: 42px;
   margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
      padding: 0 75px;
    align-items: center;
}

.card{
    height: 349px;
    min-height:264.296px ;
width: 22%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 20px;
padding:23px ;
background:var(--box-beig);
border-radius: 26.384px;

box-shadow: 0 6.214px 20.189px 0 rgba(0, 0, 0, 0.25);

animation: slideUppp 3s ease forwards;
}

@keyframes slideUppp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.card-title{
 color: var(--text-dark);
text-align: right;
font-family: Zain;
font-size: 26px;
font-style: normal;
font-weight: 700;
line-height: normal;  
align-self: start; 
}
.card-box{
 width: 100%;
height: 51px;
padding: 10px;

min-height:39px;
flex-shrink: 0;   
background:var(--main-squ);
   border-radius: 15px;
border: 1px solid var(--frame-border);
background:var(--main-squ);
}
.card-img{
    width: 50%;
height: auto;
margin: 0;
}
.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-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-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%;}}