/* Navbar spacing */
body {
  padding-top: 70px;
}

/* Hero Section */
.hero-section {
  height: 90vh;
  background: url('https://images.pexels.com/photos/4386326/pexels-photo-4386326.jpeg') center/cover no-repeat;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Service Cards */
.service-box img {
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
}

.service-box:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

/* Blog image */
.blog-img {
  width: 170px;
  height: 130px;
  object-fit: cover;
}

/* Why Choose Us Cards */
.wc-card {
  background: white;
  border-radius: 10px;
  font-weight: 600;
}

/* Newsletter */
.newsletter {
  background: #0d1b2a;
  position: relative;
}

.newsletter-box {
  background: white;
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
}

/* Popup */
.popup {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}

.popup-content {
  background: white;
  padding: 25px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
}



/* about us */

/* HERO */
.about-hero {
  height: 50vh;
  background: url("https://images.unsplash.com/photo-1554224155-8d04cb21cd6c")
    center/cover no-repeat;
  padding: 40px 0;
}

/* VALUE CARDS */
.value-card {
  border-radius: 12px;
  background: #fff;
  transition: 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* STATS */
.stats-card {
  border-radius: 12px;
  background: #fff;
  transition: 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0,0,0,0.15);
}

/* General Image Styling */
img {
  border-radius: 12px;
  object-fit: cover;
}

/* blog */

/* Hero Section */
section.bg-primary {
    background: #0d6efd;
}

/* Blog Cards */
.card img {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: .375rem;
    border-top-right-radius: .375rem;
}

.card-title {
    font-weight: 600;
}

.card-text {
    font-size: 0.9rem;
    color: #555;
}

 
/* blog card 1  */

/* Blog Hero */
.blog-hero {
    height: 40vh;
    background: url("images/credit-hero.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Blog Main Image */
article img {
    width: 100%;
    margin-bottom: 20px;
}

/* Article Headings */
article h4 {
    margin-top: 20px;
    font-weight: 600;
}

/* Sidebar links */
.bg-light a {
    color: #0d6efd;
}
.bg-light a:hover {
    text-decoration: underline;
}

/* blog card 2  */

/* Hero Section */
.hero-sectionsmart {
  position: relative;
  background: url('images/smart.png') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Overlay behind hero text */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  z-index: 1;
}

.hero-section .text-center {
  position: relative;
  z-index: 2; /* text above overlay */
  text-align: center;
}

.hero-section h1,
.hero-section p {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* Content Section */
.content-section {
  padding: 4rem 1rem;
}

.content-section h2 {
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.content-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Navbar brand customization */
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

/* Footer styling */
footer {
  font-size: 0.9rem;
}

/* blog card 3  */

/* Hero Section */
.hero-sectionfinance{
  position: relative;
  background: url('images/finance.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Overlay behind hero text */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  z-index: 1;
}

.hero-section .text-center {
  position: relative;
  z-index: 2; /* text above overlay */
  text-align: center;
}

.hero-section h1,
.hero-section p {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* Content Section */
.content-section {
  padding: 4rem 1rem;
}

.content-section h2 {
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.content-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Navbar brand customization */
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

/* Footer styling */
footer {
  font-size: 0.9rem;
}

/* contact */

/* Contact Section */
.contact-section {
  background-color: #f8f9fa;
}

.contact-section h2 {
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-section p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-info li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-info i {
  color: #0d6efd; /* Bootstrap primary color */
}

/* Form Styling */
form .form-control {
  border-radius: 0.375rem;
  padding: 0.75rem;
}

form button.btn-primary {
  background-color: #0d6efd;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.375rem;
}

form button.btn-primary:hover {
  background-color: #0b5ed7;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .contact-section .col-lg-6 {
    margin-bottom: 2rem;
  }
}


/* terms */

/* Hero Section for Terms */
.terms-hero {
  position: relative;
  background: url('images/terms.png') center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.terms-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* overlay */
  z-index: 1;
}

.terms-hero .text-center {
  position: relative;
  z-index: 2;
  text-align: center;
}

.terms-hero h1,
.terms-hero p {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* Terms Content */
.terms-content {
  background-color: #f8f9fa;
  padding: 4rem 1rem;
}

.terms-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.terms-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.terms-content a {
  color: #0d6efd;
  text-decoration: none;
}

.terms-content a:hover {
  text-decoration: underline;
}

/* newsletter */

/* Hero Section for Newsletter */
.newsletter-hero {
  position: relative;
  background: url('images/newsletter.png') center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.unsubscribe-hero {
  position: relative;
  background: url('images/unsubscribe.png') center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.newsletter-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent overlay */
  z-index: 1;
}

.newsletter-hero .text-center {
  position: relative;
  z-index: 2;
  text-align: center;
}

.newsletter-hero h1,
.newsletter-hero p {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* privacy */

/* Hero Section for Privacy Policy */
.privacy-hero {
  position: relative;
  background: url('images/privacy-policy.jpg') center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.privacy-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.privacy-hero .text-center {
  position: relative;
  z-index: 2;
  text-align: center;
}

.privacy-hero h1,
.privacy-hero p {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* Privacy Content Section */
.privacy-content {
  background-color: #f8f9fa;
  padding: 4rem 1rem;
}

.privacy-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.privacy-content p,
.privacy-content ul {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.privacy-content a {
  color: #0d6efd;
  text-decoration: none;
}

.privacy-content a:hover {
  text-decoration: underline;
}
