/* Ehinger Computer Center - Modern Custom Styles */

* {
    font-family: 'Inter', sans-serif;
}

/* Modern Background Gradients */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern gradient variations */
.gradient-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-pink {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-orange {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.gradient-green {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.gradient-cyber {
    background: linear-gradient(135deg, #ff006e 0%, #8338ec 50%, #3a86ff 100%);
}

/* Modern Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-effect-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Modern Hover Effects */
.hover-scale {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-scale:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    text-decoration: none;
    color: #FFF;
    background-color: #1ebe57;
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Modern Service Cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Service Card with Image */
.service-card-with-image {
    background: none;
    overflow: hidden;
}

.service-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-image {
    transform: scale(1.1);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    z-index: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-card-overlay {
    opacity: 0.95;
}

.service-card-content {
    position: relative;
    z-index: 1;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Modern Hero Background */
.hero-bg {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 50%, rgba(240, 147, 251, 0.85) 100%),
                url('https://images.unsplash.com/photo-1581092795360-fd1ca04f0952?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* About Section Background */
.about-bg {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2072&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Feature Icons */
.feature-icon {
    background: linear-gradient(45deg, #667eea, #764ba2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Modern Navbar Enhanced */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(102, 126, 234, 0.15) !important;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar-scrolled {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px);
    }
}

.navbar-logo {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.navbar-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.navbar-link:hover::before {
    width: 100%;
}

.navbar-link:hover {
    color: #667eea !important;
    transform: translateY(-1px);
}

/* Contact Form Enhancements */
.contact-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Service Dropdown Styling */
select[name="service"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

select[name="service"] optgroup {
    font-weight: bold;
    font-size: 14px;
    color: #374151;
    background-color: #f9fafb;
    padding: 8px 12px;
}

select[name="service"] option {
    padding: 8px 12px;
    font-size: 14px;
    color: #374151;
}

select[name="service"] optgroup option {
    font-weight: normal;
    padding-left: 20px;
    color: #6b7280;
}

/* Button Hover Effects */
.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Green Call Button Enhancement */
.bg-green-500 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    position: relative;
    overflow: hidden;
}

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

.bg-green-500:hover::before {
    left: 100%;
}

.bg-green-500:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4) !important;
}

/* Service Icons */
.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Stats Section */
.stats-bg {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 50%, rgba(240, 147, 251, 0.9) 100%),
                url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?ixlib=rb-4.0.3&auto=format&fit=crop&w=2025&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Testimonial Cards */
.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Loading Animation - Disabled */

/* Responsive Enhancements */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    .hero-bg {
        background-attachment: scroll;
        padding-top: 80px; /* Add padding to account for fixed navbar */
    }
    
    .about-bg {
        background-attachment: scroll;
    }
    
    .stats-bg {
        background-attachment: scroll;
    }
    
    /* Ensure hero section starts below navbar on mobile */
    #home {
        min-height: 100vh;
        margin-top: 0;
        padding-top: 60px;
    }
    
    /* Mobile navbar adjustments */
    #navbar {
        height: 60px;
        min-height: 60px;
        width: 100vw !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        overflow-x: hidden !important;
        z-index: 9999 !important;
        position: relative;
    }
    
    /* Mobile Menu Styling - BEAUTIFUL & MODERN */
    #mobile-menu {
        position: fixed !important;
        top: 64px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        z-index: 999999 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
        border-top: 1px solid rgba(102, 126, 234, 0.3) !important;
    }
    
    /* Slide down animation */
    @keyframes slideDown {
        from {
            transform: translateY(-20px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    /* Slide up animation for closing */
    @keyframes slideUp {
        from {
            transform: translateY(0);
            opacity: 1;
        }
        to {
            transform: translateY(-20px);
            opacity: 0;
        }
    }
    
    #mobile-menu.closing {
        animation: slideUp 0.2s ease-in !important;
    }
    
    #mobile-menu.show {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    #mobile-menu.hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .mobile-menu-link {
        display: flex !important;
        align-items: center;
        text-decoration: none !important;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-weight: 500 !important;
        color: #374151 !important;
        background: transparent !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    
    .mobile-menu-link:hover {
        background: linear-gradient(90deg, rgba(102, 126, 234, 0.08), rgba(102, 126, 234, 0.02)) !important;
        transform: translateX(8px) !important;
        color: #667eea !important;
    }
    
    .mobile-menu-link:focus {
        background: transparent !important;
        color: #374151 !important;
        outline: none !important;
    }
    
    .mobile-menu-link:active {
        background: transparent !important;
        color: #374151 !important;
    }
    
    .mobile-menu-link:visited {
        background: transparent !important;
        color: #374151 !important;
    }
    
    .mobile-menu-link:link {
        background: transparent !important;
        color: #374151 !important;
    }
    
    .mobile-menu-link:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-link i {
        flex-shrink: 0;
        transition: all 0.3s ease;
        color: #667eea !important;
        width: 20px !important;
        text-align: center;
        margin-right: 12px !important;
    }
    
    .mobile-menu-link:hover i {
        transform: scale(1.1);
    }
    
    /* Mobile hamburger button */
    #mobile-menu-button {
        z-index: 10001 !important;
        position: relative;
    }
    
    #mobile-menu-button i {
        transition: transform 0.3s ease;
    }
    
    #mobile-menu-button.active i {
        transform: rotate(90deg);
    }
    
    /* Mobile navbar text size - BIGGER */
    #navbar .navbar-logo span {
        font-size: 16px !important;
        line-height: 1.3;
        letter-spacing: -0.2px;
        font-weight: 700 !important;
    }
    
    #navbar .navbar-logo i {
        font-size: 22px !important;
        margin-right: 8px !important;
    }
    
    /* Mobile navbar container padding adjustment */
    #navbar .max-w-7xl {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    /* Mobile hero content adjustments */
    #home .max-w-7xl {
        padding-top: 2rem;
    }
    
    /* Ensure hero section accounts for navbar */
    @media (max-width: 768px) {
        #home {
            padding-top: 60px; /* Standard navbar height */
        }
        
        /* Hero section should be behind mobile menu */
        #home {
            position: relative;
            z-index: 1;
        }
    }
    
    
    /* Digital services buttons mobile fix */
    #digital-services .bg-gradient-to-r {
        font-size: 13px !important;
        padding: 10px 12px !important;
        line-height: 1.3 !important;
        word-break: break-word;
        text-align: center;
        white-space: normal;
        min-height: 44px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    /* Specific fix for long button text */
    #digital-services .bg-gradient-to-r i {
        margin-right: 4px !important;
        flex-shrink: 0;
    }
    
    /* Digital services cards mobile */
    .grid.lg\\:grid-cols-2 {
        gap: 2rem;
    }
    
    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    z-index: 1000;
    transition: width 0.1s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #5a6fd8, #6b4397);
}
