
.about-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
    margin-top: 80px;
}

.about-card{
    width: 90%;
    max-width: 1500px;
    min-height: 600px;
    margin: 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 3.07%, rgba(0, 0, 0, 0.2) 73.09%), var(--clr-card);
    border-radius: 1.25rem;
    box-shadow: 0 0 1.25rem var(--shadow);
    display: flex;
    flex-direction: row;
    
    position: relative;   /* for absolutely‐positioned children, if you go that route */
    overflow: visible;    /* ← allow the image & heading to pop outside */


}

.about-image {
    flex: 2;    
    display: flex;
    justify-content: center;
    overflow: visible;
    
}



.about-content {
    flex: 3;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}   



.about-image img {
  display: block;
  max-width: 100%;
  margin-top: -80px;     /* tweak */
  margin-left: -60px;    /* tweak */
  height: auto;
  object-fit: cover; 
  overflow: visible;    
}




@media (max-width: 1000px) {
    .about-section {
        margin-top: 20px;
    }

    .about-card {
        flex-direction: column-reverse;
    }

    .about-content {
        padding-top: 50px;
        flex: 2;
    }

    .about-image  { flex: 3; }

    .about-image img{
        margin: 0;
        width: clamp(450px, 50vw, 600px);
        height: auto;
    }


}

.hero-banner  {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 100vh;
}

.title-card {
  width: 90%;
  height: 90%;
  max-width: 1500px;
  max-height: 800px;

  border-radius: 1.25rem;
  box-shadow: 0 0 1.25rem var(--shadow);

  display: flex;
  flex-direction: column;
  justify-content: space-between;


  margin: 20px;
  padding: var(--space-md);

  overflow: hidden;
}

.top-section {
  display: flex;
  flex-direction: column;
  
  gap: 0;
  
  font-family: var(--font-primary);
}

.hero-title {
  font-size: clamp(4rem, 15vmin, 10rem);
  margin-top: var(--space-lg);

  
  perspective: 600px;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 5vmin, 2rem);
  font-weight: 500;

  
  animation: pushUp 1s ease-out forwards;
  
  transform: rotateX(90deg);
  animation-delay: 0.8s;
  opacity: 0;
}


.contact-icons {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  gap: 20px;
  margin-top: 40px;

  animation: pushUp 1s ease-out forwards;
  transform: rotateX(90deg);
  animation-delay: .9s;
  opacity: 0;
}

.contact-icon svg {
  width: 60px;
  height: 60px;
}

.title-card-mask {
  /* final “card” sizing */
  position: absolute;
  width: 90%;
  height: 90%;
  max-width: 1500px;
  max-height: 800px;

  border-radius: 1.25rem;
  background:  linear-gradient(180deg, rgba(0, 0, 0, 0) 3.07%, rgba(0, 0, 0, 0.2) 73.09%),var(--clr-card);
  
  /* only animate transform & border-radius from center */

  transform-origin: center center;
  transform: scale(1);
  transition: transform 3s ease-in-out 1.5s,border-radius 3s ease-in-out 1.5s;
  
}





.word {
  display: inline-block;    /* keep the whole name together */
  white-space: nowrap;      /* never wrap its children */
  margin-right: 0.1em;      /* a little space between names */
}

 span {
  display: inline-block;
  transform-origin: bottom;
  transform: rotateX(90deg);
  opacity: 0;
  backface-visibility: hidden;
  animation: pushUp 0.6s ease-out forwards;   /* faster than 0.8s */
  animation-delay: var(--delay);
}

@keyframes pushUp {
  to {
    transform: rotateX(0deg);
    opacity: 1;
  }
}






.frame {
  position: relative;
  width: 100%;
  height: clamp(2rem, 3vmin, 3.5rem);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-secondary);
  

}

.carousel {
  position: relative;
  display: inline-flex;           
  align-items: center;
  font-size: clamp(1.5rem, 3vmin, 2.5rem);
  line-height: 1.5em;
  padding: 0 10px;

  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 1.5rem;
}

.change_outer {
  position: relative;
  overflow: hidden;                  /* hide the off-screen words */
  height: 1.5em;                     /* exactly one line of text */
  margin-right: .6ch;                 /* space before “by Me” */
}

.change_inner {
  animation: rotate 8s ease-in-out infinite;
}

.element {
  display: block;                   
  font-weight: 100;
  text-align: center;
  text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}

.post {
  font-weight: 100;
  text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}

@keyframes rotate {
  0%, 28%    { transform: translateY(0); }
  30%, 58%   { transform: translateY(-1.5em); }
  60%, 96%   { transform: translateY(-3em); }
  100%       { transform: translateY(0); } /* snap back */
}




@media (max-width: 768px) {
  .title-card {
    text-align: center;
  }

  .contact-icons {
    justify-content: center;
  }

  .contact-icon svg {
    width: 50px;
    height: 50px;
  }


}
.tech-group{
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}


.teck-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo{
    width: 50px;
    height: 50px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

.about-content h2{
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-content h3{
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
}

.about-content p{
    font-size: var(--space-sm);
    line-height: 1.5;
}

.teck-item p{
    font-size: 1.2rem;
 }
.projects-section{ 
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    margin-bottom: 80px;
}


.projects-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.project-card {
  width: 90%;
  max-width: 1500px;
  max-height: 600px;    
  overflow: hidden; 
  position: relative;
  display: flex; 
  
  border-radius: 24px;
}

.project-image {
  width: 100%;           
  height: 100%;      
  flex-shrink: 0;  
}     

.project-image img {
  display: block;       
  width: 100%;
  height: 100%;
  object-fit: cover;    
  object-position: center; 
}


.project-info-card{
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 500px;
    max-height: 200px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 3.07%, rgba(0, 0, 0, 0.2) 73.09%), var(--clr-card);
    margin: 40px;
    padding: 20px;
    border-radius: 14px;
}

.project-info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-info-card p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

@media (max-width: 1000px) {
    .project-card {
        flex-direction: column;
        height: 1000px;
    }

    .project-info-card{
        margin: 10px;
    }

}

.hero-banner-testing  {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 100vh;
}

.title-card-testing {

  width: 90%;
  height: 90%;
  max-width: 1500px;
  max-height: 800px;

  background:  linear-gradient(180deg, rgba(0, 0, 0, 0) 3.07%, rgba(0, 0, 0, 0.2) 73.09%),var(--clr-card);
  border-radius: 1.25rem;
  box-shadow: 0 0 1.25rem var(--shadow);

  display: flex;
  flex-direction: column;
  justify-content: space-between;


  margin: 20px;
  padding: var(--space-md);

  overflow: hidden;
}

.top-section-testing {
    display: flex;
    flex-direction: column;
    
    gap: 0;
  
    font-family: var(--font-primary);
}

.hero-title-testing {
  font-size: clamp(4rem, 15vmin, 10rem);
  margin-top: var(--space-lg);
}

.hero-subtitle-testing {
  font-size: clamp(1.5rem, 5vmin, 2rem);
  font-weight: 500;
}

.top-section-testing-mask {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 0;
    
    font-family: var(--font-primary);
}

.top-section-testing {
 
  justify-content: center;
  align-items: center;

  /* 2) animate after 1s, over 0.8s, and stick at the end */
  /*animation: shiftLayout 0.8s ease-out 1s forwards;*/
}



/****************************************************************************************************/
/****************************************************************************************************/




/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

 @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;700&family=Sora:wght@400;500;700&display=swap");

 :root {
  --font-primary: 'Sora', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  --clr-bg: #151419;
  --clr-card: #130091;
  --clr-text: #e1e2e1;
  --shadow: rgba(0, 0, 0, 0.9);
  --space-sm: clamp(1.5rem, 3vmin, 2rem);
  --space-md: clamp(1rem, 5vw, 4rem);
  --space-lg: clamp(2rem, 10vmin, 10rem);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  display: flex;
  flex-direction: column;
}

