:root {
    --primary: #2D3142;     /* A softer dark blue-grey instead of pure black */
    --secondary: #FF6B6B;   /* A slightly adjusted coral that's easier on the eyes */
    --accent: #4ECDC4;      /* A brighter teal for better contrast */
    --highlight: #FFD93D;   /* A warmer yellow that's still attention-grabbing */
    --light: #F6F7F8;      /* Light background color */
  }
#hero-section {
    background-image: url('../images/pc.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    overflow: hidden; /* Add this to prevent pseudo-element overflow */
}

#hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(190, 191, 197, 0.8));*/
    background-color: rgba(54, 54, 54, 0.8);
    z-index: 1; /* Add this to layer the pseudo-element under the content */
}
/* Ensures content is on top of the overlay */
#hero-section * {
    position: relative;
    z-index: 2;
}
/* center the image in smaller screens */
@media (max-width: 768px) {
    #hero-section {
        background-position: 40% center !important;
    }
}

#cards-section {
    background: linear-gradient(to top, #F6F7F8, #BEBFC5);
    color: var(--light);
    padding: 3rem 0;
}

#problem-section {
    background: linear-gradient(to bottom, #F6F7F8, #87CEFA); ;
    background-size:cover;
    background-position:center ;
    background-attachment: fixed;
}

#steps {
    background: linear-gradient(to bottom, #F6F7F8, #87CEFA);
    padding: 3rem 0;
}
#steps img {
    transition: transform 0.3s ease;
    height: 100%;
    object-fit: cover;
}
.card.border-0 {
    border-radius: 0.5rem;
}

.card {
    border: none;
    background-color: #2D3142;
    color: #fff;
    border-radius: 0.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card-img-top {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}
/*.card:hover {
    background-color: #FF6B6B;
}
.card:hover .card-img-top {
    transform: scale(1.1);
}*/
#cards-section .card-text {
    line-height: 1.2; /* Reduced from default (usually 1.5 or 1.6) */
}
#contactus {
    background-color: #1C1D1E;
    color: #fff;
}

#contactus h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.navbar-scrolled {
    background-color: #1C1D1E; /* or rgba(0,0,0,0.9) */
    transition: background-color 0.3s ease;
}

.btn-custom {
    background-color: #E3B505;
}

.btn-custom:hover {
    background-color: ;
}

/* Add a global box-shadow for cards and buttons */
.card, .btn {
    transition: all 0.3s ease;
}
.card:hover, .btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Improve text contrast and font readability */
body {
    font-family: 'Inter', sans-serif;
    color: var(--primary);
    line-height: 1.6;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.7);
    transition: background-color 0.3s ease, padding 0.3s ease;
    padding: 1rem;
}
.navbar-scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 0.8rem;
}
.navbar-brand img {
    transition: transform 0.3s ease;
}
.navbar-scrolled .navbar-brand img {
    transform: scale(0.9);
}
