/* Global Styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; /* Ensure headers are bold */
}

p, a, button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; /* Normal weight for body text and links */
}

/* Header Styling */
.header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.navbar {
    padding: 0.5rem 1rem; /* Reduce padding for a more compact navbar */
}

/* Navbar Links */
.navbar-nav .nav-link {
    color: #333;
    font-size: 1rem;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

/* Navbar Button */
.nav-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    background-color: #00BFA5;
    border: none;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: #00796B;
}

/* General Button Styling */
.btn-primary {
    background-color: #00BFA5;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #00796b;
}

/* Logo Styling for Navbar */
.navbar-brand img,
.navbar-logo {
    height: 35px;             /* Set a controlled height */
    width: auto;              /* Maintain aspect ratio */
    max-width: 80px;          /* Cap the maximum width to avoid excess space */
    object-fit: contain;      /* Ensure it scales without distortion */
    margin: 0;                /* Reset margin to avoid unwanted space */
}

/* Mobile adjustment for logo */
@media (max-width: 768px) {
    .navbar-logo {
        height: 25px;         /* Smaller height for mobile view */
        max-width: 60px;      /* Adjust max width for smaller screens */
    }
}

/* Center the logo vertically in the navbar */
.navbar-brand {
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #00BFA5, #00796B, #004D40); /* Added a third darker color for depth */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 50px 20px;
}

.hero-section h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: #212121;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

footer a:hover {
    color: #007bff;
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: #333;
}

.form-control {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
}

/* Card Hover Effect */
.card {
    border-radius: 8px;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: scale(1.02);
}

/* Badge Style */
.badge {
    font-size: 0.9rem;
    padding: 0.4em 0.6em;
}

/* Terminal Output Styling */
#terminalOutput {
    font-family: monospace;
    font-size: 0.9rem;
    color: #d1d1d1;
}
