/* Reset some basic elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f9f9f9;
}

/* 🔹 Topbar Styles */
.topbar {
  background-color: #003366;
  color: #ffffff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.topbar .contact-info a,
.topbar .social-icons a {
  color: #ffffff;
  margin-right: 15px;
  text-decoration: none;
}

.topbar .social-icons a:last-child {
  margin-right: 0;
}

.topbar .contact-info a i,
.topbar .social-icons a i {
  margin-right: 5px;
}

/* 🔹 Header Styles */
header {
  background-color: #ffffff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: bold;
  color: #003366;
}

.logo-icon {
  height: 40px;
  margin-right: 10px;
}

.navbar a {
  margin-left: 20px;
  text-decoration: none;
  color: #003366;
  font-weight: 500;
  position: relative;
}

.navbar a::after {
  content: '';
  height: 2px;
  width: 0;
  background: #003366;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.navbar a:hover::after {
  width: 100%;
}

.navbar a:hover {
  color: #0055aa;
}

/* Responsive Design */
@media (max-width: 768px) {
  .topbar, header {
    flex-direction: column;
    text-align: center;
  }

  .navbar a {
    display: block;
    margin: 10px 0;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url('assets/your-background.jpg'); /* ব্যাকগ্রাউন্ড ইমেজ */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* ছবির উপর হালকা ডার্ক */
}

/* Hero Content (হেডলাইন এবং স্লোগান) */
.hero-content {
  position: relative;
  background: rgba(255, 255, 255, 0.3);
  padding: 40px 60px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  text-align: center;
  color: #ffffff;
  z-index: 1;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-content p {
  font-size: 24px;
  font-style: italic;
}

/* Button Wrapper */
.quote-btn-wrapper {
  position: relative;
  margin-top: 30px;
  z-index: 1;
  animation: fadeIn 2s ease forwards; /* ফেড ইন অ্যানিমেশন */
}

/* Get a Quote Button */
.quote-btn {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 12px 30px;
  font-size: 18px;
  border: 2px solid #ffffff;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Hover বাউন্সি ইফেক্ট */
.quote-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #003366;
  border-color: #003366;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Fade-in Animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Payroll Section Styles */
.payroll-section {
  background-color: #f7f7f7; /* হালকা গ্রে ব্যাকগ্রাউন্ড */
  padding: 80px 20px;
  position: relative;
  text-align: center;
}

.payroll-content h2 {
  font-size: 36px;
  font-weight: bold;
  border-bottom: 3px solid #50092d;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 20px;
  color: #50092d;
}

.payroll-content .tagline {
  font-style: italic;
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 50px;
  color: #50092d;
}

.payroll-content .subheading {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #50092d;
}

/* Services List */
.services-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.services-list li {
  margin-bottom: 40px;
}

.services-list i {
  color: #007BFF;
  margin-right: 10px;
  font-size: 22px;
}

.services-list strong {
  font-size: 20px;
  display: inline-block;
  margin-bottom: 10px;
  color: #50092d;
}

.services-list p {
  margin-left: 32px;
  color: #50092d;
  font-size: 16px;
}

/* ওয়েভ ডিজাইন */
.wave {
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url('assets/wave.svg');
  background-size: cover;
}

/* Section Styling */
.workers-comp-section {
  background-color: #50092d;
  color: #fff;
  position: relative;
  padding: 120px 20px 100px;
  text-align: center;
  overflow: hidden;
}

.zigzag-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, #fff 25%, transparent 25%) -10px 0,
              linear-gradient(225deg, #fff 25%, transparent 25%) -10px 0;
  background-size: 40px 80px;
  background-repeat: repeat-x;
  background-color: #50092d;
  z-index: 1;
}

.workers-comp-section {
  position: relative;
  background-color: #50092d;
  color: white;
  padding: 100px 20px;
  overflow: visible;
  z-index: 0;
}

.zigzag-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, #fff 25%, transparent 25%) -10px 0,
              linear-gradient(225deg, #fff 25%, transparent 25%) -10px 0;
  background-size: 20px 40px;
  background-repeat: repeat-x;
  background-color: #50092d;
  transform: rotate(180deg);
  z-index: 1;
}
.next-section {
  background-color: #fff;
  padding: 100px 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.next-section.visible {
  opacity: 1;
  transform: translateY(0);
}



/* Headline */
.workers-comp-section h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  text-decoration: underline;
  text-underline-offset: 8px;
}

/* Subtitle */
.workers-comp-section .subtitle {
  font-size: 18px;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 60px;
}

/* Points Styling */
.points {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: left;
}

.point {
  margin-bottom: 40px;
}

.point h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}

.point p {
  font-size: 16px;
  color: #f1f1f1;
  line-height: 1.6;
}

/* Button */
.comp-button {
  display: inline-block;
  background-color: #fff;
  color: #50092d;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.comp-button:hover {
  background-color: #f7e9f2;
  transform: scale(1.05);
}


.risk-section {
  background-color: #f3e8ff; /* হালকা বেগুনি */
  color: #6b21a8; /* গাঢ় বেগুনি */
  padding: 50px 20px;
  text-align: center;
}

.risk-section h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.underline {
  width: 80px;
  height: 4px;
  background-color: #6b21a8;
  margin: 0 auto 40px;
  border-radius: 2px;
}

.risk-columns {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .risk-columns {
    flex-direction: row;
    justify-content: space-between;
  }
}

.column {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  flex: 1;
}

.column i {
  font-size: 40px;
  margin-bottom: 20px;
  color: #6b21a8;
}

.column p {
  font-size: 16px;
  line-height: 1.6;
}

.hr-section {
  background-color: #6b21a8; /* গাঢ় বেগুনি */
  color: #f3e8ff; /* হালকা বেগুনি টেক্সট */
  padding: 60px 30px;
  text-align: center;
  position: relative;
}

.hr-icon {
  font-size: 50px;
  color: #f3e8ff;
  margin-bottom: 20px;
}

.hr-section h2 {
  font-size: 36px;
  margin-bottom: 25px;
}

.hr-description p {
  font-size: 16px;
  max-width: 900px;
  margin: 0 auto 40px;
  font-style: italic;
  line-height: 1.8;
}

.hr-points {
  list-style: disc;
  text-align: left;
  max-width: 900px;
  margin: 0 auto 40px;
  padding-left: 20px;
}

.hr-points li {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
}

.hr-compliance-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px 40px;
  margin-bottom: 50px;
  font-size: 16px;
}

.hr-compliance-tags span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hr-compliance-tags i {
  color: #f3e8ff;
  background-color: #4b0e88;
  border-radius: 50%;
  padding: 4px;
}

.compliance-question {
  font-size: 22px;
  font-weight: bold;
  margin-top: 20px;
  color: #fff;
}



/* Footer Styles */
.footer {
  background-color: #2c2c54;
  color: #ffffff;
  padding: 40px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-info, .footer-social, .footer-links {
  flex: 1 1 300px;
  margin: 10px;
}

.footer-info h3, .footer-social h4, .footer-links h4 {
  font-size: 26px;
  margin-bottom: 15px;
}

.footer-info p, .footer-info a, .footer-links a {
  font-size: 16px;
  color: #d1d1d1;
  text-decoration: none;
}

.footer-info a:hover, .footer-links a:hover {
  color: #00bfff;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #00bfff;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  color: #aaaaaa;
  border-top: 1px solid #444;
  margin-top: 30px;
}


/* 🔹 Footer */
.footer {
  background-color: #f9fbff;
  padding: 10px 05px;
  text-align: center;
  border-top: 1px solid #ddd;
}
.footer .social-icons a {
  margin: 0 10px;
  font-size: 18px;
  color: #003366;
  transition: color 0.3s ease;
}
.footer .social-icons a:hover {
  color: #0077cc;
}
.footer p {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}
.footer a {
  color: #0077cc;
}
.footer a:hover {
  text-decoration: underline;
}
