/* Root Variables for Consistent Colours */
:root {
    --primary-color: #007BFF;
    --secondary-color: #00b4d8;
    --secondary-hover-color: #0056b3;
    --gradient-start: #00b4d8;
    --gradient-end: #0077b6;
    --font-color-white: white;
}

/* Typography and Base Settings */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    background-color: var(--primary-color);
    color: var(--font-color-white);
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .btn:focus,
    .btn:active:focus,
    .btn-link.nav-link:focus {
        box-shadow: 0 0 0 0.1rem var(--font-color-white), 0 0 0 0.25rem var(--primary-color);
        outline: none;
    }

    .btn:hover {
        background-color: var(--secondary-hover-color);
    }

.cta-btn {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: var(--font-color-white);
    padding: 15px 30px;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

    .cta-btn:hover {
        background: linear-gradient(to right, var(--gradient-end), var(--secondary-hover-color));
        transform: scale(1.1);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    }

/* Profile Header Section */
.profile-header {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: var(--font-color-white);
    padding: 50px 20px;
    border-radius: 10px 10px 0 0;
}

/* Profile Image Container */
.profile-image-container {
    position: relative;
    display: inline-block;
    border: 5px solid var(--font-color-white);
    border-radius: 50%;
    overflow: hidden;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Typography for Header and Lead */
h1.display-4 {
    color: var(--font-color-white);
    margin-top: 20px;
}

p.lead {
    font-size: 1.2rem;
    color: var(--font-color-white);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cta-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .profile-image-container {
        width: 120px;
        height: 120px;
    }

    .profile-header {
        padding: 30px 15px;
    }
}

/* Form Styling */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Card Styles */
.card {
    border-radius: 15px;
    border: none;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.card-text {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Code Box Styling */
.code-box {
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    font-family: Consolas, "Courier New", Courier, monospace;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Table Styling */
.table {
    margin-top: 20px;
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
}

/* List Styling */
#steps-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

    #steps-list li {
        font-size: 1.2rem;
        margin: 10px 0;
        color: var(--primary-color);
        transition: opacity 0.5s ease-in-out;
    }

/* Section Styling */
section {
    margin-bottom: 30px;
}
