/* Animation */
@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fade-bottom {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-left {
  0% {
    transform: translateX(-30px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-right {
  0% {
    transform: translateX(30px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    transform: scale(1);
  }
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shine {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Header animation */
@keyframes fade-up {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

header .navbar.animate {
    animation: fade-up 0.5s ease-in;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

/* ToolTip */
.tooltip {
    line-height: 1.2rem;
    border-radius: 10px !important;
    font-family: var(--primary-font);
    font-weight: 500;
    padding: 8px 15px;
}
.tooltip-inner {
    line-height: 1.2rem;
    background-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
    padding: 8px 12px;
}
.tooltip .tooltip-arrow { 
    visibility: hidden !important;
}

/* hero */
#hero {
    padding: 8rem 0 6rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero .row {
    align-items: center;
}

/* Hero intro subtitle with line break */
#hero .intro {
    color: var(--text-secondary-color) !important;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: block;
    position: relative;
}

#hero .intro::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.75rem;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 1px;
}

/* Hero heading */
#hero h1 {
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
}

#hero h1.accent {
    color: var(--primary-color) !important;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

#hero p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-secondary-color) !important;
    max-width: 90%;
}

/* Hero image with cursor-follow tilt animation */
#hero .hero-image {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.2, 0.85, 0.4, 1);
    will-change: transform;
    transform: translateZ(0);
}

#hero .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(var(--primary-rgb), 0.25);
    transform: translateZ(0);
    transition: all 0.5s cubic-bezier(0.2, 0.85, 0.4, 1);
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(var(--secondary-rgb), 0.5);
    color: var(--text-color) !important;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white !important;
    transform: translateY(-5px);
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.social-icons a:hover::before {
    width: 100%;
    height: 100%;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    #hero {
        padding: 6rem 0 4rem;
        text-align: center;
    }
    
    #hero .intro::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero p {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
        max-width: 100%;
    }
    
    #hero .hero-image {
        margin-top: 3rem;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    #hero {
        padding: 5rem 0 3rem;
    }
    
    #hero .intro {
        font-size: 1rem;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero .hero-image {
        max-width: 100%;
    }
    
    .social-icons {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 2rem; /* Ensure visible on mobile */
        position: relative;
        z-index: 3;
    }
}

#hero .subtitle {
    font-size: clamp(16px, 5vw, 20px);
    opacity: 0.9;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

#hero .subtitle::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    animation: shine 3s infinite;
}

#hero h2 {
    font-size: clamp(40px, 8vw, 80px);
    color: var(--primary-color) !important;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0px 4px 8px rgba(var(--primary-rgb), 0.1);
}

#hero h3 {
    font-size: clamp(20px, 5vw, 30px);
    opacity: 0.9;
    color: var(--text-color) !important;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

#hero .image.animate img {
    animation: fade-right 1.2s ease-out, float 7s ease-in-out infinite;
}

#hero .image.animate img:hover {
    animation: none;
}

#hero a.btn.social-icon {
    color: var(--primary-color) !important;
    line-height: 0%;
    border-radius: 50%;
    margin-top: 50px;
    margin-right: 15px;
    padding: 0.9rem;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    background: transparent;
}

#hero a.btn.social-icon img {
    width: 1.1em;
}

#hero a.btn.social-icon:hover {
    background: var(--primary-color);
    color: var(--background-color) !important;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

#hero a.btn {
    margin-top: 50px;
    padding: 0.7rem 1.75rem;
    border: 1px solid var(--primary-color);
    color: var(--text-color) !important;
    border-radius: .75rem;
    transition: none;
}

#hero a.btn:focus {
    box-shadow: none;
}

#hero a.btn:hover {
    background-color: var(--secondary-color) !important;
    color: var(--text-color) !important;
    opacity: 0.9;
}

#hero a.btn.social-icon:hover {
    background-color: var(--background-color) !important;
    opacity: 0.7;
}

#hero .hero-content > a {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color) !important;
}

#hero .hero-content > a::after {
    content: "";
    display: block;
    width: 0px;
    height: 2px;
    bottom: 0.37em;
    background-color: var(--primary-color);
    transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
    opacity: 0.5;
}

#hero .hero-content > a:hover::after, #hero .hero-content > a:focus::after, #hero .hero-content > a:active::after {
    width: 100%;
}

/* about me */
#about h3 {
    color: var(--text-secondary-color) !important;
}

#about .image img {
    box-shadow: 0px 8px 56px rgba(15, 80, 100, 0.16);
    transition: box-shadow 0.3s;
    padding: 0;
    border: 0;
}

#about .image img:hover {
    box-shadow: 0 0 11px rgb(15 80 100 / 20%);
}

#about ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 200px));
    gap: 0px 10px;
    padding: 0px;
    margin: 20px 0px 0px;
    overflow: hidden;
    list-style: none;
}

#about ul li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 20px;
}

#about ul li::before {
    content: "▹";
    color: var(--primary-color);
    position: absolute;
    left: 0px;
}

#about .content {
    font-weight: 500;
    opacity: 0.9 !important;
    line-height: 1.7rem !important;
}

#about a {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color) !important;
}

#about a::after {
    content: "";
    display: block;
    width: 0px;
    height: 2px;
    bottom: 0.37em;
    background-color: var(--primary-color);
    transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
    opacity: 0.5;
}

#about a:hover::after, #about a:focus::after, #about a:active::after {
    width: 100%;
}

/* experience */

#experience h3 {
    color: var(--text-secondary-color) !important;
}

#experience * {
    background-color: transparent !important;
}

#experience .tab-pane > * {
    opacity: 0.9;
}

#experience .tab-pane small {
    opacity: 0.8;
}

#experience .tab-pane ul {
    padding-top: 1%;
    padding-bottom: 1%;
}

#experience .experience-container .tab-content > .tab-pane p {
    padding: 1% 0;
    margin: 0;
}

#experience .experience-container {
    background-color: var(--secondary-color) !important;
    border-radius: .75rem;
    box-shadow: 0px 8px 56px rgb(15 80 100 / 16%);
}

#experience .nav-item .nav-link {
    color: var(--text-color) !important;
    border-bottom: 2px solid transparent; 
    border-radius: 0%;
    transition: none;
    cursor: pointer;
}

#experience .nav-item .nav-link.active {
    color: var(--text-color) !important;
    border-bottom: 2px solid var(--primary-color); 
    opacity: 0.8;
}

#experience .nav-item .nav-link.active:hover { 
    transition: none !important;
}

#experience .nav-item .nav-link:hover {
    border-bottom: 2px solid var(--primary-color);
    opacity: 0.8;
}

#experience a {
    opacity: 0.9;
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color) !important;
}

#experience a::after {
    content: "";
    display: block;
    width: 0px;
    height: 2px;
    bottom: 0.37em;
    background-color: var(--primary-color);
    transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
    opacity: 0.5;
}

#experience a:hover::after, #experience a:focus::after, #experience a:active::after {
    width: 100%;
}

#experience .experience-container .tab-content .tab-pane ul {
    overflow: hidden;
    list-style: none;
    margin-bottom: 0;
}

#experience .experience-container .tab-content .tab-pane ul li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 20px;
}

#experience .experience-container .tab-content .tab-pane ul li::before {
    content: "▹";
    color: var(--primary-color);
    position: absolute;
    left: 0px;
}

#experience .experience-container .tab-content .tab-pane .featuredLink a::after {
    display: block;
    width: auto;
    height: auto;
    bottom: 0em;
    background-color: transparent;
    transition: none;
    opacity: 1;
}

#experience .experience-container .tab-content .tab-pane .featuredLink a.btn {
    border: 1px solid var(--primary-color);
    border-radius: .75rem;
    transition: none;
}

#experience .experience-container .tab-content .tab-pane .featuredLink a.btn:focus {
    box-shadow: none;
}

#experience .experience-container .tab-content .tab-pane .featuredLink a.btn:hover {
    color: var(--text-color) !important;
    opacity: 0.7;
}

/* Education */

#education .container > h3 {
    color: var(--text-secondary-color) !important;
}

#education .row .index {
    opacity: 0.8;
    padding: 13px 20px;
    line-height: 0%;
    border-radius: 50%;
    max-height: 50px;
    z-index: 2;
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
    font-weight: bold;
}

#education .card * {
    background-color: var(--secondary-color) !important;
}

#education .card {
    border-radius: 1.5rem;
    box-shadow: 0px 8px 56px rgb(15 80 100 / 16%);
    border: 2px solid var(--text-secondary-color) !important;
    transition: box-shadow .2s linear,opacity .2s linear;
    transition: transform 0.2s;
}

#education .card .card-body {
    border-radius: 1.5rem;
    padding: 2rem;
}

@media all and (max-width:768px) {
    #education .card .card-body {
        padding: 2rem 1rem;
    }
}

#education .card:hover {
    transition: 0.3s;
    box-shadow: 0 4px 11px rgb(15 80 100 / 16%);
    border: 2px solid var(--primary-color) !important;
}

#education .card .card-body .education-content a {
    color: var(--primary-color) !important;
    text-decoration: none;
    opacity: 0.9;
}

#education .card .card-body > a h6 {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color) !important;
}

#education .card .card-body > a h6::after {
    content: "";
    display: block;
    width: 0px;
    height: 2px;
    bottom: 0.37em;
    background-color: var(--primary-color);
    transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
    opacity: 0.5;
}

#education .card .card-body > a h6:hover::after, #education .card .card-body > a h6:focus::after, #education .card .card-body > a h6:active::after {
    width: 100%;
}

#education .card .card-body a.btn {
    opacity: 0.9;
    border: 1px solid var(--primary-color) !important;
    color: var(--text-color) !important;
    border-radius: .75rem;
    box-shadow: none;
    transition: none;
}

#education .card .card-body a.btn:hover {
    opacity: 0.8;
}

/* learning */

#learning .container > h3 {
    color: var(--text-secondary-color) !important;
}

#learning .row .index {
    opacity: 0.8;
    padding: 13px 20px;
    line-height: 0%;
    border-radius: 50%;
    max-height: 50px;
    z-index: 2;
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
    font-weight: bold;
}

#learning .card * {
    background-color: var(--secondary-color) !important;
}

#learning .card {
    border-radius: 1.5rem;
    box-shadow: 0px 8px 56px rgb(15 80 100 / 16%);
    border: 2px solid var(--text-secondary-color) !important;
    transition: box-shadow .2s linear,opacity .2s linear;
    transition: transform 0.2s;
}

#learning .card .card-body {
    border-radius: 1.5rem;
    padding: 2rem;
}

@media all and (max-width:768px) {
    #learning .card .card-body {
        padding: 2rem 1rem;
    }
}

#learning .card:hover {
    transition: 0.3s;
    box-shadow: 0 4px 11px rgb(15 80 100 / 16%);
    border: 2px solid var(--primary-color) !important;
}

#learning .card .card-body .learning-content a {
    color: var(--primary-color) !important;
    text-decoration: none;
    opacity: 0.9;
}

#learning .card .card-body > a h6 {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color) !important;
}

#learning .card .card-body > a h6::after {
    content: "";
    display: block;
    width: 0px;
    height: 2px;
    bottom: 0.37em;
    background-color: var(--primary-color);
    transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
    opacity: 0.5;
}

#learning .card .card-body > a h6:hover::after, #learning .card .card-body > a h6:focus::after, #learning .card .card-body > a h6:active::after {
    width: 100%;
}

#learning .card .card-body a.btn {
    opacity: 0.9;
    border: 1px solid var(--primary-color) !important;
    color: var(--text-color) !important;
    border-radius: .75rem;
    box-shadow: none;
    transition: none;
}

#learning .card .card-body a.btn:hover {
    opacity: 0.8;
}

/* achievements */

#achievements a {
    text-decoration: none;
}

#achievements h3 {
    color: var(--text-secondary-color) !important;
}

#achievements .card {
    cursor: context-menu;
    background-color: var(--secondary-color) !important;
    border-radius: 1rem;
    box-shadow: 0 0 36px rgba(0,0,0,0.1);
    /* transform: translate3d(0, 0, 0); */
    transition: box-shadow .2s linear,opacity .2s linear;
    border: 2px solid transparent;
}

#achievements a.card {
    cursor: alias;
}

#achievements .card h5 {
    color: var(--text-color) !important;
    opacity: 0.9;
}

#achievements .card:hover {
    border: 2px solid var(--text-color);
    transition: .3s;
}
#achievements .card:focus {
    border: 2px solid var(--text-color);
    transition: .3s;
}

#achievements .card-text {
    background-color: var(--secondary-color) !important;
    color: var(--text-secondary-color) !important;
}

#achievements img {
    border-radius: 0.7rem;
}

/* contact */

#contact h3 {
    color: var(--text-secondary-color) !important;
}

#contact .btn {
    transition: none;
    transition: opacity 0.3s;
    border-radius: .5rem !important;
    border-color: var(--primary-color) !important;
    background-color: var(--secondary-color) !important;
    color: var(--text-color) !important;
}

#contact .btn:hover {
    opacity: .7;
}

#contact .btn:focus {
    box-shadow: none !important;
}

#contact form .form-control {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-radius: .7rem;
    border: 1px solid var(--text-secondary-color);
    box-shadow: 0px 8px 56px rgb(15 80 100 / 5%);
}

#contact-form-status {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1;
    transform: translate3d(0, 0, 0);
}

#contact-form-status svg {
    height: 18px;
    width: 18px;
}

#contact-form-status button {
    border-radius: 50%;
    border: none;
    background-color: white;
    padding: 0.5rem;
    margin-left: 0.5rem;
    box-shadow: 0px 8px 56px rgb(15 80 100 / 5%);
    font-size: .6rem !important;
}

#contact-form-status .alert {
    border-radius: 0.5rem;
    box-shadow: 0px 8px 56px rgb(15 80 100 / 5%);
    padding: .5rem 1rem;
}

#try-again-button {
    display: none;
}

/* Responsive sections */
@media (max-width: 1366px) {
    .container {
        max-width: 90%;
    }
    
    #hero .image img {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    #hero {
        padding-top: 100px;
    }
    
    #hero .content,
    #hero .image {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    #hero .content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    #hero .image img {
        max-width: 80%;
        margin-top: 2rem;
    }
}

/* High resolution screens */
@media (min-width: 2400px) {
    body {
        font-size: 1.2rem;
    }
    
    .container {
        max-width: 1600px;
    }
    
    #hero h2 {
        font-size: 100px;
    }
    
    #hero h3 {
        font-size: 40px;
    }
    
    #hero p {
        font-size: 22px;
    }
    
    #hero .image img {
        max-width: 600px;
    }
}

/* Common section styling */
section {
    padding: 80px 0;
    position: relative;
}

section .section-title {
    margin-bottom: 3rem;
    position: relative;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
}

/* Cards and containers */
.card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.15);
}

.card .card-body {
    padding: 1.5rem;
}

.card .card-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.card .card-text {
    color: var(--text-secondary-color);
    line-height: 1.7;
}

.card .btn {
    margin-top: 1rem;
}

/* Button styles */
.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/* Images */
.img-fluid {
    border-radius: 15px;
    transition: all 0.4s ease;
}

/* Fixed responsive issues on different devices */
@media (max-width: 1366px) {
    section {
        padding: 60px 0;
    }
    
    .container {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
    
    section .section-title {
        margin-bottom: 2rem;
        font-size: 1.8rem;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card .card-body {
        padding: 1.2rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    section .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* High resolution screens */
@media (min-width: 2400px) {
    section {
        padding: 100px 0;
    }
    
    section .section-title {
        font-size: 3rem;
        margin-bottom: 4rem;
    }
    
    section .section-title::after {
        width: 120px;
        height: 6px;
        bottom: -15px;
    }
    
    .card .card-body {
        padding: 2rem;
    }
    
    .card .card-title {
        font-size: 1.8rem;
    }
    
    .card .card-text {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 1.2rem;
    }
}

.hero .hero-img {
    position: relative;
    transition: transform 0.4s ease, opacity 0.3s ease;
    z-index: 1;
}

.hero .hero-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--primary-rgb), 0.1);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 24px;
}

.hero .hero-img:hover {
    transform: translateY(-5px) scale(1.01);
}

.hero .hero-img:hover::before {
    opacity: 1;
}

.hero .hero-img img {
    border-radius: 24px;
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gallery section animations */
.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
    margin-bottom: 30px;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.2, 0.85, 0.4, 1);
}

.gallery-item.show {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: all 0.5s cubic-bezier(0.2, 0.85, 0.4, 1);
    transform: scale(1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.2, 0.85, 0.4, 1);
}

.gallery-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

