/* Custom styles to reduce text size on home page */

/* Container and content padding */
.container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

.home-about {
    /* Removed padding-left and padding-right */
}

/* Reduce paragraph text size and make text white */
.home-banner-04 p {
  font-size: 16px;
  line-height: 1.5;
  color: white !important;
}

/* Reduce heading text size */
.home-banner-04 h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: white !important;
}

/* Adjust other text elements */
.home-about p {
  font-size: 16px;
  line-height: 1.5;
  color: white !important;
  width: 100%; /* Force paragraph to fill container width */
  box-sizing: border-box; /* Include padding/border in width calculation */
}

/* Make sure mobile styles are appropriate */
@media (max-width: 767px) {
  .home-banner-04 p {
    font-size: 14px;
    color: white !important;
  }
  
  .home-banner-04 h3 {
    font-size: 18px;
    color: white !important;
  }
}

blockquote.custom-blockquote {
    font: 14px/22px normal helvetica, sans-serif;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 40px;
    padding-left: 15px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 3px;
    border-left: 3px solid #ccc;
    background: #e9e9e9;
}

blockquote.indented {
    margin-left: 50px;
}

h6 {display: inline-block;}

.tag-space {
    width: 60vw;
}

.topic-tag {
    color: grey;
    font: 14px/22px normal helvetica, sans-serif;
    margin-bottom: 10px;
    margin-left: 10px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px; 
    border: 1px solid grey;
    display: inline-block;
}

.topic-tag:hover {
    color: #e9e9e9;
    background: #B1040E;
}

.spacer {
    height: 100px;
}

/* Define CSS variables for consistent colors */
:root {
    --main-bg-color: #111;
}

/* Ensure the body background uses the variable */
body {
    background-color: var(--main-bg-color) !important;
}


/* Make footer background match the page background using the variable */
.footer {
    background: var(--main-bg-color) !important;
    background-color: var(--main-bg-color) !important;
}

/* Education section styling */
.education-item {
    margin-bottom: 35px;
    font-size: 14px;
}

.education-item .col-md-9 {
    padding-right: 30px;
}

.education-item .col-md-3 {
    text-align: right;
}

/* Ensure text alignment is consistent */
.education-item h3 {
    margin-bottom: 5px;
}

.education-item p {
    margin-bottom: 15px;
}

.education-item .degree {
    font-weight: bold;
}

.education-item .major {
    font-style: italic;
}

.education-item .advisor {
    color: #666;
}

.education-item .year {
    text-align: right;
    color: #666;
}

@media (max-width: 767px) {
    .home-about .container {
        padding-right: 20px;
        padding-left: 20px;
    }
    
    .education-item .col-md-3 {
        text-align: left;
        margin-top: 5px;
    }
    
    .education-item {
        text-align: left;
    }
    
    .education-item .year {
        text-align: left;
    }
    
    .education-item .advisor {
        text-align: left;
    }
}

/* Container padding adjustments */
.home-about .container {
    padding-right: 40px;
    padding-left: 40px;
}

/* Presentation tables styling */
.table {
    color: white;
    margin-bottom: 2rem;
}

.table th {
    border-top: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    padding: 1rem 0.75rem;
}

.table td {
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
}

.table td .mt-2 {
    margin-top: 0.35rem !important;
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Update button styling for presentations */
.table .btn-theme.btn-sm {
    padding: 0.1rem 0.25rem;
    font-size: 0.7rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    line-height: 1.1;
    color: #808080 !important;
    transition: color 0.3s ease;
}

.table .btn-theme.btn-sm:hover {
    color: white !important;
}

/* Container adjustments */
.container {
    max-width: 1140px;
    padding-right: 2rem;
    padding-left: 2rem;
}

@media (max-width: 767px) {
    .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }
    
    .table td, .table th {
        padding: 0.75rem 0.5rem;
    }
}

