:root {
    --font-size: 14px;
    --background: #ffffff;
    --foreground: oklch(0.145 0 0);
    --card: #ffffff;
    --card-foreground: oklch(0.145 0 0);
    --popover: oklch(1 0 0);
    --popover-foreground: oklch(0.145 0 0);
    --primary: #030213;
    --primary-foreground: oklch(1 0 0);
    --secondary: oklch(0.95 0.0058 264.53);
    --secondary-foreground: #030213;
    --muted: #ececf0;
    --muted-foreground: #717182;
    --accent: #e9ebef;
    --accent-foreground: #030213;
    --destructive: #d4183d;
    --destructive-foreground: #ffffff;
    --border: rgba(0, 0, 0, 0.1);
    --input: transparent;
    --input-background: #f3f3f5;
    --switch-background: #cbced4;
    --font-weight-medium: 500;
    --font-weight-normal: 400;
    --ring: oklch(0.708 0 0);
    --radius: 0.625rem;
}

.dark {
    --background: oklch(0.145 0 0);
    --foreground: oklch(0.985 0 0);
    --card: oklch(0.145 0 0);
    --card-foreground: oklch(0.985 0 0);
    --popover: oklch(0.145 0 0);
    --popover-foreground: oklch(0.985 0 0);
    --primary: oklch(0.985 0 0);
    --primary-foreground: oklch(0.205 0 0);
    --secondary: oklch(0.269 0 0);
    --secondary-foreground: oklch(0.985 0 0);
    --muted: oklch(0.269 0 0);
    --muted-foreground: oklch(0.708 0 0);
    --accent: oklch(0.269 0 0);
    --accent-foreground: oklch(0.985 0 0);
    --destructive: oklch(0.396 0.141 25.723);
    --destructive-foreground: oklch(0.637 0.237 25.331);
    --border: oklch(0.269 0 0);
    --input: oklch(0.269 0 0);
    --ring: oklch(0.439 0 0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: capitalize;
    transition: all .2s linear;
}

a {
    text-decoration: none;
    color: #f9fafb;
}

body {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #f9fafb;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    height: 72px;
    position: fixed;
    display: inline;
    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: 3px solid #173049;
    backdrop-filter: blur(16px);
}

.logo-text {
    color: #f9fafb;
    font-size: 22px;
    font-weight: bold;
}

nav {
    display: inline;
    float: right;

}

ul {
    display: inline;
}

li {
    display: inline;
}

header nav ul li a {
    margin-right: 10px;
    margin-left: 10px;
    font-size: 13px;
    color: #c3cedb;
    padding: 26px 0;
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: 2px solid transparent
}
nav ul li a.active,
header nav ul li a:hover {
    color: #fff;
    border-color: #1da1ff;
}

.menu {
    display: none;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 26px
}

@media(max-width: 900px) {
    header {
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 0px;

    }

    header.expand {
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 0px;
        height: 472px;
    }

    .logo-text {
        margin-left: 50px;
    }

    .menu {
        display: block;
        margin-right: 50px;
        float: right;
    }

    nav {
        display: none;
    }

    nav.open {
        width: 100%;
        height: 400px;
        display: block;
        float: none;
        align-items: center;
        text-align: center;
        position: absolute;
        top: 72px;
        padding: 20px 4%;
        border-top: 3px solid #173049;

    }

    ul {
        display: block;
    }

    li {
        display: block;
        line-height: 50px;
    }

    header nav ul li a {
        padding: 15px 0;
    }
}

main {
    width: 100%;
    padding-top: 72px;
    padding-left: 100px;
    padding-right: 100px;
}

.home {
    padding-top: 150px;
    padding-left: 50px;
    padding-right: 50px;
    display: flex;
    justify-content: space-between;
    height: 88vh;
}

@keyframes float {
    from {
        transform: translateX(-80%);
    }

    to {
        transform: translateX(0px);
    }
}

.hero-text {
    max-width: 600px;
    animation-name: float;
    animation-duration: 1s;
}

.hero-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #94a3b8;
}

.hero-text h1 {
    font-size: 50px;
    font-weight: bold;
    background: linear-gradient(90deg, #ff6a00, #ee0979);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.hero-text h2 {
    font-size: 28px;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #64748b;
    color: #f1f5f9;
}

.btn-secondary:hover {
    background: #334155;
    transform: scale(1.05);
}

.hero-image {
    max-width: 350px;
}

.hero-image img {
    width: 100%;
    border-radius: 50%;
    border: 5px solid transparent;
    margin: 0px;
}

@media(max-width: 1000px) {
    main {
        padding-left: 80px;
        padding-right: 80px;
    }

    .home {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-text {
        max-width: 400px;
    }

    .btn-secondary {
        background: transparent;
        border: 1px solid #64748b;
        color: #f1f5f9;
    }
}

@media(max-width: 850px) {
    main {
        padding-left: 50px;
        padding-right: 50px;
    }

    .hero-text {
        max-width: 350px;
    }

    .hero-image {
        max-width: 300px;
    }

    .hero-text h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .hero-text h1 {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .hero-text h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .hero-text p {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .buttons {
        display: flex;
        gap: 15px;
        margin-bottom: 30px;
    }

    .btn {
        padding: 8px 20px;
        border-radius: 30px;
        font-weight: bold;
        cursor: pointer;
        border: none;
        transition: all 0.3s ease;
    }

    .btn-secondary {
        background: transparent;
        border: 1px solid #64748b;
        color: #f1f5f9;
    }
}

@media(max-width: 750px) {
    main {
        padding-right: 20px;
        padding-left: 20px;
    }

    .logo-text {
        margin-left: 30px;
    }
}

@media(max-width: 620px) {
    .hero-image {
        display: none;
    }

    .hero-text {
        max-width: 600px;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 45px;
    }
}

@media(max-width: 430px) {
    .home {
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 70px;
    }
}

@media(max-width: 315px) {
    .btn {
        margin-left: auto;
        margin-right: auto;
        font-size: 10px;
        margin-bottom: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .buttons {
        display: block;
        text-align: center;
    }

    .menu {
        margin-right: 20px;
    }

    .logo-text {
        margin-left: 20px;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

.section-header p {
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.header-span{
    color: #60a5fa;
}


.about {
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-content {
    display: flex;
    justify-content: space-between;
}

.about-grid {
    width: 50%;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-right: 20px;
    align-items: start;
    margin-right: 30px;
}

@media(max-width: 920px) {
    .about-content {
        display: block;
    }

    .about-grid {
        width: 100%;
        margin-bottom: 20px;
        padding-right: 0px;
    }

    .stat-card {
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}


.about-story h3 {
    margin-bottom: 1rem;
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--muted-foreground);
}

.stats-grid {
    display: flex;
    justify-content: space-between;
}

.grid-1 {
    width: 50%;
    margin: 5px;
}

.grid-2 {
    width: 50%;
    margin: 5px;
}

@media(max-width: 430px) {
    .stats-grid {
        display: block;
    }

    .grid-1 {
        width: 100%;
        margin: 0px;
    }

    .grid-2 {
        width: 100%;
        margin: 0px;
    }
}

.stat-card {
    background-color: black;
    border: 2px solid #2868db;
    border-radius: 13px;
    box-shadow: 0 16px 36px #0002;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.2s;
    transition-property: transform;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-icon {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.5rem;
    color: #f9fafb;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    
}

.skills-section {
    padding: 5rem 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .skills-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.skill-card {
    background-color: black;
    border: 2px solid #2868db;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px 0 color-mix(in srgb, black 10%, transparent);
    height: 100%;
}

.skill-card h3 {
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 1rem;
}

.skills-list {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-header span:first-child {
    font-size: 0.875rem;
}

.skill-header span:last-child {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background-color: var(--muted);
    border-radius: var(--radius);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #2868db;
    transition: width 0.3s ease;
}

.tools-section {
    text-align: center;
}

.tools-section h3 {
    margin-bottom: 1.5rem;
}

.tools-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 64rem;
    margin: 0 auto;
}

.tool-tag {
    background: transparent;
    border: 1px solid var(--border);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.experience-section {
    padding: 5rem 0;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .experience-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.column-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.section-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.75rem;
}

.experience-timeline,
.education-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-item,
.education-item {
    background-color: black;
    border: 2px solid #2868db;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 color-mix(in srgb, black 10%, transparent);
}

.experience-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .experience-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.experience-date,
.education-date {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.date-icon,
.location-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
}

.company-info {
    display: flex;
    align-items: center;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.job-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.achievements h5 {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.achievements ul,
.education-achievements {
    list-style: none;
    padding: 0;
}

.achievements li,
.education-achievements li {
    display: flex;
    align-items: flex-start;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.achievements li::before,
.education-achievements li::before {
    content: "•";
    color: var(--primary);
    margin-right: 0.5rem;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.exp-tag {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
}

.education-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

@media(max-width: 430px){
    .education-details{
        display: block;
    }
}


.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Contact Form */
.contact-form-card {
    background-color: black;
    border: 2px solid #2868db;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px 0 color-mix(in srgb, black 10%, transparent);
}

.form-header {
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 1.5rem;
}

.form-header h3 {
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--muted-foreground);
}

.contact-form {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.form-group input,
.form-group textarea {
    padding: 0.5rem 0.75rem;
    border: 2px solid #2868db;
    border-radius: var(--radius);
    background-color: var(--input-background);
    color: var(--foreground);
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2868db;
}

.form-group textarea {
    min-height: 8rem;
    resize: vertical;
}


.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card,
.social-card,
.cta-card {
    background-color: black;
    border: 2px solid #2868db;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px 0 color-mix(in srgb, black 10%, transparent);
}

.contact-info-header,
.social-header,
.cta-header {
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 1.5rem;
}

.contact-info-header h3,
.social-header h3,
.cta-header h3 {
    margin-bottom: 0.5rem;
}

.contact-info-header p,
.social-header p {
    color: var(--muted-foreground);
}

.contact-methods {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    
}

.contact-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.contact-method a {
    text-decoration: none;
    transition: color 0.2s;
}

.contact-method a:hover {
    color: #2868db;
}

.social-buttons {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-btn-outline {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: transparent;
    text-decoration: none;
    transition: all 0.2s;
}

.social-btn-outline:hover {
    background-color: oklch(0.269 0 0);
}

.cta-card {
    padding: 1.5rem;
}

.cta-card p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}


.footer {
  background-color: black;
  border-top: 1px solid var(--border);
}

.footer .container {
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .footer .container {
    padding: 0 6rem;
  }
}

@media (max-width: 1024px) {
  .footer .container {
    padding: 0 3rem;
  }
}


.footer-content {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand h3 {
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--muted-foreground);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  background: none;
  border: none;
  color: var(--muted-foreground);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #2868db;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

.footer-contact-info a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-info a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
    gap: 0;
  }
}

.footer-love {
  display: flex;
  align-items: center;
}

.heart {
  color: #ef4444;
  margin: 0 0.25rem;
}

@media(max-width: 430px){
    .home{
       padding-top: 150px;
    }
}

@media(max-width: 420px){
    .contact-form-card{
        max-width: 320px;
        width: 100%;
    }
    .contact-info-card{
        max-width: 320px;
        width: 100%;
    }
}

@media(max-width: 400px){
    .footer .container{
        padding-right: 0px;
    }
}

@media(max-width: 356px){
    .footer .container{
        padding-left: 20px;
    }
}

@media(max-width: 410px){
        .hero-text h1{
            font-size: 40px;
        }
}

@media(max-width: 365px){
        .hero-text h1{
            font-size: 35px;
        }

        .btn-secondary,
        .btn-primary{
            font-size: 12px;
            padding: 5px 15px;
        }
}

@media(max-width: 330px){
        .hero-text h1{
            font-size: 32px;
        }
}


html {
    scroll-behavior: smooth;
}


body {
    overflow-x: hidden;
}


.header {
    z-index: 1000;
    animation: headerDrop 0.8s ease forwards;
}

@keyframes headerDrop {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-text {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.logo-text:hover {
    transform: translateY(-2px) scale(1.03);
    color: #60a5fa;
}


.hero-text {
    animation: heroTextIn 1s cubic-bezier(.17,.67,.38,1.2) forwards;
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image {
    animation: heroImageIn 1.2s cubic-bezier(.17,.67,.38,1.2) forwards;
}

@keyframes heroImageIn {
    from {
        opacity: 0;
        transform: translateX(80px) scale(.8);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}


.hero-image img {
    animation: profileFloat 4s ease-in-out infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(37, 99, 235, 0.55);
}

@keyframes profileFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


.hero-text h3 {
    animation: fadeUp .8s ease .15s both;
}

.hero-text h1 {
    animation: fadeUp .8s ease .3s both;
}

.hero-text h2 {
    animation: fadeUp .8s ease .45s both;
}

.hero-text p {
    animation: fadeUp .8s ease .6s both;
}

.buttons {
    animation: fadeUp .8s ease .75s both;
}

.social {
    animation: fadeUp .8s ease .9s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/

.btn {
    position: relative;
    overflow: hidden;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.25),
        transparent
    );
    transform: skewX(-20deg);
    transition: left .6s ease;
}

.btn:hover::before {
    left: 130%;
}

.btn:hover {
    transform: translateY(-4px) scale(1.03);
}


.social a i {
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.social a:hover i {
    transform: translateY(-6px) rotate(8deg) scale(1.15);
    box-shadow: 0 8px 20px rgba(0,0,0,.4);
}


.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.17,.67,.38,1.1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}


.section-header h2 {
    transition: transform .4s ease;
}

.section-header:hover h2 {
    transform: translateY(-4px);
}

.header-span {
    transition: color .3s ease;
}


.stat-card {
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 18px 40px rgba(37,99,235,.25);
    border-color: #60a5fa;
}

.stat-icon {
    transition: transform .4s ease;
}

.stat-card:hover .stat-icon {
    transform: rotateY(180deg) scale(1.15);
}

.skill-card {
    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: #60a5fa;
    box-shadow: 0 20px 45px rgba(37,99,235,.2);
}

.progress-fill {
    width: 0 !important;
    transition: width 1.5s cubic-bezier(.22,1,.36,1);
}

.progress-fill.animate {
    width: var(--progress-width) !important;
}


.tool-tag {
    transition:
        transform .3s ease,
        background-color .3s ease,
        border-color .3s ease;
}

.tool-tag:hover {
    transform: translateY(-5px);
    background-color: #2868db;
    border-color: #2868db;
}


.experience-item,
.education-item {
    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;
}

.experience-item:hover,
.education-item:hover {
    transform: translateY(-8px);
    border-color: #60a5fa;
    box-shadow: 0 18px 40px rgba(37,99,235,.18);
}

.contact-form-card,
.contact-info-card,
.social-card,
.cta-card {
    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;
}

.contact-form-card:hover,
.contact-info-card:hover,
.social-card:hover,
.cta-card:hover {
    transform: translateY(-7px);
    border-color: #60a5fa;
    box-shadow: 0 18px 40px rgba(37,99,235,.18);
}


.form-group input,
.form-group textarea {
    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        transform .3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(40,104,219,.2);
}


.social-btn-outline {
    transition:
        transform .3s ease,
        background-color .3s ease,
        border-color .3s ease;
}

.social-btn-outline:hover {
    transform: translateY(-6px) rotate(5deg) scale(1.1);
    border-color: #2868db;
}

.contact-method {
    transition: transform .3s ease;
}

.contact-method:hover {
    transform: translateX(8px);
}

.contact-icon {
    transition: transform .3s ease;
}

.contact-method:hover .contact-icon {
    transform: scale(1.2);
}

.footer-brand,
.footer-links,
.footer-contact {
    transition: transform .3s ease;
}

.footer-brand:hover,
.footer-links:hover,
.footer-contact:hover {
    transform: translateY(-4px);
}

.footer-social .social-btn {
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.footer-social .social-btn:hover {
    transform: translateY(-5px) rotate(6deg);
    box-shadow: 0 8px 20px rgba(37,99,235,.25);
}



.heart {
    display: inline-block;
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }
}



.menu {
    transition:
        transform .3s ease,
        color .3s ease;
}

.menu:hover {
    transform: rotate(90deg);
    color: #60a5fa;
}

nav.open {
    animation: menuOpen .4s ease forwards;
}

@keyframes menuOpen {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}