* {
    margin: 20;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #023047;
    --text-color: #fff;
    --accent-color: #ae2012;
}



html, body {
    background-color: var(--bg-color);
    color: var(--text-color);
    text-rendering: optimizeLegibility;
    font-size: 20px;
    font-family: 'Barlow Semi Condensed', 'Arial', sans-serif;
    font-weight: 300;
}

body {
    background-image: url('img/bg_pattern.png');
    background-repeat: repeat;
    background-size: 20%;
}

header {
    padding: 20px;
    text-align: left;
	height: 100vh;
	background-size: cover;
	background-position: center;
	position: relative;
}


#mode-toggle {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

section {
    margin-bottom: 100px;
}

#landing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    padding-left: 100px;  /* Adjust this value as needed */
    padding-right: 100px; /* Adjust this value as needed */
}

.image {
    flex: 1;
}

.image img {
    max-width: 100%;
    border-radius: 50%;
}

h1, h2 {
    color: var(--accent-color);
    margin-bottom: 50px;
}

form {
    display: flex;
    flex-direction: column;
}

input, textarea, form button {
    margin-bottom: 20px;
    padding: 10px;
    font-family: inherit;
}

form button {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
    cursor: pointer;
    font-weight: 600;
}

footer {
    text-align: center;
    padding: 20px;
}

/* Dark mode */
body.dark-mode {
    --bg-color: #f8f9fa;
    --text-color: #023047;
    --accent-color: #0077b6;
}

.header-box{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-align: center;
}

.header-box-text {
	margin-bottom: 100px;
}

.btn:link, .btn:visited, input[type=submit] {
	text-decoration: none;
	padding: 10px 30px;
	
}

.btn {
	border-radius: 200px;
}
.btn-full:link, .btn-full:visited, input[type=submit] {
	background-color: #8acae6;
	border-radius: 200px;
	color: #fff;
}
.btn-full:hover, .btn-full:active, input[type=submit]:hover {
	background-color: #8acae6;
}
.btn-ghost:link,
.btn-ghost:visited {
	border: 2px solid #ed07b7;
	color: #ed07b7;
} 
.btn-ghost:hover,
.btn-ghost:active {
	background-color: #ed07b7;
	color: white;
}

.partners-section {
	text-align: center;
}

.row {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 21%;  /* Adjust this value as needed */
    padding-right: 21%; /* Adjust this value as needed */
}

.partner-logo{
	width: 65%;
	height: auto;
}

.highlight {
    color: #000; /* Change this to your desired color */
    font-weight: bold; /* Optional: Make it bold for emphasis */
}

.intro {
    flex: 1;
    padding-left: 20%; /* Adjust this value as needed */
}

.resume {
    flex: 1;
    padding-right: 20%; /* Adjust this value as needed */
}
/* Menu styling */
.toolbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #8acae6;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.toolbar .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toolbar-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toolbar-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #8acae6;
}

.toolbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.toolbar a:hover {
    color: #023047;
}

/* Menu button and dropdown */
.menu-container {
    position: relative;
}

.menu-button {
    background-color: transparent;
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.2s;
}

.menu-button:hover {
    color: #023047;
}

.menu-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: rgba(2, 48, 71, 0.95);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 4px;
    padding: 10px 0;
    margin-top: 10px;
}

.menu-content.show {
    display: block;
}

.menu-content a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-content a:last-child {
    border-bottom: none;
}

.menu-content a:hover {
    background-color: rgba(138, 202, 230, 0.2);
    color: #8acae6;
}

/* Add padding to body to prevent content from being hidden under the toolbar */
body {
    padding-top: 60px;
}

header {
    padding-top: 0;
}

/* Project Grid Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.project-card {
    background-color: rgba(138, 202, 230, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #8acae6;
}

.project-content {
    padding: 20px;
}

.project-title {
    color: #8acae6;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 500;
}

.project-description {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.project-tag {
    background-color: #023047;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 400;
}

/* For mobile devices */
@media only screen and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Social Icons Styling - Updated */
.social-icons-container {
    display: flex;
    justify-content: flex-start; /* Left align the icons */
    gap: 30px;
    margin: 40px 0;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #8acae6; /* Your requested background color */
    color: #023047; /* Your requested icon color */
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none; /* Remove underlines */
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    opacity: 0.9; /* Subtle hover effect */
}

/* Make sure icons are responsive */
@media only screen and (max-width: 768px) {
    .social-icons-container {
        gap: 20px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media only screen and (max-width: 480px) {
    .social-icons-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
/* Theme Variables */
:root {
    /* Dark theme (default) */
    --bg-color: #023047;
    --text-color: #fff;
    --accent-color: #8acae6;
    --secondary-color: #ae2012;
    --card-bg: rgba(138, 202, 230, 0.1);
    --toolbar-bg: #8acae6;
    --toolbar-text: #023047;
    --menu-bg: #fff;
    --hover-bg: rgba(138, 202, 230, 0.2);
}

/* Light theme */
body.light-mode {
    --bg-color: #f8f9fa;
    --text-color: #023047;
    --accent-color: #023047;
    /* ... other light mode variables ... */
    background-image: url('resources/img/bg_pattern.png');
    background-repeat: repeat;
    background-size: 20%;
    background-attachment: fixed;
     --hover-bg: #8acae6;
     --menu-bg: #fff;

}


/* Apply variables throughout the site */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.toolbar {
    background-color: var(--toolbar-bg);
}

.toolbar a, .menu-button, .theme-toggle {
    color: var(--toolbar-text);
}

.menu-content {
    background-color: var(--menu-bg);
}

.menu-content a:hover {
    background-color: var(--hover-bg);
    color: var(--text-color);
}

.btn-full:link, .btn-full:visited, input[type=submit] {
    background-color: var(--accent-color);
}

.section-heading, h1, h2, h3 {
    color: var(--accent-color);
}

.project-card {
    background-color: var(--card-bg);
}

.project-image {
    border-bottom: 2px solid var(--accent-color);
}

.project-title {
    color: var(--accent-color);
}

.social-icon {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* Theme Toggle Button */
.theme-toggle {
    background-color: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin-right: 15px;
    padding: 5px 10px;
    transition: transform 0.3s;
}

.theme-toggle:hover {
    transform: rotate(30deg);
}

/* Transition effect for theme changes */
body, .toolbar, .menu-content, .project-card, .social-icon, 
h1, h2, h3, .btn, a, .project-title {
    transition: all 0.3s ease;
}


/* Resume download button styling */
.resume-download-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--bg-color);
    margin-left: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    vertical-align: middle;
}

.resume-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.resume-download-btn i {
    font-size: 18px;
}