/* Root variables for consistent theming */
:root {
    --primary-color: #007bff;
    --secondary-color: #00ff88;
    --accent-color: #6c757d;
    --dark-bg: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.1);
}

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Ensure content is above particles by setting relative positioning */
body > * {
    position: relative;
    z-index: 1;
}

/* Section spacing */
section {
    padding: 5rem 0; /* Consistent padding for all sections */
    margin-bottom: 0; /* Remove margin to prevent collapse issues */
    position: relative; /* Create stacking context without z-index */
    overflow: hidden; /* Contain any absolute positioned children */
}

/* Container constraints */
.container {
    padding: 0 1.5rem; /* Ensure content doesn't touch edges on mobile */
    max-width: 1200px; /* Limit maximum width for better readability */
    position: relative;
}

/* Add these new animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--primary-color); }
    50% { box-shadow: 0 0 20px var(--secondary-color); }
    100% { box-shadow: 0 0 5px var(--primary-color); }
}

/* Cursor trail effect */
.cursor-trail {
    position: fixed;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
    animation: trailFade 0.5s linear forwards;
    z-index: 9999;
}

@keyframes trailFade {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0);
    }
}

/* Enhanced hero section */
.hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    min-height: 100vh; /* Use min-height instead of height for better responsiveness */
    padding-top: 6rem; /* Account for fixed navbar */
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
    animation: pulse 4s infinite;
    z-index: 0; /* Changed from -1 */
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero img {
    animation: float 6s ease-in-out infinite;
}

/* Hero logo styling */
.hero-logo-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 400px; /* Increased from 300px for desktop */
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.7));
}

/* Make hero logo responsive with multiple breakpoints */
@media (max-width: 1200px) {
    .hero-logo {
        width: 350px; /* Increased from 250px */
    }
}

@media (max-width: 992px) {
    .hero-logo {
        width: 300px; /* Increased from 220px */
    }

    .hero-logo-container {
        margin-top: 1.8rem;
        margin-bottom: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-logo {
        width: 280px; /* Increased from 200px */
    }

    .hero-logo-container {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-logo {
        width: 260px; /* Increased from 180px */
    }

    .hero-logo-container {
        margin-top: 1rem;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 400px) {
    .hero-logo {
        width: 240px; /* Increased from 160px */
    }
}

/* Enhanced feature cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: glow 3s infinite;
    position: relative;
    z-index: 2;
    overflow: hidden;
    height: 100%; /* Make all cards same height in a row */
    margin-bottom: 0; /* Let the row gutter handle spacing */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card i {
    color: var(--secondary-color);
}

.feature-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Screenshot cards */
.screenshot-card {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.screenshot-card:hover .screenshot-overlay {
    transform: translateY(0);
}

/* Game showcase window */
.game-window {
    width: 100%;
    height: 600px;
    background: var(--dark-bg);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.game-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-window:hover img {
    transform: scale(1.05);
}

#startGame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Add particle background */
#particles-js,
#background-particles,
#foreground-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* Critical: this allows clicking through */
}

#particles-js canvas,
#background-particles canvas {
    position: fixed !important; /* Override any inline styles */
    height: 100vh !important;
    width: 100vw !important;
    top: 0 !important;
    left: 0 !important;
    z-index: -1 !important; /* Behind everything but still visible */
}

/* Ensure foreground particles don't block content */
#foreground-particles {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

/* Make sure content stays above particles */
.container, section, header {
    position: relative;
}

/* Background particles */
#background-particles canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Modified text-muted class */
.text-muted {
    color: #6c757d !important; /* Original Bootstrap muted color */
}

/* To make it more visible on dark background */
.download-section .text-muted {
    color: #a8a8a8 !important; /* Lighter gray for better visibility */
}

/* Download Section Styling */
.download-section {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.download-content {
    position: relative;
    z-index: 3; /* Higher than particles */
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-download-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #4CAF50 0%, #45a049 100%);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.main-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.main-download-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-120%);
    }
    100% {
        transform: rotate(45deg) translateX(120%);
    }
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Lower z-index so it stays behind content */
    pointer-events: none; /* Ensures clicks pass through to elements below */
}

/* Updated text-muted for better visibility */
.download-section .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .game-window {
        height: 300px;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .download-content {
        padding: 1.5rem;
    }

    .main-download-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Navigation enhancements */
.navbar {
    background: rgba(18, 18, 18, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0;
    z-index: 1000; /* Higher than other content */
    position: fixed;
}

.navbar-brand {
    padding: 0;
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

/* Style for the logo */
img.navbar-brand {
    width: 200px;
    height: auto;
    margin-right: 1rem;
    background: linear-gradient(45deg, white, white);
}

/* Navbar logo specific styling */
.navbar-logo {
    width: 200px;
    height: auto;
    margin-right: 1rem;
}

@media (max-width: 768px) {
    .navbar-logo {
        width: 60px !important; /* Using !important to override any inline styles */
        height: auto;
        margin-right: 0.25rem;
    }
}

/* Style for the text brand */
a.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    text-decoration: none;
    margin-left: 0;
}

a.navbar-brand:hover {
    color: #ffffff;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    img.navbar-brand {
        width: 100px; /* Reduced from 150px */
        height: auto;
        margin-right: 0.5rem; /* Reduced margin */
    }

    a.navbar-brand {
        font-size: 1.2rem;
    }

    .navbar > .container {
        padding-left: 0.5rem; /* Reduced padding */
        padding-right: 0.5rem; /* Reduced padding */
    }
}

/* Button styling */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: scale(1.05);
}

/* Enhanced Loader Styles */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loading-logo {
    width: 150px; /* Reduced from 200px */
    height: auto;
    image-rendering: pixelated;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

@media (max-width: 768px) {
    .loading-logo {
        width: 100px; /* Even smaller on mobile */
    }
}

.loading-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #4CAF50;
    image-rendering: pixelated;
    animation: particleRise 1s ease-out;
}

@keyframes particleRise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

.loading-progress {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 20px auto;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #4CAF50;
    border-radius: 2px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 1.5s infinite;
}

.loading-text {
    color: #ffffff;
    font-size: 1.2rem;
    margin-top: 20px;
    opacity: 0.8;
}

.loading-message {
    transition: opacity 0.3s ease, color 0.3s ease;
    text-shadow: 0 0 10px currentColor;
}

.loading-dots {
    display: inline-block;
    animation: dots 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes dots {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
    100% { content: '.'; }
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Team member cards */
.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 150px; /* Set fixed width */
    height: 150px; /* Must be exactly the same as width */
    object-fit: cover; /* This crops the image to fit the container */
    object-position: center top; /* Position to show the face better */
    border-radius: 50%; /* Perfect circle */
    aspect-ratio: 1/1; /* Force 1:1 aspect ratio */
    display: block; /* Remove any default inline behavior */
    margin: 0 auto; /* Center the image */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Add subtle shadow */
}

.team-member:hover img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Custom artist image container */
.artist-image-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin: 0 auto 1rem;
}

.artist-image {
    position: absolute;
    top: 0; /* Resetting to default for better alignment */
    left: 0;
    width: 100%;
    height: 100%; /* Ensuring the image fills the container */
    object-fit: cover; /* Maintain aspect ratio while filling the frame */
    object-position: center; /* Center the image within the circular frame */
}

/* Team member image container - new unified approach */
.member-image-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin: 0 auto 1rem;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Position to show the face better */
}

/* Adjust team member section for mobile */
@media (max-width: 768px) {
    .team-member {
        margin-bottom: 1.5rem; /* Add spacing between team members */
    }

    .team-member img {
        width: 100px; /* Reduce size for smaller screens */
        height: 100px; /* Maintain aspect ratio */
        object-fit: cover; /* Ensure proper cropping */
        object-position: center; /* Center the image */
    }

    .artist-image-container {
        width: 100px; /* Match reduced size */
        height: 100px;
    }

    .artist-image {
        object-fit: cover; /* Ensure proper cropping */
        object-position: center; /* Center the image */
    }

    .team-member h3, .team-member p {
        text-align: center; /* Center-align text for better readability */
        font-size: 0.9rem; /* Adjust font size for smaller screens */
    }

    .member-image-container {
        width: 120px;
        height: 120px;
    }

    /* Ensure flex wrapping works properly */
    .d-flex.flex-wrap {
        justify-content: center;
        gap: 1rem;
    }
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #4CAF50, #45a049);
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 8000;
}

/* Add these new effects */

/* Neon text effect for headings */
.neon-text {
    text-shadow:
        0 0 7px #fff,
        0 0 10px #fff,
        0 0 21px #fff,
        0 0 42px var(--primary-color),
        0 0 82px var(--primary-color),
        0 0 92px var(--primary-color),
        0 0 102px var(--primary-color),
        0 0 151px var(--primary-color);
    animation: neonPulse 1.5s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from { text-shadow: 0 0 7px #fff; }
    to {
        text-shadow:
            0 0 7px #fff,
            0 0 10px #fff,
            0 0 21px #fff,
            0 0 42px var(--primary-color);
    }
}

/* Glitch effect for images */
.glitch-hover {
    position: relative;
}

.glitch-hover::before,
.glitch-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: cover;
    background-position: center;
    mix-blend-mode: hard-light;
    opacity: 0;
    transition: all 0.3s ease;
}

.glitch-hover:hover::before {
    transform: translate(5px, 5px);
    opacity: 0.5;
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}

.glitch-hover:hover::after {
    transform: translate(-5px, -5px);
    opacity: 0.5;
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) reverse both infinite;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-5px, 5px); }
    40% { transform: translate(-5px, -5px); }
    60% { transform: translate(5px, 5px); }
    80% { transform: translate(5px, -5px); }
    100% { transform: translate(0); }
}

/* Cool scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--secondary-color), var(--primary-color));
}

/* Tilt effect for cards */
.tilt-effect {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-effect:hover {
    transform: rotateX(var(--rotateX)) rotateY(var(--rotateY));
}

/* Gradient text animation */
.gradient-text {
    /* Improve gradient text contrast */
    background: linear-gradient(
        45deg,
        #0066cc,
        #00cc99
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Add text shadow for better visibility */
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    animation: gradientMove 6s ease infinite;
}

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

/* Add parallax scroll effect */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Ensure YouTube video is clickable */
.ratio-16x9 {
    position: relative;
    z-index: 10 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

iframe {
    z-index: 10 !important;
    position: relative;
}

/* This will fix the YouTube embedding issues */
.ratio iframe {
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive typography */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    .navbar-brand { font-size: 1.2rem; }
}

/* Responsive spacing */
@media (max-width: 768px) {
    .py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
}

/* Responsive navigation */
@media (max-width: 991px) {
    .language-selector {
        margin-top: 1rem;
        display: flex;
        justify-content: center;
        position: relative;
        z-index: 9001;
    }

    .navbar-collapse {
        padding: 1rem 0;
    }
}

/* Responsive feature cards */
@media (max-width: 768px) {
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .feature-card:hover,
    .screenshot-card:hover,
    .team-member:hover {
        transform: none;
    }

    .tilt-effect {
        transform: none !important;
    }
}

/* Loading screen responsiveness */
@media (max-width: 768px) {
    .loading-logo {
        width: 150px;
    }

    .loading-progress {
        width: 80%;
    }
}

/* Ensure buttons are touch-friendly */
@media (max-width: 768px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        min-height: 44px; /* Touch target size */
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }
}

/* Remove redundant margins that cause spacing issues */
h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;
}

h2 {
    margin-bottom: 2.5rem;
}

/* Ensure images don't cause layout shifts */
img {
    max-width: 100%;
    height: auto;
}

/* Fix cards spacing */
.row.g-4 {
    --bs-gutter-x: 2rem; /* Increase gutter for better spacing */
    --bs-gutter-y: 2rem;
}

/* QR Code Container */
.qr-code-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#qrcode {
    width: 180px;
    height: 180px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style for QR code image if we need to use API */
.qr-code-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fix screenshots section contrast issue */
section#screenshots.bg-light {
    background-color: #e9ecef !important; /* Darker than default bg-light */
    color: #212529;
}

section#screenshots h2 {
    color: #212529;
    text-shadow: none;
}

section#screenshots h4 {
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Updated Partner logo styling for larger logos */
.partner-logo {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 60px;  /* Even larger padding */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-10px); /* Larger movement */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); /* Deeper shadow */
}

/* Make logos larger */
.partner-logo img {
    max-width: 100%;
    max-height: 250px;  /* Much larger baseline size */
    transition: transform 0.3s ease;
}

/* Progressive size increases for larger screens */
@media (min-width: 768px) {
    .partner-logo {
        padding: 40px;
    }

    .partner-logo img {
        max-height: 250px;  /* Already good size for tablets */
    }
}

/* Larger sizes for desktop */
@media (min-width: 992px) {
    .partner-logo {
        padding: 70px;
    }

    .partner-logo img {
        max-height: 350px;  /* Even larger on desktop */
    }
}

/* Better mobile display */
@media (max-width: 767px) {
    .partner-logo {
        padding: 20px;
    }

    .partner-logo img {
        max-height: 100px;  /* Increased from 60px for better mobile visibility */
    }
}
