/* Master Pay Consultancy Services - Main Stylesheet */

/* CSS Variables */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-bg: #ecf0f1;
  --dark-text: #2c3e50;
}

/* Global Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-text);
  line-height: 1.7;
}

/* Header/Navigation Styles */
.navbar {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: white !important;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0.5rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: white !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Page Header */
.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 80px 0;
  margin-bottom: 50px;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  animation: fadeInUp 0.8s ease;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* Hero Banner (Home Page) */
.hero-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.3s backwards;
}

/* Buttons */
.btn-custom {
  padding: 12px 35px;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.btn-primary-custom {
  background: white;
  color: var(--secondary-color);
  border: 2px solid white;
}

.btn-primary-custom:hover {
  background: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-submit {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #667eea 100%);
  color: white;
  padding: 12px 40px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Content Sections */
.content-section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
}

/* Cards */
.about-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-card .icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.about-card h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary-color);
}

.service-card .icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #667eea 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.service-card .icon-wrapper i {
  font-size: 2.5rem;
  color: white;
}

.service-card h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card ul li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 25px;
}

.service-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* Feature Cards (Why Us) */
.feature-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #667eea 100%);
  transition: height 0.3s ease;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-card .icon-circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #667eea 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .icon-circle {
  transform: scale(1.1) rotate(360deg);
}

.feature-card .icon-circle i {
  font-size: 2rem;
  color: white;
}

.feature-card h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #666;
  margin-bottom: 0;
}

/* Content Boxes */
.content-box {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.content-box:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.content-box .icon-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.content-box .icon-header i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-right: 1rem;
}

.content-box h3 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0;
}

.content-box p {
  color: #666;
  line-height: 1.8;
}

/* Mission Vision Box */
.mv-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.mv-box:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.mv-box h3 {
  color: white;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.mv-box h3 i {
  font-size: 2.5rem;
  margin-right: 1rem;
}

.mv-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.95;
}

/* Contact Cards */
.contact-info-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-info-card .icon-box {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #667eea 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s ease;
}

.contact-info-card:hover .icon-box {
  transform: scale(1.1) rotate(360deg);
}

.contact-info-card .icon-box i {
  font-size: 2rem;
  color: white;
}

.contact-info-card h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: #666;
  margin-bottom: 0;
}

/* Contact Form */
.contact-form-wrapper {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 0;
  margin: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Commitment Section */
.commitment-section {
  background: var(--light-bg);
  padding: 60px 0;
  margin: 60px 0;
}

/* Terms & Privacy Styles */
.terms-content,
.privacy-content {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
}

.terms-content h2,
.privacy-content h2 {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--light-bg);
}

.terms-content h2:first-of-type,
.privacy-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.terms-content h3,
.privacy-content h3 {
  color: var(--secondary-color);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.terms-content ul,
.privacy-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.terms-content ul li,
.privacy-content ul li {
  margin-bottom: 0.5rem;
}

.effective-date {
  background: var(--light-bg);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
  color: var(--primary-color);
}

.important-notice {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.important-notice h4 {
  color: white;
  margin-bottom: 1rem;
}

.highlight-box {
  background: #e8f4f8;
  border-left: 4px solid var(--secondary-color);
  padding: 1.5rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 2rem;
  border-left: 4px solid var(--accent-color);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}
