/* Custom Styles for Tech Parihar Website */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #67D84C;
    --teal: #1EB7A0;
    --cyan: #8BD9E8;
    --dark: #0B1120;
    --light: #F5FBFA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(11, 17, 32, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, #67D84C 0%, #1EB7A0 100%);
}

.gradient-teal {
    background: linear-gradient(135deg, #1EB7A0 0%, #8BD9E8 100%);
}

.gradient-dark {
    background: linear-gradient(135deg, #0B1120 0%, #1a2744 100%);
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.floating-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #67D84C 0%, #1EB7A0 100%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.floating-shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8BD9E8 0%, #1EB7A0 100%);
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
}

.floating-shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #1EB7A0 0%, #67D84C 100%);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

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

/* Service Card Hover Effect */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 183, 160, 0.15);
}

/* Portfolio Filter Buttons */
.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: linear-gradient(135deg, #67D84C 0%, #1EB7A0 100%);
    color: white;
}

/* Portfolio Item */
.portfolio-item {
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.02);
}

/* Testimonial Card */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Counter Animation */
.counter {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #67D84C 0%, #1EB7A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Form Styles */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #1EB7A0;
    box-shadow: 0 0 0 3px rgba(30, 183, 160, 0.1);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #67D84C 0%, #1EB7A0 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 183, 160, 0.3);
}

.btn-secondary {
    border: 2px solid #1EB7A0;
    color: #1EB7A0;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #1EB7A0;
    color: white;
    transform: translateY(-2px);
}

/* Scroll to Top Button */
#scrollTop {
    transition: all 0.3s ease;
}

#scrollTop:hover {
    transform: translateY(-5px);
}

/* Chat Assistant */
#chatWindow {
    transition: all 0.3s ease;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-shape {
        width: 200px;
        height: 200px;
    }
    
    .counter {
        font-size: 2rem;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #67D84C 0%, #1EB7A0 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1EB7A0 0%, #67D84C 100%);
}

/* Dark Mode Scrollbar */
.dark ::-webkit-scrollbar-track {
    background: #1a2744;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Bounce Animation */
.bounce {
    animation: bounce 2s infinite;
}

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

/* Shine Effect */
.shine {
    position: relative;
    overflow: hidden;
}

.shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

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