/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    opacity: 1;
    transform: translateY(0);
}

.navbar-visible {
    top: 0;
    opacity: 1;
    transform: translateY(0);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-link {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-link:hover {
    color: #00d4ff;
    transform: translateY(-2px);
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    transition: width 0.3s ease;
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

.navbar-btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.navbar-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding-top: 80px; /* Spazio per la navbar fissa */
}

.main-layout {
    min-height: 100vh;
    background-color: #0a0a0a;
}

/* Hero Section with Video Background */
.hero-container {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    min-height: 100vh;
    opacity: 0.15;
    will-change: transform;
}

.hero-video-fallback {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
}

.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1200px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    margin: 2rem;
    padding: 3rem 2rem;
}

.logo-container {
    margin-bottom: 2rem;
    animation: fadeInScale 1.2s ease-out;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.logo:not([src]) {
    display: none;
}

.logo:hover {
    transform: scale(1.05);
}

.hero-text {
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 
                 0 4px 8px rgba(0, 0, 0, 0.2), 
                 0 8px 16px rgba(0, 0, 0, 0.1);
    animation: slideInDown 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #00d4ff;
    margin-bottom: 1.5rem;
    font-weight: 300;
    animation: slideInUp 1s ease-out 0.6s both;
}

.hero-description {
    font-size: 1.2rem;
    color: #cccccc;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    animation: slideInUp 1s ease-out 0.9s both;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 1.2s both;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-height: 48px; /* Minimum touch target size */
    min-width: 48px;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #00d4ff;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #00d4ff;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

/* Features Section */
.features-section {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 4rem 0;
    position: relative;
    z-index: 4;
    margin-top: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
}

/* AI Services specific styling */
.feature-card:nth-child(5), .feature-card:nth-child(6) {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.feature-card:nth-child(5):hover, .feature-card:nth-child(6):hover {
    border-color: #00d4ff;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.1);
}

.feature-card:nth-child(5) .feature-icon, .feature-card:nth-child(6) .feature-icon {
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    animation: aiPulse 2s ease-in-out infinite alternate;
}

@keyframes aiPulse {
    0% {
        filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
        transform: scale(1.05);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Responsive Design */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0.75rem 1rem;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-logo-img {
        width: 32px;
        height: 32px;
    }
    
    .navbar-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0.5rem 0.75rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-logo-img {
        width: 28px;
        height: 28px;
    }
    
    .navbar-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* Responsive Design */
@media (min-width: 1400px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .hero-content {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 1.2rem 2rem;
        font-size: 1rem;
        min-height: 56px; /* Larger touch target for mobile */
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .features-section {
        padding: 3rem 0;
        margin-top: 100vh;
    }
    
    .hero-content {
        margin: 0.5rem;
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        margin: 0.25rem;
        padding: 1.5rem 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .hero-actions {
        gap: 1rem;
    }
    
    .features-section {
        margin-top: 100vh;
    }
}

/* Video optimization for mobile */
@media (max-width: 768px) {
    .hero-video {
        object-position: center center;
        opacity: 0.1;
        min-height: 100vh;
        height: 100vh;
    }
    
    .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
    }
    
    .hero-container {
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
    }
}

/* Tablet specific optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-video {
        opacity: 0.12;
    }
    
    .hero-content {
        margin: 1.5rem;
        padding: 2.5rem 2rem;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 1000px;
    }
}

/* Mobile-specific video and interaction optimizations */
@media (max-width: 768px) {
    .hero-video {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-mask-image: -webkit-radial-gradient(white, black);
        mask-image: radial-gradient(white, black);
    }
    
    .hero-content {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Prevent zoom on double tap */
    .hero-actions button {
        touch-action: manipulation;
    }
    
    /* Improve text readability on mobile */
    .hero-title {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 
                     0 4px 8px rgba(0, 0, 0, 0.6), 
                     0 8px 16px rgba(0, 0, 0, 0.4);
    }
    
    .hero-subtitle {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .hero-description {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .hero-video {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    
    .hero-container {
        -webkit-overflow-scrolling: touch;
    }
}

/* Android Chrome specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
    .hero-video {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Landscape orientation optimizations */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero-content {
        margin: 0.5rem;
        padding: 1.5rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        flex: 1;
        max-width: none;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Very small screens (phones in portrait) */
@media screen and (max-width: 480px) and (orientation: portrait) {
    .hero-content {
        margin: 0.25rem;
        padding: 1.5rem 0.75rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .logo {
        max-width: 120px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* About Section Styles */
.about-section {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 6rem 0;
    position: relative;
    z-index: 4;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    animation: fadeInLeft 1s ease-out;
}

.about-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 3rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.highlight-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.highlight-text p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-visual {
    animation: fadeInRight 1s ease-out;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.2);
}

.about-card-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.about-card:hover .about-card-photo {
    transform: scale(1.05);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.about-card:hover .profile-photo {
    transform: scale(1.1);
}

.about-card-content h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.about-card-content p {
    color: #00d4ff;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #00d4ff;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.about-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.about-card:hover .about-card-glow {
    opacity: 1;
}

/* About Section Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* About Section Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-visual {
        order: 1;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 0;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    .about-subtitle {
        font-size: 1.5rem;
    }
    
    .about-description {
        font-size: 1.1rem;
    }
    
    .about-card {
        padding: 2rem 1.5rem;
    }
    
    .about-card-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }
    
    .about-card-content h4 {
        font-size: 1.5rem;
    }
    
    .about-stats {
        gap: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .highlight-item {
        padding: 1rem;
    }
    
    .highlight-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 3rem 0;
    }
    
    .about-subtitle {
        font-size: 1.3rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .about-card {
        padding: 1.5rem 1rem;
    }
    
    .about-card-photo {
        width: 80px;
        height: 80px;
    }
    
    .about-card-content h4 {
        font-size: 1.3rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    padding: 8rem 0 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 153, 204, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.contact-subtitle {
    font-size: 1.5rem;
    color: #cccccc;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.contact-section {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(20, 20, 20, 0.95) 50%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(15px);
    padding: 6rem 0;
    position: relative;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.developer-card .card-icon {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.whatsapp-card .card-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.email-card .card-icon {
    background: linear-gradient(135deg, #EA4335 0%, #D33B2C 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(234, 67, 53, 0.3);
}

.contact-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-contact {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    word-break: break-all;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-description {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.card-link {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-card:hover .card-glow {
    opacity: 1;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.info-card p {
    color: #cccccc;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.navbar-link.active {
    color: #00d4ff;
}

.navbar-link.active::after {
    width: 100%;
}

/* Contact Page Responsive Design */
@media (max-width: 768px) {
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-subtitle {
        font-size: 1.2rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .card-name {
        font-size: 1.5rem;
    }
    
    .card-contact {
        font-size: 1.1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 6rem 0 3rem 0;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem 1rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-name {
        font-size: 1.3rem;
    }
    
    .card-contact {
        font-size: 1rem;
        word-break: break-all;
    }
}

/* Portfolio Section Styles */
.portfolio-section {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 6rem 0;
    position: relative;
    z-index: 4;
}

.portfolio-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }

.portfolio-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.2);
}

.portfolio-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-logo {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-logo {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.portfolio-card:hover .portfolio-logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.portfolio-card:hover .portfolio-link {
    transform: scale(1);
}

.portfolio-link:hover {
    background: #00d4ff;
    transform: scale(1.1);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.portfolio-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.portfolio-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.portfolio-btn svg {
    transition: transform 0.3s ease;
}

.portfolio-btn:hover svg {
    transform: translateX(3px);
}

/* Portfolio Responsive Design */
@media (max-width: 768px) {
    .portfolio-section {
        padding: 4rem 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-card {
        margin: 0 1rem;
    }
    
    .portfolio-image {
        height: 150px;
    }
    
    .portfolio-logo {
        width: 100px;
        height: 100px;
        padding: 0.75rem;
    }
    
    .portfolio-content {
        padding: 1.5rem;
    }
    
    .portfolio-title {
        font-size: 1.3rem;
    }
    
    .portfolio-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .portfolio-section {
        padding: 3rem 0;
    }
    
    .portfolio-card {
        margin: 0 0.5rem;
    }
    
    .portfolio-image {
        height: 120px;
    }
    
    .portfolio-logo {
        width: 80px;
        height: 80px;
        padding: 0.5rem;
    }
    
    .portfolio-content {
        padding: 1rem;
    }
    
    .portfolio-title {
        font-size: 1.2rem;
    }
    
    .portfolio-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 4rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 153, 204, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
    max-width: 300px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cccccc;
    transition: color 0.3s ease;
}

.footer-contact-item svg {
    color: #00d4ff;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item:hover a,
.footer-contact-item:hover {
    color: #00d4ff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links li a:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-copyright p {
    color: #888888;
    font-size: 0.9rem;
    margin: 0;
}

.footer-copyright strong {
    color: #00d4ff;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-description {
        max-width: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1.5rem 0;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-brand {
        font-size: 1.3rem;
    }
    
    .footer-logo-img {
        width: 32px;
        height: 32px;
    }
    
    .footer-copyright p {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* Privacy Policy Styles */
.privacy-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    padding: 8rem 0 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 153, 204, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.privacy-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.privacy-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.privacy-content {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 6rem 0;
    position: relative;
}

.privacy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.privacy-section:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.privacy-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    padding-bottom: 0.5rem;
}

.privacy-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin: 2rem 0 1rem 0;
}

.privacy-section p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-section ul {
    color: #cccccc;
    line-height: 1.8;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
}

.privacy-section a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.privacy-footer {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.privacy-footer p {
    color: #cccccc;
    margin: 0.5rem 0;
}

.privacy-link {
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    display: inline-block;
    margin-right: 1rem;
}

.language-flag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.language-flag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.flag-img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

.language-code {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.language-flag:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    min-width: 150px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-weight: 500;
}

.language-option:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.language-option.active {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    font-weight: 600;
}

.language-option .flag-img {
    width: 18px;
    height: 13px;
}

/* Mobile Language Selector */
@media (max-width: 768px) {
    .language-selector {
        margin-right: 0.5rem;
    }
    
    .language-flag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .flag-img {
        width: 18px;
        height: 13px;
    }
    
    .language-menu {
        right: -0.5rem;
        min-width: 140px;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cookie-text h3 {
    color: #00d4ff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.cookie-btn-essential {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cookie-btn-essential:hover {
    background: #ffffff;
    color: #000000;
}

.cookie-btn-settings {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Cookie Settings Modal */
.cookie-settings {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-settings.show {
    opacity: 1;
}

.cookie-settings-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cookie-settings h3 {
    color: #00d4ff;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-category h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0;
}

.cookie-category p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #00d4ff;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider {
    background-color: #666;
    cursor: not-allowed;
}

.cookie-settings-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cookie-btn-save {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.cookie-btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.cookie-btn-cancel {
    background: transparent;
    color: #cccccc;
    border: 1px solid #666;
}

.cookie-btn-cancel:hover {
    background: #666;
    color: #ffffff;
}

/* Responsive Design for Privacy and Cookies */
@media (max-width: 768px) {
    .privacy-title {
        font-size: 2.5rem;
    }
    
    .privacy-subtitle {
        font-size: 1.1rem;
    }
    
    .privacy-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .cookie-settings-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .cookie-category {
        padding: 1rem;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .privacy-title {
        font-size: 2rem;
    }
    
    .privacy-subtitle {
        font-size: 1rem;
    }
    
    .privacy-section {
        padding: 1rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* Blazor specific styles */
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}
