/* Custom Styles for KCM Technologies */

/* General Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 500px;
}

/* Page Header */
.page-header {
    padding: 20px 0 60px;
}
.page-header {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  border-radius: 0;
  overflow: hidden;
}

/* Optional: a subtle gradient overlay to enrich color depth */
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.05),
    rgba(0, 0, 0, 0.25)
  );
  z-index: 0;
}

/* Ensures text stays crisp and readable */
.page-header .container {
  position: relative;
  z-index: 2;
}



.breadcrumb a:hover {
  text-decoration: underline;
}

.page-header h1, 
.page-header p, 
.page-header .breadcrumb {
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow:
    1px 1px 2px rgba(0, 0, 0, 0.4),   /* bottom shadow for depth */
    -1px -1px 2px rgba(255, 255, 255, 0.1); /* top highlight for 3D lighting */
}

.page-header h1 {
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.6),
    -2px -2px 4px rgba(255, 255, 255, 0.15);
}

.page-header .breadcrumb a {
  color: #f0f0f0;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.page-header .breadcrumb a:hover {
  color: #00eaff;
  text-shadow:
    0 0 6px rgba(0, 234, 255, 0.7),
    0 0 12px rgba(0, 234, 255, 0.4);
}


/* Cards Hover Effect */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Icon Boxes */
.icon-box {
    transition: transform 0.3s ease;
}

.icon-box:hover {
    transform: scale(1.1);
}

/* Footer */
footer a:hover {
    opacity: 0.8;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Buttons */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Team Cards */
.card img {
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

/* Social Links */
.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* Section Spacing */
section {
    position: relative;
}

/* Loading Animation for Images */
img {
    loading: lazy;
}
