/* Fonts
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">

 */


 /* -------- Color Styles --------> 
 background-color: #030202;
 primary-color: bisque;
 accent-color: yellowgreen;
 accent-color2: #413927;
 Tertiary-color1: #1a1a2e;
 Tertiary-color2: #333333;
 orange-color: #e09200;
 orange-color2: #b77e39;
 teal-color: #264047;
 teal-color2: #112226;
 light-color: #8899a6;
 light-color2: #C6A983;
 
 
 
 
 
 */




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

html {
    font-size: 62.5%;
    font-family: 'Space Mono', monospace;
    /* margin-top: 8rem; */
    scroll-behavior: smooth;     /* Makes the scroll nice and smooth */

    
    
    
}

body {
    
    background-color: #030202;
    font-size: 1.8rem;
    line-height: 2.0;
    margin: 0;
    padding: 0;
    width: 100%;
    cursor: none;
    overflow-x: hidden;

    /* background: radial-gradient(circle at 50% 0%, #112226 0%, #030202 70%);
    background-attachment: fixed;
     */

    
    
}

body.restaurants-page .home-restoration-page .retail-page {

    background-color: #030202;
    font-size: 1.8rem;
    line-height: 2.0;
    margin: 0;
    padding: 0;
    width: 100%;
    cursor: none;
    overflow-x: hidden;
    display: inline;
}

/* --------- Global Styles --------> */
/* --- CUSTOM CURSOR STYLES --- */
        .cursor-dot,
        .cursor-outline {
            position: fixed;
            top: 0;
            left: 0;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            z-index: 9999;
            pointer-events: none; /* Allows clicking through */
            display: none; /* Hidden by default until JS runs */
        }
        
        @media (hover: hover) and (pointer: fine) {
            .cursor-dot, .cursor-outline {
                display: block;
            }
        }

        .cursor-dot {
            width: 8px;
            height: 8px;
            background-color: #C6A983;
            box-shadow: 0 0 10px #C6A983;
        }

        .cursor-outline {
            width: 40px;
            height: 40px;
            border: 1px solid rgba(198, 169, 131, 0.5);
            transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
        }

        /* Hover State for Cursor (Active on interactive elements) */
        body.hovering .cursor-outline {
            width: 70px;
            height: 70px;
            background-color: rgba(198, 169, 131, 0.05);
            border-color: #C6A983;
            mix-blend-mode: difference; /* Cool effect over images */
        }
        
        /* Hide dot when hovering for cleaner look (optional, keeping both for now) */
        /* body.hovering .cursor-dot { opacity: 0; } */



/* -------- Header Section --------> */



/* -------- Hero Section --------> */


/* Background Canvas Animation */
        #hero-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1; /* Behind the content */
            opacity: 0.6; /* Subtle effect */
            pointer-events: none; /* Let clicks pass through */
        }


.clients-text {
    grid-column: 1/1;
    font-size: 1.2rem;
    display: flex;
    flex-direction: row;
    /* align-items: center; */
    gap: .8rem;
    /* position: relative; */
    
    
}

.border-background {
    position: relative;
    display: flex;
    align-items: center;
    gap: .8rem;
    border: #264047 solid .1rem;
    padding: .2rem 1.6rem;
    border-radius: 2rem;
}

.text-circle {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: yellowgreen;
}




.hero-grid {
    display: grid;
    /* grid-template-columns: auto auto; */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    margin: 0 auto;
    /* justify-items: center; */
    gap: 1.3rem;
    max-width: 120rem;
    /* padding: 0 4rem; */
    padding: 5rem 4rem 0 4rem;
    /* position: relative; */
    /* column-gap: 8rem; */
}



.main-container {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    max-width: 120rem;
    /* padding: 5rem 8rem 15rem 8rem; */
    margin: 43rem auto 25rem auto;
    color: #8899a6;
    
    
}


/* .bphoto {
    grid-row: 2/3;
    display: flex;
    flex-direction: row;
    justify-content: center;

} */


/* .bcard {
    
    border-radius: 50%;
    width: 17rem;
    height: 17rem;
    grid-row: 2/3;
   
   
    
} */

.hero-h1 {
    color: #8899a6;
    font-size: 2.5rem;
    font-weight: 600;
    grid-row: 2/3;                  
}

.starts-now {
    background: linear-gradient(
        to right,
        #8899a6,
        #e09200
       
        
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.clients-text {
    color: white;
}

.welcome-section {
    font-size: 2.5rem;
    margin: 1em 0;
    background: linear-gradient(
        to right,
        #8899a6,
        #e09200
        
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* h2 {
    padding: 0 2.3em;
    margin-top: 2.3em;
    margin-bottom: 2.3em;
    text-align: center;
} */


.maintxt {
    text-align: center;
    margin-bottom: 1em;
    padding: 0 2.3em;
    font-weight: bold;
    /* width: 100ch; */
    color: #aaa
}


/*------------- Container Person ----------->*/
.person {
  align-items: center;
  display: flex;
  flex-direction: column;
  /* width: 280px; */
  grid-row: 2/3;
  

}

/* .person {
  align-items: center;
  display: flex;
  flex-direction: column;
  grid-row: 2/3;
} */

.container {
  border-radius: 50%;
  height: 312px;
  -webkit-tap-highlight-color: transparent;
  transform: scale(0.48);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  width: min(400px, 90vw);
}

.container:after {
  content: "";
  height: 10px;
  position: absolute;
  top: 390px;
  width: 100%;
}

.container-inner {
  clip-path: path("M 390,400 C 390,504.9341 304.9341,590 200,590 95.065898,590 10,504.9341 10,400 V 10 H 200 390 Z");
  position: relative;
  transform-origin: 50%;
  top: -200px;
}

.circle {
  background-color: #fee7d3;
  border-radius: 50%;
  cursor: pointer;
  left: 10px;
  pointer-events: none;
  position: absolute;
  top: 210px;
  height: min(380px, 75vw);
  width: min(380px, 75vw);
}

.person-bcard {
  right: 50px;
  top: 175px;
  width: min(550px, 80vw);
}

.img {
  pointer-events: none;
  position: relative;
  transform: translateY(20px) scale(1.15);
  transform-origin: 50% bottom;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.container:hover .img {
  transform: translateY(0) scale(1.2);
}

 .container:hover {
        transform: scale(0.54);
    }

    .img {
  pointer-events: none;
  position: relative;
  transform: translateY(20px) scale(1.15);
  transform-origin: 50% bottom;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}




.divider-person {
  background-color: #e09200;
  height: 1px;
  width: 160px;
  /* grid-row: 2/3; */
}
.name {
  color: #8899a6;
  font-size: 36px;
  font-weight: 600;
  /* margin-top: 16px; */
  text-align: center;
}
.title {
  color: #e09200;
  font-family: arial;
  font-size: 14px;
  font-style: italic;
  /* margin-top: 4px; */
}






/* -------- Animated Text Section --------> */
 
.animated-text {
    font-size: 2rem;
    font-weight: 600;
    grid-row: 3/4;
    
    
    
    
}



h2 {
    color: #aaa;
    font-size: 2rem;
    /* margin-bottom: 2rem; */
    font-weight: 400;
    /* margin-top: 10rem; */
}


 .type-text {
            background: linear-gradient(to right, #8899a6, #e09200); /* Gradient applied here */
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: bold;
            font-size: 2.2rem; 
        }

        .cursor-blink {
            display: inline-block;
            width: 2px;
            height: 1.2em;
            background-color: #C6A983;
            margin-left: 5px;
            vertical-align: middle;
            animation: blink 1s step-end infinite;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }





/* 
.animated-text span {
    position: relative;
    display: inline-block;
    line-height: 1.4;
    
    
   
   
    
}




.animated-text span::before {
    content: 'Better Ads';
    animation: words 20s infinite;
    background-image: linear-gradient(to right, #8899a6, #e09200);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.animated-text span::after {
    content: '';
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    background-color: #030202;
    border-left: 2px solid yellowgreen;
    right: -8px;
    animation: cursor .8s infinite, typing 20s steps(20) infinite;
   
    
   

}

@keyframes cursor {
    to{
        border-left: 2px solid #9acd3200;
    }

    }

    @keyframes words {
        0%, 20% {
            content: 'Better Ads';
        }

        21%, 40% {
            content: 'Google Analytics';
        }

        41%, 60% {
            content: 'Automations';
        }

        61%, 80% {
            content: 'Custom Workflows';
        }

        81%, 100% {
            content: 'Results';
        }




}

@keyframes typing {
   10%,15%,30%,35%,50%,55%,70%,75%,90%,95% {
        width: 0;
    }

    5%,20%,25%,40%,45%,60%,65%,80%,85% {
        width: calc(100% + 8px);
    }
}
     */


.divider {
    position: absolute;
    width: 100%;
    height: 40rem;
    overflow: hidden;
    background-image: url('images/layered-peaks-haikeis1.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    z-index: -3;
    bottom: -20rem;
}




/* .divider {
    position: relative;
    width: 100%;
    height: 40rem;
    overflow: hidden;
    background: none;
     margin-top: 32rem;
}  */

/* .divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background-image: url('images/layered-peaks-haikeis1.svg');
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
    background-position: center;
} */

/* ------------ Social Icons Section --------> */




.social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    
    grid-column: 2 / 3; /* Keep it in the same column as the person */
    grid-row: 3 / 4;    /* Move it to the row directly below the person */
    gap: 1.5rem;
    

    /* margin-top: 2rem; */
}

.social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(5%) brightness(100%);
    color: #8899a6;
}

.social-icons img:hover {
    transform: scale(1.2);
    filter: grayscale(0%) brightness(150%);
    
}











/* -------- NEW Cards Section --------> */


.restaurants-section {
    text-align: center;
    padding: 4rem 2rem;
    margin: 5rem auto 25rem auto;
    max-width: 1200px;
}

.restoration-section {
    text-align: center;
    padding: 4rem 2rem;
    margin: 5rem auto 25rem auto;
    max-width: 1200px;
}

.retail-section {
    text-align: center;
    padding: 4rem 2rem;
    margin: 5rem auto 25rem auto;
    max-width: 1200px;
}



.card-link {
  text-decoration: none;           /* Removes underline */
  color: inherit;                  /* Keeps text color the same */
  display: block;                  /* Makes the link fill the card */
}




.card-section {
            width: 100%;
            max-width: 1200px;
            padding: 4rem 2rem;
            text-align: center;
            margin: 3rem 0 12rem 0;
        }

        .section-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: #ffffff;
            letter-spacing: 2px;
        }

        .section-subtitle {
            font-size: 1.1rem;
            color: #C6A983; /* Your site's gold/beige accent color */
            margin-bottom: 4rem;
            opacity: 0.9;
        }

        /* --- CARD GRID --- */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            perspective: 1000px; /* Essential for 3D effect */
        }

        /* --- CARD STYLES --- */
        .card {
            position: relative;
            height: 45rem;
            background: rgba(255, 255, 255, 0.03); /* Glass effect */
            border: 1px solid rgba(198, 169, 131, 0.2); /* Subtle gold border */
            border-radius: 16px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: all 0.1s ease; /* Fast transition for smooth tilt */
            /* cursor: pointer; */
            box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
            transform-style: preserve-3d;
        }

        /* The Image Area */
        .card-image-wrapper {
            height: 60%;
            width: 100%;
            overflow: hidden;
            position: relative;
        }

        .card-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        /* Overlay to darken image slightly */
        .card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent 0%, #050505 100%);
            z-index: 1;
        }

        /* The Content Area */
        .card-content {
            height: 40%;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            z-index: 2;
            transform: translateZ(20px); /* Lifts text off the card in 3D */
            background: linear-gradient(to top, rgba(5,5,5,1), rgba(5,5,5,0.8));
        }

        .card-title {
            font-size: 1.5rem;
            color: #ffffff;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
            position: relative;
        }

        .card-description {
            font-size: 1.5rem;
            color: #aaa;
            line-height: 1.5;
            margin-bottom: 1rem;
        }

        /* Button Style */
        .card-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            height: auto;
            /* overflow-x: hidden; */
            padding: .8rem 1.5rem;
            background: transparent;
            border: 1px solid #C6A983;
            color: #C6A983;
            font-family: inherit;
            font-weight: bold;
            cursor: none;
            transition: 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-radius: 4px;
        
            
        }

        /* --- HOVER EFFECTS --- */
        .card:hover {
            border-color: #C6A983; /* Brighter border on hover */
            box-shadow: 0 0 20px rgba(198, 169, 131, 0.3); /* Gold Glow */
            cursor: none;
        }

        .card:hover .card-image-wrapper img {
            transform: scale(1.1); /* Zoom image */
        }

        .card:hover .card-btn {
            background: #C6A983;
            color: #000;
            cursor: none;
        }

        /* --- SHINE EFFECT (Optional shimmer) --- */
        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(
                to right,
                transparent,
                rgba(255, 255, 255, 0.1),
                transparent
            );
            transform: skewX(-25deg);
            transition: 0.5s;
            pointer-events: none;
            z-index: 3;
        }

        .card:hover::before {
            left: 125%;
            transition: 0.7s;
        }

       







/* -------- Cards Section --------> */



/* .cards-container {
    
    display: flex;
    flex-direction: row;
    font-size: 2rem;
    justify-content: space-evenly;
    gap: 6em;
    
    margin: 4em 0 5em 0;
    text-align: center;
    

    
    
    
   
}


.card {
    
    border: .1em solid #1a1a2e;
    box-sizing: border-box;
    width: 21rem;
    height: 15rem;
    align-content: center;
    
    box-shadow: 1rem 2rem 3rem #333;
    background-color: yellowgreen;
    
    
    
}



.card:hover {
    transform: scale(1.1, 1.1);
    background-color: #221e16;
    border: .1em solid bisque;
}
.card p {
    color: white;
    font-size: 2.2rem;
}

.card p:hover {
    color: bisque;
} */


/* -------- Components Section --------> */

/* IDEA 2: The "Flux" (Liquid Fill) */



.main-btn {
    padding: 1rem 2.5rem;
    font-family: inherit;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    cursor: none;
    border: none;
    border: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}


.btn-flux {
    background: transparent;
    color: #c6a983;
    border: 1px solid #c6a983;
    overflow: hidden;
}

.btn-flux::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #c6a983;
    z-index: -1;
    transition: width 0.3s ease;
}


.btn-flux:hover {
    color: #000;
}

.btn-flux:hover::before {
    width: 100%;
}







/* button {
    
    color: white;
    background-color: #1a1a2e;
    padding: .3em;
    box-sizing: border-box;
    height: 1.8em;
    border-radius: .5em;
    width: 13em;
    border: .1em solid #b77e39;

    
    
}

.button:hover {
    transform: scale(1.2, 1.2);
    color: yellowgreen;
} */




.email-input {
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    color: #fff;
    font-family: inherit;
    width: 30rem;
    border-radius: 4px;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.email-input:focus {
    outline: none;
    border-color: #c6a983;
}



/* .email-box {
    
    margin-top: 2em;
    margin: 3rem 3rem;

} */




.portfolio {
    text-decoration: none;
    color: blue;
    margin-bottom: 2em;
}

.linked {
    text-decoration: none;
    color: blue;
    margin-top: 1em;
    margin-bottom: 1.5em
}


a {
    display: block;
    
    
}

/* a:hover {
    color: yellowgreen;
    transform: scale(1, 0.5);
} */

.ask {
    max-width: 50ch;
    text-align: center;
    padding: 0 2.3em;
    color: #aaa;
}

p {
    text-align: center;
}


/* -------- Systems Section--------> */

.home-restoration img {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    opacity: 85%;

    
}



.home-restoration p {
   position: relative;
    z-index: 2;
    top: -6em;

}

.services img {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    opacity: 85%;
}

.services p {
    position: relative;
    z-index: 2;
    top: -5em;
    
}

.learn-more img {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    opacity: 85%;
}

.learn-more p {
    position: relative;
    z-index: 2;
    top: -5em;
}

/* -------- FAQ Section--------> */


         .faq-card {
         text-decoration: none;
         color: inherit;
         display: block;
         /* cursor: pointer; */
        }

        .faq-section {
            width: 100%;
            max-width: 900px;
            margin: 5rem auto 10rem auto;
            padding: 0 2rem;
        }

        .faq-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .faq-title {
            font-size: 2.8rem;
            color: #fff;
            margin-bottom: 1rem;
        }

        .faq-subtitle {
            color: #e09200;
            font-size: 1.4rem;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .faq-item {
            margin-bottom: 1.5rem;
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid rgba(136, 153, 166, 0.1);
        }

        .faq-question {
            background-color: #111111;
            padding: 2.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .faq-question:hover {
            background-color: #1a1a1a;
        }

        .faq-question h4 {
            color: #8899a6;
            font-size: 1.6rem;
            font-weight: 600;
        }

        .faq-toggle {
            width: 20px;
            height: 20px;
            position: relative;
        }

        .faq-toggle::before,
        .faq-toggle::after {
            content: '';
            position: absolute;
            background-color: #e09200;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .faq-toggle::before {
            width: 2px;
            height: 100%;
            left: 50%;
            transform: translateX(-50%);
            opacity: 1;
        }

        .faq-toggle::after {
            width: 100%;
            height: 2px;
            top: 50%;
            transform: translateY(-50%);
        }

        .faq-item.active .faq-toggle::before {
            opacity: 0;
            transform: translateX(-50%) scaleY(0);
        }

        .faq-answer {
            background-color: #080808;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out, padding 0.4s ease;
            padding: 0 2.5rem;
        }

        .faq-item.active .faq-answer {
            max-height: 300px;
            padding: 2.5rem;
        }

        .faq-answer p {
            color: #aaa;
            text-align: left;
            font-size: 1.4rem;
            line-height: 1.6;
        }


/* -------- Footer Section--------> */
.footer-h3 {
    margin-top: 5rem;
    background: linear-gradient(
        to right,
        #8899a6,
        #e09200
       
        
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
}




/* -------- Media Queries--------> */

@media (max-width: 2000px) {
    /* .divider {
       
    } */

    .hero-h1 {
        font-size: 3rem;
    }

    .animated-text {
        font-size: 3rem;
}



}

@media (max-width: 900px) {
    /* .cards-container {
        gap: 1em;
    }

    #bcard {
        
    } */

  
}

@media (max-width: 835px) {

    h1 {
        font-size: 1.8rem;
    }

    .animated-text {
        font-size: 2.5rem;
    }

    /* .cards-container {
        flex-direction: column;
        gap: 3em;
    } */

    .maintxt {
        padding: 0 2em;
    }

    /* #bcard {
       position: static;
    } */

   .hero-grid {
        column-gap: 2rem;
   }
}



 /* --- RESPONSIVE --- */
        @media (max-width: 768px) {
            .section-title {
                font-size: 1.5rem;
            }
            .card {
                height: 45rem;
            }
        }

    .main-container {
        margin-top: 43rem;
    }



@media (max-width: 731px) {
    
    
    /* .bcard {
        width: 14rem;
        height: 14rem;
        } */

    .hero-h1 {
        font-size: 2rem;
    }

    h1 {
        font-size: 1.5rem;
    }
   
    span {
        font-size: 2.3rem;
    }

    .border-background {
        font-size: 1rem;
    }

    /* .divider {
        margin-top: 31rem;
    } */

    
}



 @media (max-width: 682px) {

    
    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        row-gap: 3.5rem;
        text-align: center;
        padding: 8rem 2rem 0 2rem;
    }

    .hero-h1 {
        text-align: center;
        width: 100%;
        padding: 0 1.5rem;
        font-size: 2.2rem;
    }

    .animated-text {
        text-align: center;
        width: 100%;
    }

    .clients-text {
        justify-content: center;
        font-size: 1.5rem;
    }

    .person {
        align-items: center;
        display: flex;
        flex-direction: column;
        grid-row: 4/5;
        width: 100%;
    }

    .main-container {
        margin-top: 35rem;
    }
   

    .divider {
        top: 88rem;
    }
    
    .main-container {
        margin-top: 40rem;
    }
     /* .person-bcard {
    top: 155px;     
  } */

 

  
/* 
    .person-bcard {
    right: 10%;
    margin: 0 auto;
    position: absolute;
    transform: translateX(-50%);
    top: 150px;
    width: min(550px, 80vw);

} */

/* .img {
  pointer-events: none;
  position: relative;
  transform: translateY(20px) scale(1.15);
  transform-origin: 50% bottom;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
} */




    /* .container {
        transform: scale(0.42);
        transform-origin: center top;
        margin: 4rem auto auto auto;
        left: 0;
        right: 0;
       
        width: 400px;
        height: 312px;
        transition: none;
    } */

 

   
   

    /* .container-inner {
  clip-path: path(
    "M 390,400 C 390,504.9341 304.9341,590 200,590 95.065898,590 10,504.9341 10,400 V 10 H 200 390 Z"
  );
  position: relative;
  transform-origin: 50%;
  top: -200px;
} */

 /* .container-inner {
  clip-path: url(#avatar-clip);
  -webkit-clip-path: url(#avatar-clip); 
 
} */

    
    

    .social-icons {
        grid-column: 1/2;
        grid-row: 5/6;
        margin-top: 3rem;
    }
}

@media (max-width: 630px) {
    .footer-h3 {
        font-size: 2rem;
    }

    .ask {
        font-size: 1.6rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        row-gap: 3.5rem;
        text-align: center;
        padding: 5rem 2rem 0 2rem;
    }

    .hero-h1 {
        text-align: center;
        width: 100%;
        padding: 0 1.5rem;
        font-size: 2.2rem;
    }

    .animated-text {
        text-align: center;
        width: 100%;
    }

    .clients-text {
        justify-content: center;
        font-size: 1.5rem;
    }

    .person {
        align-items: center;
        display: flex;
        flex-direction: column;
        grid-row: 4/5;
        width: 100%;
    }

    .divider {
        top: 65rem;
    }

    .main-container {
        margin-top: 26rem;
    }

    .h3 {
        margin-top: 7rem;
    }

     


   
    /* .person-bcard {
    right: auto;
    margin: 0 auto;
    position: absolute;
    transform: translateX(-50%);
    top: 220px;
    width: min(550px, 80vw);

} */

 .social-icons {
        grid-column: 1/2;
        grid-row: 5/6;
        margin-top: 3rem;
    }
}


@media (max-width: 626px) {
 .container {
    display: none;
 }


.social-icons {
    margin-bottom: 28rem;
}

div.main-container {
    margin-top: 25rem;

}
}


@media (max-width: 390px) {
 .container {
    display: none;
 }

 div.main-container {
    margin-top: 25rem;
 }

 .divider {
    top: 70rem;
 }


    /* Add small-screen overrides here if needed */

    /* .hero-grid {
        
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        row-gap: 4rem;
        text-align: center;
        padding: 0 2rem;
        
    } */

     .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        row-gap: 3.5rem;
        text-align: center;
        padding: 5rem 2rem 0 2rem;
    }

    .hero-h1 {
        text-align: center;
        width: 100%;
        padding: 0 1.5rem;
        font-size: 2.2rem;
    }

    .animated-text {
        text-align: center;
        width: 100%;
    }

    .clients-text {
        justify-content: center;
        font-size: 1.5rem;
    }

    
    .main-container {
        margin-top: 20rem;
    }

    

    







    


    /* Disable the pop effect on touch */
    

    /* .container-inner {
  clip-path: path(
    "M 390,400 C 390,504.9341 304.9341,590 200,590 95.065898,590 10,504.9341 10,400 V 10 H 200 390 Z"
  );
  position: relative;
  transform-origin: 50%;
  top: -200px;
} */

/* .container-inner {
  clip-path: url(#avatar-clip);
  -webkit-clip-path: url(#avatar-clip); 
 
} */

    
    /* .container-inner {
        top: -150px;
    } */

    .social-icons {
        grid-column: 1/2;
        grid-row: 5/6;
        margin-top: 3rem;
    }

   
    
   }