@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;600&display=swap');

:root{
  --ff-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --bg: #2b2f36;        /* example background like your screenshot */
  --muted: #9aa0a8;     /* muted subtitle color */
  --accent: #ffffff;
}
 /* Spider web overlay (non-interactive) */
#spider-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* never intercept clicks */
  z-index: 9999;
  overflow: visible;
}
#spider-overlay line,
#spider-overlay path {
  stroke: rgba(255,255,255,0.14);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.45));
  mix-blend-mode: screen;
  will-change: stroke-dashoffset, opacity;
}
#spider-overlay .web-group {
  opacity: 1;
  transition: opacity 900ms ease 4s; /* fade out after draw completes */
}
#spider-overlay .web-hidden {
  opacity: 0;
}

.menu-section.sticky {
  position: fixed;
  top: var(--menu-sticky-top, 0);
  left: 0;
  right: 0;
  z-index: 999;
  background: inherit;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.services-section {
    position: relative; 
    top: 200px;
    width: 100%;
    background-color: #252734;
    padding: 40px 20px 20px 0; 
    height: 200px;
    z-index: 111;
}

 .service-text {
   position: relative;
    margin: 0 auto;
    text-align: center;
    width: 300px;
   
 }
 h1 {
    color: #ffffff;
    font-size: 70px;
    font-family: 'times new roman', Times, serif;
    font-weight: 300;
    white-space: nowrap;
 }
 #menu-section {
  margin-top: 60px;
 }
 .border-text {
    display: flex;
    position: relative;
    left: -50px;
    padding: 20px 40px;
    background-color: #2a2c39;
    border-radius: 40px;
    gap: 20px;
        font-size: 18px;
     font-family: 'Inter', sans-serif;
     white-space: nowrap;
     margin-left: 90px;
 }
  .border-text p {
    color: #76867e;
    font-size: 14px;
    transition: 0.3s ease-in-out;
  }
  h5 {
    color:#ffffff;
  }
  
 .border-text a {
    text-decoration: none;
  
 }
.border-text p:hover {
    color: #fff;
  }
   .border-text span {
    color: #76867e;
  }
 .about-edris {
  position: relative;
  top: 100px;
  width: 100%;
  height: 650px;
  background-color: #2a2c39;
  }

.edris-content {
    position: relative;
    top: 60px;
    width: 80%;
    margin: auto;
    height: 80%;
    margin-top: 200px;
}

.png-edris {
    width: 40%;
    height: 100%;
    background-color: #252734;
}
.service-img {
  width: 100%;
}


.edris-infos {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
}
.edris-infos h1 {
   padding-left: 120px;
  padding-top: 100px;
  font-family: var(--ff-heading);
  font-weight: 700;           /* Playfair Display bold-ish look */
  font-size: 56px;            /* adjust to taste */
  margin: 0 0 12px 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.edris-infos p {
  padding-top: 20px;
  padding-left: 120px;
  font-family: var(--ff-body);
  font-weight: 300;           /* light for that airy look */
  font-size: 24px;            /* adjust to taste */
  margin: 0;
  line-height: 1.45;
  color: var(--muted);
  opacity: 0.95;
  max-width: 680px;
}

.about-me-edris {
 font-family: 'Inter', sans-serif;
 font-weight: 10  ;
 color: darkgray;
 font-family: var(--ff-body);
 font-size: 17px;
 padding-left: 120px;   
 padding-top: 30px;
}


.education-section {
    width: 100%;
    height: 800px;
    background-color: #252734;

}


                                                                         /* EDUCATION & EXPERIENCE PART */

.educ-exp-container {
 width: 80%;
 height: 1000px;
 margin: auto;
 margin-top: 140px;

}

.btn-educ-exp {
  width: 100%;
  margin: auto;
  height: 100px;
  display: flex;
  gap: 40px;
}

.tab {

    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
   font-size: 30px;
   cursor: pointer;
   color: #fff;
   font-family: 'Times New Roman', Times, serif;
   font-weight: 100;
}
#education-tab {
    background-color: #2a2c39;
}
#experience-tab{
    background-color: #2a2c39;

}

.edu-exp-detail {
    position: relative;
    top: 100px;
    width: 100%;
    height: 75%;
    margin: auto;

}

.year-exp-wrapper {
    width: 30%;
    height: 100%;
    border: 0.5px solid #686565;
    display: grid; 
    gap: 10px;
    /* margin-top: 20px;
    margin-bottom: 20px; */
}
.year-exp-wrapper-details {
    position: absolute;
    top: 0;
    width: 65%;
    right: 0;
    height: 100%;
    display: grid;
    gap: 10px;
}
.year-box {
    width: 100%;
    height: 100%;
} 
.year-box span {
    color: var(--muted);
    position: relative;
    top: 50%;
    left: 210px;
    font-family: 'Inter', sans-serif;
}
.border-right {
    height: 50px;
    width: 2px;
    background-color: #fff;
    position: relative;
    top: 36%;
    left: 320px;
}
.borderexperience-right{
    height: 50px;
    width: 2px;
    background-color: #fff;
    position: relative;
    top: 10%;
    left: 320px;
}


          /* DETAILS ABOUT ACADEMC BACKGROUND & EXPERIENCE */

.details-box { 
    width: 100%;
    height: 20%;

}

.details-box h5 {
    color: #fff;
    font-family: 'new Times Roman', Times, serif;
    font-size: 22px;
}
.details-box p {
    color: var(--muted);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-top: 10px;
}

.description {
    margin-top: 100px;
    color: var(--muted);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    margin-top: 20px;
}

.border-right2 {
    height: 50px;
    width: 2px;
    background-color: #fff;
    position: relative;
    top: 56%;
    left: 321px;
}

.border-right3 {
    height: 50px;
    width: 2px;
    background-color: #fff;
    position: relative;
    top: 48%;
    left: 321px;
}

.border-right4 {
    height: 50px;
    width: 2px;
    background-color: #fff;
    position: relative;
    top: 38%;
    left: 321px;
}
.year-box .span1 {
    color: var(--muted);
    position: relative;
    top: 95px;
    right: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.year-box .span2 {
    color: var(--muted);
    position: relative;
    top: 135px;
    right: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;

}

.year-box .span3 {
    color: var(--muted);
    position: relative;
    top: 120px;
    right: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
.year-box .span4 {
    color: var(--muted);
    position: relative;
    top: 100px;
    right: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}


.edu-exp-detail {
  display: none;
}
.edu-exp-detail.active {
  display: block;
}
#experience {
    border: none;
}

#education {
    border: none;
    background: none;
 
} 

.projects-completed {
  position: relative;
  top: 250px;
  width: 100%;
  height: 280px;
  background-color: #2a2c39;
}

.projects-container {
  width: 90%;
  margin: auto;
  height: 100%;
  gap: 15px;
  display: flex;
}
.projects-box {
  max-width: 33.3%;
  width: 100%;
  height: 100%;
  text-align: center;
  margin-left: 20px;
  position: relative;
  top: 0;
  left: 0;
}

.icon-projects {
 position: absolute;
 top: 100px;
 left: 30px;
}
.projects-box i {
  font-size: 50px;
  padding: 15px 40px;
  border: 1px solid rgb(179, 164, 164);
   display: flex;
   border-radius: 12px;
  justify-content: center;
  color: whitesmoke;
  align-items: center;
}
.div-text-projects {
  font-family: 'inter', sans-serif;
  position: absolute;
  top: 80px;
  left: 140px;
  line-height: 60px;
}
.div-text-projects h3 {
  color: #fff;
  font-size: 60px;
  font-weight: 100;
  margin-top: 10px;
  margin-left: 30px;
}
.div-text-projects p {
  color: darkgray;
   margin-left: 30px;
}

.works-with-trusted {
  width: 100%;
  height: 720px;
  background-color: #252734;
}

.title-works {
  position: relative;
  top: 200px;
  left: 120px;
  width: 900px;
  height: 150px;
  font-family: 'inter', sans-serif;
  color: gray;
  display: flex;
  gap: 20px;
}

.h1h1 {
  font-size: 30px;
  color: darkgray;
  margin-top: 15px;
}
.title-works span {
  color: #fff;
  font-size: 60px;
}

.company-dream-job {
  position: relative;
  top: 170px;
  width: 90%;
  height: 300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 20px;
}
.company-container-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 90%;
  border: 0.5px solid  gray;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  margin-top: 15px;
}

.company-container-box h5 {
  position: relative;
  top: 50px;
  left: 50px;
  transition: 0.2s ease;
  color: gray;
  font-size: 140px;
}
.company-container-box:hover {
  background-color: #2a2c39;
  border: 1px solid  #2a2c39;
}
.company-container-box h5:hover {
  color: #fff;
}
.company-img {
  width: 200px;
  border-radius: 50%;
  height: 200px;
  transition: 0.3s ease-in-out;
}
.company-span {
  color: #fff;
  font-size: 20px;
  font-family: 'Inter', sans-serif;
  bottom: 40px;
  transition: 0.3s ease-in-out;
  position: absolute;
}

.satisfied-clients {
  width: 100%;
  height: 800px;
  background-color: #252734;
  margin-top: 100px;
}
.client-comment{
  width: 80%;
  height: 70%;
  margin: auto;
  position: relative;
  top: 200px;
  left: 0;
}

.comment-box {
  width: 40%;
  height: 80%;
  background-color: #2a2c39;
}
.comment-box h3 {
 font-family: "Lora", "Georgia", serif;
  color: #dbd8d8;
  font-size: 22px;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 60px;
}
.comment-box p {
  font-family: 'Inter', sans-serif;
  color: gray;
  padding-left: 50px;
  padding-top: 50px;
  font-size: 17px;
  font-weight: 20;
  line-height: 20px;
  width: 80%;
  display: grid;
}

.comment-box2 {
  position: absolute;
  top: 100px;
  right: 0;
  width: 40%;
  height: 85%;
  background-color: #2a2c39;
}

.comment-box2 h3 {
 font-family: "Lora", "Georgia", serif;
  color: #dbd8d8;
  font-size: 22px;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 60px;
}
.comment-box2 p {
  font-family: 'Inter', sans-serif;
  color: gray;
  padding-left: 50px;
  padding-top: 50px;
  font-size: 17px;
  font-weight: 20;
  line-height: 20px;
  width: 80%;
  display: grid;
}
.client-details span {
  position: relative;
  top: -540px;
  left: 50px;

}
.client-details .spanh4 {
  position: absolute;
  margin-right: 100px;
  top: -540px;
  left: 80px;
}
.client-details {
  font-family: 'Inter', sans-serif;
  position: relative;
  top: 200px;
  left: 550px;
  display: flex;
  gap: 20px;
  color: darkgray
}
.client-details h4 {
  display: flex;
  gap: 100px;
  font-weight: 100;
  position: relative;
  top: -540px;
  left: 100px;

}

.clients-say {
  position: absolute;
  top: 30px;
  left: 485px;
  margin-left: 100px;
  font-size: 40px;
  font-family: var(--ff-heading);
  color: #dbd8d8;
}
.client-btn button {
  top: 450px;
  left: -100px;
  position: relative;
  border: 1px solid red;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  background: transparent;
border: 0.5px solid rgba(128, 128, 128, 0.2);
}
.client-btn i {
   color: gray;
   transition: 0.3s ease-in-out;
}

.client-btn i:hover {
  color: #0000;
}

.client-btn button:hover {
  background-color: #fff;
  border: 1px solid  #2a2c39;
}
.client-btn  {
  position: absolute;
  top:-500px;
  left: 0px;
  display: flex;
  gap: 20px;
}


.works-with-trusted {
  width: 100%;
  height: 720px;
  background-color: #2a2c39;
  margin-top: 100px;
}

.title-works {
  position: relative;
  top: 200px;
  left: 120px;
  width: 900px;
  height: 150px;
  font-family: 'inter', sans-serif;
  color: gray;
  display: flex;
  gap: 20px;
}

.h1h1 {
  font-size: 30px;
  color: darkgray;
  margin-top: 15px;
}
.title-works span {
  color: #fff;
  font-size: 60px;
}

.company-dream-job {
  position: relative;
  top: 170px;
  width: 90%;
  height: 300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 20px;
}
.company-container-box {
  display: flex;
  width: 100%;
  height: 90%;
  border: 0.5px solid  gray;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  margin-top: 15px;
}

.company-container-box h5 {
  position: relative;
  top: 50px;
  left: 50px;
  transition: 0.2s ease;
  color: gray;
  font-size: 140px;
}
.company-container-box:hover {
  background-color: #2a2c39;
  border: 1px solid  #2a2c39;
}
.company-container-box h5:hover {
  color: #fff;
}


.service-footer {
  overflow: hidden;
  width: 100%;
  height: 100px;
  border: 0.1px solid gray;
  border-left: none;
  border-right: none;
}

.service-logo {
  width: 200px;
  height: 200px;
}
.service-content-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
  top: 0;
  left: 0;
}
.service-content-footer a {
  text-decoration: none;
}
.service-content-footer p {
  color: gray;
  font-family: 'inter', sans-serif;
  font-size: 17px;
  position: absolute;
  top: 50px;
  left: 90px;
}
.service-content-footer span {
  color: #37bd54;
}

.service-logo {
  position: absolute;
  right: 100px;
  top: -50px;
}


 /* Back to Top Button Styles */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #2f2c31 0%, #222324 100%);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(137, 135, 139, 0.4);
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 1000;
        }
        
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .back-to-top:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 25px rgba(30, 28, 32, 0.6);
        }
        
        .back-to-top:active {
            transform: translateY(0);
        }
        
        .back-to-top svg {
            width: 24px;
            height: 24px;
            fill: white;
            transition: transform 0.3s ease;
        }
        
        .back-to-top:hover svg {
            transform: translateY(-3px);
        }

 

 .stars {
  position: relative;
  bottom: 10px;
  left: -30px;
  margin-top: 20px;
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  }

  .stars input {
    display: none;
  }

  .stars label {
    font-size: 2rem;
    color: #444;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
  }

  /* Hover effect */
  .stars label:hover,
  .stars label:hover ~ label {
    color: gold;
    transform: scale(1.2);
    text-shadow: 0 0 10px gold;
  }

  /* Active (when clicked) */
  .stars input:checked ~ label {
    color: gold;
    text-shadow: 0 0 15px gold, 0 0 30px gold;
  }

  /* Animation when clicked */
  .stars input:checked + label {
    animation: pop 0.3s ease;
  }

  @keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
  }

  .starsSecond {
  position: relative;
  bottom: 10px;
  left: -30px;
  margin-top: 20px;
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  }

  .starsSecond input {
    display: none;
  }

  .starsSecond label {
    font-size: 2rem;
    color: #444;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
  }

  /* Hover effect */
  .starsSecond label:hover,
  .starsSecond label:hover ~ label {
    color: gold;
    transform: scale(1.2);
    text-shadow: 0 0 10px gold;
  }

  /* Active (when clicked) */
  .starsSecond input:checked ~ label {
    color: gold;
    text-shadow: 0 0 15px gold, 0 0 30px gold;
  }

  /* Animation when clicked */
  .starsSecond input:checked + label {
    animation: pop 0.3s ease;
  }



.menu-section,
.menu-section * { box-sizing: border-box; }

/* sticky behavior */
.menu-section {
  position: sticky;
  top: 72px; /* set to your header height (adjust) */
  z-index: 900; /* above page content */
  width: 100%;
  background: inherit; /* keep appearance when stuck */
  /* remove debugging border when done */
  /* border: 1px solid transparent; */
}


/* Fix: remove gap when menu becomes sticky */
.menu-section{
    /* remove debug border and ensure no unexpected top margin */
    border: none; /* was: 1px solid red */
    margin: 0;
    height: 100px;
    position: relative; /* default when not fixed/sticky */
    left: 0;
    top: 0;
    z-index: 9999;
    background: #252734;
    transition: box-shadow 0.3s, background 0.3s;
}

/* When you switch to a fixed/sticky variant make sure top is zero (no gap) */
.menu-section.sticky {
    position: fixed;
    top: 0;               /* <-- ensure no gap */
    left: 0;
    right: 0;
    margin: 0;            /* remove negative margin that caused jump */
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    background: #252734;
}


/* Ensure any sticky rule here uses the same top (remove top:72px gap) */
.menu-section,
.menu-section * { box-sizing: border-box; }

/* sticky behavior: set top to 0 or to header height variable if you have a fixed header */
.menu-section {
  position: sticky;
  top: 40px;   /* <-- changed from 72px to 0 to remove gap */
  z-index: 900;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: inherit;
}
/* ...existing code... */


#note {
      display: none;
      padding: 10px;
      margin-top: 10px;
      border: 1px solid #f00;
      background-color: #ffe5e5;
      color: #900;
    }
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;600&display=swap');

:root{
  --ff-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --bg: #2b2f36;        /* example background like your screenshot */
  --muted: #9aa0a8;     /* muted subtitle color */
  --accent: #ffffff;
}
 /* Spider web overlay (non-interactive) */
#spider-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* never intercept clicks */
  z-index: 9999;
  overflow: visible;
}
#spider-overlay line,
#spider-overlay path {
  stroke: rgba(255,255,255,0.14);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.45));
  mix-blend-mode: screen;
  will-change: stroke-dashoffset, opacity;
}
#spider-overlay .web-group {
  opacity: 1;
  transition: opacity 900ms ease 4s; /* fade out after draw completes */
}
#spider-overlay .web-hidden {
  opacity: 0;
}

.menu-section.sticky {
  position: fixed;
  top: var(--menu-sticky-top, 0);
  left: 0;
  right: 0;
  z-index: 999;
  background: inherit;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.services-section {
    position: relative; 
    top: 200px;
    width: 100%;
    background-color: #252734;
    padding: 40px 20px 20px 0; 
    height: 200px;
    z-index: 111;
}

 .service-text {
   position: relative;
    margin: 0 auto;
    text-align: center;
    width: 300px;
   
 }
 h1 {
    color: #ffffff;
    font-size: 70px;
    font-family: 'times new roman', Times, serif;
    font-weight: 300;
    white-space: nowrap;
 }
 #menu-section {
  margin-top: 60px;
 }
 .border-text {
    display: flex;
    position: relative;
    left: -50px;
    padding: 20px 40px;
    background-color: #2a2c39;
    border-radius: 40px;
    gap: 20px;
        font-size: 18px;
     font-family: 'Inter', sans-serif;
     white-space: nowrap;
     margin-left: 90px;
 }
  .border-text p {
    color: #76867e;
    font-size: 14px;
    transition: 0.3s ease-in-out;
  }
  h5 {
    color:#ffffff;
  }
  
 .border-text a {
    text-decoration: none;
  
 }
.border-text p:hover {
    color: #fff;
  }
   .border-text span {
    color: #76867e;
  }
 .about-edris {
  position: relative;
  top: 100px;
  width: 100%;
  height: 650px;
  background-color: #2a2c39;
  }

.edris-content {
    position: relative;
    top: 60px;
    width: 80%;
    margin: auto;
    height: 80%;
    margin-top: 200px;
    display: flex; /* Added for responsiveness */
}

.png-edris {
    width: 40%;
    height: 100%;
    background-color: #252734;
}
.service-img {
  width: 100%;
}


.edris-infos {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
}
.edris-infos h1 {
   padding-left: 120px;
  padding-top: 100px;
  font-family: var(--ff-heading);
  font-weight: 700;           /* Playfair Display bold-ish look */
  font-size: 56px;            /* adjust to taste */
  margin: 0 0 12px 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.edris-infos p {
  padding-top: 20px;
  padding-left: 120px;
  font-family: var(--ff-body);
  font-weight: 300;           /* light for that airy look */
  font-size: 24px;            /* adjust to taste */
  margin: 0;
  line-height: 1.45;
  color: var(--muted);
  opacity: 0.95;
  max-width: 680px;
}

.about-me-edris {
 font-family: 'Inter', sans-serif;
 font-weight: 10  ;
 color: darkgray;
 font-family: var(--ff-body);
 font-size: 17px;
 padding-left: 120px;   
 padding-top: 30px;
}


.education-section {
    width: 100%;
    height: 800px;
    background-color: #252734;

}


                                                                         /* EDUCATION & EXPERIENCE PART */

.educ-exp-container {
 width: 80%;
 height: 1000px;
 margin: auto;
 margin-top: 140px;

}

.btn-educ-exp {
  width: 100%;
  margin: auto;
  height: 100px;
  display: flex;
  gap: 40px;
}

.tab {

    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
   font-size: 30px;
   cursor: pointer;
   color: #fff;
   font-family: 'Times New Roman', Times, serif;
   font-weight: 100;
}
#education-tab {
    background-color: #2a2c39;
}
#experience-tab{
    background-color: #2a2c39;

}

.edu-exp-detail {
    position: relative;
    top: 100px;
    width: 100%;
    height: 75%;
    margin: auto;
    display: flex; /* Added for responsiveness */
}

.year-exp-wrapper {
    width: 30%;
    height: 100%;
    border: 0.5px solid #686565;
    display: grid; 
    gap: 10px;
    /* margin-top: 20px;
    margin-bottom: 20px; */
}
.year-exp-wrapper-details {
    position: absolute;
    top: 0;
    width: 65%;
    right: 0;
    height: 100%;
    display: grid;
    gap: 10px;
}
.year-box {
    width: 100%;
    height: 100%;
} 
.year-box span {
    color: var(--muted);
    position: relative;
    top: 50%;
    left: 210px;
    font-family: 'Inter', sans-serif;
}
.border-right {
    height: 50px;
    width: 2px;
    background-color: #fff;
    position: relative;
    top: 36%;
    left: 320px;
}
.borderexperience-right{
    height: 50px;
    width: 2px;
    background-color: #fff;
    position: relative;
    top: 10%;
    left: 320px;
}


          /* DETAILS ABOUT ACADEMC BACKGROUND & EXPERIENCE */

.details-box { 
    width: 100%;
    height: 20%;

}

.details-box h5 {
    color: #fff;
    font-family: 'new Times Roman', Times, serif;
    font-size: 22px;
}
.details-box p {
    color: var(--muted);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-top: 10px;
}

.description {
    margin-top: 100px;
    color: var(--muted);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    margin-top: 20px;
}

.border-right2 {
    height: 50px;
    width: 2px;
    background-color: #fff;
    position: relative;
    top: 56%;
    left: 321px;
}

.border-right3 {
    height: 50px;
    width: 2px;
    background-color: #fff;
    position: relative;
    top: 48%;
    left: 321px;
}

.border-right4 {
    height: 50px;
    width: 2px;
    background-color: #fff;
    position: relative;
    top: 38%;
    left: 321px;
}
.year-box .span1 {
    color: var(--muted);
    position: relative;
    top: 95px;
    right: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.year-box .span2 {
    color: var(--muted);
    position: relative;
    top: 135px;
    right: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;

}

.year-box .span3 {
    color: var(--muted);
    position: relative;
    top: 120px;
    right: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
.year-box .span4 {
    color: var(--muted);
    position: relative;
    top: 100px;
    right: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}


.edu-exp-detail {
  display: none;
}
.edu-exp-detail.active {
  display: flex; /* Changed from block to flex for desktop layout */
}
#experience {
    border: none;
}

#education {
    border: none;
    background: none;
 
} 

.projects-completed {
  position: relative;
  top: 250px;
  width: 100%;
  height: 280px;
  background-color: #2a2c39;
}

.projects-container {
  width: 90%;
  margin: auto;
  height: 100%;
  gap: 15px;
  display: flex;
}
.projects-box {
  max-width: 33.3%;
  width: 100%;
  height: 100%;
  text-align: center;
  margin-left: 20px;
  position: relative;
  top: 0;
  left: 0;
}

.icon-projects {
 position: absolute;
 top: 100px;
 left: 30px;
}
.projects-box i {
  font-size: 50px;
  padding: 15px 40px;
  border: 1px solid rgb(179, 164, 164);
   display: flex;
   border-radius: 12px;
  justify-content: center;
  color: whitesmoke;
  align-items: center;
}
.div-text-projects {
  font-family: 'inter', sans-serif;
  position: absolute;
  top: 80px;
  left: 140px;
  line-height: 60px;
}
.div-text-projects h3 {
  color: #fff;
  font-size: 60px;
  font-weight: 100;
  margin-top: 10px;
  margin-left: 30px;
}
.div-text-projects p {
  color: darkgray;
   margin-left: 30px;
}

.works-with-trusted {
  width: 100%;
  height: 720px;
  background-color: #252734;
}

.title-works {
  position: relative;
  top: 200px;
  left: 120px;
  width: 900px;
  height: 150px;
  font-family: 'inter', sans-serif;
  color: gray;
  display: flex;
  gap: 20px;
}

.h1h1 {
  font-size: 30px;
  color: darkgray;
  margin-top: 15px;
}
.title-works span {
  color: #fff;
  font-size: 60px;
}

.company-dream-job {
  position: relative;
  top: 170px;
  width: 90%;
  height: 300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 20px;
}
.company-container-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 90%;
  border: 0.5px solid  gray;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  margin-top: 15px;
}

.company-container-box h5 {
  position: relative;
  top: 50px;
  left: 50px;
  transition: 0.2s ease;
  color: gray;
  font-size: 140px;
}
.company-container-box:hover {
  background-color: #2a2c39;
  border: 1px solid  #2a2c39;
}
.company-container-box h5:hover {
  color: #fff;
}
.company-img {
  width: 200px;
  border-radius: 50%;
  height: 200px;
  transition: 0.3s ease-in-out;
}
.company-span {
  color: #fff;
  font-size: 20px;
  font-family: 'Inter', sans-serif;
  bottom: 40px;
  transition: 0.3s ease-in-out;
  position: absolute;
}

.satisfied-clients {
  width: 100%;
  height: 800px;
  background-color: #252734;
  margin-top: 100px;
}
.client-comment{
  width: 80%;
  height: 70%;
  margin: auto;
  position: relative;
  top: 200px;
  left: 0;
  display: flex; /* Added for responsiveness */
  gap: 40px; /* Added for space between boxes */
}

.comment-box {
  width: 40%;
  height: 80%;
  background-color: #2a2c39;
}
.comment-box h3 {
 font-family: "Lora", "Georgia", serif;
  color: #dbd8d8;
  font-size: 22px;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 60px;
}
.comment-box p {
  font-family: 'Inter', sans-serif;
  color: gray;
  padding-left: 50px;
  padding-top: 50px;
  font-size: 17px;
  font-weight: 20;
  line-height: 20px;
  width: 80%;
  display: grid;
}

.comment-box2 {
  position: relative; /* Changed from absolute to relative for stacking */
  top: 100px;
  /* right: 0; */
  width: 40%;
  height: 85%;
  background-color: #2a2c39;
}

.comment-box2 h3 {
 font-family: "Lora", "Georgia", serif;
  color: #dbd8d8;
  font-size: 22px;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 60px;
}
.comment-box2 p {
  font-family: 'Inter', sans-serif;
  color: gray;
  padding-left: 50px;
  padding-top: 50px;
  font-size: 17px;
  font-weight: 20;
  line-height: 20px;
  width: 80%;
  display: grid;
}
.client-details span {
  position: relative;
  top: -540px;
  left: 50px;

}
.client-details .spanh4 {
  position: absolute;
  margin-right: 100px;
  top: -540px;
  left: 80px;
}
.client-details {
  font-family: 'Inter', sans-serif;
  position: relative;
  top: 200px;
  left: 550px;
  display: flex;
  gap: 20px;
  color: darkgray
}
.client-details h4 {
  display: flex;
  gap: 100px;
  font-weight: 100;
  position: relative;
  top: -540px;
  left: 100px;

}

.clients-say {
  position: absolute;
  top: 30px;
  left: 485px;
  margin-left: 100px;
  font-size: 40px;
  font-family: var(--ff-heading);
  color: #dbd8d8;
}
.client-btn button {
  top: 450px;
  left: -100px;
  position: relative;
  border: 1px solid red;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  background: transparent;
border: 0.5px solid rgba(128, 128, 128, 0.2);
}
.client-btn i {
   color: gray;
   transition: 0.3s ease-in-out;
}

.client-btn i:hover {
  color: #0000;
}

.client-btn button:hover {
  background-color: #fff;
  border: 1px solid  #2a2c39;
}
.client-btn  {
  position: absolute;
  top:-500px;
  left: 0px;
  display: flex;
  gap: 20px;
}


.works-with-trusted {
  width: 100%;
  height: 720px;
  background-color: #2a2c39;
  margin-top: 100px;
}

.title-works {
  position: relative;
  top: 200px;
  left: 120px;
  width: 900px;
  height: 150px;
  font-family: 'inter', sans-serif;
  color: gray;
  display: flex;
  gap: 20px;
}

.h1h1 {
  font-size: 30px;
  color: darkgray;
  margin-top: 15px;
}
.title-works span {
  color: #fff;
  font-size: 60px;
}

.company-dream-job {
  position: relative;
  top: 170px;
  width: 90%;
  height: 300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 20px;
}
.company-container-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 90%;
  border: 0.5px solid  gray;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  margin-top: 15px;
}

.company-container-box h5 {
  position: relative;
  top: 50px;
  left: 50px;
  transition: 0.2s ease;
  color: gray;
  font-size: 140px;
}
.company-container-box:hover {
  background-color: #2a2c39;
  border: 1px solid  #2a2c39;
}
.company-container-box h5:hover {
  color: #fff;
}


.service-footer {
  overflow: hidden;
  width: 100%;
  height: 100px;
  border: 0.1px solid gray;
  border-left: none;
  border-right: none;
}

.service-logo {
  width: 200px;
  height: 200px;
}
.service-content-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
  top: 0;
  left: 0;
}
.service-content-footer a {
  text-decoration: none;
}
.service-content-footer p {
  color: gray;
  font-family: 'inter', sans-serif;
  font-size: 17px;
  position: absolute;
  top: 50px;
  left: 90px;
}
.service-content-footer span {
  color: #37bd54;
}

.service-logo {
  position: absolute;
  right: 100px;
  top: -50px;
}


 /* Back to Top Button Styles */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #2f2c31 0%, #222324 100%);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(137, 135, 139, 0.4);
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 1000;
        }
        
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .back-to-top:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 25px rgba(30, 28, 32, 0.6);
        }
        
        .back-to-top:active {
            transform: translateY(0);
        }
        
        .back-to-top svg {
            width: 24px;
            height: 24px;
            fill: white;
            transition: transform 0.3s ease;
        }
        
        .back-to-top:hover svg {
            transform: translateY(-3px);
        }

 

 .stars {
  position: relative;
  bottom: 10px;
  left: -30px;
  margin-top: 20px;
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  }

  .stars input {
    display: none;
  }

  .stars label {
    font-size: 2rem;
    color: #444;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
  }

  /* Hover effect */
  .stars label:hover,
  .stars label:hover ~ label {
    color: gold;
    transform: scale(1.2);
    text-shadow: 0 0 10px gold;
  }

  /* Active (when clicked) */
  .stars input:checked ~ label {
    color: gold;
    text-shadow: 0 0 15px gold, 0 0 30px gold;
  }

  /* Animation when clicked */
  .stars input:checked + label {
    animation: pop 0.3s ease;
  }

  @keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
  }

  .starsSecond {
  position: relative;
  bottom: 10px;
  left: -30px;
  margin-top: 20px;
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  }

  .starsSecond input {
    display: none;
  }

  .starsSecond label {
    font-size: 2rem;
    color: #444;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
  }

  /* Hover effect */
  .starsSecond label:hover,
  .starsSecond label:hover ~ label {
    color: gold;
    transform: scale(1.2);
    text-shadow: 0 0 10px gold;
  }

  /* Active (when clicked) */
  .starsSecond input:checked ~ label {
    color: gold;
    text-shadow: 0 0 15px gold, 0 0 30px gold;
  }

  /* Animation when clicked */
  .starsSecond input:checked + label {
    animation: pop 0.3s ease;
  }



.menu-section,
.menu-section * { box-sizing: border-box; }

/* sticky behavior */
.menu-section {
  position: sticky;
  top: 72px; /* set to your header height (adjust) */
  z-index: 900; /* above page content */
  width: 100%;
  background: inherit; /* keep appearance when stuck */
  /* remove debugging border when done */
  /* border: 1px solid transparent; */
}


/* Fix: remove gap when menu becomes sticky */
.menu-section{
    /* remove debug border and ensure no unexpected top margin */
    border: none; /* was: 1px solid red */
    margin: 0;
    height: 100px;
    position: relative; /* default when not fixed/sticky */
    left: 0;
    top: 0;
    z-index: 9999;
    background: #252734;
    transition: box-shadow 0.3s, background 0.3s;
}

/* When you switch to a fixed/sticky variant make sure top is zero (no gap) */
.menu-section.sticky {
    position: fixed;
    top: 0;               /* <-- ensure no gap */
    left: 0;
    right: 0;
    margin: 0;            /* remove negative margin that caused jump */
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    background: #252734;
}


/* Ensure any sticky rule here uses the same top (remove top:72px gap) */
.menu-section,
.menu-section * { box-sizing: border-box; }

/* sticky behavior: set top to 0 or to header height variable if you have a fixed header */
.menu-section {
  position: sticky;
  top: 40px;   /* <-- changed from 72px to 0 to remove gap */
  z-index: 900;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: inherit;
}
/* ...existing code... */


#note {
      display: none;
      padding: 10px;
      margin-top: 10px;
      border: 1px solid #f00;
      background-color: #ffe5e5;
      color: #900;
    }

    
/* --- BEGIN RESPONSIVE STYLES --- */

/* Tablet and Smaller Devices (Max-width 768px) */
@media (max-width: 768px) {
  /* ABOUT EDRIS SECTION */
  .about-edris {
    height: auto; /* Allow height to adjust */
    padding-bottom: 50px;
  }
  .edris-content {
    flex-direction: column; /* Stack image and text */
    width: 90%;
    margin-top: 100px;
    height: auto;
  }
  .png-edris {
    width: 100%; /* Full width for image container */
    height: auto;
    background-color: transparent; /* Remove background color */
  }
  .edris-infos {
    position: relative; /* Remove absolute positioning */
    width: 100%;
    margin-top: 30px;
  }
  .edris-infos h1, .edris-infos p, .about-me-edris {
    padding-left: 0; /* Remove left padding */
    text-align: center; /* Center text */
  }
  .edris-infos h1 {
    padding-top: 30px;
    font-size: 40px;
  }
  .edris-infos p {
    font-size: 20px;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
    padding-top: 10px;
  }
  .about-me-edris {
    padding-top: 20px;
    text-align: justify; /* Keep body text readable */
  }

  /* EDUCATION & EXPERIENCE */
  .education-section {
    height: auto;
    padding-bottom: 100px;
  }
  .educ-exp-container {
    width: 90%;
    height: auto;
  }
  .btn-educ-exp {
    height: 70px;
    gap: 10px;
  }
  .tab {
    font-size: 20px;
  }
  .edu-exp-detail.active {
    flex-direction: column; /* Stack year and details */
    top: 50px;
    height: auto;
  }
  .year-exp-wrapper {
    width: 100%;
    border: none;
    height: auto;
    display: block; /* Change back to block for vertical stacking */
  }
  .year-exp-wrapper-details {
    position: relative;
    width: 100%;
    margin-top: 20px;
    height: auto;
    right: auto;
  }
  /* Remove lines and reposition text for vertical display */
  .year-box {
    height: auto;
    padding: 10px 0;
    border-bottom: 1px solid rgba(104, 101, 101, 0.5); /* Separator line */
  }
  .year-box span, .year-box .span1, .year-box .span2, .year-box .span3, .year-box .span4 {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    text-align: left;
    margin-bottom: 5px;
  }
  /* Hide the vertical line divs */
  .border-right, .border-right2, .border-right3, .border-right4, .borderexperience-right {
    display: none;
  }
  .details-box {
    height: auto;
    padding-bottom: 20px;
  }

  /* PROJECTS COMPLETED */
  .projects-completed {
    top: 150px; /* Adjust top position */
    height: auto;
    padding: 50px 0;
  }
  .projects-container {
    width: 90%;
    flex-direction: column; /* Stack projects boxes */
    gap: 30px;
  }
  .projects-box {
    max-width: 100%;
    margin-left: 0;
    height: 100px;
    display: flex; /* Use flex for internal layout */
    align-items: center;
    text-align: left;
  }
  .icon-projects {
    position: static;
    margin-right: 20px;
  }
  .div-text-projects {
    position: static;
    line-height: normal;
    text-align: left;
  }
  .div-text-projects h3, .div-text-projects p {
    margin: 0;
    margin-left: 0;
    line-height: 1.2;
  }
  .div-text-projects h3 {
    font-size: 40px;
  }

  /* SATISFIED CLIENTS */
  .satisfied-clients {
    height: auto;
    padding-bottom: 150px;
  }
  .client-comment {
    flex-direction: column; /* Stack testimonials */
    width: 90%;
    top: 100px;
    gap: 30px;
  }
  .comment-box, .comment-box2 {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
  }
  .comment-box2 {
    top: 0;
  }
  .client-details {
    position: relative;
    left: 0;
    top: 100px;
    flex-direction: column;
    align-items: center;
  }
  .client-details span, .client-details .spanh4, .client-details h4 {
    position: static; /* Remove absolute/fixed positioning */
    margin: 0;
    align-self: flex-start;
  }
  .clients-say {
    position: static;
    margin: 0;
    text-align: center;
    font-size: 32px;
  }
  .client-btn {
    position: static;
    margin-top: 20px;
    justify-content: center;
  }

  /* WORKS WITH TRUSTED */
  .works-with-trusted {
    height: auto;
    padding-bottom: 50px;
  }
  .title-works {
    position: relative;
    top: 50px;
    left: 5%;
    width: 90%;
    height: auto;
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
  .title-works span {
    font-size: 40px;
    text-align: center;
  }
  .company-dream-job {
    top: 100px;
    width: 90%;
    height: auto;
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablet */
    grid-template-rows: auto;
    gap: 15px;
  }
  .company-container-box {
    height: 180px;
  }
  .company-span {
    font-size: 16px;
  }

  /* FOOTER */
  .service-content-footer {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
    top: 0;
  }
  .service-content-footer p {
    position: static;
    margin: 10px 0;
    text-align: center;
  }
  .service-logo {
    position: static;
    width: 120px;
    height: 120px;
    margin-top: 10px;
  }
  #note {
    position: static;
    text-align: center;
    margin-top: 20px;
  }
}

/* Mobile Devices (Max-width 480px) */
@media (max-width: 480px) {
  /* GLOBAL Adjustments */
  h1 {
    font-size: 48px;
  }
  .services-section {
    height: 150px;
    top: 120px;
  }
  .service-text h1 {
    font-size: 50px;
  }
  .border-text {
    padding: 10px 20px;
    margin-left: 0;
    left: -20px;
    gap: 10px;
  }

  /* ABOUT EDRIS SECTION */
  .edris-infos h1 {
    font-size: 32px;
  }
  .edris-infos p {
    font-size: 18px;
  }
  .about-me-edris {
    font-size: 15px;
  }

  /* EDUCATION & EXPERIENCE */
  .tab {
    font-size: 16px;
    padding: 0 5px;
  }
  .details-box h5 {
    font-size: 18px;
  }
  .description {
    font-size: 14px;
  }

  /* PROJECTS COMPLETED */
  .projects-container {
    gap: 20px;
  }
  .projects-box {
    height: 80px;
  }
  .icon-projects i {
    font-size: 30px;
    padding: 10px 20px;
  }
  .div-text-projects {
    margin-left: 10px;
  }
  .div-text-projects h3 {
    font-size: 32px;
  }
  .div-text-projects p {
    font-size: 14px;
  }

  /* SATISFIED CLIENTS */
  .comment-box h3, .comment-box2 h3 {
    font-size: 18px;
    padding: 30px 20px;
  }
  .comment-box p, .comment-box2 p {
    font-size: 15px;
    padding-left: 30px;
  }
  .stars, .starsSecond {
    left: -10px;
  }
  .stars label, .starsSecond label {
    font-size: 1.5rem;
  }
  .clients-say {
    font-size: 28px;
  }
  .client-btn button {
    width: 50px;
    height: 50px;
  }

  /* WORKS WITH TRUSTED */
  .title-works {
    top: 50px;
    left: 5%;
  }
  .title-works span {
    font-size: 32px;
  }
  .company-dream-job {
    grid-template-columns: repeat(1, 1fr); /* 1 column for mobile */
    top: 80px;
  }
  .company-container-box {
    height: 150px;
  }
  .company-img {
    width: 150px;
    height: 150px;
  }
} 
    