/* Color Variables */
:root {
    --berkeley-blue: #003366ff;
    --black: #000000ff;
    --spanish-orange: #e86814ff;
    --saffron: #F1C55D;
    --baby-powder: #fffffdff;
    --carolina-blue: #73b3d0ff;
    --columbia-blue: #D1E6F0;
    --silver: rgb(145, 145, 145);
    --timberwolf: #d3d3d3ff;
    --electric-blue: #62E7FD;
    --moonstone: #1BAAC4;
    --prussian-blue: #192C46;
}

/* Apply Poppins font throughout the website */
body, .poppins-regular {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Other font-weight classes for Poppins */
.poppins-thin { font-weight: 100; }
.poppins-extralight { font-weight: 200; }
.poppins-light { font-weight: 300; }
.poppins-medium { font-weight: 500; }
.poppins-semibold { font-weight: 600; }
.poppins-bold { font-weight: 700; }
.poppins-extrabold { font-weight: 800; }
.poppins-black { font-weight: 900; }

/* Italic versions */
.poppins-thin-italic { font-weight: 100; font-style: italic; }
/* ... and so on for each font-weight variant ... */

/* Specific Styling */
.jumbotron {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    margin: 20px;
    background-color: var(--moonstone) !important;
    color: var(--baby-powder);
}

/* Button Styles */
.btn-primary {
    background-color: var(--spanish-orange);
    border-color: var(--saffron);
    color: var(--baby-powder);
}

.btn-primary:hover {
    background-color: darken(var(--spanish-orange), 10%);
    border-color: darken(var(--spanish-orange), 10%);
}

/* Container Style */
.container {
    width: 100%;
    max-width: 1200px; /* Maximum width of the container */
    margin: 0 auto; /* Center the container */
    padding: 15px; /* Add some padding */
}

/* Intro and Selected Work Section */
.intro,
.selected-work {
    background-color: var(--baby-powder);
    color: var(--black);
    padding: 20px 0;
}

.selected-work h2,
.contact h2 {
    color: var(--spanish-orange);
    font-weight: 700;
}

/* Card Styles for Work Items */
.card {
    border: 1px solid var(--silver);
}

.card-title {
    color: var(--moonstone);
}

.card-text {
    color: var(--silver);
}

/* Square Card */
.square-card {
    position: relative;
    width: 100%;
    /* Set the width to 100% of its parent */
    background-color: var(--baby-powder);
    /* Optional: Set a background color */
}

.square-card::before {
    content: '';
    display: block;
    padding-top: 100%;
    /* This creates a square aspect ratio */
}

.square-card .card-content {
    display: flex;
    /* Make this a flex container */
    flex-direction: column;
    /* Stack children vertically */
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.square-card .card-img-top {
    width: 100%;
    /* Full width */
    object-fit: cover;
    /* Cover the area without stretching */
    height: 180px;
    /* Fixed height */
}

.card-body {
    flex-grow: 1;
    /* Take available space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Space between items */
}

.card-body .btn {
    align-self: flex-start;
    /* Align to the start (left) */
    margin-top: auto;
    /* Push to bottom */
}

/* Card Title and Text */
.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600; /* Semibold for titles */
    color: var(--berkeley-blue);
    /* Title color */
}

.card-text {
    color: var(--silver);
    /* Text color */
}

/* Learn More Button */
.card-body .btn {
    background-color: var(--spanish-orange);
    /* Button background color */
    color: var(--baby-powder);
    /* Button text color */
    border: none;
    /* Remove border */
    align-self: flex-start;
    /* Align to the start (left) */
}

/* Contact Section */
.contact {
    background-color: var(--columbia-blue);
    color: var(--black);
}

.contact a {
    color: var(--berkeley-blue);
}

/* Basic Reset and Box Model */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Style */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--baby-powder); 
    color: var(--black);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Ensure body takes at least the full height of the viewport */
    display: flex;
    flex-direction: column;
}

/* Navigation bar full width */
.navbar {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 10px;
    background-color: var(--berkeley-blue);
}

/* Nav logo to the left */
.nav-logo {
    height: 80px;
    margin-right: 20px;
}

.text-logo {
    margin-right: 20px;
}

/* Nav items */
.nav {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    gap: 20px;
}

/* Style for <a> tags inside the navbar */
.navbar a {
    color: var(--baby-powder); /* White color text */
    text-decoration: none; /* Optional: removes underline from links */
}

.navbar a, .dropbtn {
    font-family: 'Poppins', sans-serif;
    font-weight: 500; /* Medium weight for navigation links */
    /* ... other styles ... */
}


/* Individual nav items */
.nav-pills>li {
    padding-right: 20px;
}

.navbar-toggler {
    display: none;
}


/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--baby-powder);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Dropdown on hover */
.cmalt-dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown Links */
.dropdown-content a {
    color: var(--black);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--timberwolf);
}

/* Dropdown Button */
.dropbtn {
    background-color: var(--berkeley-blue);
    color: var(--baby-powder);
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}

/*footer stylings*/
footer {
    width: 100%;
    background-color: var(--berkeley-blue); /* Same background color as the navbar */
    color: var(--baby-powder); /* White text color */
    padding: 10px 20px; /* Adjust padding as needed */
    display: flex;
    justify-content: space-between; /* Space out elements */
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

footer a {
    color: var(--baby-powder); /* White color for links */
    text-decoration: none; /* Optionally remove underline */
}

footer a:hover {
    text-decoration: underline; /* Optionally underline on hover */
}

/* Timeline */
.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: var(--silver);
    left: 50%;
    margin-left: -1.5px;
}

/* Timeline Items */
.timeline>li {
    margin-bottom: 20px;
    position: relative;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li>.timeline-panel {
    width: 46%;
    float: left;
    border: 1px solid var(--timberwolf);
    border-radius: 2px;
    padding: 20px;
    position: relative;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    background-color: var(--baby-powder);
}

.timeline>li>.timeline-panel:before {
    border-left: 15px solid var(--timberwolf);
}

.timeline>li>.timeline-panel:after {
    border-left: 14px solid var(--baby-powder);
}

/* Timeline Inverted Styling */
.timeline>li.timeline-inverted>.timeline-panel {
    float: right;
    /* Float the panel to the right */
}

.timeline>li.timeline-inverted>.timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    /* Adjust the arrow position for right floated panels */
    right: auto;
    border-left: 15px solid transparent;
    border-right: 15px solid var(--silver);
    /* Arrow color */
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    /* Adjust the arrow position for right floated panels */
    right: auto;
    border-left: 14px solid transparent;
    border-right: 14px solid var(--baby-powder);
    /* Arrow color */
}


/* Timeline Badge Styling */
.timeline>li>.timeline-badge {
    color: var(--baby-powder);
    background-color: var(--berkeley-blue);
    /* Use Berkeley Blue for the badge background */
    width: 50px;
    /* Fixed width for the badge */
    height: 50px;
    /* Fixed height for the badge */
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    /* Adjust this to position the badge correctly */
    z-index: 100;
    border-radius: 50%;
    /* Circular badge */
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline-title {
    color: var(--berkeley-blue);
}

.timeline-body>p,
.timeline-body>ul {
    margin-bottom: 0;
}

.timeline-body>p+p {
    margin-top: 5px;
}

/* Sidebar Styling */
.sidebar {
    padding: 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sidebar h6 {
    padding-top: 10px; /* or use padding-top: 5px; if you prefer padding */
}

/* Sidebar Image Styling */
.sidebar img {
    width: 100%; /* Ensure the image takes the full width of the sidebar */
    height: auto; /* Maintain the aspect ratio */
    object-fit: contain; /* Ensures the image covers the area, might be cropped */
}

.right-bar {
    background-color: var(--carolina-blue);
    display: flex;
    flex-direction: column;
    
}

.left-bar {
    background-color: var(--saffron); 
    display: flex;
    flex-direction: column;
}

.right-align {
    text-align: right;
}

/* Content Section Styling */
.content-section {
    color: var(--black);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px; /* Space between sections */
}

.content-section>ul{
 margin-left: 20px;
}
.subtle {

}
.emphasis {
    border: 5px solid var(--saffron); /* Accent border for full-width */
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: var(--saffron);
}

/* Utility Classes */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    .sidebar {
        margin-bottom: 20px;
    }
    .footer {
        flex-direction: column; /* Stack elements vertically on smaller screens */
        text-align: center; /* Center-align text */
        padding: 20px; /* Adjust padding */
    }
    .navbar-toggler {
        display: block;
    }
    .nav-logo, .text-logo {
        display: none;
    }
    .navbar-collapse {
        display: none;
    }
    .navbar-collapse.show {
        display: block;
    }
}

#developmentBanner {
    background-color: var(--carolina-blue); 
    color: var(--prussian-blue); /* Dark red; adjust as needed */
    padding: 0px;
    text-align: center;
    border: 1px solid var(--prussian-blue);
}
