Files
smartsoltech_site/smartsoltech/web/templates/web/home.html
Andrey K. Choi 614c26edbc
Some checks failed
continuous-integration/drone/push Build is failing
Fix service detail buttons and improve career page benefit cards visibility
- Fixed service detail modal buttons not working on /service/4/ pages
- Updated service request form to use modern Bootstrap modal
- Enhanced service_detail view to handle new form fields properly
- Added beautiful glassmorphism cards for career benefits section
- Improved text visibility with shadows and contrasting backgrounds
- Added hover animations and responsive design for benefit cards
- Updated career page CSS with modern card designs and effects
2025-11-25 17:38:26 +09:00

1103 lines
36 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends 'web/base_modern.html' %}
{% load static %}
{% block title %}SmartSolTech - Инновационные технологические решения{% endblock %}
{% block content %}
<!-- Hero Section with Modern Carousel -->
<section class="hero-modern">
{% if hero_banners %}
<div id="heroCarousel" class="carousel slide" data-bs-ride="carousel" data-bs-interval="5000">
<div class="carousel-inner">
{% for banner in hero_banners %}
<div class="carousel-item {% if forloop.first %}active{% endif %}">
{% if banner.video %}
<video class="hero-video" muted autoplay loop playsinline
{% if banner.video_poster %}poster="{{ banner.video_poster.url }}"{% endif %}>
<source src="{{ banner.video.url }}" type="video/mp4">
{% if banner.image %}
<img src="{{ banner.image.url }}" alt="{{ banner.title }}" class="hero-fallback">
{% endif %}
</video>
{% elif banner.image %}
<img src="{{ banner.image.url }}" alt="{{ banner.title }}" class="hero-image">
{% endif %}
<div class="hero-overlay"></div>
<div class="hero-content">
<div class="container-modern">
<div class="row align-items-center justify-content-center text-center">
<div class="col-lg-8">
<h1 class="hero-title">{{ banner.title }}</h1>
<p class="hero-subtitle">{{ banner.subtitle }}</p>
{% if banner.button_text and banner.button_url %}
<a href="{{ banner.button_url }}" class="btn btn-primary-modern btn-lg mt-4">
{{ banner.button_text }}
</a>
{% endif %}
</div>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
<!-- Modern Pill Indicators -->
{% if hero_banners|length > 1 %}
<div class="hero-indicators">
<div class="pill-container">
{% for banner in hero_banners %}
<button type="button"
data-bs-target="#heroCarousel"
data-bs-slide-to="{{ forloop.counter0 }}"
class="pill-indicator {% if forloop.first %}active{% endif %}"
aria-current="{% if forloop.first %}true{% endif %}"
aria-label="Slide {{ forloop.counter }}"></button>
{% endfor %}
</div>
</div>
{% endif %}
</div>
{% else %}
<!-- Default Hero when no banners -->
<div class="hero-default">
<div class="hero-overlay"></div>
<div class="hero-content">
<div class="container-modern">
<div class="row align-items-center justify-content-center text-center">
<div class="col-lg-8">
<h1 class="hero-title">SmartSolTech</h1>
<p class="hero-subtitle">Инновационные технологические решения для вашего бизнеса</p>
<a href="{% url 'services' %}" class="btn btn-primary-modern btn-lg mt-4">
Наши услуги
</a>
</div>
</div>
</div>
</div>
</div>
{% endif %}
</section>
<!-- Services Preview -->
<section class="section-padding">
<div class="container-modern">
<div class="text-center mb-5">
<h2 class="display-6 fw-bold mb-4">
Наши <span class="text-gradient">услуги</span>
</h2>
<p class="lead text-muted">
Предоставляем полный спектр IT-решений
</p>
</div>
<div class="row g-4">
{% for service in services %}
<div class="col-lg-4 col-md-6">
<div class="card-modern h-100">
<div class="card-body text-center">
<div class="service-icon mb-3">
<i class="fas fa-code text-primary"></i>
</div>
<h5 class="mb-3">{{ service.name }}</h5>
<p class="text-muted mb-4">{{ service.description|truncatewords:15 }}</p>
<a href="{% url 'service_detail' service.pk %}" class="btn btn-outline-primary">
Подробнее
</a>
</div>
</div>
</div>
{% endfor %}
</div>
<div class="text-center mt-5">
<a href="{% url 'services' %}" class="btn btn-primary-modern btn-lg">
Все услуги
</a>
</div>
</div>
</section>
<!-- About Preview -->
<section class="section-padding bg-light">
<div class="container-modern">
<div class="row g-5 align-items-center">
<div class="col-lg-6">
<h2 class="display-6 fw-bold mb-4">
О <span class="text-gradient">SmartSolTech</span>
</h2>
<p class="lead mb-4">
Мы - команда профессионалов, специализирующихся на создании
инновационных технологических решений для бизнеса.
</p>
<div class="row g-3 mb-4">
<div class="col-sm-6">
<div class="d-flex align-items-center">
<i class="fas fa-check-circle text-success me-3"></i>
<span>Индивидуальный подход</span>
</div>
</div>
<div class="col-sm-6">
<div class="d-flex align-items-center">
<i class="fas fa-check-circle text-success me-3"></i>
<span>Современные технологии</span>
</div>
</div>
<div class="col-sm-6">
<div class="d-flex align-items-center">
<i class="fas fa-check-circle text-success me-3"></i>
<span>Качественная поддержка</span>
</div>
</div>
<div class="col-sm-6">
<div class="d-flex align-items-center">
<i class="fas fa-check-circle text-success me-3"></i>
<span>Соблюдение сроков</span>
</div>
</div>
</div>
<a href="{% url 'about' %}" class="btn btn-primary-modern">
Узнать больше
</a>
</div>
<div class="col-lg-6">
<div class="position-relative">
<img src="{% static 'assets/img/about-preview.jpg' %}"
class="img-fluid rounded-4 shadow-lg"
alt="О нас">
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="section-padding bg-gradient text-white">
<div class="container-modern text-center">
<div class="row justify-content-center">
<div class="col-lg-8">
<h2 class="display-6 fw-bold mb-4">
Готовы воплотить ваши идеи в жизнь?
</h2>
<p class="lead mb-5 opacity-90">
Свяжитесь с нами для бесплатной консультации
</p>
<div class="d-flex flex-wrap gap-3 justify-content-center">
<button class="btn btn-light btn-lg text-primary"
onclick="openServiceModal(0, 'Консультация')">
<i class="fas fa-comments me-2"></i>
Бесплатная консультация
</button>
<a href="{% url 'services' %}" class="btn btn-outline-light btn-lg">
<i class="fas fa-th-large me-2"></i>
Наши услуги
</a>
</div>
</div>
</div>
</div>
</section>
<!-- Include Modal -->
{% include 'web/modal_order_form.html' %}
{% endblock %}
{% block extra_scripts %}
<script>
// Hero carousel enhancements
document.addEventListener('DOMContentLoaded', function() {
const carousel = document.querySelector('#heroCarousel');
if (carousel) {
const indicators = document.querySelectorAll('.pill-indicator');
carousel.addEventListener('slide.bs.carousel', function(e) {
indicators.forEach((indicator, index) => {
indicator.classList.toggle('active', index === e.to);
});
});
}
});
</script>
{% endblock %}
{% load static %}
{% block title %}SmartSolTech - IT Solutions{% endblock %}
{% block content %}
<!-- Hero Banner Section -->
<section class="hero-banner-container">
<div class="hero-carousel" id="heroCarousel">
{% for banner in hero_banners %}
<div class="hero-slide {% if forloop.first %}active{% endif %}">
<div class="hero-content-wrapper">
{% if banner.video %}
<video class="hero-media" autoplay muted loop
{% if banner.video_poster %}poster="{{ banner.video_poster.url }}"{% endif %}>
<source src="{{ banner.video.url }}" type="video/mp4">
{% if banner.image %}
<img src="{{ banner.image.url }}" alt="{{ banner.title }}" class="hero-media">
{% endif %}
</video>
{% elif banner.image %}
<img src="{{ banner.image.url }}" alt="{{ banner.title }}" class="hero-media">
{% else %}
<div class="hero-placeholder">
<i class="fas fa-code"></i>
<span>SmartSolTech</span>
</div>
{% endif %}
<div class="hero-overlay"></div>
<div class="hero-text-content">
<h1 class="hero-title">{{ banner.title }}</h1>
<p class="hero-description">{{ banner.description }}</p>
{% if banner.button_text and banner.button_link %}
<a href="{{ banner.button_link }}" class="btn btn-primary-modern btn-lg hero-cta">
<i class="fas fa-rocket me-2"></i>
{{ banner.button_text }}
</a>
{% endif %}
</div>
</div>
</div>
{% empty %}
<!-- Fallback content when no banners exist -->
<div class="hero-slide active">
<div class="hero-content-wrapper">
<div class="hero-placeholder">
<i class="fas fa-code"></i>
<span>SmartSolTech</span>
</div>
<div class="hero-overlay"></div>
<div class="hero-text-content">
<h1 class="hero-title">Добро пожаловать в SmartSolTech</h1>
<p class="hero-description">Инновационные IT-решения для вашего бизнеса</p>
<a href="{% url 'services' %}" class="btn btn-primary-modern btn-lg hero-cta">
<i class="fas fa-rocket me-2"></i>
Наши услуги
</a>
</div>
</div>
</div>
{% endfor %}
</div>
<!-- Hero Navigation Pills -->
{% if hero_banners|length > 1 %}
<div class="hero-nav-container">
<div class="hero-nav-wrapper">
{% for banner in hero_banners %}
<button class="hero-nav-item {% if forloop.first %}active{% endif %}"
data-slide="{{ forloop.counter0 }}">
<span class="hero-nav-dot"></span>
</button>
{% endfor %}
</div>
</div>
{% endif %}
</section>
<!-- Quick Services Section -->
<section class="section-padding">
<div class="container-modern">
<div class="row justify-content-center text-center mb-5">
<div class="col-lg-8">
<h2 class="display-6 fw-bold mb-4">
Наши <span class="text-gradient">услуги</span>
</h2>
<p class="lead text-muted">
Комплексные IT-решения для развития вашего бизнеса
</p>
</div>
</div>
<div class="row g-4">
{% for service in services|slice:":6" %}
<div class="col-lg-4 col-md-6">
<div class="card-modern h-100">
<div class="position-relative overflow-hidden" style="height: 180px;">
{% if service.video %}
<video class="w-100 h-100 service-video"
style="object-fit: cover;"
muted
loop
{% if service.video_poster %}poster="{{ service.video_poster.url }}"{% endif %}
onmouseover="this.play()"
onmouseout="this.pause()">
<source src="{{ service.video.url }}" type="video/mp4">
{% if service.image %}
<img src="{{ service.image.url }}" class="w-100 h-100" style="object-fit: cover;" alt="{{ service.name }}">
{% endif %}
</video>
{% elif service.image %}
<img src="{{ service.image.url }}" class="w-100 h-100" style="object-fit: cover;" alt="{{ service.name }}">
{% else %}
<div class="w-100 h-100 bg-gradient d-flex align-items-center justify-content-center">
<i class="fas fa-cogs text-white" style="font-size: 2.5rem;"></i>
</div>
{% endif %}
<div class="position-absolute top-0 start-0 p-3">
<span class="badge bg-primary">{{ service.category.name }}</span>
</div>
</div>
<div class="card-body">
<h5 class="mb-3">{{ service.name }}</h5>
<p class="text-muted mb-4">{{ service.description|truncatewords:12 }}</p>
<a href="{% url 'service_detail' service.pk %}" class="btn btn-outline-primary">
Подробнее
</a>
</div>
</div>
</div>
{% endfor %}
</div>
<div class="text-center mt-5">
<a href="{% url 'services' %}" class="btn btn-primary-modern btn-lg">
<i class="fas fa-th-large me-2"></i>
Все услуги
</a>
</div>
</div>
</section>
<!-- Why Choose Us -->
<section class="section-padding bg-light">
<div class="container-modern">
<div class="row justify-content-center text-center mb-5">
<div class="col-lg-8">
<h2 class="display-6 fw-bold mb-4">
Почему выбирают <span class="text-gradient">SmartSolTech</span>
</h2>
<p class="lead text-muted">
Мы создаем технологии будущего уже сегодня
</p>
</div>
</div>
<div class="row g-4">
<div class="col-lg-3 col-md-6">
<div class="text-center">
<div class="icon-box mx-auto mb-4 bg-primary">
<i class="fas fa-rocket text-white"></i>
</div>
<h5 class="mb-3">Инновации</h5>
<p class="text-muted">Используем передовые технологии и методы разработки</p>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="text-center">
<div class="icon-box mx-auto mb-4 bg-success">
<i class="fas fa-shield-alt text-white"></i>
</div>
<h5 class="mb-3">Надежность</h5>
<p class="text-muted">Гарантируем качество и стабильность наших решений</p>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="text-center">
<div class="icon-box mx-auto mb-4 bg-warning">
<i class="fas fa-clock text-white"></i>
</div>
<h5 class="mb-3">Скорость</h5>
<p class="text-muted">Быстрая разработка с соблюдением всех требований</p>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="text-center">
<div class="icon-box mx-auto mb-4 bg-info">
<i class="fas fa-headset text-white"></i>
</div>
<h5 class="mb-3">Поддержка</h5>
<p class="text-muted">24/7 техническая поддержка всех наших проектов</p>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="section-padding bg-gradient text-white">
<div class="container-modern text-center">
<div class="row justify-content-center">
<div class="col-lg-8">
<h2 class="display-6 fw-bold mb-4">
Готовы к цифровой трансформации?
</h2>
<p class="lead mb-5 opacity-90">
Начните ваш проект с бесплатной консультации
</p>
<div class="d-flex flex-wrap gap-3 justify-content-center">
<a href="{% url 'services' %}" class="btn btn-light btn-lg text-primary">
<i class="fas fa-comments me-2"></i>
Бесплатная консультация
</a>
<a href="{% url 'about' %}" class="btn btn-outline-dark btn-lg">
<i class="fas fa-info-circle me-2"></i>
О нас
</a>
</div>
</div>
</div>
</div>
</section>
<!-- Team Section -->
{% if team_members %}
<section class="section-padding bg-light">
<div class="container-modern">
<div class="row justify-content-center mb-5">
<div class="col-lg-8 text-center">
<h2 class="display-5 fw-bold text-primary mb-4">Наша команда</h2>
<p class="lead text-muted">
Профессионалы, которые воплощают ваши идеи в реальность
</p>
</div>
</div>
<div class="row g-4">
{% for member in team_members %}
<div class="col-lg-3 col-md-6">
<div class="team-card">
<div class="team-image-wrapper">
{% if member.photo %}
<img src="{{ member.photo.url }}" alt="{{ member.full_name }}" class="team-image">
{% else %}
<div class="team-placeholder">
<i class="fas fa-user"></i>
</div>
{% endif %}
<div class="team-overlay">
<div class="team-social">
{% if member.linkedin %}
<a href="{{ member.linkedin }}" target="_blank" class="social-link">
<i class="fab fa-linkedin"></i>
</a>
{% endif %}
{% if member.github %}
<a href="{{ member.github }}" target="_blank" class="social-link">
<i class="fab fa-github"></i>
</a>
{% endif %}
{% if member.telegram %}
<a href="https://t.me/{{ member.telegram|cut:'@' }}" target="_blank" class="social-link">
<i class="fab fa-telegram"></i>
</a>
{% endif %}
</div>
</div>
</div>
<div class="team-info">
<h5 class="team-name">{{ member.full_name }}</h5>
<p class="team-position text-primary">{{ member.position }}</p>
{% if member.department %}
<p class="team-department text-muted small">{{ member.department }}</p>
{% endif %}
{% if member.experience_years > 0 %}
<div class="team-experience">
<small class="text-muted">
<i class="fas fa-clock me-1"></i>
{{ member.experience_years }}+ лет опыта
</small>
</div>
{% endif %}
{% if member.skills_list %}
<div class="team-skills mt-2">
{% for skill in member.skills_list|slice:":3" %}
<span class="skill-tag">{{ skill }}</span>
{% endfor %}
{% if member.skills_list|length > 3 %}
<span class="skill-tag more">+{{ member.skills_list|length|add:"-3" }}</span>
{% endif %}
</div>
{% endif %}
</div>
</div>
</div>
{% endfor %}
</div>
<div class="text-center mt-5">
<a href="{% url 'about' %}" class="btn btn-primary btn-lg">
<i class="fas fa-users me-2"></i>
Познакомиться с командой
</a>
</div>
</div>
</section>
{% endif %}
<!-- Career Section -->
{% if featured_careers %}
<section class="section-padding">
<div class="container-modern">
<div class="row justify-content-center mb-5">
<div class="col-lg-8 text-center">
<h2 class="display-5 fw-bold text-primary mb-4">Карьера в SmartSolTech</h2>
<p class="lead text-muted">
Присоединяйтесь к нашей команде и развивайтесь в мире технологий
</p>
</div>
</div>
<div class="row g-4">
{% for career in featured_careers %}
<div class="col-lg-4 col-md-6">
<div class="career-card">
<div class="career-header">
<div class="career-badge">
<span class="badge bg-success">{{ career.get_employment_type_display }}</span>
{% if career.is_featured %}
<span class="badge bg-warning text-dark">Рекомендуем</span>
{% endif %}
</div>
<h4 class="career-title">{{ career.title }}</h4>
<p class="career-department text-muted">
<i class="fas fa-building me-1"></i>
{{ career.department }}
</p>
</div>
<div class="career-details">
<div class="detail-item">
<i class="fas fa-map-marker-alt text-primary"></i>
<span>{{ career.location }}</span>
</div>
<div class="detail-item">
<i class="fas fa-chart-line text-success"></i>
<span>{{ career.get_experience_level_display }}</span>
</div>
<div class="detail-item">
<i class="fas fa-won-sign text-warning"></i>
<span>{{ career.salary_range }}</span>
</div>
</div>
<div class="career-description">
<p class="text-muted">{{ career.description|truncatewords:15 }}</p>
</div>
{% if career.required_skills_list %}
<div class="career-skills">
{% for skill in career.required_skills_list|slice:":4" %}
<span class="skill-tag small">{{ skill }}</span>
{% endfor %}
{% if career.required_skills_list|length > 4 %}
<span class="skill-tag small more">+{{ career.required_skills_list|length|add:"-4" }}</span>
{% endif %}
</div>
{% endif %}
<div class="career-footer">
{% if career.application_deadline %}
<small class="text-muted d-block mb-2">
<i class="fas fa-calendar-alt me-1"></i>
До {{ career.application_deadline }}
</small>
{% endif %}
<a href="mailto:{{ career.contact_email }}?subject=Заявка на вакансию: {{ career.title }}"
class="btn btn-primary w-100">
<i class="fas fa-paper-plane me-2"></i>
Откликнуться
</a>
</div>
</div>
</div>
{% endfor %}
</div>
<div class="text-center mt-5">
<a href="{% url 'career' %}" class="btn btn-outline-primary btn-lg">
<i class="fas fa-briefcase me-2"></i>
Все вакансии
</a>
</div>
</div>
</section>
{% endif %}
{% endblock %}
{% block extra_styles %}
<style>
/* Добавим стили для Hero Banner прямо в шаблон для экстренного исправления */
.hero-banner-container {
position: relative;
height: 70vh;
min-height: 500px;
max-height: 800px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.hero-carousel {
position: relative;
width: 100%;
max-width: 1400px;
height: 90%;
border-radius: 24px;
overflow: hidden;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}
.hero-slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.hero-slide.active {
opacity: 1;
}
.hero-content-wrapper {
position: relative;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.hero-media {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
}
.hero-placeholder {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--gradient-primary);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: white;
font-size: 4rem;
z-index: 1;
}
.hero-placeholder span {
font-size: 2rem;
margin-top: 1rem;
font-weight: bold;
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
z-index: 2;
}
.hero-text-content {
position: relative;
z-index: 3;
text-align: center;
color: white;
max-width: 800px;
padding: 2rem;
}
.hero-title {
font-size: 3.5rem;
font-weight: 900;
margin-bottom: 1.5rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
line-height: 1.2;
}
.hero-description {
font-size: 1.25rem;
margin-bottom: 2rem;
opacity: 0.95;
line-height: 1.6;
}
.hero-cta {
transform: scale(1);
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.hero-cta:hover {
transform: scale(1.05) translateY(-2px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
/* Hero Navigation Pills */
.hero-nav-container {
position: absolute;
bottom: 2rem;
left: 50%;
transform: translateX(-50%);
z-index: 4;
}
.hero-nav-wrapper {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(20px);
border-radius: 50px;
padding: 12px 24px;
display: flex;
align-items: center;
gap: 8px;
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.hero-nav-item {
background: none;
border: none;
padding: 8px;
cursor: pointer;
border-radius: 50%;
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
position: relative;
}
.hero-nav-item.active {
background: rgba(255, 255, 255, 0.2);
}
.hero-nav-dot {
display: block;
width: 8px;
height: 8px;
background: rgba(255, 255, 255, 0.6);
border-radius: 50%;
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.hero-nav-item.active .hero-nav-dot {
background: white;
width: 24px;
border-radius: 12px;
}
.hero-nav-item:hover {
background: rgba(255, 255, 255, 0.15);
}
.hero-nav-item:hover .hero-nav-dot {
background: white;
}
/* Icon Box */
.icon-box {
width: 80px;
height: 80px;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
transition: all 0.3s ease;
}
.icon-box:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
/* Responsive */
@media (max-width: 768px) {
.hero-banner-container {
height: 60vh;
min-height: 400px;
}
.hero-carousel {
border-radius: 16px;
height: 95%;
}
.hero-title {
font-size: 2.5rem;
}
.hero-description {
font-size: 1.1rem;
}
.hero-text-content {
padding: 1rem;
}
}
@media (max-width: 480px) {
.hero-title {
font-size: 2rem;
}
.hero-nav-wrapper {
padding: 8px 16px;
}
}
/* Team Section Styles */
.team-card {
background: white;
border-radius: 20px;
overflow: hidden;
transition: all 0.4s ease;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
height: 100%;
}
.team-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.team-image-wrapper {
position: relative;
width: 100%;
height: 250px;
overflow: hidden;
}
.team-image {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}
.team-placeholder {
width: 100%;
height: 100%;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 4rem;
}
.team-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
opacity: 0;
transition: opacity 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.team-card:hover .team-overlay {
opacity: 1;
}
.team-card:hover .team-image {
transform: scale(1.1);
}
.team-social {
display: flex;
gap: 15px;
}
.social-link {
width: 50px;
height: 50px;
background: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #667eea;
text-decoration: none;
font-size: 1.5rem;
transition: all 0.3s ease;
}
.social-link:hover {
transform: scale(1.1) rotate(5deg);
color: #764ba2;
}
.team-info {
padding: 25px 20px;
}
.team-name {
font-weight: 600;
margin-bottom: 8px;
color: #2d3748;
}
.team-position {
font-weight: 500;
margin-bottom: 8px;
}
.team-department {
margin-bottom: 12px;
}
.team-experience {
margin-bottom: 15px;
}
.team-skills {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.skill-tag {
background: #f7fafc;
border: 1px solid #e2e8f0;
border-radius: 12px;
padding: 4px 10px;
font-size: 0.75rem;
font-weight: 500;
color: #4a5568;
transition: all 0.2s ease;
}
.skill-tag:hover {
background: #667eea;
color: white;
border-color: #667eea;
}
.skill-tag.more {
background: #667eea;
color: white;
border-color: #667eea;
}
/* Career Section Styles */
.career-card {
background: white;
border-radius: 20px;
padding: 30px;
transition: all 0.4s ease;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
height: 100%;
border: 2px solid transparent;
display: flex;
flex-direction: column;
}
.career-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
border-color: #667eea;
}
.career-header {
margin-bottom: 20px;
}
.career-badge {
margin-bottom: 15px;
}
.career-badge .badge {
margin-right: 8px;
font-size: 0.75rem;
padding: 6px 12px;
border-radius: 20px;
}
.career-title {
font-weight: 600;
margin-bottom: 8px;
color: #2d3748;
line-height: 1.3;
}
.career-department {
margin-bottom: 0;
font-weight: 500;
}
.career-details {
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid #e2e8f0;
}
.detail-item {
display: flex;
align-items: center;
margin-bottom: 10px;
font-size: 0.9rem;
}
.detail-item i {
width: 20px;
margin-right: 10px;
flex-shrink: 0;
}
.career-description {
margin-bottom: 20px;
flex-grow: 1;
}
.career-skills {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 25px;
}
.career-skills .skill-tag.small {
font-size: 0.7rem;
padding: 3px 8px;
}
.career-footer {
margin-top: auto;
}
/* Responsive for Team and Career */
@media (max-width: 768px) {
.team-image-wrapper {
height: 200px;
}
.team-info {
padding: 20px 15px;
}
.social-link {
width: 40px;
height: 40px;
font-size: 1.2rem;
}
.career-card {
padding: 25px 20px;
}
.career-title {
font-size: 1.1rem;
}
}
</style>
{% endblock %}