/* Default styles (dark mode) */
:root {
    --bg-color: #252424;
    --text-color: #f5f5f5;
    --primary-color: gold;
    --nav-bg: rgba(26, 26, 26, 0.95);
    --box-bg: #222;
    --box-shadow: rgba(255, 215, 0, 0.3);
}

/* Light mode styles */
[data-theme="light"] {
    --bg-color: #ffffff;       /* White background */
    --text-color: #121212;     /* Dark text */
    --primary-color: #cba502;  /* Gold for highlights */
    --nav-bg: #f8f8f8;         /* Light navigation bar */
    --box-bg: #ffffff;         /* Light section backgrounds */
    --box-shadow: rgb(0, 0, 0); /* Softer shadows */
}

/* Ensures text inside sections is readable */
[data-theme="light"] .career-summary,
[data-theme="light"] .career-details,
[data-theme="light"] .career-growth,
[data-theme="light"] .home-section,
[data-theme="light"] .project,
[data-theme="light"] .skills,
[data-theme="light"] .home-assistant,
[data-theme="light"] .magic-mirror,
[data-theme="light"] .dogs-section,
[data-theme="light"] .cats-section,
[data-theme="light"] .hobbies-section {
    background-color: var(--box-bg);
    color: var(--text-color) !important; /* Ensures text is black */
    box-shadow: 0 4px 12px var(--box-shadow);
}

/* Ensure headings remain gold for consistency */
[data-theme="light"] h1,
[data-theme="light"] h2 {
    color: var(--primary-color);
}


#send-button {
    background-color: var(--primary-color);
}

/* Ensure paragraphs and lists are fully visible */
[data-theme="light"] p,
[data-theme="light"] li {
    color: var(--text-color) !important;  /* Black text for readability */
    opacity: 1 !important;  /* Remove opacity so it's fully visible */
}

/* Fix hover effect in light mode */
[data-theme="light"] .career-summary:hover,
[data-theme="light"] .career-details:hover,
[data-theme="light"] .career-growth:hover,
[data-theme="light"] .home-section:hover,
[data-theme="light"] .project:hover,
[data-theme="light"] .skills:hover,
[data-theme="light"] .home-assistant:hover,
[data-theme="light"] .magic-mirror:hover,
[data-theme="light"] .dogs-section:hover,
[data-theme="light"] .cats-section:hover,
[data-theme="light"] .hobbies-section:hover {
    background-color: #f1f1f1; /* Slightly darker white */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

/* Fix button hover color */
[data-theme="light"] form button:hover {
    background-color: #000;
    color: #fff;
}

/* Update nav background and shadow in light mode */
[data-theme="light"] nav {
    background-color: var(--nav-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

/* Update nav links in light mode */
[data-theme="light"] nav a {
    color: var(--primary-color);
}

[data-theme="light"] nav a:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
}

[data-theme="light"] .blog-post-content {
    background-color: var(--box-bg);
    color: var(--text-color);
    box-shadow: 0 4px 12px var(--box-shadow);
}

[data-theme="light"] form {
    background-color: var(--box-bg);
    color: var(--text-color);
    box-shadow: 0 4px 12px var(--box-shadow);
}

/* If you want the inputs themselves to appear lighter: */
[data-theme="light"] form input,
[data-theme="light"] form textarea {
    background-color: #f1f1f1; /* or var(--box-bg) */
    color: #121212;           /* or var(--text-color) */
    border: 1px solid #ccc;   /* optional softer border for light mode */
}

[data-theme="light"] .subscribe-box {
    background-color: var(--box-bg);
    color: var(--text-color);
    box-shadow: 0 4px 12px var(--box-shadow);
}

[data-theme="light"] .subscribe-box input {
    background-color: #f1f1f1;   /* or var(--box-bg) */
    color: #121212;             /* or var(--text-color) */
    border: 1px solid #ccc;     /* Softer border for light mode */
}

[data-theme="light"] #chatbot-body {
    background-color: var(--box-bg);
    color: var(--text-color);
}

[data-theme="light"] #chatbot-header {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

[data-theme="light"] .user-message {
    background-color: #f1f1f1; /* or var(--box-bg) */
    color: #121212;           /* or var(--text-color) */
}

[data-theme="light"] .bot-message {
    background-color: #f1f1f1;
    color: #121212; /* or var(--text-color) */
}

[data-theme="light"] #chatbot-input {
    background-color: #f1f1f1;
    color: #121212; /* or var(--text-color) */
}

/* Force normal state in light mode */
[data-theme="light"] a {
  color: var(--text-color);
}

/* Force hover/focus to also be gold (or something else) in light mode */
[data-theme="light"] a:hover,
[data-theme="light"] a:focus {
  color: var(--text-color);
}

/* In your light-mode section */
[data-theme="light"] .blog-post-content section {
  background-color: var(--box-bg);
  color: var(--text-color);
}

[data-theme="light"] .blog-post-content ul li {
  background-color: var(--box-bg);
  color: var(--text-color);
}

#chatbot-body {
    transition: background-color 0.3s, color 0.3s;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding-top: 70px; /* Ensure content starts below the nav bar */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    line-height: 1.8;
    font-size: 18px;
}

/* Light/Dark Mode Toggle Button */
.theme-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 10px 15px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.theme-toggle:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

h1 {
    color: gold;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: -15px;
}

h2 {
    color: gold;
    opacity: 0.9;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.career-summary p,
.career-details p,
.career-growth p,
.project p,
.skills p,
.home-assistant p,
.magic-mirror p {
    opacity: 0.5;
}

.career-summary li,
.career-details li,
.career-growth li,
.project li,
.skills li,
.home-assistant li,
.magic-mirror li {
        opacity: 0.5;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--nav-bg);
    padding: 5px 0;
    box-shadow: 0 2px 10px var(--box-shadow);
    z-index: 1000;
    gap: 20px;
}


nav a {
    color: gold;
    text-decoration: none;
    font-size: 1.2em;
    margin: 0 15px;
    padding: 10px 15px; /* Increase padding for better spacing */
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}

nav a:hover {
    background-color: gold;
    color: #121212;
    box-shadow: 0 0 10px gold;
    transform: scale(1.05);
}

.career-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.career-content h1 {
    width: 100%;
    text-align: center;
    margin-bottom: 30px; /* Space between title and grid */
}

.career-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* One row, three equal columns */
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    align-items: stretch; /* Ensures all sections stretch to the same height */
}

.career-summary, .career-details, .career-growth {
    background-color: #222;
    padding: 0px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    text-align: center;
    max-width: 400px; /* Prevents excessive width stretching */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%; /* Makes all sections stretch to the same height */
}

.career-summary h2, .career-details h2, .career-growth h2 {
    margin-bottom: 10px; /* Keeps spacing between header and text uniform */
}

.career-summary p, .career-details ul, .career-growth p {
    text-align: left;
    width: 90%; /* Keeps text consistently aligned */
}

/* Form Styles */
form {
    background-color: #1e1e1e;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
    width: 450px;
    max-width: 90%;
    text-align: center;
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: #f5f5f5;
    font-size: 1.1em;
    box-sizing: border-box;
    transition: all 0.3s;
}

form input:focus, form textarea:focus {
    border-color: gold;
    box-shadow: 0 0 10px gold;
}

form button {
    background-color: gold;
    color: #121212;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s ease-in-out;
}

form button:hover {
    background-color: #f5f5f5;
    color: #121212;
    box-shadow: 0 0 15px gold;
    transform: scale(1.05);
}

/* Profile Image */
.profile-image {
    position: absolute;
    top: 125px;
    right: 175px;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.profile-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid gold;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 5px;
}

/* Create grid layout for sections */
.home-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns */
    gap: 20px; /* Space between sections */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    align-items: stretch;
}

/* Each section styles */
.home-section {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.home-section h2 {
    color: var(--primary-color);
    opacity: 0.8; /* Makes text and any inline elements more transparent */
    margin-bottom: 10px;
}

.home-section p {
    opacity: 0.5; /* Makes text and any inline elements more transparent */
    text-align: left;
    font-size: 1.1em;
    line-height: 1.6;
    width: 90%;
}

/* Add hover effects to home sections */
.home-section:hover {
    transform: scale(1.05); /* Slightly enlarges on hover */
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); /* Adds a glow effect */
    transition: all 0.3s ease-in-out; /* Smooth transition */
    background-color: #292929; /* Darker background on hover */
}


.text-section {
    text-align: center;
    font-size: 1.2em;
    line-height: 1.6em;
    width: 100%;
}

.text-section p {
    text-align: left;
    margin-bottom: 20px;
}

.text-section {
    max-width: 50%;
    color: #f5f5f5;
    font-size: 1.2em;
    line-height: 1.6em;
    text-align: left;
    padding: 20px;
    margin-bottom: 30px;
}

.projects-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.projects-content h1 {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.projects-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* One row, two equal columns */
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    align-items: stretch; /* Ensures all sections stretch to the same height */
}

.project {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%; /* Makes all sections stretch to the same height */
}

.project h2 {
    margin-bottom: 10px;
}

.project p, .project ul {
    text-align: left;
    width: 90%; /* Keeps text consistently aligned */
}

.networking-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
}

.networking-content h1 {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.networking-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* One row, three equal columns */
    gap: 20px;
    width: 100%;
    max-width: 1400px;
    align-items: stretch; /* Ensures all sections stretch to the same height */
}

.skills, .home-assistant, .magic-mirror {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 92%; /* Makes all sections stretch to the same height */
}

.skills h2, .home-assistant h2, .magic-mirror h2 {
    margin-bottom: 10px;
}

.skills p, .home-assistant p, .magic-mirror p,
.skills ul, .home-assistant ul, .magic-mirror ul {
    text-align: left;
    width: 90%; /* Keeps text consistently aligned */
}


.blog-post-content {
    max-width: 900px;
    margin: 20px auto; /* Adds spacing between blog posts */
    padding: 20px;
    background-color: #222;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    color: #f5f5f5;
    line-height: 1.8;
    /*border: 2px solid gold;*/
    opacity: 0.9;
}

/* Optional: Add border effect on hover */
.blog-post-content:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); /* Glow effect */
    border-color: rgba(255, 215, 0, 0.8); /* Slightly brighter gold on hover */
    transition: all 0.3s ease-in-out;
}

/* Blog Title */
.blog-post-content h1 {
    text-align: center;
    font-size: 2.2em;
    color: gold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog Subtitle */
.blog-post-content h2 {
    color: gold;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.8em;
    text-align: center;
}

/* Published Date */
.blog-post-content p strong {
    display: block;
    font-size: 1.1em;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* Blog Paragraphs */
.blog-post-content p {
    font-size: 1.2em;
    text-align: justify;
    margin-bottom: 15px;
}

/* Blog Lists */
.blog-post-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
}

.blog-post-content ul li {
    font-size: 1.2em;
    padding: 10px;
    background-color: #333;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: background 0.3s ease-in-out;
}

/* Section Styling */
.blog-post-content section {
    padding: 10px;
    background-color: #292929;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;

}

.blog-post-content section:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Links */
.blog-post-content a {
    color: gold;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.blog-post-content a:hover {
    text-decoration: underline;
    color: #ffd700;
}

/* Image Grid Layout */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    justify-items: center;
}

/*.photo-item {*/
/*    width: 100%;*/
/*    max-width: 600px;*/
/*    height: 400px;*/
/*    overflow: hidden;*/
/*    border-radius: 8px;*/
/*    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);*/
/*}*/

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Links */
a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

a:hover, a:focus {
    text-decoration: none;
    color: #fff;
}

.dogs-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */
    gap: 65px; /* Space between sections */
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    justify-content: center;
    align-items: start;
}

.dogs-section {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dogs-section h2 {
    color: gold;
    margin-bottom: 10px;
}

.dogs-section p {
    text-align: left;
    font-size: 1.1em;
    line-height: 1.6;
    width: 90%;
}

.cats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */
    gap: 65px; /* Space between sections */
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    justify-content: center;
    align-items: start;
}

.cats-section {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cats-section h2 {
    color: gold;
    margin-bottom: 10px;
}

.cats-section p {
    text-align: left;
    font-size: 1.1em;
    line-height: 1.6;
    width: 90%;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Ensures a two-column grid */
    gap: 15px;
    justify-items: center;
    width: 100%;
}

.photo-item {
    width: 100%;
    max-width: 650px;
    height: 400px; /* Enforce a fixed height */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images are cropped uniformly */
    border-radius: 8px;
}

/* General Hover Effect for All Sections */
.career-summary:hover,
.career-details:hover,
.career-growth:hover,
.project:hover,
.skills:hover,
.home-assistant:hover,
.magic-mirror:hover,
.blog-post:hover,
.dogs-section:hover,
.cats-section:hover {
    transform: scale(1.05); /* Slightly enlarges on hover */
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); /* Adds a glow effect */
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

/* Optional: Change background slightly on hover */
.career-summary:hover,
.career-details:hover,
.career-growth:hover,
.project:hover,
.skills:hover,
.home-assistant:hover,
.magic-mirror:hover,
.blog-post:hover,
.dogs-section:hover,
.cats-section:hover {
    background-color: #292929; /* Darker background */
}

.subscribe-container {
    position: absolute;
    top: 100px; /* Adjust based on your nav height */
    right: 40px; /* Moves it slightly away from the right edge */
    width: 350px;
    z-index: 10;
    padding-right: 20px; /* Ensures the border has spacing */
}

.subscribe-box {
    background-color: #1e1e1e;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
    text-align: center;
    width: 100%;
}

.subscribe-container:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); /* Glow effect */
    border-color: rgba(255, 215, 0, 0.8); /* Slightly brighter gold on hover */
    transition: all 0.3s ease-in-out;
}

.subscribe-box h2 {
    color: gold;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.subscribe-box p {
    font-size: 1em;
    color: #f5f5f5;
    opacity: 0.8;
    margin-bottom: 10px;
}

.subscribe-box input {
    width: 90%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: #f5f5f5;
    font-size: 1em;
}

.subscribe-box input:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); /* Glow effect */
    border-color: rgba(255, 215, 0, 0.8); /* Slightly brighter gold on hover */
    transition: all 0.3s ease-in-out;
}

.subscribe-box button {
    background-color: gold;
    color: #121212;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease-in-out;
}

.subscribe-box button:hover {
    background-color: #f5f5f5;
    color: #121212;
    box-shadow: 0 0 15px gold;
    transform: scale(1.05);
}

.subscribe-box form:hover {
    color: #121212;
    box-shadow: 0 0 15px gold;
    transform: scale(1.05);
}

#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    font-family: Arial, sans-serif;
}

#chatbot-container.expanded {
    width: 80vw;
    height: 60vh;
    bottom: 25vh;

    /* Center horizontally */
    left: 50%;
    transform: translateX(-50%);

    /* Remove the right positioning */
    right: auto;

    transition: all 0.3s ease-in-out;
}

#chatbot-header {
    background-color: gold;
    color: black;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 10px 10px 0 0;
    font-weight: bold;
}

#chatbot-body {
    display: none;
    background-color: #1e1e1e;
    border: 2px solid gold;
    padding: 10px;
    border-radius: 0 0 10px 10px;
}

#chatbot-messages {
    height: 570px;
    overflow-y: auto;
    padding: 5px;
    border-bottom: 1px solid gold;
}

.user-message {
    text-align: right;
    color: white;
    background-color: #333;
    padding: 5px;
    border-radius: 5px;
    margin: 5px 0;
}

.bot-message {
    text-align: left;
    color: gold;
    background-color: #444;
    padding: 5px;
    border-radius: 5px;
    margin: 5px 0;
}

#chatbot-input {
    width: 90%;
    padding: 15px;
    border-radius: 5px;
    border: none;
    background-color: #2a2a2a;
    color: white;
}

button {
    padding: 10px;
    background-color: gold;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#loading-indicator {
    display: none;            /* Hidden by default */
    color: gold;
    font-style: italic;
    margin: 10px 0;
    text-align: center;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3; /* Light gray border */
    border-top: 2px solid gold; /* Gold border on top for the spinner effect */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto; /* Center it inside the button */
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.hobbies-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */
    gap: 65px; /* Space between sections */
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    justify-content: center;
    align-items: start;
}

.hobbies-section {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hobbies-section h2 {
    color: gold;
    margin-bottom: 10px;
}

.hobbies-section p {
    text-align: left;
    font-size: 1.1em;
    line-height: 1.6;
    width: 90%;
}

/* Responsive Styles */

/* For screens less than 1200px wide */
@media screen and (max-width: 1200px) {
  /* Stack grid sections vertically */
  .career-sections,
  .projects-sections,
  .networking-sections,
  .home-sections {
    grid-template-columns: 1fr;
  }

  /* Adjust subscribe container width */
  .subscribe-container {
    width: 300px;
  }
}

/* For screens less than 768px wide */
@media screen and (max-width: 768px) {
  /* Make navigation stack vertically */
  nav {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  /* Use a single column layout for grids */
  .career-sections,
  .projects-sections,
  .networking-sections,
  .home-sections,
  .dogs-container,
  .cats-container,
  .photo-grid,
  .hobbies-container {
    grid-template-columns: 1fr;
  }

  /* Adjust body font size and top padding for better vertical spacing */
  body {
    font-size: 16px;
    padding-top: 80px;
  }

  /* Make profile image position static (instead of absolute) */
  .profile-image {
    position: static;
    margin: 20px auto;
  }

  /* Adjust subscribe container position */
  .subscribe-container {
    top: 90px;
    right: 20px;
  }

  /* Chatbot adjustments */
  #chatbot-container {
    width: 90%;
    right: 5%;
  }
}

/* For screens less than 480px wide */
@media screen and (max-width: 480px) {
  /* Further reduce font size and increase top padding for readability */
  body {
    font-size: 14px;
    padding-top: 90px;
  }

  /* Smaller toggle button */
  .theme-toggle {
    padding: 8px 12px;
    font-size: 0.9em;
    top: 10px;
    right: 10px;
  }

  /* Adjust form width and padding */
  form {
    width: 90%;
    padding: 20px;
  }

  /* Ensure headings and text scale well on small screens */
  h1, h2 {
    margin-bottom: 15px;
    font-size: 1.5em;
  }
}

.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFD700;         /* Gold icon color */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icons i {
  font-size: 24px; /* Adjust icon size as needed */
}


@media screen and (max-width: 1000px) {
  /* Make navigation stack vertically */
  nav {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    gap: 1px;
  }

  /* Ensure nav links display as block elements for vertical stacking */
  nav a {
    display: block;
    width: 70%;
    margin: 5px 0;
    padding: 10px;
    text-align: center;
  }

  /* Adjust header titles to break into multiple lines if needed */
  header h1, header h2 {
    display: block;
    white-space: normal; /* Allows the text to wrap */
    text-align: center;
    margin: 10px 0;
  }
}

@media screen and (max-width: 1000px) {
  /* existing nav/title styles ... */

  /* Increase top spacing so sections aren't covered by the header */
  body {
    padding-top: 525px; /* or any value that works for your layout */
  }

  /* If you have a main container, you can also add margin-top */
  main {
    margin-top: 60px;
  }

  .profile-image{
      top: 450px;
      right: 100px;
  }


.subscribe-container{
    top: 375px;
    }
}