/* ----- Reset & Base Style (CSS2 Only) ----- */
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
  line-height: 1.5;
  background-color: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  border: 0;
}

.container {
  width: 1100px;
  margin: 0 auto;
}

.section-padding {
  padding: 80px 0;
}

.bg-light {
  background-color: #f9f9f9;
}

.text-center {
  text-align: center;
}

.clear {
  clear: both;
}

.row-space {
  margin-top: 30px;
}

/* ----- Layout Columns (Floats - Pure CSS2) ----- */
.col-2 {
  float: left;
  width: 48%;
  margin-right: 4%;
}

.col-3 {
  float: left;
  width: 31.33%;
  margin-right: 3%;
}

.col-4 {
  float: left;
  width: 22%;
  margin-right: 4%;
}

.col-last {
  margin-right: 0 !important;
}

/* ----- Headings & Titles ----- */
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: #222222;
}

.title-line {
  width: 80px;
  height: 3px;
  background-color: #6142a1;
  margin: 15px auto 50px auto;
}

.align-left {
  margin-left: 0;
}

.text-left {
  text-align: left;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
}

.btn-primary {
  background-color: #6142a1;
  color: #ffffff;
  border: 2px solid #6142a1;
}

.btn-primary:hover {
  background-color: #4d3383;
  border-color: #4d3383;
}

.btn-outline {
  background-color: transparent;
  color: #333333;
  border: 2px solid #cccccc;
}

.btn-outline:hover {
  background-color: #6142a1;
  color: #ffffff;
  border-color: #6142a1;
}

/* ----- Navbar ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #3d2a65;
  z-index: 1000;
  padding: 15px 0;
}

.nav-left {
  float: left;
  width: 250px;
}

.logo-icon {
  color: #ffffff;
  font-size: 20px;
  float: left;
  margin-right: 15px;
  margin-top: 3px;
}

.search-box {
  float: left;
  position: relative;
}

.search-box i {
  position: absolute;
  left: 10px;
  top: 8px;
  color: #888888;
}

.search-box input {
  padding: 6px 10px 6px 30px;
  border: 0;
  font-size: 14px;
  background-color: #ffffff;
  color: #333333;
}

.nav-links {
  float: right;
}

.nav-links a {
  color: #ffffff;
  font-weight: bold;
  float: left;
  margin-left: 20px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-bottom-color: #ffffff;
}

/* ----- Hero Section ----- */
.hero {
  position: relative;
  height: 550px;
  background: url('https://images.unsplash.com/photo-1523293182086-7651a899d37f?auto=format&fit=crop&w=1600&q=80') center center no-repeat;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  /* CSS2 Alpha fallback */
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 10;
  color: #ffffff;
  width: 800px;
  margin: 0 auto;
  padding-top: 180px;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.hero-btns .btn-outline {
  color: #ffffff;
  border-color: #ffffff;
  margin-right: 10px;
}

.hero-btns .btn-outline:hover {
  background-color: #ffffff;
  color: #333333;
}

/* ----- Welcome Services ----- */
.service-card {
  border: 1px solid #eeeeee;
  padding: 40px 20px;
  text-align: center;
  background-color: #ffffff;
  position: relative;
}

.service-card:hover {
  border-bottom: 3px solid #6142a1;
}

.card-icon {
  font-size: 30px;
  color: #6142a1;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  color: #777777;
  font-size: 14px;
  margin-bottom: 20px;
}

.read-more {
  color: #6142a1;
  font-weight: bold;
  font-size: 14px;
}

/* ----- Featured Works (Portfolio) ----- */
.work-item {
  position: relative;
  overflow: hidden;
  height: 250px;
  background-color: #000000;
}

.work-item img {
  width: 100%;
  height: 250px;
  display: block;
}

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #3d2a65;
  color: #ffffff;
  text-align: center;
  padding-top: 60px;
  display: none; /* CSS2 Display Toggle for Hover */
}

.work-item:hover .work-overlay {
  display: block;
}

.work-overlay .category {
  font-size: 12px;
  letter-spacing: 2px;
  color: #cccccc;
  display: block;
}

.work-overlay h4 {
  font-size: 20px;
  margin: 10px 0 15px 0;
}

.overlay-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  background-color: #ffffff;
  color: #6142a1;
  margin: 0 5px;
}

/* ----- What We Offer ----- */
.offer-card {
  padding: 20px;
  border: 1px solid #f0f0f0;
  background-color: #ffffff;
}

.offer-card:hover {
  border-color: #6142a1;
}

.offer-icon {
  font-size: 28px;
  color: #6142a1;
  float: left;
  width: 40px;
}

.offer-text {
  float: left;
  width: 260px;
}

.offer-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.offer-card p {
  color: #777777;
  font-size: 14px;
}

/* ----- Why Choose Us ----- */
.why-desc {
  color: #777777;
  margin-bottom: 20px;
}

.check-list li {
  margin-bottom: 12px;
  color: #444444;
}

.check-list i {
  color: #6142a1;
  margin-right: 10px;
  border: 1px solid #6142a1;
  padding: 2px 4px;
  font-size: 12px;
}

.why-image img {
  width: 100%;
}

/* ----- Stats Banner ----- */
.stats-banner {
  background: #3d2a65 url('https://images.unsplash.com/photo-1592945403244-b3fbafd7f539?auto=format&fit=crop&w=1600&q=80') center center no-repeat;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.stat-item i {
  font-size: 36px;
  margin-bottom: 15px;
}

.stat-item h3 {
  font-size: 32px;
  font-weight: bold;
}

.stat-item p {
  font-size: 14px;
  color: #dddddd;
}

/* ----- Pricing Table ----- */
.price-card {
  border: 1px solid #eeeeee;
  padding: 40px 20px;
  text-align: center;
  background-color: #ffffff;
}

.price-card:hover, .price-card.active {
  border-color: #6142a1;
}

.price-card h4 {
  font-size: 18px;
  letter-spacing: 1px;
}

.price-circle {
  width: 110px;
  height: 80px;
  border: 2px solid #6142a1;
  margin: 25px auto;
  padding-top: 25px;
  text-align: center;
}

.price-card:hover .price-circle {
  background-color: #6142a1;
  color: #ffffff;
}

.price-card:hover .price-circle .unit {
  color: #e0e0e0;
}

.price {
  font-size: 24px;
  font-weight: bold;
}

.unit {
  font-size: 11px;
  color: #777777;
}

.price-card p {
  color: #777777;
  margin-bottom: 12px;
  font-size: 14px;
}

.price-card .btn {
  margin-top: 15px;
}

/* ----- Testimonials ----- */
.testimonial-card {
  background-color: #f9f9f9;
  padding: 30px;
}

.user-info img {
  width: 60px;
  height: 60px;
  float: left;
  margin-right: 15px;
}

.user-details {
  float: left;
  padding-top: 8px;
}

.user-details h4 {
  font-size: 18px;
}

.user-details span {
  color: #6142a1;
  font-size: 14px;
}

.testimonial-card p {
  margin-top: 15px;
  color: #555555;
  font-size: 14px;
}

/* ----- Team Section ----- */
.team-card {
  background-color: #ffffff;
  text-align: center;
  padding-bottom: 25px;
  border: 1px solid #eeeeee;
}

.team-img-wrapper {
  position: relative;
  margin-bottom: 20px;
  height: 280px;
  overflow: hidden;
}

.team-img-wrapper img {
  width: 100%;
  height: 280px;
}

.team-social {
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  height: 100%;
  background-color: #3d2a65;
  padding-top: 80px;
  display: none; /* CSS2 Overlay */
}

.team-card:hover .team-social {
  display: block;
}

.team-social a {
  color: #ffffff;
  font-size: 16px;
  display: block;
  margin-bottom: 15px;
}

.team-card h3 {
  font-size: 20px;
}

.team-card p {
  color: #777777;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ----- Recent News ----- */
.news-card {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  padding: 20px;
}

.news-card:hover {
  border-color: #6142a1;
}

.news-card img {
  width: 100%;
  height: 200px;
  margin-bottom: 15px;
}

.news-meta {
  font-size: 12px;
  color: #777777;
  margin-bottom: 12px;
}

.news-meta span {
  margin-right: 10px;
}

.news-meta i {
  color: #6142a1;
}

.news-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.news-card p {
  color: #777777;
  font-size: 14px;
  margin-bottom: 15px;
}

/* ----- Footer ----- */
.footer {
  background-color: #2b1c4a;
  color: #ffffff;
  padding: 40px 0;
}

.social-links {
  margin-bottom: 20px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #3d2a65;
  color: #ffffff;
  margin: 0 5px;
  text-align: center;
}

.social-links a:hover {
  background-color: #6142a1;
}

.copyright {
  font-size: 13px;
  color: #aaaaaa;
  letter-spacing: 1px;
}
