html {
    scroll-padding-top: 70px; /* Offset for fixed navbar */
}

body {
    font-family: 'Poppins', sans-serif;
    padding-top: 69px; /* Adjusted for fixed navbar to remove white line */
    background-color: #f8f9fa;
    color: #333;
}

.navbar {
    background-color: #2c3e50 !important; /* Darker blue-grey */
    transition: all 0.3s ease-in-out;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-link {
    font-weight: 500;
    font-size: 1.1rem;
    margin-left: 15px;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover {
    color: #1abc9c !important; /* Teal highlight */
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    background-color: #34495e; /* Dark blue-grey fallback */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.sliding-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% * 7); /* 6 unique images + 1 duplicate for seamless loop */
    height: 100%;
    display: flex;
    transition: transform 1s ease-in-out; /* Smooth transition for sliding */
}

.sliding-background-image {
    width: calc(100% / 7);
    height: 100%;
    object-fit: contain;
    filter: brightness(1); /* Original brightness */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(52, 73, 94, 0.7)); /* Dark gradient overlay */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.bi-tool-label {
    font-size: 2.25rem;
    font-weight: 600;
    color: #1abc9c; /* Teal color for the label */
    margin-bottom: 10px;
    display: block; /* Ensures it takes its own line */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    background-color: #1abc9c; /* Teal */
    border-color: #1abc9c;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #16a085;
    border-color: #16a085;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
}

/* About Section */
#about img {
    max-height: 400px;
    object-fit: cover;
}

/* Features Section */
.feature-card {
    background-color: #fff;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.feature-card i {
    color: #1abc9c; /* Teal icon color */
    margin-bottom: 20px;
}

.feature-card .card-title {
    color: #2c3e50;
    font-size: 1.5rem;
}

/* Contact Section */
#contact .form-control-lg {
    border-radius: 10px;
}

#contact .btn-primary {
    width: 100%;
}

/* Footer */
footer {
    background-color: #2c3e50 !important;
    color: #ecf0f1;
    font-size: 0.9rem;
}

footer i {
    color: #e74c3c; /* Red heart */
}
