/*
 * Ethical Hacker Penetration Testing Agency Template
 * Bootstrap 5 Integration - No Custom Grid Overrides
 */

/* Color Palette - 5 Primary Colors + Shades */
:root {
  --primary-dark: #1a1a2e;
  --primary-blue: #16213e;
  --accent-cyan: #0f3460;
  --secondary-light: #533483;
  --neutral-gray: #e94560;
  
  /* Light/Dark Shades */
  --primary-dark-light: #2d2d4a;
  --primary-blue-light: #243356;
  --accent-cyan-light: #1e4a7a;
  --secondary-light-dark: #3d2562;
  --neutral-gray-dark: #d63851;
  
  /* Conservative Typography */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-h6: 1rem;
  --font-size-h5: 1.125rem;
  --font-size-h4: 1.25rem;
  --font-size-h3: 1.5rem;
  --font-size-h2: 1.75rem;
  --font-size-h1: 2rem;
}

/* Global Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--primary-dark);
  background-color: #fff;
}

/* Conservative Typography */
h1 { font-size: var(--font-size-h1); font-weight: 600; }
h2 { font-size: var(--font-size-h2); font-weight: 600; }
h3 { font-size: var(--font-size-h3); font-weight: 500; }
h4 { font-size: var(--font-size-h4); font-weight: 500; }
h5 { font-size: var(--font-size-h5); font-weight: 500; }
h6 { font-size: var(--font-size-h6); font-weight: 500; }

p { font-size: var(--font-size-base); margin-bottom: 1rem; }

/* Navbar Conservative Sizing */
.navbar-brand {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--primary-dark);
}

/* Header/Navigation */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(26, 26, 46, 0.1);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link {
  color: var(--primary-blue);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--neutral-gray);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: white;
  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(15,52,96,0.3)"/><circle cx="75" cy="75" r="1.5" fill="rgba(83,52,131,0.2)"/><circle cx="85" cy="15" r="1" fill="rgba(233,69,96,0.2)"/></svg>');
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 175px;
}

/* Decorative Elements */
.blob-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--accent-cyan);
  opacity: 0.1;
  filter: blur(40px);
}

.blob-1 { top: 10%; right: 10%; }
.blob-2 { bottom: 20%; left: 15%; background: var(--secondary-light); }

/* Section Spacing */
.section-padding {
  padding: 4rem 0;
}

.section-padding-lg {
  padding: 6rem 0;
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 4px 15px rgba(26, 26, 46, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(26, 26, 46, 0.15);
}

/* Service Cards */
.service-card {
  text-align: center;
  padding: 2rem;
  height: 100%;
}

.service-card .card-title {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-price {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--neutral-gray);
}

/* Team Cards */
.team-card {
  text-align: center;
  background: #fff;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--accent-cyan-light);
}

/* Feature Cards */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

/* Pricing Cards */
.pricing-card {
  position: relative;
  padding: 2.5rem 2rem;
  text-align: center;
  background: #fff;
}

.pricing-card.featured {
  border: 2px solid var(--neutral-gray);
  transform: scale(1.05);
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

/* Process/Timeline */
.process-item {
  position: relative;
  padding: 1.5rem;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.process-number {
  position: absolute;
  top: -15px;
  left: 30px;
  width: 40px;
  height: 40px;
  background: var(--neutral-gray);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Contact Form */
.contact-form {
  background: #fff;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(26, 26, 46, 0.1);
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 0.2rem rgba(15, 52, 96, 0.25);
}

/* Buttons */
.btn-primary {
  background-color: var(--neutral-gray);
  border-color: var(--neutral-gray);
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--neutral-gray-dark);
  border-color: var(--neutral-gray-dark);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--accent-cyan-light);
  margin-bottom: 1rem;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-cyan-light);
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* FAQ Cards */
.faq-card {
  margin-bottom: 1rem;
}

.faq-question {
  background: var(--primary-blue);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px 8px 0 0;
  margin: 0;
  font-weight: 500;
}

.faq-answer {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 0 0 8px 8px;
  margin: 0;
  border-top: 1px solid #e9ecef;
}

/* Blog Cards */
.blog-card {
  height: 100%;
  overflow: hidden;
}

.blog-card img {
  height: 200px;
  object-fit: cover;
}

/* Breadcrumb */
.breadcrumb-container {
  padding: 1rem 0;
  background: #f8f9fa;
}

.breadcrumb-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Utility Classes */
.text-primary-blue { color: var(--primary-blue); }
.text-accent-cyan { color: var(--accent-cyan); }
.text-neutral-gray { color: var(--neutral-gray); }
.bg-primary-blue { background-color: var(--primary-blue); }
.bg-accent-cyan { background-color: var(--accent-cyan); }
.bg-light-gray { background-color: #f8f9fa; }

/* Image Responsive */
.img-responsive {
  max-width: 100%;
  height: auto;
} 



.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

.instagram-link:hover {
    background: #d62976;
    border-color: #d62976;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}



/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.instagram-link:hover {
    background: #e4405f;
    border-color: #e4405f;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
