/* Custom CSS for Marketyze Website */

:root {
  --primary: #0644bf;
  --secondary: #0b3b59;
  --warning: #d9b60b;
  --dark: #593b02;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
}

/* General Styles */
body {
  font-family: "Roboto", sans-serif;
  color: #333;
  line-height: 1.6;
}

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

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

/* Custom Bootstrap Overrides */
.bg-primary {
  background-color: var(--primary) !important;
}

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

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

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

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

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

.btn-primary:hover,
.btn-primary:focus {
  background-color: #053aa6;
  border-color: #053aa6;
}

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

.btn-warning:hover,
.btn-warning:focus {
  background-color: #c4a209;
  border-color: #c4a209;
}

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

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

/* Navbar Styles */
.navbar {
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.75rem;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
}

.nav-link.active {
  color: var(--warning) !important;
}

/* Hero Section */
.hero-section {
  padding: 6rem 0;
  background-color: var(--light);
}

/* Services Section */
.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(6, 68, 191, 0.1);
  margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonial-card {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

/* Team Section */
.team-card {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.social-icons a {
  transition: all 0.3s ease;
}

.social-icons a:hover {
  opacity: 0.8;
}

/* Contact Form */
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(6, 68, 191, 0.25);
}

/* Footer */
footer {
  background-color: #212529;
}

footer a:hover {
  color: var(--warning) !important;
}

/* Page Header */
.page-header {
  padding: 5rem 0;
  background-color: var(--primary);
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 4rem 0;
  }

  .navbar-collapse {
    background-color: var(--primary);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-section {
    padding: 3rem 0;
  }
}

/* Custom Animations */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

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

.slide-in-left {
  animation: slideInLeft 1s ease-in-out;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-right {
  animation: slideInRight 1s ease-in-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Process Steps */
.process-step {
  position: relative;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  z-index: -1;
}

.process-step:last-child::after {
  display: none;
}

@media (max-width: 991.98px) {
  .process-step::after {
    display: none;
  }
}

/* Card Hover Effects */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Button Hover Animation */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}
