.jumbotron {
    background: #532F8C;
    color: white;
    padding-bottom: 80px;
}

.jumbotron .btn-primary {
    background: #845ac7;
    border-color: #845ac7;
}

.jumbotron .btn-primary:hover {
    background: #7646c1;
}

.jumbotron p {
    color: #d9ccee;
    max-width: 75%;
    margin: 1em auto 2em;
}

.navbar + .jumbotron {
    margin-top: -20px;
}

.jumbotron .lang-logo {
    display: block;
    background: #B01302;
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
    margin: auto;
    border: 2px solid white;
}

.jumbotron .lang-logo img {
    max-width: 100%;
}

/* Reset some basic elements */

{
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: "Helvetica Neue", Arial, sans-serif;
line-height: 1.6;
color: #333;
}

/* Header styling */
header {
background-color: #003366;
color: #fff;
padding: 20px;
text-align: center;
}

header nav a {
color: #fff;
margin: 0 15px;
text-decoration: none;
font-weight: bold;
}

/* Hero section styling */
.hero {
background: url('math-background.jpg') no-repeat center center/cover;
color: #fff;
padding: 100px 20px;
text-align: center;
position: relative;
}

.personal{
background: url('headshot.jpg') no-repeat center center/cover;
padding: 100px 20px;
position: relative;
}

.hero::after {
/* Overlay for better readability */
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 51, 102, 0.4);
}

.hero .hero-content {
position: relative;
z-index: 1;
}

.hero h2 {
font-size: 2.5rem;
margin-bottom: 10px;
}

.hero p {
font-size: 1.2rem;
margin-bottom: 20px;
}

.hero a {
color: #FF6F00;
text-decoration: none;
}

.btn {
background-color: #e67e22;
color: #fff;
padding: 12px 25px;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
}

/* Services section styling */
.services {
padding: 60px 20px;
text-align: center;
background-color: #ecf0f1;
}

.services h3 {
font-size: 2rem;
margin-bottom: 30px;
}

.service-cards {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}

.card {
background: #fff;
margin: 10px;
padding: 20px;
width: 300px;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card h4 {
margin-bottom: 10px;
font-size: 1.5rem;
}

.card p {
font-size: 1rem;
}

/* Footer Styling */
footer {
background-color: #003366;
color: #fff;
text-align: center;
padding: 15px 0;
}

footer a {
color: #e67e22;
text-decoration: none;
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
.service-cards {
flex-direction: column;
align-items: center;
}

header nav a {
margin: 0 10px;
}
}

.act-math {
    align-items: center;
    text-align: center;
    background-color: rgba(0, 51, 102, 0.4);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.act-math h2 {
font-size: 2.5rem;
margin-bottom: 20px;
color: var(--primary-blue); /* Using our primary blue for a strong header */
}

.act-math p {
font-size: 1.1rem;
margin-bottom: 15px;
line-height: 1.5;
}

.act-math h3 {
font-size: 1.75rem;
margin: 30px 0 15px;
color: var(--primary-blue);
}

.act-math ul {
list-style-type: none;
margin: 0 auto 20px;
padding: 0;
max-width: 600px; /* constrain width for mobile & desktop readability */
text-align: left;
}

.act-math ul li {
margin-bottom: 10px;
line-height: 1.5;
}

/* If you want to style the contact information particularly */
.act-math a {
color: #FF6F00;
text-decoration: none;
}

.act-math a:hover {
text-decoration: underline;
}


.about-me-section {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.headshot {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}

.about-me-text {
    max-width: 800px;
}

.about-me-text h1 {
    margin-top: 0;
    color: #333;
}

.about-me-text p {
    color: #555;
    line-height: 1.6;
}