/* Custom Styles */
@font-face {
    font-family: 'NowAlt';
    src: url('/fonts/NowAlt-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'NowAlt';
    src: url('/fonts/NowAlt-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'NowAlt';
    src: url('/fonts/NowAlt-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'NowAlt';
    src: url('/fonts/NowAlt-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'NowAlt';
    src: url('/fonts/NowAlt-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

:root {
    --primary-color: #161616;
    --secondary-color: #3A3A3A;
    --accent-color: #f6f6f6;
    --text-color: #3A3A3A;
    --font-serif: "Playfair Display", serif;
    --font-sans: "NowAlt", sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  color: var(--secondary-color);
}

.navbar-brand,
.nav-link {
  font-family: var(--font-serif);
  font-weight: 700;
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 10px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
}

.hero-section {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/img/bg_hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 160px 0;
  color: var(--accent-color);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-outline-light {
  border-width: 2px;
  padding: 10px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 3px solid var(--primary-color);
  opacity: 0.2;
  border-radius: 50%;
}

.hero-decoration-1 {
  top: -100px;
  right: -50px;
}

.hero-decoration-2 {
  bottom: -50px;
  left: -100px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-image {
    margin-top: 3rem;
  }
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
}

.card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  background-color: var(--accent-color);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.blog-card {
  border-radius: 12px;
  overflow: hidden;
}

.blog-card .card-body {
  padding: 1.5rem;
}

.blog-card .card-title {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.blog-card .btn-primary {
  width: 100%;
  margin-top: 0.5rem;
}

.testimonial-card {
  background: var(--accent-color);
  padding: 20px;
  border-radius: 10px;
}

.footer {
  background: var(--primary-color);
  color: var(--accent-color);
  padding: 50px 0;
}

.footer a {
  color: var(--accent-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 0.8;
}

/* Additional Styles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
  margin: 15px auto;
}

/* Footer Styles */
.footer {
  background-color: #212529;
}

.footer h5 {
  color: #fff !important;
  font-weight: 600;
  position: relative;
}

.footer .social-links a:hover {
  opacity: 0.8;
}

.footer a:hover {
  color: #007bff !important;
  transition: color 0.3s ease;
}

/* Testimonial Styles */
.testimonial-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

/* Portfolio Styles */
.portfolio-section {
  padding: 80px 0;
  background-color: #fff;
}

.client-logo {
  width: 100%;
  max-width: 180px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.client-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin: 10px;
  transition: transform 0.3s ease;
}

.client-card:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .client-logo {
    max-width: 140px;
    height: 45px;
  }

  .client-card {
    min-height: 100px;
    padding: 1rem;
  }
}

.portfolio-subtitle {
  text-align: center;
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.address-item {
  display: flex;
  align-items: start;
  line-height: 1.6;
}

.address-item i {
  margin-top: 4px;
}

.address-item div {
  font-size: 15px;
}


.blog-header {
  padding-top: 6rem;
  padding-bottom: 2rem;
}

.blog-title {
  font-family: var(--font-serif);
  color: var(--secondary-color);
}

.blog-meta {
  color: var(--text-color);
  opacity: 0.8;
}

.blog-content {
  line-height: 1.8;
}

.blog-thumbnail {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.back-button {
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.back-button:hover {
  color: var(--secondary-color);
}

/* Blog List Page Styles */
.page-header {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://congrats.qodeinteractive.com/wp-content/uploads/2024/09/blog-wide-img7.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
  margin-bottom: 40px;
  color: white;
}

.page-title {
  font-family: var(--font-serif);
  color: white;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.page-subtitle {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}