*{
    
    margin: 0;
    padding:0;
    box-sizing: border-box;
    
 
}

:root {
  /* PAGE */
  --page-bg: #6F2FA8;
  --purple-light: #7F3FBF;

  /* SIDEBAR */

  --sidebar-bar-bg: #F1ECFB;
  --sidebar-border: #E0D7F3;
  --sidebar-title: #2D1A47;
  --sidebar-text: #5E4B8B;
  --sidebar-muted: #7A6BA3;
  --sidebar-bar-fill: #7C3AED;
  --side-bar-hover: #3b82f6;

  /* HERO / HEADER */
  --hero-title: #F8F5FF;
  --hero-subtitle: #E4DAF7;

  /*nav link*/

  --nav-link: #F4F1FF;

 /* BUTTONS */
  --btn-bg: #7C3AED;
  --btn-text: #FFFFFF;
  --btn-hover: #6D28D9;

  /* CARDS / BENTO */
  --bento-bg: #ffffff;
  --skills-ul-li-clr: #23303e; 
  --logic-content-bg:#ffffff;
 
  --card-bg: #F7F4FC;
  --card-border: #E3D9F7;
  --card-title: #2D1A47;
  --card-text: #4B3A73;
 
  --ss-bg:#a0e1f1;
  --ss-label:#333;
  --ss-title:#23303e;
  --ss-description:#23303e;
  --ss-github-bg: #f37318;
  --ss-github-btn-clr:#23303e;
  --ss-live-btn-bg: white;
  --ss-live-btn-clr:#453484;



  /* HOW CAN i HELP WITH */
  --help-bg: #6F2FA8;
  --help-card-bg: #FFFFFF;
  --help-text: #4B3A73;
  --help-title-clr: #111827;  
  --help-title-fz: 32px;   
  --help-fw: 600;
  --help-desk-font:  0.95rem;
  --help-desc-fw: 400;
  --help-desc-clr: #4B5563;  
  --help-card-fz:font-size: 1.25rem;
  --help-card-fw: 600;
  --help-card-clr: #111827;
 

  /* MARQUEE */
  --marquee-bg: #F4F0FA;
  --marquee-border: #A78BFA;

  /* FOOTER */
  --footer-bg: #6F2FA8;
  --footer-text: #EDE9FE;
  --footer-hover: #A78BFA;


  --font-Inter: "Inter", system-ui, sans-serif;

  --mobile-menu-bg:white;
  --mobile-menu-links: #333;

  --modal-bg-overlay: rgba(0, 0, 0, 0.6);
  --modal-bg-content: #f4f2ff;
  --modal-text-color: #1e293b;
  --modal-shadow: rgba(0, 0, 0, 0.3);
  --ring-outline: #a885f7;
  --progress-bg: #e0d9f7;
  --progress-fill: #7c3aed;
  --btn-bg: #1e293b;
  --btn-text: #ffffff;
  --close-btn-color: #1e293b;


}

/*Dark Theme*/

:root[data-theme="dark"] {

  /* PAGE */
  --page-bg: #12081F;
  --purple-light: #2A1245;

  /* SIDEBAR */
  --sidebar-bar-bg: #1A0F2E;
  --sidebar-border: #2E1A4D;
  --sidebar-title: #EDE9FE;
  --sidebar-text: #C4B5FD;
  --sidebar-muted: #A78BFA;
  --sidebar-bar-fill: #8B5CF6;
  --side-bar-hover: #A78BFA;

  /* HERO / HEADER */
  --hero-title: #F5F3FF;
  --hero-subtitle: #C4B5FD;

  /* NAV LINK */
  --nav-link: #EDE9FE;

  /* BUTTONS */
  --btn-bg: #8B5CF6;
  --btn-text: #0F0720;
  --btn-hover: #7C3AED;


 /* CARDS / BENTO */
  --bento-bg:#1a2a33;
  --skills-ul-li-clr: #cbd5e0; 
  --skills-title-clr:#ffffff;
  --logic-content-bg:#1a2a33;

  
  --card-bg: #140d21;     
  --card-border: #362852; 
  --card-title: #eaddff; 
  --card-text: #b1a2d1;   


  --ss-bg: #1a2a33;           
  --ss-label: #a0e1f1;      
  --ss-title: #ffffff;       
  --ss-description: #cbd5e0;
  
  --ss-github-bg: #f37318;   
  --ss-github-btn-clr: #1a2a33;
  
  --ss-live-btn-bg: #2d3748; 
  --ss-live-btn-clr: #a0e1f1;
  
  --ss-nightmode-light-bg-label:#333;
  --ss-nightmode-light-bg-title:#23303e;
  --ss-nightmode-light-bg-desc:#23303e;


  /* HOW CAN I HELP */
  --help-bg: #12081F;
  --help-card-bg: #1C1033;
  --help-text: #C7B9FF;
  --help-title-clr: #F9FAFB;
  --help-desc-clr: #e0e0e0;

  /* MARQUEE */
  --marquee-bg: #1A0F2E;
  --marquee-border: #7C3AED;

  /* FOOTER */
  --footer-bg: #12081F;
  --footer-text: #DDD6FE;
  --footer-hover: #A78BFA;

  --mobile-menu-bg: #1a1a1a;    
  --mobile-menu-links: #f0f0f0;  

  --modal-bg-overlay: rgba(0, 0, 0, 0.85);
  --modal-bg-content: #1e1b2e; 
  --modal-text-color: #e2e8f0;
  --modal-shadow: rgba(0, 0, 0, 0.6);
  --ring-outline: #8b5cf6;
  --progress-bg: #334155;
  --progress-fill: #a78bfa;
  --btn-bg: #7c3aed;
  --btn-text: #ffffff;
  --close-btn-color: #cbd5e1;

}



body{
    font-family: var(--font-Inter);
    height:100%;
    margin: 0;
    overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  margin: 0;
  overflow-x: hidden;

}


/* 1. LAYOUT SETUP */
.main-layout {
    display: flex; 
    min-height: 100vh;
    font-family: var(--font-Inter);
    background: linear-gradient(to right, var(--page-bg), var(--purple-light));
    align-items: flex-start;
  
}

/* Sidebar Layout styling */
.sidebar {
    width: clamp(220px, 25vw, 320px);
    position: sticky;
    top: 0;
    left: 0;
    bottom: 0;
    background: var(--sidebar-bar-bg);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #e2e8f0;
    z-index: 100;
    flex-shrink: 0;
    height: auto;
    min-height: 100vh;

}


.mini-sidebar {
  width: clamp(70px, 8vw, 90px);
  min-height: 100vh;
  height: 100%;
  top:0;
  left: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 999;

  border-right: 1px solid rgba(255, 255, 255, 0.15);

  display: none;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0;
  gap: .5rem;
}

.mini-sidebar i{
    color: #FFFFFF;
}

.mini-call-btn{
    padding: 8px 12px;
    display: flex;
    border-radius: 50%;
    border: none;
    background: var(--btn-bg);
     box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.25),
    0 2px 6px rgba(0, 0, 0, 0.15);;
}


.profile-trigger {
  position: relative; 
}

.photo-tooltip {
  position: absolute;
  left: 110%;
  top: 0;
  width: 120px;
  background: white;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  text-align: center;
}

/* Show the photo on hover */
.profile-trigger:hover .photo-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.photo-tooltip img {
  width: 100%;
  border-radius: 8px;
  display: block;
  margin-bottom: 5px;
}

.photo-tooltip span {
  font-size: 11px;
  color: #2ecc71; 
  font-weight: bold;
}

/*webDev*/
.ms-webDev {
  position: relative; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

/* 1. Tooltip Bubble */
.ms-webDev::after {
  content: attr(data-tooltip); 
  position: absolute;
  left: 110%; 
  top: 50%;
  transform: translateY(-50%) scale(0.8); 
  
  /* Styling */
  background-color: #333;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  
  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}

/* 2. small Triangle */
.ms-webDev::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #333; 
  opacity: 0;
  transition: all 0.2s ease;
}

/* 3. Hover */
.ms-webDev:hover::after,
.ms-webDev:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/*Location*/

.ms-location {
  position: relative; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.ms-location::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 110%; 
  top: 50%;
  transform: translateY(-50%) scale(0.8); 
  
  /* Styling */
  background-color: #333;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  
  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}


.ms-location::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #333; 
  opacity: 0;
  transition: all 0.2s ease;
}


.ms-location:hover::after,
.ms-location:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}



/*contact*/
.ms-Phone {
  position: relative; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.ms-Phone::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 110%; 
  top: 50%;
  transform: translateY(-50%) scale(0.8); 
  
  /* Styling */
  background-color: #333;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  
  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}


.ms-Phone::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #333; 
  opacity: 0;
  transition: all 0.2s ease;
}


.ms-Phone:hover::after,
.ms-Phone:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}


/*birthday*/

.ms-birthdate {
  position: relative; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.ms-birthdate::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 110%; 
  top: 50%;
  transform: translateY(-50%) scale(0.8); 
  
  /* Styling */
  background-color: #333;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  
  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}


.ms-birthdate::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #333; 
  opacity: 0;
  transition: all 0.2s ease;
}


.ms-birthdate:hover::after,
.ms-birthdate:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/*Skill bar*/

/* 1. Reset/Container Styles */
.ms-HTML5, .ms-CSS3, .ms-javascript {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    width: fit-content;
}

/* 2. Tooltip Box */
.skill-bar-container {
    position: absolute;
    left: 50px; 
    background: #f4f0ff; 
    padding: 15px;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 999;
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

/* Show tooltip on hover */
.ms-HTML5:hover .skill-bar-container,
.ms-CSS3:hover .skill-bar-container,
.ms-javascript:hover .skill-bar-container {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 100;
}

/* 3. The Label (HTML, CSS, JS) */
.skill-label {
    display: block;
    font-family: sans-serif;
    font-weight: bold;
    color: #6e5494;
    margin-bottom: 8px;
    font-size: 14px;
}

/* 4. The Bar Track (Light purple background) */
.bar-track {
    width: 100%;
    height: 10px;
    background-color: #e6e0f8;
    border-radius: 20px;
    overflow: hidden;
}

/* 5. The Bar Fill (Dark purple) */
.bar-fill {
    height: 100%;
    background-color: #7c4dff; 
    border-radius: 20px;
    width: 0; /* Start at 0 for animation */
    transition: width 1s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

/* 6. Specific Percentages on Hover */
.ms-HTML5:hover .html-fill { width: 90%; }
.ms-CSS3:hover .css-fill { width: 85%; }
.ms-javascript:hover .js-fill { width: 75%; }





/* Profile Section */

.avatar-wrap {
  width: 120px;
  height: 120px;
  padding: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid #C4B5FD; 
}


.sidebar h2 {
    font-family: 'Fraunces', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--sidebar-title);
}

.sidebar p{
    color: var(--sidebar-title)
}

.tagline {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 30px;
}

/* Skills Section (circle logic) */
.skills-section {
    width: 100%;
    margin-top: 40px;
}

.skill {
    margin-bottom: 20px;
}

.skill span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--sidebar-muted);
    text-transform: uppercase;
}

/* The Skill Bar Container */
.bar {
    width: 100%;
    height: 8px;
    background: var(--sidebar-border);
    border-radius: 10px;
    overflow: hidden; 
}

/* The Animated/Colored Fill */
.fill {
    height: 100%;
    background: var(--sidebar-bar-fill); 
    border-radius: 10px;
}

/* Contact List Styling */
.contact-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    width: 100%;
}

.tel-link-item{
    color: var(--sidebar-text);
    text-decoration: none
}

.link-item {
    font-size: 0.9rem;
    color: var(--sidebar-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}


.tel-link-item:hover {
    color: var(--side-bar-hover);
}

/*Call Me button */
.myNo{
    margin-top: auto; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color:  #d7e1f3;
    border-radius: 25px;
    padding: .5rem;
    background: #03407c;
    border: none;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.call-btn-container{
    width:100%;
    display: flex;
    align-items: center;
    padding-left: 5rem;
 
}

.call-btn {
  
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;               
   
    width: 50%;             
    max-width: 240px;       
    padding: 8px 12px;     
    margin-top: 30px;     
    
    background-color: #1e293b; 
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    
    /*  Shape & Border */
    border-radius: 50px;     
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.call-btn:hover {
    background-color: #3b82f6; 
    transform: translateY(-3px); 
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.3);
}

/* Styling the icon inside the button */
.call-btn i {
    font-size: 1rem;
}

.profile-pic {
    width: 120px;
    height: 120px;
    background-color: #cbd5e1;
    border-radius: 50%; 
    margin-bottom: 20px;
    border: 4px solid #f1f5f9;
}

/* 3. MAIN CONTENT AREA */
main {
    flex: 1; 
    padding: 30px  25px;
    flex-wrap: wrap;
    height: 100%;
    min-width: 0;
    width: 100%;

  
    
}

.logo img{
    width: 50%;
    height: 50%;

}

.logo {
  width: 40px;
  height:40px;
  border-radius: 16px;
  background: linear-gradient(136deg, orange, rgb(222, 145, 0));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  box-shadow:
    0 0 0 3px #ffffff,
    inset 0 2px 4px rgba(255,255,255,0.35),
    inset 0 -2px 4px rgba(0,0,0,0.15);
}


.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    padding: 2px;
    
}

.menu .hamburger-svg{
    display: none;
}

.hero-section {
    padding: clamp(30px, 12vw, 140px) 0
             clamp(120px, 20vw, 220px);
    display: flex;
    flex-direction: column;
    justify-content: center;

}


.hero-section h1 {
    font-size: 3rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--hero-title);
    margin-bottom: 10px;
}

.hero-section p{
    color: var(--hero-subtitle);
}

.menu{
    display: flex;
    color: var(--nav-link);
    flex-direction: row;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;

}

.menu ul{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    list-style: none;
}

.nav-link a{
    color: var(--nav-link);
    text-decoration: none;
}

/*Night Mode Button*/
.nightmode button{
    border-radius: 20px;
    padding: .1rem .3rem;
}

.nightmode-mobile{
    border-radius: 20px;
    padding: .1rem .3rem;
}

.theme-toggle {
  display: inline-block;
}

.theme-toggle input {
  display: none;
}

#mobileDarkModeToggle{
    display: none;
}

.toggle {
  width: 64px;
  height: 32px;
  background: #e5e7eb;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  box-sizing: border-box;
  transition: background 0.3s ease;
}

.toggle .icon {
  font-size: 14px;
  z-index: 1;
}

.toggle .knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: absolute;
  top: 80px;
  right: 20px;
  width: 200px;
  background: var(--mobile-menu-bg);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: 0.3s ease;
  z-index:100;
  gap: 5px;

} 


.mobile-menu::after{
  content: '';
  position: absolute;
  display: block;
  top: -20px;
  right: 0;
  border: 20px transparent solid;
  border-right: 20px solid var(--mobile-menu-bg);
}

.mobile-menu a {
  padding: 15px;
  text-decoration: none;
  color: var(--mobile-menu-links);
  font-weight: 500;
  transition: 0.2s;
}

.mobile-menu a :hover {
  background: #f5f5f5;
}


.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  display: flex;
}



/* Dark mode */
.theme-toggle input:checked + .toggle {
  background: #1f2937;
}

.theme-toggle input:checked + .toggle .knob {
  transform: translateX(32px);
}

.mobile-theme-toggle input:checked + .mobile-toggle {
  background: #1f2937;
}

.mobile-theme-toggle input:checked + .mobile-toggle .knob {
  transform: translateX(24px);
}

.dark-theme-wrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

}

.darkMode-menu{
    color: var(--mobile-menu-links);
    font-weight: 500;
      padding: 15px;
}



/* Toggle container */
.mobile-toggle {
  width: clamp(48px, 12vw, 64px);
  height: clamp(24px, 6vw, 32px);
  background: #e5e7eb;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  box-sizing: border-box;
  transition: background 0.3s ease;
}

/* Icons */
.mobile-toggle .icon {
  font-size: clamp(10px, 2.5vw, 14px);
  z-index: 1;
}

/* Knob */
.mobile-toggle .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: clamp(18px, 5vw, 24px);
  height: clamp(18px, 5vw, 24px);
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}




/* 4. BENTO GRID SYSTEM */
.bento-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 24px;
    overflow: none;
    position: relative;
    z-index:10;
    margin-top: 6rem;

}

.bento-item {
    padding: 37px;
    background: var(--bento-bg);
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    height: auto;
    overflow: hidden;
    

}

.project-content{
    display: flex;
    position: relative;
    gap: 2rem;
    flex-direction: column;
    z-index: 12;

}

.content{
    position: relative;
    z-index: 2;
    top: 37px;
    left: 37px;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.logic-content{
    color: var(--card-title);
    position: relative;
    z-index: 1;
    display: flex;
    gap: .1rem;
    flex-direction: column;
    padding: 37px;
    height: 100%;
    background: var(--logic-content-bg);
    
    
}

.calculator-header{
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.skills{
    font-family: var(--font-Inter);
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
}

.skills h3{
    color: var(--skills-title-clr);
}


.skills ul{
    display: flex;
    gap: 1rem;
    flex-direction: column;
    list-style: none;
    color: var(--skills-ul-li-clr);
}

.skills ul li::before{
    content: '✦ ';
    color: var(--skills-ul-li-clr);
    margin-right: 10px;

}

.ss-description p{

    font-size: 12px;
    opacity: 0.65;
    line-height: 1.5;
}

.play-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem .9rem;
  border-radius: 10px;
  background:#fff;
  color: #623686;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: transform .2s ease, background .2s ease;
  width: 30%;
  height: 1.5rem;
  flex-direction: row;
  margin-top: 20px;
}

.play-link:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.25);
}

.play-link-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem .9rem;
  border-radius: 10px;
  color: #623686;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: transform .2s ease, background .2s ease;
  width: 30%;
  height: 1.5rem;
  flex-direction: row;
  margin-top: 20px;
  border: 2px solid #623686;
}

.play-link-2:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.25);
}

/* Base style for both buttons */
.calculator-play-link, 
.calculator-play-link-2 {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: transform 0.2s;
    position: relative;
    z-index: 3;
    color: #623686;
    border: 1px solid  #623686;
    
}

.calculator-play-link {
    background: white;
    color: #623686; 
    white-space: nowrap;

    
}

.calculator-play-link-2 {
    background: rgb(251, 184, 59);
    border: #623686 solid 1px;
    color: #623686;
    border: 1px solid white;
}

.calculator-play-link:hover{
    transform: translateY(-3px);
    background: rgb(165, 165, 165);
    
}
 
.calculator-play-link-2:hover {
       transform: translateY(-3px);
       background:rgb(248, 178, 49); 

}



/* Positioning the specific boxes */
.featured {
    padding: 0;
    grid-column: span 2;
    grid-row: span 1;
    display: flex;
    justify-content: space-between;
    background-color: #fffbeb; 
    color: var(--card-title);
    
}

.logic {
    grid-column: 3;
    grid-row: span 2; 
    position: relative;
    padding: 0px;
    display: flex; 
    flex-direction: column;

}

.task{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    

}


.task h3::before{
    content:"✓";
    position: absolute;
    left: 0;
    color: var(--skills-ul-li-clr); 
    font-weight: bold;
    left: 37px;

}

.task h3{
    padding-left:37px;
    color: var(--skills-title-clr);
}

.task ul li::before{
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--skills-ul-li-clr); 
    font-weight: bold;
    left: 37px;
}

.task ul li{
    padding-left: 37px;
    color: var(--skills-ul-li-clr);
}

.task ul{
    display: flex;
    flex-direction: column;
    gap: .5rem;
    list-style: none;
    
}

.square{
    display: inline-block;
    width: 26px;
    height: 26px;
    border: 2px solid var(--page-bg);
    position: relative;
    border-radius: 6px;

}

.ss-btn{
    display: flex;
    position: relative;
    z-index: 10;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.calculator-btn {
    display: inline-flex; 
    gap: 10px;            
    vertical-align: middle; 
    margin-top: .5rem;
}

/*Bento-Grid images */


.image-wrapper {
  position: absolute;
  overflow: hidden;      
  border-radius: 24px;
  z-index: 1;
  
}

.image-wrapper{
   width: 100%;
   height: 100%;
   overflow: hidden;
}

.image-wrapper img{
    width: 100%;
    height: 100%;
    object-fit:fill;


}

.calculator-image-wrapper{
   width: 100%;
   height: 100%;
   z-index: 2;
   overflow: hidden;
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   margin-top: 5%;
}

.calculator-image-wrapper img{
    width: 100%;
    max-width: 235px;
    object-fit:cover;
    border-radius: 5px;
    z-index: 2;
}

/* Container setup */
.project-card {
  display:none;
  width: 100%;
  max-width: 600px; 
  background-color: var(--ss-bg);
  border-radius: 40px;
  overflow: hidden; 
  font-family: 'Arial', sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: auto;
  margin: 20px auto;
}

/* Text Section */
.project-info {
  padding: 24px 24px 16px 24px;
  flex-grow: 0;
}

.label {
  font-size: 14px;
  color: var(--ss-label);
  margin-bottom: 8px;
}

.title {
  font-size: 28px;
  font-weight: 800;
  color: var(--ss-title);
  margin-bottom: 12px;
}

.description {
  font-size: 16px;
  line-height: 1.4;
  color: var(--ss-description);
  margin-bottom: 20px;
}

.readmore {
  font-weight: bold;
  cursor: pointer;
}

/* Buttons */
.button-group {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.btn-live {
  background: var(--ss-live-btn-bg);
  color: var(--ss-live-btn-clr);
}

.btn-github {
  background: var(--ss-github-bg);
  color: var(--ss-github-btn-clr);
 
}

/* Image Section */
.project-image {
  margin: 0;
  width: 100%;
  height: auto; 
  background-color: #3ebfff; 
  border-top: 1px solid rgba(0,0,0,0.1);
  line-height: 0;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}


/*how-can-I-help-section*/

.how-can-I-help-section{
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: var(--help-bg);
    border-radius: 20px;
    padding: 7rem 1rem;
    gap: 4rem;
    margin-block: 4rem;

}

.how-can-I-help-section h2{
    font-size: var(--help-title-fz);
    color: var(--help-title-clr);
    font-weight: var(--help-fw);

}

.how-can-I-help-section h4{
    color: var(--help-card-clr);
    font-size: var(--help-card-fz);
    font-weight: var(--help-card-fw);
}

.how-can-I-help-section p{
    color: var(--help-desc-clr);
    font-size: var(--help-desk-font);
    font-weight: var(--help-desc-fw);
}

.help-card-wrapper{
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: stretch;
}


.help-cards{
    flex: 1 1 320px;
    height: auto;
    background: var(--help-card-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 4.5rem;
    gap: 2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;

   
}

.help-cards:hover{
    transform:translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);   
}


/*marquee style*/

.skills-marquee {
    padding-block: 2rem;
    background: var(--marquee-bg);
    overflow: hidden;
    white-space: nowrap; 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-block: 1px solid #3b82f6;
    border-radius: 10px;
    margin-bottom: 5%;

}


/* Window' size */
.marquee-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    animation: scroll 20s linear infinite;
    width: 100%;

}


/*   LOGO size */
.marquee-content img {
    height: 50px;       
    width: auto;        
    object-fit: contain; 
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
    flex-shrink: 0;
}

.marquee-content img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

 /* Animation */
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/*Footer*/

/* General reset for the footer */
.site-footer {
  background-color: var(--footer-bg); 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-radius: 10px;
  padding: 3rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center; 
  gap: 30px; 
  text-align: center;
  border-radius: 20px;
}

/* Logo Styling */
.footer-logo img {
  margin: 0;
  width: 40%;
  height: 40%;

}

/* Navigation Links */
.footer-links {
  display: flex;
  gap: 40px; 
}

.footer-links a {
  text-decoration: none;
  color: var(--footer-text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--footer-hover); 
}

/* Modal Background */
.modal-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--modal-bg-overlay); 
  backdrop-filter: blur(5px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

/* The Profile Card */
.modal-content {
  background: var(--modal-bg-content); 
  color: var(--modal-text-color);       
  padding: 40px 20px;
  border-radius: 20px;
  width: 90%;
  max-width: 350px;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 30px var(--modal-shadow); 
}

.close-btn-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--close-btn-color); 
}

/* Profile Elements */
.image-ring {
  width: 120px;
  height: 120px;
  border: 4px solid #fff; 
  outline: 4px solid var(--ring-outline); 
  border-radius: 50%;
  margin: 0 auto 15px;
  overflow: hidden;
}

.image-ring img { 
  width: 100%; 
  height: 100%; 
  object-fit: contain; 
}

.skills-section { 
  text-align: left; 
  margin: 20px 0; 
}

.progress-bar {
  background: var(--progress-bg); 
  height: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.fill {
  background: var(--progress-fill); 
  height: 100%;
  border-radius: 5px;
}

.call-btn-modal {
  background: var(--btn-bg); 
  color: var(--btn-text);     
  padding: 12px 30px;
  border-radius: 25px;
  border: none;
  width: 100%;
  font-weight: bold;
  cursor: pointer;
}

.call-btn-modal a{
    text-decoration: none;
}

/* Copyright Section */
.footer-copyright p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--footer-text);
}

/* mobile responsive adjustment*/
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}


@media(max-width: 1280px) {


 .main-layout{
       
        width: 100vw;
      
     }



   main{
    
    width: 100%;
    margin-right: 5px;
   }


}

@media(max-width: 768px) {
   

/* 1. LAYOUT SETUP */
.main-layout {
    display: flex; 
    min-height: 100%;
    font-family: var(--font-Inter);
    background: linear-gradient(to right, var(--page-bg), var(--purple-light));
    align-items: flex-start;
  
}

/* Sidebar Layout styling */
.sidebar {
    width: 320px;
    position: sticky;
    top: 0;
    left: 0;
    bottom: 0;
    background: var(--sidebar-bar-bg);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #e2e8f0;
    z-index: 100;
    flex-shrink: 0;
    height: 100vh;
}

/* Profile Section */

.avatar-wrap {
  width: 120px;
  height: 120px;
  padding: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid #C4B5FD; 
}


.sidebar h2 {
    font-family: 'Fraunces', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--sidebar-title);
}

.sidebar p{
    color: var(--sidebar-title)
}

.tagline {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 30px;
}

/* Skills Section (circle logic) */
.skills-section {
    width: 100%;
    margin-top: 40px;
}

.skill {
    margin-bottom: 20px;
}

.skill span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--sidebar-muted);
    text-transform: uppercase;
}

/* The Skill Bar Container */
.bar {
    width: 100%;
    height: 8px;
    background: var(--sidebar-border);
    border-radius: 10px;
    overflow: hidden; 
}

/* The Animated/Colored Fill */
.fill {
    height: 100%;
    background: var(--sidebar-bar-fill); 
    border-radius: 10px;
}

/* Contact List Styling */
.contact-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    width: 100%;
}

.tel-link-item{
    color: var(--sidebar-text);
    text-decoration: none
}

.link-item {
    font-size: 0.9rem;
    color: var(--sidebar-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}


.tel-link-item:hover {
    color: var(--side-bar-hover);
}

/*Call Me button */
.myNo{
    margin-top: auto; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color:  #d7e1f3;
    border-radius: 25px;
    padding: .5rem;
    background: #03407c;
    border: none;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.call-btn-container{
    width:100%;
    display: flex;
    align-items: center;
    padding-left: 5rem;
 
}

.call-btn {
  
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;               
   
    width: 50%;             
    max-width: 240px;       
    padding: 8px 12px;     
    margin-top: 30px;     
    
    background-color: #1e293b; 
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    
    /*  Shape & Border */
    border-radius: 50px;     
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.call-btn:hover {
    background-color: #3b82f6; 
    transform: translateY(-3px); 
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.3);
}

/* Styling the icon inside the button */
.call-btn i {
    font-size: 1rem;
}

.profile-pic {
    width: 120px;
    height: 120px;
    background-color: #cbd5e1;
    border-radius: 50%; 
    margin-bottom: 20px;
    border: 4px solid #f1f5f9;
}

/* 3. MAIN CONTENT AREA */
main {
    flex: 1; 
  
}

.logo img{
    width: 50%;
    height: 50%;

}

.logo {
  width: 40px;
  height:40px;
  border-radius: 16px;
  background: linear-gradient(136deg, orange, rgb(222, 145, 0));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  box-shadow:
    0 0 0 3px #ffffff,
    inset 0 2px 4px rgba(255,255,255,0.35),
    inset 0 -2px 4px rgba(0,0,0,0.15);
}




.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

 
.hero-section {
    
    padding: clamp(20px, 12vw, 140px) 0
             clamp(120px, 16vw, 180px);
             display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 40vh; 
}


.hero-section h1 {
    font-size: clamp(32px, 8vw, 48px);
    font-family: 'Montserrat', sans-serif;
    color: var(--hero-title);
    margin-bottom: 10px;

    
}

.hero-section p{
    color: var(--hero-subtitle);
}

.menu{
    display: flex;
    color: var(--nav-link);
    flex-direction: row;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;

}

.menu ul{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    list-style: none;
}

.nav-link a{
    color: var(--nav-link);
    text-decoration: none;
}

/*Night Mode Button*/
.nightmode button{
    border-radius: 20px;
    padding: .1rem .3rem;
}

.theme-toggle {
  display: inline-block;
}

.theme-toggle input {
  display: none;
}

.toggle {
  width: 64px;
  height: 32px;
  background: #e5e7eb;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  box-sizing: border-box;
  transition: background 0.3s ease;
}

.toggle .icon {
  font-size: 14px;
  z-index: 1;jjo
}

.toggle .knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

/* Checked = Dark mode */
.theme-toggle input:checked + .toggle {
  background: #1f2937;
}

.theme-toggle input:checked + .toggle .knob {
  transform: translateX(32px);
}


/* 4. BENTO GRID SYSTEM */
.bento-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 24px;
    margin-top: 7rem;
  
    
}

.bento-item {
    padding: 37px;
    background: var(--bento-bg);
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    height: auto;

}

.project-content{
    display: flex;
    position: relative;
    gap: 2rem;
    flex-direction: column;

}

.content{
    position: relative;
    z-index: 2;
    top: 37px;
    left: 37px;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.logic-content{
    color: var(--card-title);
    position: relative;
    z-index: 1;
    display: flex;
    gap: .1rem;
    flex-direction: column;
    padding: 37px;
    height: 100%;
    
  
}


.calculator-header{
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.skills{
    font-family: var(--font-Inter);
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
}


.skills ul{
    display: flex;
    gap: 1rem;
    flex-direction: column;
    list-style: none;
}

.skills ul li::before{
    content: '✦ ';
    color: var(--skills-ul-li-clr);
    margin-right: 10px;

}

.ss-description p{

    font-size: 12px;
    opacity: 0.65;
    line-height: 1.5;
}

.play-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem .9rem;
  border-radius: 10px;
  background:#fff;
  color: #623686;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: transform .2s ease, background .2s ease;
  width: 30%;
  height: 1.5rem;
  flex-direction: row;
  margin-top: 20px;
}

.play-link:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.25);
}

.play-link-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem .9rem;
  border-radius: 10px;
  color: #623686;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: transform .2s ease, background .2s ease;
  width: 30%;
  height: 1.5rem;
  flex-direction: row;
  margin-top: 20px;
  border: 2px solid #623686;
}

.play-link-2:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.25);
}

/* Base style for both buttons */
.calculator-play-link, 
.calculator-play-link-2 {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: transform 0.2s;
    position: relative;
    z-index: 3;
    color: #623686;
    border: 1px solid  #623686;
    
}

.calculator-play-link {
    background: #fff;
    color: #623686; 
}

.calculator-play-link-2 {
    background-color: rgb(250, 182, 55);
    color: #623686;
    border: 1px solid white;
}

.calculator-play-link:hover{
    transform: translateY(-3px);
    background: rgb(165, 165, 165);
    
}
 
.calculator-play-link-2:hover {
       transform: translateY(-3px);
       background:rgb(248, 178, 49); 

}



/* Positioning the specific boxes */
.featured {
    padding: 0;
    grid-column: span 2; 
    grid-row: span 1;
    display: flex;
    justify-content: space-between;
    background-color: #fffbeb;
    color: var(--card-title);
   
}

.logic {
    grid-column: 3;
    grid-row: span 2; 
    position: relative;
    padding: 0px;
    display: flex; 
    flex-direction: column;

}

.task{
    display: flex;
    flex-direction: column;
    gap: 1rem;

}


.task h3::before{
    content:"✓";
    position: absolute;
    left: 0;
    color: var(--skills-ul-li-clr); 
    font-weight: bold;
    left: 37px;

}

.task h3{
    padding-left:37px;
}

.task ul li::before{
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--skills-ul-li-clr); 
    font-weight: bold;
    left: 37px;
}

.task ul li{
    padding-left: 37px;
}

.task ul{
    display: flex;
    flex-direction: column;
    gap: .5rem;
    list-style: none;
    
}

.square{
    display: inline-block;
    width: 26px;
    height: 26px;
    border: 2px solid var(--page-bg);
    position: relative;
    border-radius: 6px;

}

.ss-btn{
    display: flex;
    position: relative;
    z-index: 10;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.calculator-btn {
    display: inline-flex; 
    gap: 10px;            
    vertical-align: middle; 
    
}


/*Bento-Grid images */


.image-wrapper {
  position: absolute;
  overflow: hidden;      
  border-radius: 24px;
  z-index: 1;
  
}

.image-wrapper{
   width: 100%;
   height: 100%;
   overflow: hidden;
}

.image-wrapper img{
    width: 100%;
    height: 100%;
    object-fit:fill;


}

.calculator-image-wrapper{
   width: 100%;
   height: 100%;
   z-index: 2;
   overflow: hidden;
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   flex: 1;
}

.calculator-image-wrapper img{
    width: 235px;
    height: auto;
    object-fit:cover;
    border-radius: 5px;
    z-index: 2;
    padding-bottom: 2rem;
    
}

.calculator-image-wrapper{
    height: 100dvh;
}


/*how-can-I-help-section*/

.how-can-I-help-section{
    width: 100%;
    max-width: 1100px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: var(--help-bg);
    border-radius: 20px;
    padding: 3rem;
    gap: 4rem;
    margin-block: 4rem;

}

.how-can-I-help-section h2{
    font-size: var(--help-title-fz);
    color: var(--help-title-clr);
    font-weight: var(--help-fw);

}

.how-can-I-help-section h4{
    color: var(--help-card-clr);
    font-size: var(--help-card-fz);
    font-weight: var(--help-card-fw);
}

.how-can-I-help-section p{
    color: var(--help-desc-clr);
    font-size: var(--help-desk-font);
    font-weight: var(--help-desc-fw);
}

.help-card-wrapper{
    display: flex;
    gap: 2rem;

   
}


.help-cards{
    width: 100%;
    max-width: 320px;
    height: auto;
    background: var(--help-card-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7rem 2rem;
    gap: 2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
   
}

.help-cards:hover{
    transform:translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);   
}


/*marquee style*/

.skills-marquee {
    padding-block: 2rem;
    background: var(--marquee-bg);
    overflow: hidden;
    white-space: nowrap; 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-block: 1px solid #3b82f6;
    border-radius: 10px;
    margin-bottom: 5%;

}


/* This controls the 'Window' size */
.marquee-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    animation: scroll 20s linear infinite;
    width: 100%;

}


/* This controls the actual LOGO size */
.marquee-content img {
    height: 50px;       
    width: auto;        
    object-fit: contain; 
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
    flex-shrink: 0;
}

.marquee-content img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1); /* hover pop */
}

 /* Animation */
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/*Footer*/

/* General reset for the footer */
.site-footer {
  background-color: var(--footer-bg); 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-radius: 10px;
  padding: 3rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;

}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center; 
  gap: 30px; 
  text-align: center;
  border-radius: 20px;
}

/* Logo Styling */
.footer-logo img {
  margin: 0;
  width: 40%;
  height: 40%;

}

/* Navigation Links */
.footer-links {
  display: flex;
  gap: 40px; 
}

.footer-links a {
  text-decoration: none;
  color: var(--footer-text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--footer-hover); 
}

/* Copyright Section */
.footer-copyright p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--footer-text);
}

    .sidebar{
       
        display: none;

    }

    main{
        padding: 24px 16px;
        align-items: center;
        margin: 0;
    }

    .main-layout{
       
        width: 100vw;
      
     }

     header{
        margin: 0;
     }

   .nightmode{
   
    display: none;
  
}

   .nav-link{
    
    display: none;
 
}

   .menu .hamburger-svg{
    
    display: block;
    
  
}


   main{
    
    width: 100%;
 
  
}

   .bento-container{
    
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto; 
    justify-items: center;
  
    
}

.bento-item{
    width: 100%;
    max-width: 360px;
}

 .featured,
  .logic {
   
    grid-column: auto;
    grid-row: auto;

}

  .help-card-wrapper{
   
    flex-direction: column;
  }

  .content{
   
    top: 0;
    left: 0;
  
}
  

 .bento-container{
    
    display: grid;
    grid-template-rows: auto; 
    justify-items: center;
    overflow:hidden;
    gap: 2rem;
    
}

.bento-item{
    width: 100%;
    max-width: 500px;
    height: auto;
}


.project-content{
    padding: 1rem;
}

  .help-card-wrapper{
   
    flex-direction: column;
  }

  .content{
   
    top: 0;
    left: 0;
}

.logic-content{
    padding: 0;
    
}

.how-can-I-help-section{
    overflow: hidden;
    padding: 1rem;
}

.calculator-header{
    padding: 1rem;
}

.play-link{
    width: auto;
    height: auto;
    padding: 5px 10px;
}

.help-cards {
    
    padding: 2rem 1.5rem; 
    width: 100%; 
    max-width: 280px;
    height: auto; 
    margin: 0 auto; 
    gap: 1rem;

}



.help-card-wrapper {
  
    display: flex;
    flex-direction: column;
    gap: 1.5rem; 
}


    }

@media(min-width: 601px) {

    .tag{
        color: var(--ss-nightmode-light-bg-label);
    }

    .ss-header, .ss-header-two{
        color: var(--ss-nightmode-light-bg-title);
    }

    .ss-description p{
        color: var(--ss-nightmode-light-bg-desc);
    }

}

@media(max-width: 600px) {
    .featured{
        display: none;
    }

    .project-card{
        display: block;
    }
}



@media(min-width: 520px) and (max-width: 640px) {
  .featured{

    grid-column: span 2;
    grid-row: span 1;

  }

  .logic{
    grid-column: span 1;
    grid-row: span 2;
  }

  .bento-item{
    max-width: 640px;
  }

}

@media(max-width: 500px) {
    main{
        padding: 12px 8px;
    }
}

@media(min-width: 641px) and (max-width: 925px) {
.featured{
    grid-column: span 2;
    grid-row: span 1;

  }

  .logic{
    grid-column: span 1;
    grid-row: span 2;
  }

 .bento-container{
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto; 
    justify-items: center;

}

.bento-item{
    width: 100%;
    max-width: 800px;
}

.project-content{
    padding: 1rem;
}

}

@media(min-width: 769px) and (max-width: 1280px) {

.help-card-wrapper{
    justify-content: center;
}

.help-cards{
    flex: 0 1 calc(33.333% - 20px);
}
 
.sidebar{
    display: none;
}

.mini-sidebar{
    display: flex;
    position: sticky;
}

}




