/* Main variables and reset */
:root {
  --primary: #6F7240;
  --primary-dark: #5A5C34;
  --primary-light: #8A8E50;
  --secondary: #333333;
  --text-light: #f8f8f8;
  --text-dark: #222222;
  --accent: #D4AF37; /* Gold accent for security theme */
  --shadow: 0 5px 15px rgba(0,0,0,0.2);
  --border-radius: 6px;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/images/bladecore_logo_2.jpg') center center no-repeat;
  background-size: cover; /* or cover depending on effect */
  opacity: 0.2; /* Adjust for subtlety */
  z-index: -1;
  pointer-events: none;
}

/* Navigation */
.navbar {
  background-color: var(--secondary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  padding: 0;
}

.navbar-brand {
  color: var(--accent) !important;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  background-color: rgba(255,255,255,0.1);
  color: var(--accent) !important;
}

.logo{
  padding-top: 20px;
}

/* Hero section */
.hero {
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 6rem 0;
  margin-bottom: 3rem;
  text-align: center;
}
.about-hero {
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding-top: 6rem;
  margin-bottom: 3rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.logo img {
  max-width: 200px;
  margin: 0 auto 2rem auto;
  display: block;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Content sections */
.section {
  background-color: white;
  padding: 3rem;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.section-title {
  color: var(--primary-dark);
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  text-align: left;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
}

/* Service cards */
.service-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.service-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card ul {
  padding-left: 1.2rem;
}

.service-card li {
  margin-bottom: 0.5rem;
}

/* About section */
.about-card {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.about-content {
  flex: 2;
  min-width: 300px;
}

/* Testimonials */
.testimonial {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  position: relative;
}


.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  margin-top: 1rem;
  text-align: right;
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 3rem 0 2rem;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 1.5rem;
}

.footer-heading {
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

.footer-contact li, .footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--accent);
  color: var(--secondary);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section {
    padding: 2rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

/* Service-specific styling */
.service-detail {
  background-color: #f8f8f8;
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
}

.service-detail h4 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  text-align: left;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

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

.feature-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

/* Button styles */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.branding-name{
  font-size: 16px;
}

.company-info {
  background-color: #f8f9fa;
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.company-info h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.company-info address,
.company-info p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-detail {
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.contact-text p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-info-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  overflow-wrap: break-word;
}

.contact-text {
  width: 100%;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.main-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

.branding-name {
  margin: 0;
  font-size: 0.8rem;
  color: #6c757d; /* A complementary gray color, you can change this */
  line-height: 1;
}

.brand-container {
  display: flex;
  align-items: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  margin-left: 10px; /* Space between logo and text */
}

.main-brand {
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.2;
}

.branding-name {
  margin: 0;
  font-size: 0.8rem;
  color: #6c757d; /* A complementary gray color, you can change this */
  line-height: 1;
}

/* Image Popup / Lightbox */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.popup-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.popup-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--text-dark);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.popup-close:hover {
  background: var(--primary);
  color: var(--text-light);
  transform: scale(1.1);
}
