:root {
    --bg-color: #ffffff;
    --text-color: #2a2a2a;
    --nav-bg: rgba(255, 255, 255, 0.95);
}


body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-section {
    width: 55%;
    position: relative;
    z-index: 1;
}
.image-section {
    width: 40%;
    position: relative;
     filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.7));
}
body.dark-mode .nav-link {
    color: #fff;
}

body.dark-mode .profile-container::after {
    box-shadow: 0 0 0 4px rgba(0,0,0,0.5);
}

body.dark-mode .cta-btn {
    background: #333;
    color: #fff;
}
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 70px; /* Înălțime fixă pentru header */
    box-sizing: border-box;
    background: transparent;
    transition: all 0.3s ease;

}
.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.95) ;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Stiluri scroll dark mode */
body.dark-mode .main-nav.scrolled {
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.nav-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem; 
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
    margin-right: auto;
}

.logo {
    height: 40px;
    margin-right: 1rem;
    transition: filter 0.3s;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2a2a2a;
    font-weight: 700;
}



.link-text {
    position: relative;
    color: #2a2a2a;
    font-weight: 500;
    transition: color 0.3s;
    z-index: 1;
}
@media (max-width: 768px) {
    .mobile-lang-switcher {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin: 2rem 0;
        width: 100%;
        flex-direction: column;
        padding: 0 1rem;
    }
.lang-group-top,
.lang-group-bottom {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.lang-group-top {
    margin-bottom: 0.5rem;
}



@media (max-width: 480px) {
    .lang-group-bottom .lang-btn {
        flex: 0 1 calc(50% - 0.8rem); 
    }
}


.lang-group-top {
    justify-content: center;
}

.lang-group-bottom {
    justify-content: center;
}
    .lang-btn {
        background: none;
        border: 2px solid var(--text-color);
        color: var(--text-color);
        padding: 0.8rem 1.5rem;
        border-radius: 25px;
        transition: all 0.3s ease;
        cursor: pointer;
        flex: 0 1 calc(33% - 1rem); /* 3 butoane pe rând */
    max-width: 100px;
    font-size: 0.9rem;
    }

    .lang-btn:hover {
        background: var(--text-color);
        color: var(--bg-color);
    }


    .nav-right .language-switcher {
        display: none;
    }
}

/* Dark mode adjustments */
body.dark-mode .lang-btn {
    border-color: #ffffff;
    color: #ffffff;
}

body.dark-mode .lang-btn:hover {
    background: #ffffff;
    color: #2a2a2a;
}


/* Animății hover */
.nav-link:hover .link-underline {
    left: 0;
}

.nav-item:hover .link-text {
    color: #ff4d4d;
}

.logo-container:hover {
    transform: translateY(-2px);
}

.logo-container:hover .logo {
    filter: drop-shadow(0 0 5px rgba(42, 42, 42, 0.3));
}
@media (min-width: 769px) {
    .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1rem 2rem;
    }
    
    .logo {
        margin-right: 3rem; /* Spațiu suplimentar după logo */
    }
    

}

/* Ajustări pentru ecrane mari */
@media (min-width: 1440px) {
    
    
    .logo {
        margin-right: 4rem;
    }
}
/* Hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    background: transparent;
    border: none;
    z-index: 1001;
}
.desktop-menu {
    margin-left: 5rem; /* Spațiu între logo și meniu */
    gap: 3rem; /* Spațiu între butoane */
}

.hamburger .line {
    background: #2a2a2a;
    margin: 5px 0;
    width: 25px;
    height: 3px;
    transition: all 0.3s ease;
}
.hamburger.active .line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}


@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    
    
    .nav-item.active {
        right: 0;
    }
    
    .nav-link {
        text-align: center;

        font-size: 1.2rem;
        position: relative;
    padding: 1.5rem;
    margin: 0.5rem 1rem;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .hamburger.active .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    .hero-content {
        padding: 0 1rem;
    }
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333;
}

.logo-img {
    height: 40px;
}

/* Meniu Desktop */
.desktop-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-item {
    text-decoration: none;
    color: #333;
    position: relative;
    padding: 0.5rem 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #333;
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

/* Meniu Mobile */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: right 0.3s ease-in-out;
    z-index: 999;
    top: 70px; /* Așezăm sub header */
    height: calc(100vh - 70px);
}
@media (max-width: 768px) {
    .hero-content {
        padding-top: 30px; /* Spațiu suplimentar */
    }
    
    .animated-title {
        margin-top: 1rem; /* Ajustare titlu */
    }
    
    /* Asigurăm că header-ul are înălțime fixă */
    .main-nav {
        height: 70px;
    }
}
.mobile-menu.active {
    right: 0;
}

.mobile-nav-item {
    text-decoration: none;
    color: #333;
    padding: 1.5rem;
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    transition: background 0.3s ease;
}

.mobile-nav-item:hover {
    background: #f8f8f8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle.active .hamburger-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .hamburger-bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}
.cta-buttons {
    position: relative;
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cta-btn {
    position: relative;
    display: inline-flex;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(30px);
    opacity: 0;
    animation: btnEntrance 1s ease forwards;
    animation-delay: 1.2s;
    filter: drop-shadow(0 0 0 transparent);
    transition: filter 0.3s;
}

.cta-btn.explore-btn {
    background: #2a2a2a;
    color: white;
}

.cta-btn.contact-btn {
    background: white;
    color: #2a2a2a;
    border: 2px solid #2a2a2a;
}

.btn-text {
    position: relative;
    z-index: 2;
    transition: color 0.3s;
}

.hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, 
        transparent, 
        rgba(255,255,255,0.25), 
        transparent);
    transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
/* Animaje hover */
.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    filter: drop-shadow(0 0 8px rgba(42,42,42,0.2));
}
.cta-btn.contact-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50px;
    background: linear-gradient(45deg, 
        #2a2a2a, 
        transparent, 
        #2a2a2a);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-btn.contact-btn:hover::before {
    opacity: 1;
}
.cta-btn:hover .hover-effect {
    left: 100%;
}

.cta-btn.explore-btn:hover {
    background: #3a3a3a;
    box-shadow: 0 10px 20px rgba(42,42,42,0.3);
}

.cta-btn.contact-btn:hover {
    box-shadow: 0 10px 20px rgba(42,42,42,0.15);
}

/* Animatie activare */
.cta-btn:active {
    transform: translateY(0);
    transition: transform 0.1s;
}

/* Animatie intrare */
@keyframes btnEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecte speciale */
.cta-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s;
}

.cta-btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-btn:hover {
        transform: none;
        box-shadow: none;
    }
}

.logo {
    height: 50px;
    margin-right: 2rem;
}
.dark-logo {
    display: none;
    opacity: 0;
}

.light-logo {
    display: block;
    opacity: 1;
}

body.dark-mode .dark-logo {
    display: block;
    opacity: 1;
}

body.dark-mode .light-logo {
    display: none;
    opacity: 0;
}
/* Hero Section */
.hero {
    height: 102vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 22px; 
    min-height: calc(100vh - 70px); 
}

.profile-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    cursor: pointer;
    overflow: visible;

}
.profile-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.95);
    pointer-events: none;
    z-index: 2;
}
.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transform-origin: center bottom;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1;
    opacity: 0;
    top: 0;
    left: 0;
}
.profile-img.active {
    opacity: 1;
}
.profile-container:hover .profile-img {
    transform: scale(1.15) translateY(-8%);
}
.profile-container::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse at center, 
        rgba(0,0,0,0.15) 0%, 
        rgba(0,0,0,0) 70%);
    transform: translateX(-50%);
    z-index: 3;
    filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-container:hover::before {
    opacity: 1;
}
.light-theme-img {
    opacity: 1;
}

.dark-theme-img {
    opacity: 0;
}

body.dark-mode .light-theme-img {
    opacity: 1;

}

body.dark-mode .dark-theme-img {
    opacity: 1;


}

/* Fundal profil în dark mode */
body.dark-mode .profile-container::after {
    box-shadow: 0 0 0 4px rgba(255,255,255,0.1);
}

/* Meniu mobil dark mode */
body.dark-mode .mobile-menu {
    background: rgba(30, 30, 30, 0.98);
    border: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .mobile-nav-item {
    color: #ffffff;
}

body.dark-mode .mobile-nav-item:hover {
    background: rgba(255,255,255,0.05);
}

body.dark-mode .hamburger .line {
    background: #ffffff;
}
body.dark-mode .profile-container {
    background: #2a2a2a;
}
/* Tranziții suplimentare */
.profile-container,
.mobile-menu,
.mobile-nav-item {
    transition: all 0.3s ease;
}
/* Animations */
@keyframes slideIn {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animated-title {
    animation: slideIn 1s ease-out;
}
.about-container {
    padding-top: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2a2a2a;
    margin-bottom: 1rem;
}

/* Pasiuni */
.passions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.passion-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translate3d(0, 0, 0);
    will-change: transform;
    position: relative;
    z-index: 1;
}

.passion-card:hover {
    transform: translateY(-10px);
    transform: translate3d(0, -10px, 0) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    z-index: 2;
}
@keyframes cardFloat {
    0% {
        opacity: 0;
        transform: translate3d(0, 30px, 0) rotate(-2deg);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(0);
    }
}
.passion-card {
    perspective: 1000px;
}

.passion-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.passion-card:hover .passion-card-inner {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}

.passion-card::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 5%;
    width: 90%;
    height: 30px;
    background: rgba(0,0,0,0.1);
    filter: blur(15px);
    transition: all 0.3s;
}
.passion-card:hover::after {
    opacity: 0;
    transform: translateY(10px);
}
.card-icon {
    font-size: 2.5rem;
    color: #ff4d4d;
    margin-bottom: 1rem;
}
.animate-section, .animate-card, .gallery-item {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translate3d(0,0,0);
}
/* Galerie Erasmus */
.gallery-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    transition: bottom 0.3s ease;
}

.gallery-item:hover .overlay {
    bottom: 0;
}

/* Sectiune proiecte */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.download-btn {
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, #2a2a2a, #4a4a4a);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(42,42,42,0.3);
}

/* Animations */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-up {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animate-fade-in { animation: fade-in 1s ease; }
.animate-slide-up { animation: slide-up 1s ease; }
.animate-pop { animation: pop-in 0.5s ease; }

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
    }
}

@keyframes sectionEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardFloat {
    0% {
        transform: translateY(30px) rotate(-2deg);
    }
    100% {
        transform: translateY(0) rotate(0);
    }
}

.animate-section {
    opacity: 0;
    animation: sectionEntrance 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.animate-card {
    opacity: 1;
    transform: translateY(30px);
    animation: cardFloat 0.8s ease-out forwards;
}


/* Animatie specială pentru galerie */
.gallery-item {
    opacity: 0;
    transform: scale(0.8);
    animation: galleryPop 0.6s ease-out forwards;
}

@keyframes galleryPop {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}
.projects-container {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.video-column {
    flex: 1;
    min-width: 50%;
}

.buttons-column {
    flex: 1;
    display: flex;
    align-items: center;
}

.project-buttons {
    display: grid;
    gap: 1.5rem;
    width: 100%;
}

.project-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-btn i {
    font-size: 1.5rem;
}

.project-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.3), 
        transparent);
    transition: left 0.6s;
}

.project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.project-btn:hover::before {
    left: 100%;
}

/* Culori personalizate pentru butoane */
.project-btn:nth-child(1) { background: #f44336; } 
.project-btn:nth-child(2) { background: #2196F3; } 
.project-btn:nth-child(3) { background: #4CAF50; } 
.project-btn:nth-child(4) { background: #f44336; } 

/* Responsivitate */
@media (max-width: 768px) {
    .projects-container {
        flex-direction: column;
    }
    
    .video-column {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .project-buttons {
        grid-template-columns: 1fr;
    }
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
@keyframes buttonEntrance {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-pop {
    animation: buttonEntrance 0.6s ease forwards;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 15px;
    animation: modalSlideIn 0.3s ease-out;
    z-index: 10001;
    max-height: 90vh; /* Limitează înălțimea */
    overflow-y: auto; /* Activează scroll vertical */
    padding-top: 3rem;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.projects-grid {
    display: grid;
    gap: 2rem;
    margin-top: 1.5rem;
}

.project-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    background: #f8f8f8;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-item img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.project-info {
    flex: 1;
}

.project-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: #2a2a2a;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.project-link:hover {
    background: #ff4d4d;
}

.modal-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10002;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
    .modal-content {
        max-height: 85vh;
        -webkit-overflow-scrolling: touch; /* Scroll smooth pentru iOS */
    }
    
    .project-item {
        scroll-snap-align: start; /* Opțional - aliniere scroll */
    }
}
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 1rem auto;
    }
    
    .project-item {
        flex-direction: column;
    }
    
    .project-item img {
        width: 100%;
        height: 200px;
    }
}
/* Actualizări pentru responsivitate */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px auto;
        padding: 1rem;
        border-radius: 10px;
    }

    .projects-grid {
        gap: 1rem;
    }

    .project-item {
        flex-direction: column;
        padding: 0.8rem;
        margin-bottom: 1rem;
    }

    .project-item img {
        width: 100%;
        height: 180px;
        border-radius: 5px;
    }

    .project-info h3 {
        font-size: 1.1rem;
        margin: 0.5rem 0;
    }

    .project-info p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    .project-link {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .modal-close {
        font-size: 2rem;
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.3rem;
    }

    /* Ascunde overflow pe axa X */
    body.modal-open {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 0.8rem;
    }

    .project-item img {
        height: 150px;
    }

    .project-link {
        width: 100%;
        text-align: center;
    }

    /* Ajustări pentru telefoane mici */
    .project-info h3 {
        font-size: 1rem;
    }

    .project-info p {
        font-size: 0.85rem;
    }
}

/* Îmbunătățiri generale pentru mobil */
.project-item {
    position: relative;
    overflow: hidden;
}

.project-link i {
    margin-right: 0.5rem;
}
.theme-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--text-color);
    background: transparent;
    cursor: pointer;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.theme-toggle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.theme-toggle .fa-moon {
    opacity: 0;
}

/* Dark mode styles */
body.dark-mode {
    --nav-bg: rgba(26, 26, 26, 0.95);
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;     
    --nav-text: #ffffff;      
    --card-bg: #2d2d2d;           
    --card-hover: #383838;
    --icon-color: #2196F3; 
    --section-title-color: #ffffff;
    --project-bg: #2d2d2d;
    --project-hover-bg: #383838;
    --project-text: #e0e0e0;
    --project-border: rgba(255,255,255,0.1);
}

body.dark-mode .theme-toggle {
    border-color: var(--text-color);
}
body.dark-mode .logo-text{
    color: var(--text-color);
}
body.dark-mode .theme-toggle .fa-sun {
    opacity: 0;
}
body.dark-mode .passion-card {
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
body.dark-mode .theme-toggle .fa-moon {
    opacity: 1;
}
body.dark-mode .link-text {
    color: var(--text-color);
}

body.dark-mode .brand-logo span,
body.dark-mode .nav-link {
    color: var(--text-color);
}
body.dark-mode .nav-link:hover {
    color: #ffffff;
}

body.dark-mode .passion-card:hover {
    background: #333333;
}
body.dark-mode .card-icon {
    color: var(--icon-color);
}

body.dark-mode .card-icon:hover {
    color: #ff8d8d;
}
body.dark-mode .section-header h2 {
    color: var(--section-title-color);
    position: relative;
}

body.dark-mode .section-header h2 i {
    color: var(--icon-color);
}

/* Subtitluri */
body.dark-mode .section-header p {
    color: rgba(255,255,255,0.8);
}

/* Efecte suplimentare pentru titluri */
.section-header h2 {
    transition: color 0.3s ease;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--icon-color);
    margin: 0.5rem auto;
    opacity: 0.7;
    transition: all 0.3s ease;
}
body.dark-mode .theme-toggle
{
    color: #e0e0e0;
}
body.dark-mode .section-header h2::after {
    background: var(--icon-color);
    opacity: 0.9;
}
body.dark-mode .project-item {
    background: var(--project-bg);
    border: 1px solid var(--project-border);
}

body.dark-mode .project-item:hover {
    background: var(--project-hover-bg);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

body.dark-mode .project-info h3 {
    color: var(--section-title-color);
}

body.dark-mode .project-info p {
    color: var(--project-text);
}

body.dark-mode .project-link {
    background: var(--icon-color);
    color: #2a2a2a !important;
}

body.dark-mode .project-link:hover {
    background: #ffffff;
    color: #2a2a2a !important;
}

/* Efecte suplimentare */
body.dark-mode .project-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 10px;
    background: linear-gradient(45deg, 
        var(--icon-color), 
        transparent 50%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.dark-mode .project-item:hover::before {
    opacity: 0.15;
}
.language-switcher {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
  }
  
  .language-switcher button {
    background: none;
    border: none;
    color: currentColor;
    cursor: pointer;
    padding: 0.5rem;
    margin: 0 0.2rem;
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  .language-switcher button:hover {
    background: rgba(255,255,255,0.1);
  }
  @media (max-width: 1024px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-right {
        gap: 0.5rem;
    }
    
    .language-switcher {
        position: static;
        display: flex;
        gap: 0.3rem;
    }
    
    .language-switcher button {
        padding: 0.3rem;
        font-size: 0.9rem;
        min-width: 40px;
    }
    
    .theme-toggle {
        width: 35px;
        height: 35px;
        padding: 5px;
    }
    
    .theme-toggle i {
        font-size: 1rem;
    }
}
@media (max-width: 768px){
    .language-switcher {
        display:none;
    }

}
@media (max-width: 480px) {
    .nav-right {
        flex-direction: column-reverse;
        align-items: flex-end;
    }
    
    .language-switcher {
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--nav-bg);
        padding: 0.5rem;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    .language-switcher.active {
        display: flex;
    }
    
    .language-trigger {
        display: block;
        background: none;
        border: none;
        color: inherit;
        padding: 0.5rem;
    }
}
@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(50px) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

/* Stiluri de bază */
.gallery-grid {
    display: grid;
    gap: 2rem;
    padding: 2rem;
}

.erasmus-card {
    perspective: 1000px;
    overflow: hidden;
    border-radius: 15px;
    display: none;
    
}
.erasmus-card:nth-child(-n+4) {
    display: block;
}

.card-inner {
    position: relative;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}
.load-more-container {
    text-align: center;
    margin: 3rem 0;
}

.load-more-btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    border: none;
    background: #2a2a2a;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}
.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transition: left 0.6s;
}

.load-more-btn:hover::before {
    left: 100%;
}
.load-more-btn:hover {
    background: #3a3a3a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.erasmus-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.erasmus-card:nth-child(-n+4) {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}
/* Hover Effect */
.erasmus-card:hover .card-inner {
    transform: 
        rotateX(5deg) 
        rotateY(5deg) 
        scale(1.05) 
        translateZ(20px);
}

.erasmus-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: grayscale(0.3);
    transition: transform 0.5s ease;
}
.erasmus-card:hover .erasmus-img {
    transform: scale(1.1);
}
.erasmus-logos {
    position: relative;
    z-index: 1;
    pointer-events: none;
}


.logo-mobility {
    position: absolute;
    width: 120px;
    opacity: 0;
    animation: logoFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
    @media (max-width: 768px) {
        width: 60px;
        top: 60px; 
        animation: logoFloatMobile 6s ease-in-out infinite;
    }
}
.logo-erasmus{
    position: absolute;
    width: 200px;
    opacity: 0;
    animation: logoFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
    @media (max-width: 768px) {
        width: 60px;
        top: 60px; 
        animation: logoFloatMobile 6s ease-in-out infinite;
    }
}
.logo-erasmus {
    @media (max-width: 768px) {
        left: 10px;
    }
}

.logo-mobility {
    @media (max-width: 768px) {
        right: 10px;
    }
}
.erasmus-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.erasmus-section.active {
    opacity: 1;
    transform: translateY(0);
}
/* Animatie adaptată pentru mobile */
@keyframes logoFloatMobile {
    0%, 100% {
        transform: translateY(0) rotate(-5deg) scale(0.8);
    }
    50% {
        transform: translateY(-10px) rotate(5deg) scale(0.9);
    }
}

/* Asigură spațiu pentru titlu */
.erasmus-section h2 {
    padding-top: 80px; /* Spațiu pentru logo-uri */
    margin-bottom: 2rem;
    position: relative;
    z-index: 2; /* Titlul deasupra logo-urilor */
}

@media (max-width: 768px) {
    .erasmus-section h2 {
        padding-top: 50px;
        font-size: 1.8rem;
    }
    
    /* Ascunde logo-urile dacă ecranul este prea mic */
    @media (max-width: 480px) {
        .erasmus-logos {
            display: none;
        }
        .erasmus-section h2 {
            padding-top: 20px;
        }
    }
}

.logo-erasmus {
    top: 20px;
    left: 20px;
    animation-delay: 0.3s;
}

.logo-mobility {
    top: 20px;
    right: 20px;
    animation-delay: 0.6s;
}

/* Animatie fluturare */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 1;
    }
}

/* Animatie intrare */
@keyframes logoEntrance {
    from {
        opacity: 0;
        transform: translate(-50px, -50px) scale(0.5);
    }
    to {
        opacity: 0.9;
        transform: translate(0) scale(1);
    }
}

/* Trigger la scroll */
.erasmus-section.active .logo-erasmus,
.erasmus-section.active .logo-mobility {
    animation: 
        logoEntrance 0.8s ease-out forwards,
        logoFloat 6s 0.8s ease-in-out infinite;
}

@media (max-width: 768px) {
    .logo-erasmus,
    .logo-mobility {
        width: 80px;
        top: 10px;
    }
    
    .logo-erasmus { left: 10px; }
    .logo-mobility { right: 10px; }
}
.logo-erasmus:hover,
.logo-mobility:hover {
    filter: 
        drop-shadow(0 0 8px rgba(255,255,255,0.3))
        brightness(1.1);
    transform: scale(1.1);
    transition: all 0.3s ease;
}
/* Overlay animat */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: white;
    opacity: 0;
    transition: all 0.4s ease;
    justify-content: flex-start;
    padding: 2rem;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0.6) 0%, 
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.2) 100%); 
}

.erasmus-card:hover .card-overlay {
    opacity: 1;
}

/* Text animation */
.card-overlay h3 {
    transform: translateY(-30px);
    margin-bottom: 1rem;
}

.card-overlay p {
    transition: transform 0.4s ease;
    opacity: 0;
    transform: translateY(-40px); /* Schimbăm direcția animației */
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
}

.erasmus-card:hover .card-overlay h3 {
    transform: translateY(0);
}

.erasmus-card:hover .card-overlay p {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

/* Scroll animation */
.erasmus-card {
    opacity: 0;
    animation: floatIn 0.8s ease forwards;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .erasmus-img {
        height: 300px;
    }
}
.erasmus-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-15deg);
    transition: left 0.6s ease;
}

.erasmus-card:hover::after {
    left: 150%;
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
}
.dark-mode .profile-container::after{
    background: none;
}


/* Animații */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-title {
    animation: slideInFromTop 1s ease-out;
}

.animate-profile {
    animation: scaleIn 1s ease-out;
}

.animate-subtitle {
    animation: slideInFromTop 1s 0.3s ease-out both;
}

.animate-btn {
    animation: slideInFromTop 1s 0.6s ease-out both;
}

.profile-container {
    animation: float 4s ease-in-out infinite;
}
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-card {
    animation: cardAppear 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
:root {
    --bg-color: #ffffff;
    --text-color: #2a2a2a;
    --section-bg: #f8f8f8;
    --accent-color: #2a2a2a;
}

body.dark-mode {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --section-bg: #2d2d2d;
    --accent-color: #00ff88;
}

/* Stiluri comune cu secțiunea Despre */
.contact-section {
    background: var(--section-bg);
    padding: 4rem 0;
    transition: background 0.3s ease;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 3rem;
}

/* Formular */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.input-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-color);
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label {
    top: -0.8rem;
    left: 0.8rem;
    font-size: 0.8rem;
    background: var(--section-bg);
    padding: 0 0.5rem;
}

.input-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}

.input-group input:focus ~ .input-wave,
.input-group textarea:focus ~ .input-wave {
    width: 100%;
}

/* Buton */
.cta-btn {
    position: relative;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: var(--bg-color);
    border: none;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.cta-btn:hover .btn-overlay {
    left: 100%;
}

/* Info contact */
.contact-info {
    margin-top: 3rem;
    text-align: center;
}

.info-item {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-slide {
    animation: slideIn 1s ease-out;
}

.animate-pop {
    animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .section-container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .input-group {
        margin-bottom: 1.5rem;
    }

    .cta-btn {
        width: 100%;
    }
}
.input-group:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Glow effect în dark mode */
body.dark-mode .input-group input:focus,
body.dark-mode .input-group textarea:focus {
    box-shadow: 0 0 15px rgba(0,255,136,0.2);
}
.contact-buttons {
    display: grid;
    gap: 1.5rem;
    max-width: 500px;
    margin: 2rem auto;
}

.contact-button {
    position: relative;
    display: block;
    padding: 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateZ(0);
}

/* Efect de undă */
.button-wave {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.contact-button:hover .button-wave {
    left: 100%;
}

/* Stiluri specifice butoane */
.phone-button {
    background: var(--accent-color);
    color: var(--bg-color);
}

.email-button {
    background: var(--section-bg);
    border: 2px solid var(--accent-color);
    color: var(--text-color);
}

/* Conținut buton */
.button-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.button-content i {
    font-size: 1.8rem;
    width: 40px;
    text-align: center;
}

.button-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.button-label {
    font-weight: 600;
    font-size: 1.1rem;
}

.button-info {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Animatie hover */
.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Dark mode adjustments */
body.dark-mode .email-button {
    background: rgba(255,255,255,0.05);
}

/* Responsiv */
@media (max-width: 768px) {
    .contact-buttons {
        gap: 1rem;
    }
    
    .button-content {
        gap: 1rem;
    }
    
    .button-content i {
        font-size: 1.5rem;
    }
    
    .button-label {
        font-size: 1rem;
    }
    
    .button-info {
        font-size: 0.85rem;
    }
}
.social-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 4rem 0;
}

.social-btn {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateZ(0);
}

.instagram { background: linear-gradient(45deg, #405DE6, #833AB4, #E1306C); }
.facebook { background: linear-gradient(45deg, #1877F2, #0A66C2); }
.linkedin { background: linear-gradient(45deg, #0A66C2, #0077B5); }

.social-icon {
    font-size: 2.5rem;
    color: white;
    transition: transform 0.4s ease;
    z-index: 2;
}

.social-text {
    position: absolute;
    bottom: 15px;
    color: white;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 2;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Efecte hover */
.social-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.social-btn:hover .social-text {
    opacity: 1;
    transform: translateY(0);
}

.social-btn:hover .social-icon {
    transform: translateY(-10px) scale(1.2);
}

/* Animatie undă */
.social-wave {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.social-btn:hover .social-wave {
    transform: scale(1);
}

/* Glow effect */
.social-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        transparent,
        rgba(255,255,255,0.1),
        transparent
    );
    opacity: 0;
    animation: glowMove 3s infinite;
}

@keyframes glowMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Animații de intrare */
[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* Dark mode adjustments */
body.dark-mode .social-btn {
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .social-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .social-btn {
        width: 100px;
        height: 100px;
    }
    
    .social-icon {
        font-size: 2rem;
    }
}
.services-section {
    padding: 8rem 2rem 4rem;
    background: var(--section-bg);
    min-height: 100vh;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.service-card {
    perspective: 1000px;
    border-radius: 20px;
    overflow: hidden;
    transform: translateZ(0);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-inner1 {
    position: relative;
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: 20px;
    text-align: center;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover .card-inner1 {
    transform: rotateX(5deg) rotateY(5deg) translateZ(20px);
}

.card-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: rgba(var(--text-color-rgb), 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.card-overlay1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(var(--accent-color-rgb), 0.1) 0%, 
        rgba(var(--accent-color-rgb), 0.05) 100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover .card-overlay1 {
    opacity: 1;
}

.service-cta {
    position: relative;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--bg-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

.hover-wave {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.service-cta:hover .hover-wave1 {
    left: 100%;
}

/* 3D Card Effect */
.service-card::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 5%;
    width: 90%;
    height: 30px;
    background: rgba(0,0,0,0.1);
    filter: blur(15px);
    transition: all 0.4s ease;
    z-index: -1;
}

.service-card:hover::after {
    opacity: 0;
    transform: translateY(15px);
}

/* Hover Elevation Effect */
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
}

/* Dark Mode Adjustments */
body.dark-mode .service-card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

body.dark-mode .service-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Animation Keyframes */
@keyframes serviceEntrance {
    from {
        opacity: 0;
        transform: translateY(50px) rotate(-2deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

.animate-card {
    animation: serviceEntrance 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.pricing-section {
    position: relative;
    padding: 8rem 2rem;
    background: linear-gradient(45deg, 
        var(--accent-color) 0%, 
        #2a2a2a 100%);
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255,255,255,0.1) 25%,
        transparent 50%,
        rgba(255,255,255,0.1) 75%
    );
    transform: rotate(45deg);
    animation: priceGlow 20s linear infinite;
}

.price-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.price-title {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.price-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
}

.price-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.price-bubble {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 3rem;
    margin: 2rem auto;
    width: fit-content;
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.2);
}

.price-range {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 3.5rem;
    color: #fff;
    animation: priceFloat 4s ease-in-out infinite;
}

.price-from, .price-to {
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.price-divider {
    color: rgba(255,255,255,0.7);
    font-size: 2.5rem;
}

.complexity-bar {
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    position: relative;
    margin: 3rem auto 2rem;
    width: 90%;
    
}

.complexity-progress {
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%,
        #ff6b6b 100%);
    border-radius: 10px;
    position: absolute;
    left: 0;
    animation: progressWidth 4s ease-in-out infinite alternate;
}

.complexity-labels {
    display: flex;

    justify-content: space-between;
    color: rgba(255,255,255,0.9);
    margin-top: 1rem;
}

.price-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}
.complexity-labels span{
    margin-top: 1rem;
}
.package-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.package-card.featured {
    background: rgba(255,255,255,0.1);
    transform: translateY(-20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.package-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255,255,255,0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.package-card:hover::before {
    opacity: 1;
    animation: packageGlow 1.5s linear;
}

.package-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.package-card h4 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.package-features li {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.package-features .fa-check {
    color: var(--accent-color);
}

.package-price {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin-top: 2rem;
}

/* Animations */
@keyframes priceGlow {
    0% { transform: translateX(-50%) rotate(45deg); }
    100% { transform: translateX(50%) rotate(45deg); }
}

@keyframes priceFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes progressWidth {
    0% { width: 30%; }
    100% { width: 70%; }
}

@keyframes packageGlow {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Dark Mode Adjustments */
body.dark-mode .pricing-section {
    background: linear-gradient(45deg, 
        var(--accent-color) 0%,
        #1a1a1a 100%);
}

@media (max-width: 768px) {
    .price-range {
        flex-direction: column;
        font-size: 2.5rem;
    }
    
    .price-bubble {
        padding: 2rem;
        border-radius: 30px;
    }
    
    .package-card.featured {
        transform: none;
    }
}
.package-price {
    transition: transform 0.3s ease;
}

.package-price.animate {
    transform: scale(1.1);
    color: var(--accent-color);
}
/* Sectiune Formular */
.hire-section {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, 
        var(--section-bg) 0%,
        rgba(var(--accent-color-rgb), 0.05) 100%);
}

.form-container1 {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.form-header1 {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: rgba(var(--text-color-rgb), 0.8);
}

/* Elemente Formular */
.input-group1 {
    position: relative;
    margin-bottom: 2rem;
}

.input-group1 input,
.input-group1 textarea {
    width: 100%;
    padding: 1.2rem;
    border: none;
    border-bottom: 2px solid rgba(var(--text-color-rgb), 0.2);
    background: transparent;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.input-group1 label {
    position: absolute;
    left: 1.2rem;
    top: 1.2rem;
    color: rgba(var(--text-color-rgb), 0.6);
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-line1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}

.input-group1 input:focus,
.input-group1 textarea:focus,
.input-group1 input:valid,
.input-group1 textarea:valid {
    border-bottom-color: transparent;
}

.input-group1 input:focus ~ .input-line,
.input-group1 textarea:focus ~ .input-line,
.input-group1 input:valid ~ .input-line,
.input-group1 textarea:valid ~ .input-line {
    width: 100%;
}

.input-group1 input:focus ~ label,
.input-group1 textarea:focus ~ label,
.input-group1 input:valid ~ label,
.input-group1 textarea:valid ~ label {
    transform: translateY(-24px);
    font-size: 0.9rem;
    color: var(--accent-color);
}


.submit-container {
    position: relative;
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.floating-btn{
    padding: 1.5rem 3rem;
    border-radius: 50px;
    border: none;
    background: var(--accent-color);
    color: var(--bg-color);
    font-size: 1.2rem;
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(var(--accent-color-rgb), 0.2);
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(var(--accent-color-rgb), 0.3);
}

.floating-btn:active {
    transform: translateY(0);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.floating-btn:hover .btn-glow {
    left: 100%;
}

.fa-paper-plane {
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.floating-btn:hover .fa-paper-plane {
    transform: translateX(5px);
}

/* Sectiune Contact Alternativ */
.alternative-contact {
    text-align: center;
    margin-top: 4rem;
}

.separator {
    position: relative;
    margin: 2rem 0;
}

.separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(var(--text-color-rgb), 0.2);
}

.separator span {
    position: relative;
    padding: 0 1rem;
    background: var(--card-bg);
    color: rgba(var(--text-color-rgb), 0.8);
    z-index: 1;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(var(--accent-color-rgb), 0.1);
    transform: translateY(-2px);
}

/* Dark Mode */
body.dark-mode .form-container {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

body.dark-mode .contact-link:hover {
    background: rgba(255,255,255,0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .form-container {
        padding: 2rem;
        border-radius: 20px;
    }

    .form-header h2 {
        font-size: 2rem;
    }

    .floating-btn {
        width: 100%;
        justify-content: center;
    }
}
.form-message {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}