/* Custom Styles for Frontier Solar Inc */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Blob Animations */
@keyframes blob-move-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes blob-move-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.2); }
    66% { transform: translate(20px, -40px) scale(0.8); }
}

@keyframes blob-move-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, 20px) scale(1.1); }
    66% { transform: translate(-30px, -30px) scale(0.9); }
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 212, 170, 0.15);
    top: 10%;
    right: -100px;
    animation: blob-move-1 15s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(0, 78, 150, 0.1);
    bottom: 20%;
    left: -50px;
    animation: blob-move-2 18s ease-in-out infinite;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: rgba(0, 245, 200, 0.12);
    top: 50%;
    left: 30%;
    animation: blob-move-3 20s ease-in-out infinite;
}

/* Service Card Hover Effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00D4AA, #00F5C8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Mobile Menu Animations */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #00D4AA;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-link:hover::after {
    width: 100%;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Input Focus Styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #00D4AA !important;
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1) !important;
}

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

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

::-webkit-scrollbar-thumb {
    background: #004E96;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #003566;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blob {
        opacity: 0.3;
    }
    
    .blob-1 {
        width: 250px;
        height: 250px;
    }
    
    .blob-2 {
        width: 200px;
        height: 200px;
    }
    
    .blob-3 {
        width: 150px;
        height: 150px;
    }
}

/* Print Styles */
@media print {
    .blob,
    .animate-float,
    .animate-bounce {
        display: none;
    }
}
