/* CSS Reset - Remove default browser margins and padding */
* {
  margin: 0;
  padding: 0;
  
}

html, body {
 
  padding: 0;
  overflow-x: hidden;
  justify-content: center;
  position: relative;
}

/* Program bar button styles matching site theme */
.program-btn {
  background-color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-radius: 10em;
  font-size: 14px;
  font-weight: 600;
  padding: 0.5em 0.5em;
  border: px solid #8B4513;
  box-shadow: 0 0 0 0 #1565c0;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  letter-spacing: 1px;
}
.program-btn:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 1px solid rgb(63, 63, 63);
  transform: translateY(-2px) scale(1.05);
}
.program-btn:active {
  background: #ffffff;
  color: #8B4513;
  border-color: #ffffffff;
  transform: scale(0.98);
}
/* Blue slider styles */
#size-slider {
  accent-color: white;
}
input[type=range]#size-slider::-webkit-slider-thumb {
  background: #70370e;
}
input[type=range]#size-slider::-webkit-slider-runnable-track {
  background:  linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-Radius: 10px;
}
input[type=range]#size-slider::-moz-range-thumb {
  background: #70370e;
}
input[type=range]#size-slider::-moz-range-track {
  background:  linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
input[type=range]#size-slider::-ms-thumb {
  background: #70370e;
}
input[type=range]#size-slider::-ms-fill-lower {
  background:  linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Hide model-viewer loading progress bar */
model-viewer #default-progress-bar {
  display: none !important;
}

model-viewer .progress-bar {
  display: none !important;
}

model-viewer::part(default-progress-bar) {
  display: none !important;
}

model-viewer::part(progress-bar) {
  display: none !important;
}

/* Model viewer sizing - will be controlled by JavaScript based on columns */
.model, model-viewer {
  /*aspect-ratio: 1/1 !important;*/
  display: block !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}
input[type=range]#size-slider::-ms-fill-upper {
  background: #90caf9;
}
:not(:defined) > * {
  display: none;
}

.clip-text {
  font-family: 'Nanum Myeongjo', serif; 
  font-weight: 400; 
  font-style: normal; 
  background: rgb(63, 63, 63);
  background-size: cover;
  background-attachment: fixed;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  box-sizing: border-box;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: bold;
  position: relative;
  line-height: 1.2;
  flex-shrink: 0;
  z-index: 4;
  width: 100%;
  padding: 40px 0px 40px 0px;
  left: 5vw;
  /* Animation setup */
  transform: translateX(-60%);
  opacity: 0;
  transition: transform 2s ease-out, opacity 0.8s ease-out;
}

.clip-text.animate-in {
  transform: translateX(0);
  opacity: 1;
}


.Hotspot {
  background: #fff;
  border-radius: 32px;
  border: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  cursor: pointer;
  height: 24px;
  padding: 8px;
  position: relative;
  transition: opacity 0.3s;
  width: 24px;
}

.Hotspot:not([data-visible]) {
  background: transparent;
  border: 4px solid #fff;
  box-shadow: none;
  height: 32px;
  pointer-events: none;
  width: 32px;
}

.Hotspot:focus {
  border: 4px solid rgb(0, 128, 200);
  height: 32px;
  outline: none;
  width: 32px;
}

.Hotspot > * {
  opacity: 1;
  transform: translateY(-50%);
}

.HotspotAnnotation{
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  color: rgba(0, 0, 0, 0.8);
  display: block;
  font-family: Futura, Helvetica Neue, sans-serif;
  font-size: 18px;
  font-weight: 700;
  left: calc(100% + 1em);
  max-width: 128px;
  overflow-wrap: break-word;
  padding: 0.5em 1em;
  position: absolute;
  top: 50%;
  width: max-content;
}

.Hotspot:not([data-visible]) > * {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-50% + 4px));
  transition: transform 0.3s, opacity 0.3s;
}

#ar-button {
  background-image: url(ar_icon.png);
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 12px 50%;
  background-color: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  bottom: 16px;
  padding: 0px 16px 0px 40px;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 14px;
  color:#4285f4;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
  border: 1px solid #DADCE0;
}

#ar-button:active {
  background-color: #E8EAED;
}

#ar-button:focus {
  outline: none;
}

#ar-button:focus-visible {
  outline: 1px solid #4285f4;
}

@keyframes circle {
  from { transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes elongate {
  from { transform: translateX(100px); }
  to   { transform: translateX(-100px); }
}

model-viewer > #ar-prompt {
  position: absolute;
  left: 50%;
  bottom: 60px;
  animation: elongate 2s infinite ease-in-out alternate;
  display: none;
}

model-viewer[ar-status="session-started"] > #ar-prompt {
  display: block;
}

model-viewer > #ar-prompt > img {
  animation: circle 4s linear infinite;
}


/* CSS */

.button:active   {
  box-shadow: none;
  color: transparent;
}
.button:active .button_content {
  box-shadow: none;
}
.button:hover .button_model {
  transform: translate3d(0, 0, 0);
  transition: ease-in 0.2s, ease-out 0.3s;
}

.button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  padding: 2px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 10px;
  outline: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.15), 10px 10px 1px rgba(0, 0, 0, 0.15);
  transition: ease-in 0.2s, ease-out 0.3s;
  width: auto;
  min-width: fit-content;
  flex: 1 1 auto;
  max-width: calc(33.333vw - 27px);
}

.button::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #ffffff;
  border-radius: 8px;
  z-index: 0;
}

.button_content {
  display: flex;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 -6px #d5d7de, 0 -2px #ffffff;
  transition: all 0.1s ease-in-out;
}
.ButtonTitle{
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position:absolute;
  display: block;
  text-decoration: none;
  text-align: left;
  font-size: 25px;
  z-index: 1;
  font-family: 'Arial Black', sans-serif;
  transform: translate3d(0px, -30px, 0);
  transition: all 0.1s ease-in-out;
}

.button_model {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position:relative;
  top: -0px;
  display: flex;
  text-align: center;
  font-size: 20px;
  z-index: 1;
  font-family: 'Arial Black', sans-serif;
  transition: all 0.1s ease-in-out;
  transform: translate3d(0, -3px, 0);
}

.grid {
margin: 0 5vw; /* 2.5vw space on left and right sides only */
padding: 0; 
display: flex;
flex-wrap: wrap;
align-items: stretch;
justify-content: center; 
column-gap: 30px;
row-gap: 30px;
width: calc(100% - 10vw); /* Account for the left and right margins */
box-sizing: border-box;
}  

#mslider {
  position: absolute;
  bottom: 7px;
  font-size: 25px;
  text-align: left;
  left: 7%;
}

#pslider {
  position: absolute;
  bottom: 11px;
  text-align: right;
  left: 90%;
  font-weight: bold;
} 
/*
.grid-btn, .button_model {
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
}
*/

.my-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2px;
  margin: 10px;
  border-radius: 10px;
}

.my-box::before {
  content: '';
  background: #ffffff;
  border-radius: 8px;
  padding: 18px;
  display: block;
}



 body {
            font-family: sans-serif;
            background-color: #ffffff;
        }

        .grid-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            padding: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .grid-item3 {
            background: white !important;
            color: #1d1d1f !important;
            padding: 10px;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid rgba(102, 126, 234, 0.1);
            position: relative;
        }

        .grid-item3:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
            background: linear-gradient(45deg, #FFF8DC, #F5DEB3, #DEB887) !important;
            color: #333 !important;
        }

        h3 {
            margin-top: 0;
            color: #ffffff;
        }

        p {
            color: #cccccc;
            font-size: 12px;
        }

        /* Responsive adjustments */
        @media (max-width: 600px) {
            .grid-container {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .button {
                max-width: calc(50vw - 30px);
            }
        }

        @media (max-width: 400px) {
            .grid-container {
                grid-template-columns: 1fr;
            }
            
            .button {
                max-width: calc(100vw - 40px);
            }
            
            .grid {
                column-gap: 20px;
                row-gap: 20px;
            }
        }
.grid2Title {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700; 
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.grid-item3 p {
  color: #6e6e73;
  line-height: 1.6;
  margin-bottom: 0;
  margin-top: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 12px;
}

.grid-item4 {
            background-color: #cf2323;
            padding: 20px;
            border-radius: 80px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            text-align: center;
            transition: transform 0.3s ease;
            border: transparent
  }
          .grid-item4:hover {
            transform: translateY(-5px);
        }

        /* From Uiverse.io by imtausef */ 

#Applications{
  position:relative;
  height: auto;
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 0px;
  max-width: 1500px;
  margin: 0 auto;
  
}
.LapAppsTitle {
  position: relative;
  color: 3s1da1f2;
  font-size: clamp(1px, 8vw, 77px);
  text-align:center;
  top:clamp(5px, 8vw, 60px);
  margin:auto;
} 
.computer{
  height: 40vw; 
  width: 40vw; 
  position: relative; 
  max-width:700px; 
  max-height:800px;
  flex-shrink: 0;
  margin: 0 auto;
}
.Description{
  position:relative;
  margin-left: auto;
  top:clamp(5px, 10vw, 120px);
  flex: 1;
  max-width: 600px;
}
h1{
    font-size: clamp(0rem, 3vw, 2rem);
}
h4{
  margin-top: -5px;
  display: list-item;
  left: 2em;
  font-size: clamp(0rem, 2vw, 1rem);
}

/* Applications responsive design */
@media (max-width: 768px) {
  #Applications {
    flex-direction: column;
    text-align: center;
    height: auto;
    min-height: auto;
    gap: 20px;
  }
  
  .computer {
    height: 50vw;
    width: 40vw;
    max-width: 400px;
    max-height: 400px;
    margin: 0 auto;
  }
  
  .Description {
    margin-left: 0;
    top: 0;
    text-align: center;
  }
  
  .LapAppsTitle {
    margin: 0 auto 20px auto;
  }
}

/* Programs Container for Row Layout */
.programs-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
    
    flex-wrap: wrap;
}

/* Programs Card Styling - Updated for Row Layout */
.programs-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    text-align: center;
    margin: 0;
}

.programs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.programs-logo {
    width: 120px;
    height: auto;
    max-width: 120px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    display: block;
}

.programs-logo:hover {
    transform: scale(1.05);
}

.programs-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 15px;
    margin-top: 0;
    text-align: left;
}

.programs-description {
    color: #6e6e73;
    line-height: 1.6;
    margin-bottom: 10px;
    margin-top: 0;
    list-style: disc;
    text-align: left;
    margin-left: 20px;
    padding-left: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    font-weight: normal;
}

/* Responsive design for programs container and cards */
@media (max-width: 1200px) {
  .programs-container {
    gap: 20px;
    padding: 15px;
  }
  
  .programs-card {
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .programs-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .programs-card {
    padding: 30px;
    max-width: 100%;
    min-width: auto;
    width: 100%;
    text-align: center;
  }
  
  .programs-logo {
    width: 100px;
    max-width: 100px;
    margin: 0 auto 20px auto;
  }
  
  .programs-title {
    font-size: 1.5rem;
    text-align: center;
  }
}

/* From Uiverse.io by sekaiking */ 
.slideButton1 {
   background-color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-radius: 10em;
  font-size: 14px;
  font-weight: 600;
  padding: 0.5em 0.5em;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
  border: 0px solid #464545;
  box-shadow: 0 0 0 0 black;
}

.slideButton1:hover {
  transform: translateY(-4px) translateX(2px);
  box-shadow: -2px 5px 10px rgb(63, 63, 63), -2px 5px 1px rgba(252, 182, 159, 0.4) !important;
}

.slideButton1:active {
  transform: translateY(2px) translateX(-1px);
  box-shadow: 0 0 0 0 black;
}
#explain-it-btn {
    background-color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-radius: 10em;
  font-size: 14px;
  font-weight: 600;
  padding: 0.5em 0.5em;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
  border: 0px solid #64310d;
  box-shadow: 0 0 0 0 black;
}

#explain-it-btn:hover {
  transform: translateY(-4px) translateX(-2px);
  box-shadow: 2px 5px 10px  rgb(63, 63, 63), 2px 5px 1px rgba(252, 182, 159, 0.4);
}

#explain-it-btn:active {
  transform: translateY(2px) translateX(1px);
  box-shadow: 0 0 0 0 black;
}

/* slideButton2 class for consistency */
.slideButton2 {
  background-color: white;
  color:  #1565c0;
  border-radius: 10em;
  font-size: 14px;
  font-weight: 600;
  padding: 0.5em 0.5em;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
  border: 0px solid #64310d;
  box-shadow: 0 0 0 0 #64310d;
}

.slideButton2:hover {
  transform: translateY(-4px) translateX(-2px);
  box-shadow: 2px 5px 0 0 #64310d;
}

.slideButton2:active {
  transform: translateY(2px) translateX(1px);
  box-shadow: 0 0 0 0 #64310d;
}

/* Selected model styles */
.button.selected {
  background: transparent !important;
  border-color:  transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
  cursor: default !important;
}

.button.selected .button_content {
  border-color: white  !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

.button.selected .ButtonTitle {
  color: #64310d !important;
  pointer-events: none !important;
}

/* Keep model-viewer interactive even when button is selected */
.button.selected model-viewer,
.button.selected .button_model model-viewer {
  pointer-events: auto !important;
  cursor: grab !important;
}

/* Active model styles - pressed down effect */
.button.active {
  box-shadow: none !important;
  color: transparent;
  transform: translateY(2px);
}

.button.active .button_content {
  box-shadow: none !important;
}

/* Grid button layout for row control */
.grid-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  flex-shrink: 0;
}

.explanation-text {
  margin-top: 15px;
  padding: 15px;
  background: transparent;
  border-top: 2px solid rgb(63, 63, 63);
  border-radius: 0 0 8px 8px;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  transform: translateY(-10px);
  width: 100%;
  max-height: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.explanation-text.show {
  opacity: 1;
  transform: translateY(0);
  max-height: 200px;
  padding: 15px;
}

.explanation-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  font-family: 'Arial', sans-serif;
  text-align: justify;
}

/* Responsive adjustments for explanation text */
@media (max-width: 768px) {
  .explanation-text.show {
    padding: 10px;
    max-height: 150px;
  }
  
  .explanation-text p {
    font-size: 12px;
  }
}

/* Grid restructuring is now handled by JavaScript */

/* Section Background Styling */

/* Hero Section from Portfolio */
.hero {
    background: linear-gradient(0deg,  #764ba2, #667eea);
    min-height: 110vh;
    display: flex;
    align-items: center;
    justify-content: center; 
    text-align: center;
    color: white;
    position: fixed;
    overflow: hidden;
    width: 100vw;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
}
   
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    
    top:-10vh;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section - Gradient background */
.hero-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 110vh;
  z-index: 2;
}

/* Programming Section - Light blue background */
.programming-section {
  background: white;
  padding-top: 100px;
  position: relative;
  z-index: 10;
  margin-top: 110vh;
  min-height: 100vh;
}


/* Transition Section - Brown themed */
.transition-section {
  background: linear-gradient(135deg, #8B4513 0%, #180c50 100%);
  padding: 100px 20px 100px 20px;
  color: white;
  position: relative;
  overflow: hidden;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 20px;
}

.transition-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(160,82,45,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.transition-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.transition-image {
  flex: 1;
  text-align: center;
}

.feature-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.feature-image:hover {
  transform: scale(1.05);
}

.transition-content {
  flex: 1;
  text-align: left;
}

.transition-content h2 {
  font-size: 3rem;
  color: #1da1f2;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.transition-content p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #ecf0f1;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Designs Section - White/light background */
.designs-section {
  background: white;
  padding: 10px 10px 200px 10px;
  position: relative;
  z-index: 10;
}

.designs-section::before {
  content: '';
  position: absolute;
  margin-left: 26px;
  margin-right: 26px;

  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
}

/* Tools Section - White background */
.tools-section {
  background: white;
  padding: 0px 20px 200px 20px;
  position: relative;
  color: black;
  z-index: 10;
}

/* Social Section - Dark elegant background */
.social-section {
  background: transparent;
 
  position: relative;
  z-index: 10;
  height: 25vh;
}




.social-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
 
}

.social-container h2 {
  font-size: 3rem;
  background: #764ba2 !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;

  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 300px;
  top: 100px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
} 
 

/* Social media */

 
/* From Uiverse.io by adarshpatel111 */ 
.holographic-stack {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  perspective: 1000px;
  position: relative;
  top: 80px;
}

.holographic-icon {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;

}

.holographic-icon svg {
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 3;
  transition: all 0.3s ease;
  
}

.holographic-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid transparent;
  background: rgb(63, 63, 63) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: subtract;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: subtract;
  opacity: 0.8;
  border-top-color: white;
  border-bottom-color: white;
}

.holographic-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    transparent 20%,
    currentColor 20%,
    currentColor 30%,
    transparent 30%,
    transparent 40%,
    currentColor 40%,
    currentColor 50%,
    transparent 50%
  );
  background-size: 15px 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.holographic-pulse {
  width: 30%;/*////////*/
  height: 30%; /*////////*/
  border-radius: 50%;
  box-shadow: 0 0 15px black;
  opacity: 0;
  position: relative;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.holographic-icon.github {
  color: rgb(109, 24, 109);
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  position: relative;
  text-decoration: none;
}


/*
.holographic-icon.github:hover .holographic-ring {
  border-color: #6c2e02;
  border-top-color: transparent;
  border-bottom-color: transparent;
}
*/



.holographic-icon:hover {
  transform: translateY(-10px);
}

.holographic-icon:hover svg {
  transform: scale(1.2);
}


@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes particles {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 30px 30px;
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.2;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.holographic-icon::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 5%;
  width: 90%;
  height: 20%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transform: rotateX(80deg) translateZ(-20px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.holographic-icon:hover::before {
  opacity: 0.5;
}


.socialName {
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  position: relative;
  top: 10px; /*////////*/
  left: -2px;
  color: transparent;
  transition: color 0.3s ease;
}

.holographic-icon:hover .socialName {
  background-color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}







/* Social media containers - consistent height and positioning */
.social-grid .tooltip-containerd,
.social-grid .tooltip-containeri,
.social-grid .tooltip-container {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  width: 55px !important;
  height: 55px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Responsive Design */
@media (max-width: 768px) {

  .transition-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .transition-content {
    text-align: center;
  }
  
  .transition-content h2 {
    font-size: 2.5rem;
  }
  
  .transition-content p {
    font-size: 1.1rem;
  }
  
  .feature-image {
    max-width: 300px;
  }
  
  .social-container h2 {
    font-size: 2.5rem;
  }
  
  .social-grid {
    gap: 30px;
    max-width: 600px;
  }
}

@media (max-width: 480px) {
  .programming-section,
  .designs-section,
  .tools-section {
    padding: 100px 10px 0 0;
  }
  

  .transition-section,
  .social-section {
    padding: 60px 10px;
    
  }
  
  .social-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 300px;
  }
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto; 
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content {
    display: flex;
    align-items: center;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    justify-content: flex-end;
    padding-right: 0px;
}

.timeline-item:nth-child(even) .timeline-content {
    justify-content: flex-start;
    padding-left: -10px;
}

.timeline-card {
    background: white;
    padding: 30px; 
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    border: 4px solid white;
    z-index: 10;
}

.timeline-date {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.timeline-company {
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-description {
    color: #6e6e73;
    line-height: 1.6;
    margin-bottom: 20px;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* My Journey Section Styles */
#experience {
    background: white;
    position: relative;
    z-index: 10;
}

/* Timeline responsive design */
@media (max-width: 1000px) {
    .timeline-line {
        left: 29px;
        transform: none;
    }

 
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        justify-content: flex-start;
        padding-left: 80px;
        padding-right: 20px;
    }

    .timeline-icon {
        left: 30px;
        transform: translateX(-50%);
    }

    .timeline-card {
        max-width: 100%;
    }
 
    .section{
      height: 1650px; 
    }
}




@media (min-width: 1000px) {
   #timeLine2{
    top:-100px;
   }
   #timeLine3{
    top:-200px;
   } 
    #timeLine4{
      top:-300px;
    }
    #timeLine5{
      top:-10000px;
    }
    .section{
      height: 1650px; 
    }
}

 

/* ===========================================
   RESPONSIVE BREAKPOINTS - BLANK SECTIONS
   =========================================== */

/* Extra Large Screens (1400px and up) */
@media (min-width: 1400px) {
  .Programs {
    top:-30px
     }
    #Applications {
    padding-bottom:100px;
     }
}
 
/* Large Screens (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .Programs {
    top:-70px;
     }
     #Applications {
    padding-bottom:120px;
     }
 
}

/* Desktop Screens (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .Programs {
    top:-20px
     }
#Applications {
    padding-bottom:100px;
     }

}

/* Tablet Landscape (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .Programs {
    top:-20px
     }
     #Applications {
    top:40px;
    padding-bottom: 50px;
     }
     .section{
      height: 1700px; 
     }
    
}  

/* Tablet Portrait (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .Programs {
    top:-60px;
     }
     #Applications {
    top:40px;
    padding-bottom: 100px;
     }
     #laptop-model{
      height: 100vw; 
      width: 100vw; 
     }
     .section{
      height: 1800px; 
     }
}

/* Mobile Landscape (480px to 575px) */
@media (min-width: 480px) and (max-width: 575px) {
  .Programs {
    top:-90px
     }
     #Applications {
    top:50px;
    padding-bottom: 130px;
     }
     #laptop-model{
      height: 100vw; 
      width: 100vw; 
     }
     .section{
      height: 2100px; 
     }
}
  
/* Mobile Portrait (320px to 479px) */
@media (min-width: 320px) and (max-width: 479px) {
  .Programs {
    top:-140px
     }
     #Applications {
    top:0px;
    padding-bottom: 80px;
     }
     #laptop-model{
      height: 100vw; 
      width: 100vw; 
     }
     .section{
      height: 2300px; 
     } 
}

/* Small Mobile (below 320px) */
@media (max-width: 319px) {
  .Programs {
    top:-145px;
  }
  #Applications {
    top:0px;
    padding-bottom: 90px;
  }
  #laptop-model{
      height: 90vw; 
      width: 90vw; 
     }
}
