/* Custom CSS for Cosma Iron Traders 212529 2c3e50*/

:root {
  --primary-color: #2c5aa0;
  --secondary-color: #f8f9fa;
  --accent-color: #ffc107;
  --dark-color: #2c3e50;
  --light-color: #ffffff;
}

.text-custcolor{
	 --accent-color: #ffc107;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Navigation */
.navbar-brand {
  font-size: 1.5rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
  
}

/* Hero Section */
.hero-section {
  /*    
    margin-top: 65px;
  */
  height: 80vh;
  position: relative;
  overflow: hidden;
}

.carousel-item {
  height: 80vh;
  position: relative;
}

.carousel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-1 {
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://vibelogic.in/img/banner-1.jpg');
}

.bg-2 {
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://vibelogic.in/img/banner-2.jpg');
}

.bg-3 {
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://vibelogic.in/img/banner-3.jpg');
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.carousel-caption h1 {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  margin-bottom: 1.5rem;
}

.carousel-caption p {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  font-size: 1.2rem;
}

/* About Section */
#about {
  padding: 80px 0;
}

.about-image img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Section */
.service-card {
  background: white;
  padding:40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #4a90e2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
}

.service-card h4 {
  color: var(--dark-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-card {
  padding: 40px 20px;
  transition: transform 0.3s ease;
}

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

.why-choose-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--accent-color), #ffdb4d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--dark-color);
  font-size: 2.5rem;
}

.why-choose-card h4 {
  color: var(--dark-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.why-choose-card p {
  color: #666;
}

/* Counter Section */
.counter-section {
  background: linear-gradient(135deg, var(--primary-color), #4a90e2);
}

.counter-item {
  padding: 20px;
}

.counter {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

/* FAQ Section */
.accordion-button {
  font-weight: 600;
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: white;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(44, 90, 160, 0.25);
}

/* Contact Section */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info {
  padding: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), #4a90e2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-details h5 {
  color: var(--dark-color);
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-details p {
  color: #666;
  margin: 0;
}

/* Form Styling */
.form-control, .form-select {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(44, 90, 160, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 8px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #4a90e2);
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(44, 90, 160, 0.4);
  background: linear-gradient(135deg, #1e3d6f, var(--primary-color));
}

.btn-outline-light {
  border: 2px solid white;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Footer */
/*
footer {
  background: var(--dark-color) !important;
}

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

footer a:hover {
  color: var(--accent-color) !important;
}
*/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
	text-decoration: none;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-primary);
}

.footer .footer-item-post a {
    transition: 0.5s;
}

.footer .footer-item-post a:hover {
    color: var(--bs-primary) !important;
}

.footer .footer-item-post .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item-post .footer-btn a:hover {
    color: var(--bs-dark);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/
/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
  }
  
  .carousel-caption h1 {
    font-size: 2rem;
  }
  
  .carousel-caption p {
    font-size: 1rem;
  }
  
  .service-card, .contact-form {
    padding: 30px 20px;
  }
  
  .counter {
    font-size: 2.5rem;
  }
  
  .why-choose-icon, .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    margin: 0 auto 15px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 60vh;
  }
  
  .carousel-caption h1 {
    font-size: 1.8rem;
  }
  
  .btn-lg {
    padding: 10px 25px;
    font-size: 1rem;
  }
  
  .service-card {
    margin-bottom: 30px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
.counter {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

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

/* Hover Effects */
.service-card, .why-choose-card {
  cursor: pointer;
}

.navbar-nav .nav-link {
  position: relative;
}

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

.navbar-nav .nav-link:hover::after {
  width: 100%;
  left: 0;
}
