/* =====================================================
   ETHICAL HACKER PENETRATION TESTING AGENCY TEMPLATE
   ===================================================== */

/* Color Variables - 5 Primary Colors + Light/Dark Shades */
:root {
  /* Primary Colors */
  --primary-blue: #3093fd;
  --primary-green: #16c88d;
  --primary-orange: #ecaa1d;
  --primary-purple: #9446f9;
  --primary-gray: #676d85;
  
  /* Light Shades */
  --light-blue: #cedfff;
  --light-green: #cee5d8;
  --light-orange: #ffe6bb;
  --light-purple: #e7e0ff;
  --light-gray: #f3f4f6;
  
  /* Dark Shades */
  --dark-blue: #15289f;
  --dark-green: #089565;
  --dark-orange: #d47812;
  --dark-purple: #a650f0;
  --dark-gray: #323841;
  
  /* Additional System Colors */
  --white: #ffffff;
  --black: #000000;
  --text-primary: #283850;
  --text-secondary: #646771;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --border-color: #fcfdff;
}

/* Base Typography - Conservative Sizing */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

/* Conservative Header Sizes */
h1 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.61rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.18rem;
}

h3 {
  font-size: 1.26rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.66rem;
}

h4 {
  font-size: 1.19rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.66rem;
}

h5 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.88rem;
}

h6 {
  font-size: 1.01rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.89rem;
}

/* Paragraph Conservative Sizing */
p {
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Navbar Brand - Conservative Size */
.navbar-brand {
  font-size: 1.21rem;
  font-weight: 600;
  color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-purple) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::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"><circle cx="25" cy="25" r="2" fill="rgba(70, 127, 255, 0.10)"/><circle cx="75" cy="75" r="1.5" fill="rgba(152, 89, 255, 0.10)"/><circle cx="50" cy="10" r="1" fill="rgba(16, 163, 102, 0.10)"/></svg>');
  background-size: 100px 100px;
  animation: float 20s ease-in-out infinite;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 200px;
}

/* Section Styling */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.99rem;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 0.91rem;
}

/* Service Cards */
.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 11px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-blue);
}

.service-price {
  font-size: 1.51rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 1rem;
}

/* Feature Cards */
.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.feature-icon {
  font-size: 2.64rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Team Cards */
.team-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team-role {
  color: var(--text-secondary);
  font-size: 0.89rem;
  margin-top: 0.83rem;
}

/* Review Cards */
.review-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.review-author {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.74rem;
}

.review-text {
  color: var(--text-secondary);
  font-style: italic;
}

/* FAQ Cards */
.faq-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 1.91rem;
}

.faq-question {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--text-secondary);
}

/* Price Plan Cards */
.price-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.price-card.featured {
  border-color: var(--primary-blue);
  box-shadow: 0 5px 20px rgba(36, 107, 245, 0.20);
}

.price-value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 1rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.price-features li:last-child {
  border-bottom: none;
}

/* Blog Cards */
.blog-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.17rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.04rem;
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.91rem;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
}

.contact-info {
  background: var(--light-blue);
  border-radius: 0.5rem;
  padding: 2rem;
}

.contact-info-item {
  margin-bottom: 1.60rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  color: var(--primary-blue);
  margin-right: 0.75rem;
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.91rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-blue);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
}

.btn-outline-primary {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline-primary:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none;
  }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Process Timeline */
.process-timeline {
  position: relative;
  padding: 2rem 0;
}

.process-item {
  position: relative;
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
}

.process-number {
  position: absolute;
  top: -15px;
  left: 1.5rem;
  background: var(--primary-blue);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.99rem;
}

/* Case Study Cards */
.case-study-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.case-study-title {
  font-size: 1.19rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* Timeline Cards */
.timeline-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-year {
  position: absolute;
  top: -10px;
  left: 1.5rem;
  background: var(--primary-green);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.76rem;
  font-weight: 600;
}

/* Career Cards */
.career-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.career-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.89rem;
}

.career-role {
  color: var(--primary-blue);
  font-size: 0.99rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Core Info Cards */
.core-info-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.core-info-icon {
  font-size: 2.61rem;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

/* Breadcrumbs */
.breadcrumb {
  background: var(--bg-secondary);
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item img {
  max-height: 24px;
  width: auto;
}

/* Utility Classes */
.text-primary-color {
  color: var(--primary-blue);
}

.text-secondary-color {
  color: var(--text-secondary);
}

.bg-light-blue {
  background-color: var(--light-blue);
}

.bg-light-green {
  background-color: var(--light-green);
}

.bg-light-purple {
  background-color: var(--light-purple);
}

.section-bg {
  background-color: var(--bg-secondary);
}

.border-primary {
  border-color: var(--primary-blue);
}

.text-center {
  text-align: center;
}

/* Space Page */
#space {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}

/* ОТКЛЮЧЕНИЕ ВСЕХ АНИМАЦИЙ И HOVER-ЭФФЕКТОВ НА МОБИЛЬНЫХ УСТРОЙСТВАХ */
@media (max-width: 768px) {
    /* Отключение float анимации hero section */
    .hero-section::before {
        animation: none !important;
    }
    
    /* Отключение всех transitions и transforms */
    .service-card,
    .feature-card,
    .team-card,
    .review-card,
    .faq-card,
    .price-card,
    .blog-card,
    .case-study-card,
    .timeline-card,
    .career-card,
    .core-info-card,
    .gallery-item,
    .gallery-item img,
    .team-photo,
    .process-number,
    .social-link {
        transition: none !important;
        transform: none !important;
    }
    
    /* Отключение hover-эффектов */
    .service-card:hover,
    .blog-card:hover,
    .gallery-item:hover,
    .gallery-item:hover img {
        transform: none !important;
        box-shadow: none !important;
    }
    
    /* Отключение Sal.js анимаций */
    [data-sal] {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Отключение кнопочных hover-эффектов */
    .btn-primary:hover,
    .btn-outline-primary:hover {
        transform: none !important;
    }
    
    /* Исправление navbar */
    .navbar {
        transition: none !important;
        transform: none !important;
    }
    
    /* Убираем animations для всех элементов */
    * {
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}

/* Дополнительное отключение на очень маленьких экранах */
@media (max-width: 575px) {
    /* Убираем все возможные анимации */
    .hero-section,
    .hero-section::before,
    .hero-content,
    .hero-image {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    /* Исправляем позиционирование hero content */
    .hero-content {
        padding-top: 100px !important;
    }
}
