/* 
   ACM Group Consulting - Custom CSS Styles
   This file contains custom styling for the ACM Group consulting website
*/

/* Global Styles */
:root {
  --primary-color: #0056b3;
  --secondary-color: #6c757d;
  --accent-color: #17a2b8;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
}

body {
  font-family: var(--font-primary);
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: #003d7a;
  text-decoration: none;
}

/* Header & Navigation */
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background-color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-link:hover {
  color: white;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  margin-right: 1rem;
}

.copyright {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
  margin-top: 2rem;
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: white;
  padding: 5rem 0;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Services Section */
.service-card {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Case Studies */
.case-study-card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
}

.case-study-img {
  height: 200px;
  object-fit: cover;
}

/* Contact Form */
.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
  border-radius: 0.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
  border-color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #004494;
  border-color: #004494;
}

/* Responsive Adjustments */
/* Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .navbar {
    padding: 0.5rem 0;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .hero-content .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .hero-content .d-sm-flex {
    display: block !important;
  }
  
  .service-card, .case-study-card {
    margin-bottom: 1rem;
  }
  
  .footer-heading {
    margin-top: 1.5rem;
  }
  
  .case-study-img {
    height: 150px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info-card {
    margin-bottom: 1.5rem;
  }
  
  .map-section .ratio {
    height: 250px !important;
  }
}

/* Medium devices (tablets, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .navbar {
    padding: 0.5rem 0;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .case-study-img {
    height: 175px;
  }
}

/* Large devices (desktops, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .service-icon {
    font-size: 2rem;
  }
  
  .case-study-img {
    height: 180px;
  }
}

/* Accessibility Enhancements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles for better accessibility */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
/
* About Page Styles */
.avatar-placeholder {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.about-section {
  padding: 5rem 0;
}

.team-member-card {
  transition: transform 0.3s ease;
}

.team-member-card:hover {
  transform: translateY(-5px);
}

.specialization-card {
  height: 100%;
  transition: transform 0.3s ease;
}

.specialization-card:hover {
  transform: translateY(-5px);
}

.specialization-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}/* Additi
onal Responsive Styles */
/* Image optimization */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive utilities */
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mobile navigation enhancements */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .navbar-nav .nav-link.active::after {
    display: none;
  }
  
  .navbar-nav .nav-link.active {
    background-color: var(--primary-color);
    color: white;
    border-radius: 0.25rem;
  }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .about-section {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 4rem 0;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .service-card:hover,
  .case-study-card:hover,
  .team-member-card:hover,
  .specialization-card:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .navbar, .footer, .hero-overlay, .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
  }
}