/* Modern Style Overrides */

:root {
  --primary-color: #E69138;
  --secondary-color: #031478;
  --bg-dark: #16151a;
  --text-color: #e0e0e0;
  --heading-color: #ffffff;
  --card-bg: #1f1e24;
}

body {
  background: #16151a !important; /* Override the gradient for a cleaner look, or refine it */
  background: linear-gradient(135deg, #1a1920 0%, #0f0c29 100%) !important;
  color: var(--text-color);
  font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-weight: 700;
}

/* Header */
.header {
  background: rgba(22, 21, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__nav-link {
  color: #bdbdbd;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header__nav-link:hover {
  color: var(--primary-color);
}

/* Buttons */
.btn {
  border-radius: 50px;
  padding: 10px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(97, 100, 255, 0.4);
}

.btn-primary:hover {
  background-color: #E69138;
  border-color: #E69138;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(97, 100, 255, 0.6);
}

.btn-outline-light {
  border-width: 2px;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-2px);
}

/* Cards */
.card {
  background-color: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s ease;
  height: 100%;
  overflow: hidden;
  position: relative;
}

/* .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: #16151a;
} */

.card .heading {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.card .paragraph {
  color: #aaa;
  font-size: 15px;
  line-height: 1.6;
}

.card .image-wrapper {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}

/* Portfolio */
.project-box-div {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.project-box-div:hover {
  transform: scale(1.02);
}

.project-image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.project-box-div:hover .project-image-container img {
  transform: scale(1.1);
}

.project-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  z-index: 2;
}

.project__text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.block_text {
  font-size: 14px;
  color: var(--primary-color);
}

/* Blog */
.blog-single-post {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.blog-single-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-details {
  padding: 20px;
}

.post-name {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.post-name a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.post-name a:hover {
  color: var(--primary-color);
}

.post-date {
  font-size: 13px;
  color: #888;
}

/* Sections */
.section-title,
h3 {
  font-size: 32px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-section,
.services-section,
.portfolio-section,
.blog-section {
  position: relative;
  z-index: 1;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.slider-image img {
  animation: float 6s ease-in-out infinite;
}
