/* Custom styles for ODITWORKS website */

/* Typography */
body {
  padding-top: 70px; /* adjust if navbar height differs */
  font-family: 'Poppins', sans-serif;
  color: #58468c;
}
.hero {
  padding-top: 100px;
}
/* .navbar.fixed-top {
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
} */

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Poppins', sans-serif;
}
h1, .display-5 {
  color: #221a3b;
  font-size: 3.5rem !important;
}
h2, h3, h4 {
  color: #221a3b;
}
h5 {
  color: #221a3b;
}
p {
  line-height: 1.6;
  color: #221a3b;
}
p.lead {
  font-size: 1rem;
  text-align: justify;
  font-weight: 400;
}

/* Navbar tweaks */
.navbar-brand {
  font-size: 1.25rem;
}
.nav-link {
  margin: 0 5px;
}
.nav-link.active {
  font-weight: 600;
}
.navbar-nav .btn {
  /* Extra margin on small screens for spacing */
  margin-top: 5px;
  margin-bottom: 5px;
}

.nav-header-wrapper {
  background-image: url('../images/nav-header-bg.png') !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Hero section */
header .display-5 {
  /* slightly tighter on mobile */
  font-size: 2.5rem;
}
header .lead {
  color: #555;
}

/* Buttons */
.btn-primary {
  background-color: #58468c;
  border-color: #58468c;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #58468c;
  border-color: #58468c;
}
.btn-outline-light:hover, .btn-outline-light:focus {
  background-color: #ffffff22;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-color: #58468c;
}

/* Service and Why Choose Us section */
#services .card, .why-us-item {
  transition: transform 0.3s;
}
#services .card:hover, .why-us-item:hover {
  transform: translateY(-5px);
}

.service-card ul {
  margin-top: 10px;
  padding-left: 1.25rem;
}
.service-card ul li {
  margin-bottom: 6px;
  line-height: 1.5;
}

#why-choose-us .border {
  transition: transform 0.3s, box-shadow 0.3s;
}
#why-choose-us .border:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

#hero-heading, #hero-subtext {
  transition: opacity 0.5s ease;
}

/* Home COntact Us Section */
#services-highlight .btn-light:hover {
  background-color: #f0f0f0;
  color: #000;
  border-color: transparent;
}

#services-highlight i {
  min-width: 32px;
}

.hover-zoom {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-zoom:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.cta-split-section .btn-light {
  color: #58468c;
  background-color: #fff;
  border: 2px solid #fff;
}
.cta-split-section .btn-light:hover {
  background-color: #eee;
  border-color: #ddd;
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #5E48E8;
  color: white;
  padding: 12px 14px;
  border-radius: 50%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
  text-decoration: none;
}
.scroll-top-btn:hover {
  background-color: #4937c2;
}
.scroll-top-btn i {
  font-size: 18px;
}

.min-height-box {
  min-height: 550px; /* adjust as needed */
}

.min-height-box-home {
  min-height: 400px; /* adjust as needed */
}


.square-box {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 8px;
  border-color: #4937c2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.square-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.);
}


#why-choose-us ul li i {
  font-size: 1.2rem;
}

/* Subtle hover animation for dropdown */
.animate-slide {
  animation: fadeInDown 0.3s ease-in-out;
}
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Hover effect on nav-links */
.navbar-nav .nav-link {
  transition: color 0.3s, transform 0.3s;
}
.navbar-nav .nav-link:hover {
  color: #5e48e8;
  transform: translateY(-2px);
}



/* Footer */
footer i.fab {
  transition: color 0.3s;
}
footer i.fab:hover {
  color: #ccc;
}
footer p {
  font-size: 0.9rem;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
footer ul li {
  line-height: 1.8; /* or try 2 for more space */
}
footer .list-unstyled li {
  margin-bottom: 6px;
  line-height: 1.8;
}

/* Smooth scroll behavior for in-page anchors */
html {
  scroll-behavior: smooth;
}


/* Brand color accents */
.text-brand { color: #58468c !important; }
.bg-brand { background-color: #58468c !important; color: #fff; }

/* Hero section */
.hero-section {
  position: relative;
  background: url('https://picsum.photos/1920/1080?blur=2') center center/cover no-repeat;
  color: #fff;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.hero-section .hero-content {
  position: relative;
  z-index: 1;
}

/* Mission/Vision icons */
.mission-vision-icon {
  font-size: 2rem;
  color: #58468c;
  margin-bottom: 0.5rem;
}

/* Timeline styles */
.timeline {
  position: relative;
  padding: 2rem 0;
}
.timeline::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 6px;
  background: #ccc;
  transform: translateX(-50%);
}
.timeline-block {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
  box-sizing: border-box;
}
.timeline-block.left { left: 0; }
.timeline-block.right { left: 50%; }
.timeline-block::after {
  content: '';
  position: absolute;
  top: 16px;
  width: 20px; height: 20px;
  border: 4px solid #58468c;
  border-radius: 50%;
  background: #fff;
  z-index: 1;
}
.timeline-block.left::after { right: -10px; }
.timeline-block.right::after { left: -10px; }
.timeline-content {
  background: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.timeline-content h4 {
  color: #58468c;
  margin-top: 0;
}

/* Team section */
.team-member {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
}
.team-member img {
  display: block;
  width: 100%;
  height: auto;
}
.team-member .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(88, 70, 140, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateY(100%);
  transition: all 0.3s ease;
}
.team-member:hover .overlay {
  transform: translateY(0);
}
.team-member .overlay i {
  font-size: 1.25rem;
  margin: 0 0.5rem;
}

/* Stats (counter) section */
.stats-section {
  background: #f8f9fa;
}
.counter-icon {
  font-size: 2rem;
  color: #58468c;
  margin-bottom: 0.25rem;
}
.counter-value {
  font-weight: bold;
  font-size: 2rem;
  color: #58468c;
}

/* Responsive adjustments for timeline on smaller screens */
@media (max-width: 767px) {
  .timeline::after { left: 8px; }
  .timeline-block {
    width: 100%;
    padding-left: 4rem;
    padding-right: 1rem;
  }
  .timeline-block.left, .timeline-block.right { left: 0; }
  .timeline-block::after { left: -8px; }
}
