﻿:root {
  --primary-color: #2c3e50;
  --accent-color: #3498db;
  --green-accent: #4caf50;
  --text-color: #333;
}

/* Hero section */
.hero4 {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #2c3e50, #3498db);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.welcome2 {
  position: relative;
}

.welcome2 h1 {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.welcome2 h2 {
  font-size: 1.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* Main content */
main {
  padding: 4rem 0;
  background: #ffffff;
}

/* Introduction text styling */
.text-justify {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  font-size: 1.25rem;
  line-height: 1.8;
  color: #2c3e50;
}

/* Content specific styling */
.why-content-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.why-content-item {
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(52, 152, 219, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.why-content-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(52, 152, 219, 0.3);
}

/* Strong text styling */
.why-content-item strong {
  color: #3498db;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding: 0 4px;
  transition: all 0.3s ease;
}

.why-content-item strong::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3498db, #4caf50);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.why-content-item strong:hover {
  color: #2c3e50;
}

.why-content-item strong:hover::after {
  transform: scaleX(1);
}

/* Animation for content entrance */
.text-justify,
.why-content-item {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.why-content-item:nth-child(1) {
  animation-delay: 0.2s;
}

.why-content-item:nth-child(2) {
  animation-delay: 0.4s;
}

.why-content-item:nth-child(3) {
  animation-delay: 0.6s;
}

.why-content-item:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .hero4 {
    padding: 60px 0;
  }

  .welcome2 h1 {
    font-size: 2.5rem;
  }

  .welcome2 h2 {
    font-size: 1.4rem;
  }

  .text-justify,
  .why-content-list {
    margin: 0 1rem;
  }

  .text-justify {
    font-size: 1.1rem;
    padding: 1.5rem;
  }

  .why-content-item {
    padding: 1.2rem;
  }
}
.widget-container {
  background: #f8f9fa; /* Light gray background */
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  min-height: 350px; /* Standard height */
  max-height: 400px;
  overflow: auto; /* Prevent excessive growth */
}
