/* Service Cards */
.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Service Icons */
.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

/* Hero Section Enhancements */
.ultd-hero .ast-container {
    max-width: 800px;
    margin: 0 auto;
}

.ultd-hero .ast-button {
    display: inline-block;
    font-size: 1.1rem;
    padding: 15px 40px;
}

/* Services Section */
.ultd-services .ast-row {
    margin-top: 2rem;
}

.ultd-services h2 {
    margin-bottom: 1rem;
}

.ultd-services .subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Blog Styles */
.blog-card {
    position: relative;
    overflow: hidden;
}

.blog-thumbnail {
    margin: -30px -30px 20px -30px;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.blog-date {
    color: var(--primary);
    font-weight: 500;
}

.blog-category {
    background: var(--secondary);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.blog-card h3 {
    margin-bottom: 0.5rem;
}

.blog-card h3 a:hover {
    color: var(--accent) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .ultd-hero {
        padding: 80px 0;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .blog-thumbnail {
        margin: -20px -20px 15px -20px;
    }
    
    .blog-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .ultd-hero h1 {
        font-size: 1.8rem;
    }
    
    .ultd-hero p {
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .blog-thumbnail {
        margin: -15px -15px 10px -15px;
    }
    
    .blog-image {
        height: 120px;
    }
}

/* Social Media Banner Styles */
.social-media-banner {
    position: relative;
    overflow: hidden;
}

.social-media-banner::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="social-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.05"/><circle cx="80" cy="80" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23social-pattern)"/></svg>');
    opacity: 0.3;
}

.social-media-banner .ast-container {
    position: relative;
    z-index: 1;
}

.social-icon {
    position: relative;
    overflow: hidden;
}

.social-icon::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;
}

.social-icon:hover::before {
    left: 100%;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(255,255,255,0.2) !important;
    border-color: rgba(255,255,255,0.4) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Social Media Icons Responsive */
@media (max-width: 768px) {
    .social-icons {
        gap: 1.5rem !important;
    }
    
    .social-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .social-icon span {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .social-icons {
        gap: 1rem !important;
    }
    
    .social-icon {
        width: 45px !important;
        height: 45px !important;
    }
    
    .social-icon span {
        font-size: 1.1rem !important;
    }
}

/* Contact Form Styles */
.contact-popup {
    animation: fadeIn 0.3s ease;
}

.contact-form-container {
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.close-btn:hover {
    color: var(--primary) !important;
    transform: scale(1.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn:hover {
    background: #1e40af !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .contact-form-container {
        margin: 20px;
        padding: 1.5rem !important;
    }
    
    .close-btn {
        top: 10px !important;
        right: 15px !important;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        margin: 10px;
        padding: 1rem !important;
    }
    
    .submit-btn {
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }
} 