/* Modern UI Improvements */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Modern gradient backgrounds */
.banner-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 1;
}

.banner-section .auto-container {
    position: relative;
    z-index: 2;
}

/* Modern card styling */
.service-block .inner-box {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.service-block .inner-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Icon animations */
.service-block .icon-box {
    transition: all 0.3s ease;
}

.service-block:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* Button improvements */
.theme-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.theme-btn:hover::before {
    left: 100%;
}

.theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* CTA Section gradient */
.cta-section {
    background: linear-gradient(135deg, #1F1B44 0%, #3a2f6b 100%) !important;
    position: relative;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

/* About section enhancements */
.about-section {
    position: relative;
    padding: 80px 0;
}

.about-image {
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.2;
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.sec-title h2 span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reputation blocks */
.reputation-block .inner-box {
    border-left: 4px solid;
    border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
    padding-left: 25px;
    transition: all 0.3s ease;
}

.reputation-block:hover .inner-box {
    transform: translateX(10px);
    background: rgba(102, 126, 234, 0.02);
}

/* Gallery enhancements */
.gallery-block .image {
    border-radius: 16px;
    overflow: hidden;
}

.gallery-block .overlay-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

/* News blocks */
.news-block .image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-block:hover .image img {
    transform: scale(1.1);
}

/* Fade in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Pulse animation for icons */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.icon-box .icon {
    animation: pulse 2s ease-in-out infinite;
}

/* Modern form styling */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .service-block .inner-box {
        margin-bottom: 20px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
}

/* Loading animations */
.page-wrapper {
    animation: fadeInUp 0.5s ease-out;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
