/*!
Theme Name: BizCript
Theme URI: http://underscores.me/
Author: BizCript Team
Author URI: https://bizcript.com/
Description: BizCript is a future-focused technology company specializing in modern software development and digital transformation. We provide end-to-end solutions using technologies like .NET, Angular, Azure, DevOps, and SQL Server.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: Paid Theme
License URI: LICENSE
Text Domain: bixcript
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

body {
  scroll-behavior: smooth;
  font-family: "Segoe UI", sans-serif;
}

/* 🔹 Topbar Menu Style Fix */
.topbar {
  background-color: #1e3a8a;
}

.topbar-menu {
  margin: 0;
  padding: 0;
}

.topbar-menu li {
  list-style: none;
  margin-right: 15px;
}

.topbar-menu li a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.topbar-menu li a:hover {
  color: #3b82f6 !important; /* light blue hover */
  text-decoration: none !important;
}

/* Small screen fix */
@media (max-width: 768px) {
  .topbar-menu li a {
    font-size: 0.9rem;
  }
}


.carousel-item {
  height: 600px;
  position: relative;
  overflow: hidden;
}

/* Image container for animation */
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomIn 20s ease-in-out infinite alternate;
}

/* Slow zoom-in animation */
@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1.3);
  }
  75% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Dark overlay for better text readability */
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  max-width: 45%;
  z-index: 2;
}

.carousel-content h1 {
  font-size: 3rem;
  color: #ff0054;
}

.carousel-content p {
  font-size: 1.2rem;
  margin: 15px 0;
}

.btn-glow {
  background-color: #ff0054;
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-glow:hover {
  box-shadow: 0 0 20px #ff0054, 0 0 40px #ff0054;
}

/* Header */
.logobar {
  background: #ffffff;
}

.logo img {
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Banner Styles */
.header-banner {
  height: 100px;
  position: relative;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
}

.banner-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff0054;
  margin-bottom: 5px;
}

.banner-desc {
  font-size: 1rem;
  color: #374151;
}

/* Responsive */
@media (max-width: 768px) {
  .header-banner {
    height: auto;
  }
  .banner-title {
    font-size: 1.5rem;
  }
  .banner-desc {
    font-size: 0.95rem;
  }
}

/* Navbar */
.navbar-nav li a {
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.navbar-nav li a:hover,
.navbar-nav .active > a {
  color: #ffd700 !important;
  transform: translateY(-2px);
}

/* Navbar Toggler Custom Color */
.navbar-toggler {
  border-color: #ff0054; /* button border color */
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23FF0054' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.hero {
  background: url("hero-bg.png") no-repeat center center/cover;
  padding: 150px 0; /* height barano holo */
  color: white;
  text-align: center;
  position: relative;
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0; /* mobile view e o ektu barano holo */
  }
}

h1,
h2 {
  color: #ff0054 !important;
}

.hero h1 {
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.2;
}

.hero .lead {
  font-size: 1.25rem;
  color: #f1f5f9;
}

.hero .btn-info {
  background-color: #38bdf8;
  border: none;
  transition: 0.3s ease;
}

.hero .btn-info:hover {
  background-color: #0ea5e9;
  color: white;
  transform: scale(1.05);
}

.section-title {
  font-weight: bold;
  margin-bottom: 30px;
}

/* Top Bar */
.top-bar {
  background-color: #ff0054;
  font-size: 0.95rem; /* merged from 0.9 and 0.95 */
}

.top-bar .contact-info i {
  margin-right: 6px;
  color: #555;
}

.top-bar .contact-info a {
  color: #333;
  text-decoration: none;
}

.top-bar .contact-info a:hover {
  text-decoration: underline;
}

.top-bar .social-icons a {
  color: #333;
  margin-left: 15px;
  font-size: 1.3rem; /* একটু বড় icon */
  transition: color 0.3s;
}

.top-bar .social-icons a:hover {
  color: #0d6efd; /* bootstrap primary blue on hover */
}

/* Footer Section */
.footer-section {
  background: #ff0054;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  position: relative;
  overflow: hidden;
}

/* Links */
.footer-section a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section a:hover {
  color: #3b82f6;
}

/* Footer Titles */
.footer-section .footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-section .footer-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: #3b82f6;
  margin-top: 6px;
  border-radius: 2px;
  transition: width 0.3s;
}

/* Footer Text */
.footer-section .footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d1d5db;
}

/* Social Links */
.footer-section .social-links {
  margin-top: 15px;
}

.footer-section .social-links a {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  background: #374151;
  color: #fff;
  transition: all 0.3s ease, box-shadow 0.3s ease;
}

.footer-section .social-links a:hover {
  background: #3b82f6;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}

/* Footer Links */
.footer-section .footer-links li {
  margin-bottom: 10px;
}

/* Contact Info */
.footer-section .contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section .contact-info li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

.footer-section .contact-info li i {
  margin-right: 10px;
  color: #3b82f6;
  min-width: 20px;
  text-align: center;
}

/* Footer Bottom */
.footer-section .footer-bottom {
  background: #d90368;
  font-size: 0.85rem;
  color: #d1d5db;
  padding: 15px 0;
  text-align: center;
}

.footer-section .footer-bottom a {
  color: #3b82f6;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-section .footer-title::after {
    width: 40px;
  }
}

@media (max-width: 768px) {
  .footer-section .social-links a {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 1rem;
  }

  .footer-section .footer-text,
  .footer-section .contact-info li {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .footer-section .footer-title {
    font-size: 1rem;
  }

  .footer-section .footer-links li {
    margin-bottom: 8px;
  }
}

/* Navbar */
.navbar-custom {
  background: #d90368;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: #38bdf8 !important;
}

.navbar-brand img {
  height: 50px; /* slightly larger */
  width: auto; /* maintain aspect ratio */
  max-height: 100%;
  object-fit: contain;
  transform: scale(1.2); /* make logo appear bigger */
}

.nav-link {
  color: #ff0054 !important;
  margin-right: 15px;
}

.nav-link:hover {
  color: #38bdf8 !important;
}

.btn-primary {
  background: #ff0054 !important;
}
.text-primary {
  color: #ff0054 !important;
}

/* Team Image */
#team {
  background-color: #f8fafc;
}

.team-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 15px;
  transition: 0.3s;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.team-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.team-name {
  font-weight: 600;
  font-size: 1rem;
  color: #ff0054;
  margin-bottom: 5px;
}

.team-role {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Portfolio Image */
.portfolio-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* Navbar Toggler */
.navbar-toggler {
  border: none;
  outline: none;
}

/* Card Image Hover Effect */
.card-img-top {
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

h2.text-primary {
  font-size: 2rem;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.hero-about {
  background: url("hero-bg.png") no-repeat center center/cover;
  padding: 100px 0;
  text-align: center;
  position: relative;
  color: white;
  background-blend-mode: darken;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Timeline Design */
.timeline {
  list-style: none;
  padding-left: 0;
  position: relative;
  margin-left: 20px;
  border-left: 3px solid #17a2b8;
}
.timeline li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 30px;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: -11px;
  width: 18px;
  height: 18px;
  background-color: #17a2b8;
  border-radius: 50%;
  border: 2px solid white;
}
.timeline-year {
  font-weight: bold;
  color: #17a2b8;
  display: block;
  margin-bottom: 5px;
}

.service-box {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-box:hover {
  transform: scale(1.02);
  animation: glitch 0.5s;
}

@keyframes glitch {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(2px, -2px);
  }
  60% {
    transform: translate(-2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

.service-icon {
  font-size: 100px;
  color: #ff0054;
  margin-bottom: 20px;
}

#tech-stack-icons {
  background: #f1f5f9;
  padding: 60px 0;
}

.tech-icon-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px 10px;
  text-align: center;
  transition: 0.3s;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.tech-icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.tech-icon {
  font-size: 40px;
  margin-bottom: 10px;
  color: #ff0054;
}

.tech-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}

.testimonial-carousel .carousel-inner {
  padding: 30px 0;
}

.testimonial-card {
  background: #fff;
  border: none;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.testimonial-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.testimonial-name {
  font-weight: 700;
  margin-bottom: 2px;
  color: #ff0054;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #6c757d;
}

.carousel-indicators [data-bs-target] {
  background-color: #ff0054;
}
