@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
}

:root {
    --bg-color: #090f16;
    --second-bg-color: #0d141c;
    --surface-color: #131a24;
    --surface-high: #18202b;
    --surface-variant: #1e2632;
    --text-color: #e0e5f1;
    --muted-color: #a6abb6;
    --main-color: #00d1ff;
    --main-color-soft: rgba(0, 209, 255, 0.16);
    --main-color-strong: rgba(0, 209, 255, 0.3);
    --border-color: rgba(112, 118, 128, 0.24);
    --border-strong: rgba(0, 209, 255, 0.22);
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.28);
    --shadow-glow: 0 0 32px rgba(0, 209, 255, 0.12);
    --radius-lg: 2.4rem;
    --radius-md: 1.6rem;
    --max-width: 1240px;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background:
        radial-gradient(circle at top left, rgba(0, 209, 255, 0.12), transparent 30%),
        radial-gradient(circle at top right, rgba(0, 209, 255, 0.08), transparent 22%),
        linear-gradient(180deg, #0a1119 0%, #090f16 45%, #071018 100%);
    color: var(--text-color);
    min-height: 100vh;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
    opacity: 0.35;
    z-index: -1;
}

section {
    min-height: 10vh;
    padding: 14rem 9% 8rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: rgba(9, 15, 22, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 209, 255, 0.08);
    box-shadow: 0 0 20px rgba(105, 218, 255, 0.05);
}
.header.sticky {
    border-bottom-color: rgba(0, 209, 255, 0.12);
}

.logo {
    font-size: 2.5rem;
    color: var(--main-color);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
    cursor: default;
    
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.4rem;
    padding: 0 2rem;
    border-radius: 1.2rem;
    background: var(--main-color);
    color: #00363d;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    box-shadow: 0 0 26px -8px rgba(0, 209, 255, 0.45);
    transition: .25s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px -6px rgba(0, 209, 255, 0.55);
}

.navbar a {
    font-size: 1.55rem;
    color: var(--muted-color);
    margin-left: 3.2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
    text-shadow: 0 0 16px rgba(0, 209, 255, 0.18);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

.home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7rem;
    position: relative;
}

.home-content {
    flex: 1 1 62rem;
    max-width: 72rem;
    position: relative;
    z-index: 1;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 1.8rem;
    color: var(--main-color);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.32rem;
}

.home-image img {
    width: min(32vw, 420px);
    animation: floatImage 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 32px 60px rgba(0, 0, 0, 0.4));
}

.home-image {
    flex: 0 0 auto;
}

.hero-image-shell {
    position: relative;
    border-radius: 3.2rem;
    padding: 2.4rem;
    background: linear-gradient(180deg, rgba(24, 32, 43, 0.68), rgba(13, 20, 28, 0.92));
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    inset: auto auto 18% 50%;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 209, 255, 0.28) 0%, rgba(0, 209, 255, 0) 68%);
    transform: translateX(-50%);
    filter: blur(14px);
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }50% {
        transform: translateY(-2.1rem);
    }100% {
        transform: translateY(0);
    }
    
}

.home-content h3 {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.home-content h3:nth-of-type(2){
    margin-bottom: 2rem;
}
span {
    color: var(--main-color);
}

.home-content h1 {
    font-size: clamp(5.2rem, 8vw, 8.6rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin-bottom: 1.4rem;
    font-family: 'Space Grotesk', sans-serif;
}

.home-content p {
    font-size: 1.75rem;
    max-width: 74rem;
    color: var(--muted-color);
    line-height: 1.8;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 3rem;
}

.metric-card {
    padding: 1.8rem 1.6rem;
    border-radius: 1.8rem;
    background: rgba(19, 26, 36, 0.72);
    border: 1px solid rgba(0, 209, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.metric-card strong {
    display: block;
    margin-bottom: .4rem;
    color: var(--text-color);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
}

.metric-card span {
    color: var(--muted-color);
    font-size: 1.35rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.6rem;
    height: 4.6rem;
    background: rgba(19, 26, 36, 0.72);
    border: .1rem solid var(--border-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin:  3rem 1.5rem 3rem 0;
    transition: .35s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.social-media a:hover {
    background: var(--main-color-soft);
    color: #eafcff;
    border-color: var(--border-strong);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.btn {
    display: inline-block;
    padding: 1.35rem 2.8rem;
    background: var(--main-color);
    border-radius: 1.4rem;
    box-shadow: 0 0 30px -5px rgba(0, 209, 255, 0.4);
    font-size: 1.55rem;
    color: #00363d;
    letter-spacing: .02rem;
    font-weight: 800;
    transition: .28s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 34px -6px rgba(0, 209, 255, 0.52);
}

.btn.btn-secondary {
    background: rgba(19, 26, 36, 0.82);
    color: var(--text-color);
    border: 1px solid rgba(0, 209, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.btn.btn-secondary:hover {
    border-color: rgba(0, 209, 255, 0.28);
    box-shadow: var(--shadow-glow);
}

.about {
    display: block;
    background : rgba(13, 20, 28, 0.72);
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.section-intro {
    max-width: 74rem;
    margin-bottom: 4.5rem;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 1.2rem;
    color: var(--main-color);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .28rem;
}

.about-shell,
.experience-content {
    width: min(100%, var(--max-width));
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.4rem;
}

.about-card {
    background: linear-gradient(180deg, rgba(24, 32, 43, 0.88), rgba(13, 20, 28, 0.92));
    border: 1px solid var(--border-color);
    border-radius: 3rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.about-card-primary {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-card-primary h3,
.about-card-interests h3 {
    font-size: 3.2rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.04em;
    margin-bottom: 1.4rem;
}

.about-card-copy p {
    font-size: 1.8rem;
    color: var(--muted-color);
    max-width: 70rem;
}

.about-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 3rem;
}

.about-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 1.6rem;
    background: rgba(9, 15, 22, 0.62);
    border: 1px solid rgba(0, 209, 255, 0.08);
    border-radius: 1.8rem;
}

.about-meta-item i {
    color: var(--main-color);
    font-size: 2.2rem;
}

.about-meta-item span {
    display: block;
    color: var(--muted-color);
    font-size: 1.2rem;
    letter-spacing: .08rem;
    text-transform: uppercase;
}

.about-meta-item strong {
    display: block;
    margin-top: .4rem;
    color: var(--text-color);
    font-size: 1.55rem;
    font-family: 'Space Grotesk', sans-serif;
}

.about-card-visual {
    padding: 2.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

.about-card-visual .about-img {
    border-radius: 2.4rem;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(0, 209, 255, 0.14), transparent 40%), rgba(9, 15, 22, 0.82);
    border: 1px solid rgba(0, 209, 255, 0.08);
}

.about img {
    width: 100%;
    max-width: 34rem;
    display: block;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.35));
}

.about-visual-caption {
    padding: 0 .6rem;
}

.about-visual-caption span {
    display: block;
    margin-bottom: .8rem;
    font-size: 2.2rem;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-color);
}

.about-visual-caption p {
    color: var(--muted-color);
    font-size: 1.55rem;
}

.about-card-interests {
    grid-column: 1 / -1;
    padding: 3rem;
}

.interest-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.4rem;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.6rem;
    border-radius: 1.8rem;
    background: rgba(9, 15, 22, 0.56);
    border: 1px solid rgba(0, 209, 255, 0.08);
}

.interest-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    background: rgba(0, 209, 255, 0.12);
    color: var(--main-color);
    font-size: 2rem;
}

.heading {
    text-align : center;
    font-size : 4.5rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.04em;
}

.section-intro .heading,
.experience-content h2,
.about .heading {
    text-align: left;
}

.services {
    background : transparent;
}

.services h2 {
    margin-bottom: 5rem;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box {
    flex: 1 1 30rem;
    background: linear-gradient(180deg, rgba(24, 32, 43, 0.84), rgba(19, 26, 36, 0.88));
    padding: 3rem 2.6rem 4rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: .1rem solid var(--border-color);
    transition: .35s ease;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.services-container .services-box:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.services-box i {
    font-size: 7rem;
    color: var(--main-color);
}

.services-box h3 {
    font-size: 2.6rem;
    font-family: 'Space Grotesk', sans-serif;
}

.services-box p {
    font-size: 1.55rem;
    margin: 1rem 0 3rem;
    color: var(--muted-color);
}



.portfolio {
    background: rgba(13, 20, 28, 0.72);
}

.portfolio h2{
    margin-bottom: 2rem;
}

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.portfolio-container .portfolio-box {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    min-height: 28rem;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
}

.portfolio-box img {
    width: 100%;
    transition: .4s ease;
    filter: saturate(0.88);
}

.portfolio-box:hover img {
    transform: scale(1.06);
    filter: saturate(1.05);
}

.portfolio-box .portfolio-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 16, 24, 0.18), rgba(9, 15, 22, 0.94));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 2.4rem;
    transform: translateY(100%);
    transition: .45s ease;
}

.portfolio-box:hover .portfolio-layer {
    transform: translateY(0%);
}
.portfolio-layer h4 {
    font-size: 3rem;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.05;
}

.portfolio-layer p {
    font-size: 1.6rem;
    margin: .8rem 0 1.6rem;
    color: var(--muted-color);
    max-width: 28rem;
}

.portfolio-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.2rem;
    margin-bottom: 1.4rem;
    border-radius: 999px;
    background: rgba(0, 209, 255, 0.16);
    border: 1px solid rgba(0, 209, 255, 0.24);
    color: var(--main-color);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .12rem;
    text-transform: uppercase;
}
.portfolio-layer .btn {
    min-width: 16rem;
    text-align: center;
    padding: 1.15rem 1.8rem;
    border-radius: 1.2rem;
}


.contact h2 {
    margin-bottom: 3rem;
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
    padding: 3.2rem;
    border-radius: 3rem;
    background: linear-gradient(180deg, rgba(24, 32, 43, 0.9), rgba(13, 20, 28, 0.92));
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .field-group {
    width: 49%;
}

.form-label {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: left;
    margin: .7rem 0 .4rem;
    color: var(--muted-color);
    font-family: 'Space Grotesk', sans-serif;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: rgba(9, 15, 22, 0.72);
    border-radius: 1.4rem;
    margin: .7rem 0;
    border: 1px solid rgba(112, 118, 128, 0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.contact form .input-box input:focus,
.contact form textarea:focus {
    border-color: var(--border-strong);
    box-shadow: 0 0 0 3px rgba(0, 209, 255, 0.14);
    background: rgba(13, 20, 28, 0.95);
}

.contact form .input-box input {
    width: 100%;
}

.contact form textarea {
    resize: none;
    
}

.contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: rgba(0, 16, 25, 0.9);
    border-top: 1px solid rgba(0, 209, 255, 0.08);
}

.footer-text p {
    font-size: 1.6rem;
    color: var(--muted-color);
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border-radius: 1rem;
    transition: .5s ease;
}

.footer-iconTop a:hover {
    box-shadow: 0 0 24px rgba(0, 209, 255, 0.32);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--second-bg-color);
}


.experience {
    display :block;
    position: relative;
}


.experience-content h2 {
    text-align : left;
    line-height :1.2;
    margin-bottom: 2rem;
}




/* ============================Breackpoint===================================== */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }
    section {
        padding: 11rem 3% 4rem;
    }
    .services {
        padding-bottom: 7rem;
    }
    .portfolio {
        padding-bottom: 7rem;
    }
    .contact {
        min-height: auto;
    }
    .footer {
        padding: 2rem 3%;
    }

}

@media (max-width: 768px) {
   #menu-icon {
    display: block;
   }

   .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 3%;
    background: rgba(9, 15, 22, 0.94);
    border-top: .1rem solid rgba(0, 209, 255, .1);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
    backdrop-filter: blur(16px);
    display: none;
   }

   .header-cta {
    display: none;
   }

   .navbar.active {
        display: block;
   }

   .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
   }

   .home {
    flex-direction: column;
    align-items: flex-start;
   }

   .hero-metrics {
    grid-template-columns: 1fr;
    width: 100%;
   }

   .home-content h3 {
    font-size: 2.6rem;
   }

   .home-content h1 {
    font-size: 5rem;
   }

   .home-image img {
    width: min(74vw, 420px);
    margin-top: 2rem;
   }

   .hero-image-shell {
    width: 100%;
    max-width: 44rem;
   }
   .about-grid {
    grid-template-columns: 1fr;
   }

   .about-card-interests {
    grid-column: auto;
   }

   .interest-list {
    grid-template-columns: 1fr 1fr;
   }

   .about-card-primary,
   .about-card-visual,
   .about-card-interests {
    padding: 2.4rem;
   }

   .about img {
    width: min(70vw, 34rem);
    margin-top: 1rem;
   }

   .services h2 {
    margin-bottom: 3rem;
   }

   .portfolio h2{
    margin-bottom: 3rem;
   }
   .portfolio-container {
    grid-template-columns: repeat(2, 1fr);
   }

   .portfolio-box .portfolio-layer {
    transform: translateY(0%);
    position: static;
    min-height: 20rem;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
   }

   .portfolio-layer p {
    max-width: none;
   }
}


@media (max-width: 617px) {
    .portfolio-container {
        grid-template-columns: 1fr;
    }

    .interest-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 450px) {
   html {
    font-size: 50%;
   }

   .contact form .field-group {
    width: 100%;
   }

   .cta-buttons {
    align-items: stretch;
   }

   .cta-buttons .btn {
    width: 100%;
    text-align: center;
   }
}

@media (max-width: 365px) {
    .home-image img {
        width: 90vw;
    }
    .about-image img {
        width: 90vw;
    }

    .footer {
        flex-direction: column-reverse;
    }

    .footer p {
        text-align: center;
        margin-top: 2rem;
    }
}

.background-container {
    position: relative;
    background-image: url("../images/background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .background-container:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background:
        linear-gradient(180deg, rgba(7, 16, 24, 0.78), rgba(7, 16, 24, 0.96)),
        radial-gradient(circle at 18% 18%, rgba(0, 209, 255, 0.18), transparent 24%);
}
  
  .content {
    color: #ffffff;
    padding: 20px;
  }





/* Adding the timeline CSS*/
.timeline{
    display: flex;
    align-items: center;
    color:#fff;
    width: 100%;
  }

  .timeline ul{
    list-style-type:none;
    border-left:2px solid rgba(0, 209, 255, 0.24);
    padding:10px 5px;
    width: 100%;
  }
  .timeline ul li{
    padding:24px 24px;
    position:relative;
    cursor:pointer;
    transition:.35s;
    border-radius: 20px;
    border: 1px solid transparent;
    background: rgba(19, 26, 36, 0.5);
  }
  .timeline ul li span{
    display:inline-block;
    background-color: rgba(0, 209, 255, 0.14);
    border: 1px solid rgba(0, 209, 255, 0.22);
    border-radius:999px;
    padding:12px;
    font-size:1.3rem;
    font-weight: 700;
    text-align:center;
    color: var(--text-color);
    letter-spacing: .08rem;
    text-transform: uppercase;
  }
  .timeline ul li .content h3{
    color:var(--main-color);
    font-size:2rem;
    padding-top:5px;
    font-family: 'Space Grotesk', sans-serif;
  }
  .timeline ul li .content p{
    padding:5px 0px 15px 0px;
    font-size:1.55rem;
    color: var(--muted-color);
  }
  .timeline ul li:before{
    position:absolute;
    content:'';
    width:10px;
    height:10px;
    background-color:var(--main-color);
    border-radius:50%;
    left:-11px;
    top:28px;
    transition:.5s;
    box-shadow: 0 0 0 6px rgba(0, 209, 255, 0.08);
  }
  .timeline ul li:hover{
    background-color: rgba(24, 32, 43, 0.82);
    border-color: rgba(0, 209, 255, 0.12);
    box-shadow: var(--shadow-soft);
  }
  .timeline ul li:hover:before{
    background-color: var(--main-color);
    box-shadow:0px 0px 18px 3px rgba(0, 209, 255, 0.28);
  }
  @media (max-width:300px){
    .timeline{
      width:100%;
      padding:30px 5px 30px 10px;
    }
    .timeline ul li .content h3{
      color:#FFBD59;
      font-size:15px;
    }
  
  } 

  /* Skill section css*/
  .skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 2rem;
}

.skills-container .skills-box {
    flex: 1 1 20rem;
    background: linear-gradient(180deg, rgba(24, 32, 43, 0.9), rgba(13, 20, 28, 0.88));
    padding: 2.2rem 1.8rem;
    border-radius: 2rem;
    text-align: left;
    border: .1rem solid var(--border-color);
    transition: .35s ease;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    min-height: 13.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.skills-container .skills-box:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.skills-box i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5.2rem;
    height: 5.2rem;
    font-size: 2.6rem;
    color: var(--main-color);
    background: rgba(0, 209, 255, 0.12);
    border: 1px solid rgba(0, 209, 255, 0.16);
    border-radius: 1.4rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.skills-box h3 {
    font-size: 1.7rem;
    line-height: 1.35;
    color: var(--text-color);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
    margin-top: 1.6rem;
}
.services-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.services-box{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2rem;
  border-radius: 1.2rem;
  min-height: 320px; /* ajusta este valor */
}

.services-box p{
  flex: 1; /* hace que el texto “llene” el espacio y alinee */
}

/* opcional: si tuvieras botones en el futuro */
.services-box .btn{
  margin-top: auto;
}
.form-alert{
    max-width: 900px;
    margin: 0 auto 16px auto;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
}

.form-alert.is-success{
    background: #eaf8ef;
    border: 1px solid #bfe7cd;
    color: #1d6b3a;
}

.form-alert.is-error{
    background: #fdecec;
    border: 1px solid #f3bcbc;
    color: #8a1f1f;
}
.toast{
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    width: min(360px, calc(100vw - 36px));
    border-radius: 14px;
    padding: 14px 14px 12px 14px;
    color: var(--text-color);
    background: rgba(13,20,28,0.88);
    border: 1px solid rgba(0, 209, 255, 0.12);
    box-shadow: 0 18px 38px rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);

    transform: translateY(12px);
    opacity: 0;
    animation: toast-in .25s ease-out forwards;
}

.toast-success{
    border-left: 6px solid #16a34a;
}

.toast-error{
    border-left: 6px solid #dc2626;
}

.toast-title{
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 4px;
}

.toast-message{
    font-weight: 600;
    font-size: 13px;
    line-height: 1.35;
    opacity: 0.9;
    color: var(--muted-color);
}

.toast-close{
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.55;
}
.toast-close:hover{ opacity: 1; }

@keyframes toast-in{
    to { opacity: 1; transform: translateY(0); }
}

.toast-out{
    animation: toast-out .2s ease-in forwards;
}
@keyframes toast-out{
    to { opacity: 0; transform: translateY(12px); }
}
.cta-buttons{
    display: flex;
    align-items: center;  /* <- Alinea verticalmente */
    gap: 14px;            /* <- Espacio entre botones */
    flex-wrap: wrap;
}

.kofi-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;         /* mismo alto del img */
}

.kofi-link img{
    display: block;       /* evita “desalineo” por baseline */
    height: 42px;
    width: auto;
    border: 0;
}
.portfolio-layer .btn{
    display: inline-block;
    margin-top: 12px;
    padding: 10px 14px;
    font-size: 14px;
}
