/* Custom styles for IT company website */

/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

/* Hero section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

/* Services icons */
.icon-lg {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials */
.testimonial-card {
    border-left: 4px solid #3498db;
}

/* Portfolio items */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.portfolio-item img {
    transition: transform 0.5s ease;
}

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

/* Client portal */
.client-portal {
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Accessibility improvements */
:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Animation for call-to-action buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-primary:focus:after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Additional styles for new templates */

/* About page */
.mission-card {
    transition: transform 0.3s ease;
}

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

.team-member-img {
    object-fit: cover;
}

/* Services page */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.grayscale-hover {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.grayscale-hover:hover {
    filter: grayscale(0%);
    opacity: 1;
}

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

.portfolio-item:hover {
    transform: translateY(-5px);
}

/* Blog page */
.post-card {
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Careers page */
.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
}

/* Client portal */
.client-feature-card {
    transition: all 0.3s ease;
}

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

/* Chatbot styles */
.chatbot-toggle {
    width: 60px;
    height: 60px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chat-messages {
    background-color: #f8f9fa;
}

.bot-message .bg-light {
    background-color: #e9ecef !important;
}

.user-message .bg-primary {
    background-color: #0d6efd !important;
}

/* Animation for new messages */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message {
    animation: fadeIn 0.3s ease;
}

