body {
    font-family: 'Poppins', sans-serif;
    background-color: #DBE9FA; 
  }

.logo img {
    max-width: 27px; /* Resize logo */
    height: auto; /* Maintain aspect ratio */
}


.brand-shift {
    margin-left: 15px; /* Adjust as needed */
    font-weight: 700;         /* Makes it bold */
    font-size: 1.6rem;        /* Adjust to suit your logo – increase if needed */
    color: #fff !important;   /* Ensures it's clearly visible on dark bg */
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #ccc; /* Softer white, or use #fff for full white */
}

.navbar-nav .nav-link.active {
    font-weight: 700;
    color: #fff;
}

.welcome-message {
    font-size: 2em;         /* Increase font size */
    font-weight: bold;      /* Make the font bold */
    color: white;           /* Make the text white */
    position: relative;    /* Position it relatively */
    padding: 10px;          /* Add padding around the text */
    margin-bottom: 20px;    /* Space between the welcome message and other content */
    z-index: 2; /* Ensure text is above the overlay */
}


.hero-section {
    position: relative;
    padding: 100px 0;
}


.hero-image-container {
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%; /* Ensure it fills the container */
    object-fit: cover; /* Ensure the image covers the area without stretching */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Ensure the image is behind the text */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Black with 70% opacity */
    z-index: 1; /* Place the overlay above the image */
}

.hero-content {
    position: relative;
    top: 30px; /* Adjust top positioning for the text */
    left: 30px; /* Adjust left positioning for the text */
    z-index: 2; /* Ensure text is above the overlay */
}

.hero-content h1 {
    font-size: 3em;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2em;
}

.hero-section .btn {
    margin-top: 20px;
}

.info-card img { height: 64px; }
.card-img-top { object-fit: cover; height: 200px; }

.fixed-card-img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
  }
  
.blog-style-card {
    height: 170px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
  }
  
.blog-style-card:hover {
    transform: scale(1.01);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
  }
  
.card-body .btn {
    min-width: 120px;
  }

.section-wrapper {
    padding: 4rem 0;
}

/* .section-light {
    background-color: #f8f9fa;
}

.section-blue {
    background-color: #e3f2fd;
} */

section {
  padding: 4rem 0;
}

/* What is a Cipher section */
section#what-is-cipher {
  background-color: #f8f9fa;
  border-top: 2px solid #dee2e6;
  border-bottom: 2px solid #dee2e6;
}

/* Why Learn section */
section#why-learn {
  background-color: #ffffff;
  border-top: 2px dashed #cfe2ff;
}

/* Explore Tools & Learning section */
section#explore-cipher {
  background-color: #e3f2fd;
  border-top: 2px solid #bbdefb;
}

/* Footer stays dark */
footer {
  background-color: #343a40;
  color: #ffffff;
  padding: 2rem 0;
}

/* Section Headings */
section h2 {
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0d6efd;
  margin-bottom: 2rem;
  text-align: center;
}

/* Icon Styling inside cards */
.info-card img,
.card-img-top {
  max-height: 64px;
  object-fit: contain;
}

/* Custom hover animation */
.card:hover {
  transform: translateY(-6px);
  transition: all 0.3s ease;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}
  
  
footer {
    background-color: #343a40;
    color: #ffffff;
}

section {
    margin: 0; /* Remove any default margin between sections */
    padding: 0; /* Remove padding around each section */
}
/* What is Cipher? section styles */
section.container h2 {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.fs-5 {
  line-height: 1.6;
  color: #495057;
}

.info-card {
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(74, 144, 226, 0.25);
}

.info-card h4 {
  color: #0d6efd;
  font-weight: 600;
}

.info-card p {
  color: #6c757d;
}

/* Adjustments for Mobile */
@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2.5em;
    }
    .hero-section p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    #logo img {
        max-width: 120px; /* Smaller logo on mobile */
    }
}
