/* ============================================
   PAGE-WIDE STYLING - PROPER SPACING & TYPOGRAPHY
   ============================================ */

/* Section Spacing - Consistent padding for all sections */
section {
  padding: 60px 0 !important;
  margin: 0 !important;
}

@media (max-width: 991px) {
  section {
    padding: 50px 0 !important;
  }
}

@media (max-width: 767px) {
  section {
    padding: 40px 0 !important;
  }
}

@media (max-width: 575px) {
  section {
    padding: 30px 0 !important;
  }
}

/* Typography Hierarchy - Proper Font Sizes */
.contentd h1 {
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
  margin-top: 0 !important;
  color: #2c3e50 !important;
}

.contentd ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.contentd ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  list-style: none;
}

.contentd ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #000;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 14px;
  line-height: inherit;
  display: inline-block;
  vertical-align: top;
}

.contentd ul li p {
  margin: 0;
  padding: 0;
  display: inline;
}
.contentd h2,
.section-title h2,
.text-anime-style-3 {
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  color: #2c3e50 !important;
}

.contentd h3,
.section-title h3,
.sec-title h3 {
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  color: #2c3e50 !important;
}

.contentd h4,
.section-title h4 {
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-top: 0 !important;
  margin-bottom: 4px !important;
  color: #000000 !important;
}

.contentd h5,
.title h5 {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  color: #2c3e50 !important;
}

.contentd h6,
.sub-title {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  color: #6c757d !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.contentd p,
.text,
.step-description,
.card-description {
  font-size: 16px !important;
  color: #475569 !important;
  line-height: 1.8 !important;
  margin-bottom: 8px !important;
  margin-top: 0 !important;
}

/* Responsive Typography */
@media (max-width: 991px) {
  .contentd h1 {
    font-size: 36px !important;
  }
  .contentd h2,
  .section-title h2 {
    font-size: 30px !important;
  }
  .contentd h3 {
    font-size: 24px !important;
  }
  .contentd h4 {
    font-size: 20px !important;
  }
  .contentd p {
    font-size: 15px !important;
  }
}

@media (max-width: 767px) {
  .contentd h1 {
    font-size: 32px !important;
  }
  .contentd h2,
  .section-title h2 {
    font-size: 26px !important;
  }
  .contentd h3 {
    font-size: 22px !important;
  }
  .contentd h4 {
    font-size: 18px !important;
  }
  .contentd h5 {
    font-size: 16px !important;
  }
  .contentd p {
    font-size: 14px !important;
  }
}

@media (max-width: 575px) {
  .contentd h1 {
    font-size: 28px !important;
  }
  .contentd h2,
  .section-title h2 {
    font-size: 24px !important;
  }
  .contentd h3 {
    font-size: 20px !important;
  }
  .contentd h4 {
    font-size: 18px !important;
  }
  .contentd p {
    font-size: 14px !important;
  }
}

/* Container Spacing */
.container {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.row {
  margin-left: -15px !important;
  margin-right: -15px !important;
}

.row > [class*="col-"] {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* About Two Section */
.about-two .inner-container {
  position: relative;
  padding: 20px 0 !important;
  border-bottom: none !important;
}

/* Section Title Spacing */
.section-title {
  margin-bottom: 30px !important;
}

.sec-title {
  margin-bottom: 40px !important;
}

/* List Styling */
.ssas ul li {
  padding: 12px 15px !important;
  background-color: #adc5c2 !important;
  color: #000 !important;
  border: 1px dashed #8ba5a2 !important;
  float: left !important;
  list-style: none !important;
  margin: 5px !important;
  border-radius: 5px !important;
  font-size: 14px !important;
}

/* Table Styling */
.ssasa th {
  border: 1px solid #000 !important;
  padding: 12px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  background-color: #f8f9fa !important;
}

.ssasa td {
  border: 1px solid #000 !important;
  padding: 12px !important;
  font-size: 14px !important;
}

/* Service Block Spacing */
.service-block_three {
  margin-bottom: 30px !important;
}

.service-block_three .inner {
  padding: 30px 25px !important;
}

/* Process Section Specific */
.modern-process-section {
  padding: 80px 0 !important;
}

/* FAQ Section Specific */
.modern-faq-section {
  padding: 80px 0 !important;
}

/* CTA Section Spacing */
.cta-section {
  padding: 80px 0 !important;
}

/* Image Spacing */
img {
  margin-bottom: 20px !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Button Spacing */
.buttons-box {
  margin-top: 30px !important;
}

/* Content Wrapper */
.contentd {
  padding: 0 !important;
  margin: 0 !important;
}

/* Remove excessive padding from specific sections */
.team-two .inner-container {
  padding: 40px 0 !important;
}

.service-two {
  padding: 60px 0 !important;
}

.modern-four-boxes-section {
  padding: 60px 0 !important;
}

/* Breadcrumb Section */
.bd-breadcrumb-area {
  margin-bottom: 0 !important;
}

/* Ensure proper spacing between content blocks */
.contentd > section:not(:first-child) {
  margin-top: 0 !important;
}

/* Fix line height issues */
.contentd h2 {
  line-height: 1.3 !important;
}

/* Proper spacing for nested elements */
.contentd .row {
  margin-bottom: 30px !important;
}

.contentd .row:last-child {
  margin-bottom: 0 !important;
}

.ccdxs p {
  color: #fff !important;
}

/* ============================================
   3 BOXES DESIGN - LIGHT WITH BACKGROUND
   ============================================ */
.service-two .service-block_three:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 40px rgba(17, 74, 67, 0.15) !important;
  border-color: rgba(17, 74, 67, 0.2) !important;
  background: rgba(255, 255, 255, 0.95) !important;
}

.service-two .service-block_three:hover .icon > div {
  background: linear-gradient(135deg, rgba(17, 74, 67, 0.15), rgba(101, 214, 196, 0.15)) !important;
  transform: scale(1.1) !important;
}

.service-two .service-block_three:hover .icon img {
  transform: scale(1.1) !important;
}

.service-two .service-block_three:hover .title {
  color: #114A43 !important;
}

.service-two .service-block_three:hover .text {
  color: #475569 !important;
}

@media (max-width: 991px) {
  .service-two {
    padding: 60px 0 !important;
  }
  
  .service-block_three {
    margin-bottom: 25px !important;
  }
}

/* ============================================
   MODERN 4 BOXES DESIGN STYLES
   ============================================ */
.modern-four-boxes-section {
  position: relative;
  overflow: hidden;
}

.modern-box-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px rgba(17, 74, 67, 0.2), 0 10px 30px rgba(0,0,0,0.1);
  border-color: rgba(17, 74, 67, 0.2);
}

.modern-box-card:hover .card-hover-effect {
  opacity: 1;
}

.modern-box-card:hover .card-bg-pattern {
  opacity: 1.2;
}

.modern-box-card:hover .corner-decoration {
  transform: scale(1.3);
  opacity: 0.8;
}

.modern-box-card:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(17, 74, 67, 0.4), inset 0 2px 15px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #65d6c4 0%, #114A43 50%, #174c46 100%);
  border-color: rgba(255, 255, 255, 0.3);
}

.modern-box-card:hover .icon-glow-ring {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

.modern-box-card:hover .icon-shine {
  opacity: 1;
  transform: rotate(-45deg) translateX(100%);
}

.modern-box-card:hover .icon-dot {
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(101, 214, 196, 0.6), 0 0 0 5px rgba(255, 255, 255, 0.9);
}

.modern-box-card:hover .card-accent-line {
  transform: scaleX(1);
}

.modern-box-card:hover .card-top-accent {
  opacity: 1;
}

.modern-box-card:hover .card-title {
  color: #114A43;
  transform: translateY(-2px);
}

.modern-box-card:hover .card-description {
  color: #475569;
}

.modern-box-card:hover .card-number-badge {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 6px 20px rgba(17, 74, 67, 0.4);
  background: linear-gradient(135deg, #65d6c4, #114A43);
}

@keyframes pulse-dot {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(101, 214, 196, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.8);
  }
  50% { 
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(101, 214, 196, 0.6), 0 0 0 5px rgba(255, 255, 255, 0.9);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes iconShine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(-45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(-45deg); }
}

@media (max-width: 1200px) {
  .modern-box-card {
    padding: 35px 25px !important;
  }
  .card-title {
    font-size: 20px !important;
  }
  .card-description {
    font-size: 14px !important;
  }
  .icon-wrapper {
    width: 80px !important;
    height: 80px !important;
  }
  .icon-wrapper img,
  .icon-wrapper i {
    width: 40px !important;
    height: 40px !important;
    font-size: 28px !important;
  }
  .card-number-badge {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 768px) {
  .modern-four-boxes-section {
    padding: 60px 0 !important;
  }
  .modern-box-card {
    padding: 30px 20px !important;
    margin-bottom: 20px !important;
  }
  .card-title {
    font-size: 18px !important;
  }
  .card-description {
    font-size: 13px !important;
  }
  .icon-wrapper {
    width: 75px !important;
    height: 75px !important;
  }
  .icon-wrapper img,
  .icon-wrapper i {
    width: 38px !important;
    height: 38px !important;
    font-size: 26px !important;
  }
  .icon-dot {
    width: 20px !important;
    height: 20px !important;
    top: -6px !important;
    right: -6px !important;
  }
  .card-number-badge {
    width: 30px !important;
    height: 30px !important;
    font-size: 13px !important;
    top: 15px !important;
    right: 15px !important;
  }
}

@media (max-width: 576px) {
  .modern-box-card {
    padding: 25px 18px !important;
  }
  .card-title {
    font-size: 16px !important;
  }
  .card-description {
    font-size: 12px !important;
  }
  .icon-wrapper {
    width: 70px !important;
    height: 70px !important;
  }
  .icon-wrapper img,
  .icon-wrapper i {
    width: 35px !important;
    height: 35px !important;
    font-size: 24px !important;
  }
  .icon-dot {
    width: 18px !important;
    height: 18px !important;
  }
  .card-number-badge {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }
}

/* ============================================
   6 BOXES DESIGN - 4 PER ROW LAYOUT
   ============================================ */
.service-two .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 -10px !important;
}

.service-two .column {
  padding: 0 10px !important;
  margin-bottom: 20px !important;
}

.service-two .service-block_three {
  height: 100% !important;
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
  transition: all 0.3s ease !important;
  border: 1px solid #e2e8f0 !important;
}

.service-two .service-block_three:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
  border-color: #667eea !important;
}

.service-two .service-block_three .inner {
  padding: 25px 20px !important;
  text-align: center !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.service-two .service-block_three .icon {
  margin-bottom: 15px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.service-two .service-block_three .icon img {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
}

.service-two .service-block_three .title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
  margin-bottom: 10px !important;
  line-height: 1.3 !important;
}

.service-two .service-block_three .title a {
  color: inherit !important;
  text-decoration: none !important;
}

.service-two .service-block_three .text {
  font-size: 13px !important;
  color: #6c757d !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

@media (max-width: 1200px) {
  .service-two .service-block_three .inner {
    padding: 20px 15px !important;
  }
  .service-two .service-block_three .icon img {
    width: 45px !important;
    height: 45px !important;
  }
  .service-two .service-block_three .title {
    font-size: 15px !important;
  }
  .service-two .service-block_three .text {
    font-size: 12px !important;
  }
}

@media (max-width: 768px) {
  .service-two .service-block_three .inner {
    padding: 20px 15px !important;
  }
  .service-two .service-block_three .icon img {
    width: 40px !important;
    height: 40px !important;
  }
  .service-two .service-block_three .title {
    font-size: 14px !important;
  }
  .service-two .service-block_three .text {
    font-size: 12px !important;
  }
}

/* ============================================
   ATTRACTIVE PROCESS SECTION STYLES
   ============================================ */
.process-steps-wrapper {
  position: relative;
}

.process-center-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

.process-step-card {
  position: relative;
  z-index: 2;
}

.step-icon-wrapper {
  position: relative;
  z-index: 3;
  background: white !important;
}

@keyframes pulse-glow {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.5;
  }
  50% { 
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.process-step-card:hover .process-step-content {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.process-step-card:hover .step-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(17, 74, 67, 0.25);
  border-color: #65d6c4;
}

.process-step-card:hover .title-underline {
  width: 100px;
  transition: width 0.4s ease;
}

.process-step-card:hover .process-step-content {
  border-left-color: #114A43;
  border-right-color: #114A43;
}

.step-icon-wrapper::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(17, 74, 67, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.process-step-card:hover .step-icon-wrapper::before {
  opacity: 1;
}

@media (max-width: 991px) {
  .modern-process-section {
    padding: 60px 0 !important;
  }
  
  .process-step-card {
    margin-bottom: 50px !important;
    min-height: 180px !important;
  }
  
  .process-center-line {
    display: none !important;
  }
  
  .process-icon-column-left,
  .process-icon-column-right {
    width: 120px !important;
  }
  
  .step-icon-wrapper {
    width: 100px !important;
    height: 100px !important;
  }
  
  .step-icon-wrapper img {
    width: 65px !important;
    height: 65px !important;
  }
  
  .process-content-column-right {
    margin-left: 150px !important;
  }
  
  .process-content-column-left {
    margin-right: 150px !important;
  }
  
  .process-step-content {
    padding: 35px 30px !important;
  }
  
  .step-title {
    font-size: 24px !important;
  }
  
  .step-description {
    font-size: 15px !important;
  }
}

@media (max-width: 767px) {
  .modern-process-section {
    padding: 50px 0 !important;
  }
  
  .process-step-card {
    margin-bottom: 40px !important;
    min-height: auto !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .process-icon-column-left,
  .process-icon-column-right {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 25px !important;
    justify-content: center !important;
  }
  
  .process-content-column-left,
  .process-content-column-right {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  
  .process-content-column-left .content-inner {
    text-align: left !important;
  }
  
  .process-content-column-left .title-underline {
    left: 0 !important;
    right: auto !important;
  }
  
  .step-icon-wrapper {
    width: 90px !important;
    height: 90px !important;
  }
  
  .step-icon-wrapper img {
    width: 60px !important;
    height: 60px !important;
  }
  
  .process-step-content {
    padding: 30px 25px !important;
    border-left: 4px solid #65d6c4 !important;
    border-right: none !important;
  }
  
  .step-title {
    font-size: 22px !important;
    text-align: left !important;
  }
  
  .step-description {
    font-size: 14px !important;
    text-align: left !important;
  }
}

@media (max-width: 575px) {
  .process-step-content {
    padding: 25px 20px !important;
  }
  
  .step-title {
    font-size: 20px !important;
  }
  
  .step-description {
    font-size: 13px !important;
  }
  
  .step-icon-wrapper {
    width: 80px !important;
    height: 80px !important;
  }
  
  .step-icon-wrapper img {
    width: 50px !important;
    height: 50px !important;
  }
}

/* ============================================
   COMPACT FAQ SECTION STYLES WITH BACKGROUND PATTERNS
   ============================================ */
.compact-faq-section {
  position: relative;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-20px) translateX(10px); }
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.faq-category-item:hover .category-hover-effect,
.faq-category-item.active .category-hover-effect {
  opacity: 1;
}

.faq-category-item:hover,
.faq-category-item.active {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(17, 74, 67, 0.25);
  border-color: #114A43;
  background: rgba(17, 74, 67, 0.05);
}

.faq-category-item:hover .category-text,
.faq-category-item.active .category-text {
  color: white;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.faq-category-item:hover .category-icon,
.faq-category-item.active .category-icon {
  transform: rotate(90deg) scale(1.1);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1;
}

.faq-category-item:hover .category-icon i,
.faq-category-item.active .category-icon i {
  color: white;
  transform: scale(1.2);
}

.faq-item:hover {
  border-color: #114A43;
  box-shadow: 0 6px 20px rgba(17, 74, 67, 0.2);
  transform: translateY(-3px);
}

.faq-item:hover .question-icon {
  background: linear-gradient(135deg, #114A43, #174c46);
  border-color: #114A43;
  transform: scale(1.1);
}

.faq-item:hover .question-icon i {
  color: white;
}

.faq-item.active {
  border-color: #114A43;
  box-shadow: 0 8px 25px rgba(17, 74, 67, 0.25);
  background: linear-gradient(135deg, #ffffff 0%, #f0f9f7 100%);
}

.faq-item.active .faq-question {
  background: linear-gradient(135deg, #114A43, #174c46);
  color: white;
}

.faq-item.active .question-text {
  color: white;
}

.faq-item.active .question-icon {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.faq-item.active .question-icon i {
  transform: rotate(180deg);
  color: white;
}

@media (max-width: 991px) {
  .compact-faq-section {
    padding: 50px 0 !important;
  }
  
  .faq-content-wrapper {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 20px !important;
  }
  
  .faq-sidebar {
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 20px 15px !important;
  }
  
  .faq-categories {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  
  .faq-category-item {
    flex: 1 !important;
    min-width: 150px !important;
  }
  
  .faq-content {
    padding: 20px !important;
  }
  
  .faq-header h2 {
    font-size: 30px !important;
  }
}

@media (max-width: 767px) {
  .compact-faq-section {
    padding: 40px 0 !important;
  }
  
  .faq-header h2 {
    font-size: 26px !important;
  }
  
  .faq-content-wrapper {
    padding: 15px !important;
  }
  
  .faq-content {
    padding: 18px !important;
  }
  
  .faq-question {
    padding: 14px 18px !important;
  }
  
  .question-text {
    font-size: 14px !important;
  }
  
  .answer-content {
    padding: 0 18px 14px !important;
  }
  
  .answer-text {
    font-size: 13px !important;
  }
}

@media (max-width: 575px) {
  .faq-header h2 {
    font-size: 24px !important;
  }
  
  .faq-categories {
    flex-direction: column !important;
  }
  
  .faq-category-item {
    min-width: 100% !important;
  }
  
  .faq-question {
    padding: 12px 15px !important;
  }
  
  .question-text {
    font-size: 13px !important;
  }
  
  .answer-text {
    font-size: 12px !important;
  }
  
  .question-icon {
    width: 24px !important;
    height: 24px !important;
  }
}

.faq-answer {
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.faq-question {
  cursor: pointer !important;
  user-select: none;
}

.faq-question:active {
  transform: scale(0.98);
}

