
/* Custom CSS for Shree Vinayak Infotech */

/* Global Styles */
:root {
  --primary-color: #0056b3;
  --secondary-color: #6c757d;
  --accent-color: #17a2b8;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --font-family: 'Poppins', sans-serif;
}

body {
  font-family: var(--font-family);
  color: #4a4a4a;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

.btn {
  padding: 0.5rem 1.5rem;
  font-weight: 500;
}

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

.btn-primary:hover {
  background-color: #004494;
  border-color: #004494;
}

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

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.section-title {
  margin-bottom: 2.5rem;
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

/* Top Bar */
.top-bar {
  font-size: 0.9rem;
}

.top-bar .social-links a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.top-bar .social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Navigation */
.navbar {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  position: relative;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  position: relative;
}

.hero-image .experience-badge {
  bottom: -20px;
  right: 20px;
  width: 100px;
  height: 100px;
}

/* Service Cards */
.service-card {
  transition: all 0.3s ease;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

/* Product Cards */
.product-card {
  transition: all 0.3s ease;
}

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

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  transition: all 0.5s ease;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

/* Testimonials */
.testimonial-image img {
  object-fit: cover;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
}

.carousel-indicators .active {
  background-color: var(--primary-color);
}

/* Branches Section */
.branch-card {
  transition: all 0.3s ease;
}

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

/* Team Section */
.team-card {
  overflow: hidden;
}

.team-image {
  position: relative;
  overflow: hidden;
}

.team-social {
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.3s ease;
}

.team-card:hover .team-social {
  transform: translateY(0);
  opacity: 1;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Stats Section */
.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact Form */
.contact-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

/* Service Tabs */
.nav-pills .nav-link {
  color: var(--primary-color);
  background-color: transparent;
}

.nav-pills .nav-link.active {
  color: white;
  background-color: var(--primary-color);
}

/* Products Page */
.filter-btn {
  margin-bottom: 10px;
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
}

.product-container {
  transition: all 0.3s ease;
}

/* About Page */
.mission-icon, .vision-icon, .value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Services Page */
.timeline-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 15px;
  font-weight: bold;
}

.timeline-item {
  margin-bottom: 20px;
}

/* Accordion */
.accordion-button:not(.collapsed) {
  background-color: rgba(0, 86, 179, 0.05);
  color: var(--primary-color);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 86, 179, 0.5);
}

/* Back to Top Button */
#back-to-top {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  justify-content: center;
  align-items: center;
}

/* Responsive styles */
@media (max-width: 991px) {
  .navbar-nav .nav-link.active::after {
    display: none;
  }
  
  .navbar-nav .nav-item {
    margin-bottom: 5px;
  }
  
  .hero-image .experience-badge {
    width: 80px;
    height: 80px;
    font-size: 0.9rem;
  }
  
  .experience-badge .fs-1 {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 767px) {
  h1.display-4 {
    font-size: 2.5rem;
  }
  
  .service-icon, .feature-icon, .contact-icon {
    width: 60px;
    height: 60px;
  }
  
  .top-bar {
    font-size: 0.8rem;
  }
  
  .contact-info a {
    display: block;
    margin-bottom: 5px;
  }
  
  .social-links {
    display: none;
  }
}

@media (max-width: 575px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  h1.display-4 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .btn-lg {
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
  }
}

.indexcard{
 height:250px;
}
.breadcrumb-item.active {
    color: rgb(199 212 225 / 75%);
}

.bg-white {
    --bs-bg-opacity: 1;
    background-color: #fff !important;
}