body {
  font-family: 'Arial', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 0;
}

header {
  background-color: #cd1821;
  color: white;
  padding: 20px;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

main {
  padding: 20px;
}

section {
  margin-bottom: 30px;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px 0;
}

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



/*!
 * Template Name: Developer - Portfolio Landing Page Bootstrap 5 Template for Developers
 * Version: Bootstrap 5 v2.0
 * Author: Xiaoying Riley
 * Twitter: @3rdwave_themes
 * Copyright: 3rd Wave Media Ltd.
 * Website: https://themes.3rdwavemedia.com/
*/


body {
  font-family: 'Lato', arial, sans-serif;
  color: #434343;
  background: #DAE3E7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #778492;
}

a {
  color: #3AAA64;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #2d844e;
}

a:focus {
  text-decoration: none;
}

.btn, a.btn {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  font-family: 'Montserrat', arial, sans-serif;
  padding: 8px 16px;
  font-weight: bold;
}

.btn .svg-inline--fa, a.btn .svg-inline--fa {
  margin-right: 5px;
  position: relative;
  top: -2px;
}

.btn:hover, a.btn:hover {
  text-decoration: none;
}

.btn:focus, a.btn:focus {
  color: #fff;
  box-shadow: none;
}

a.btn-cta-primary, .btn-cta-primary {
  background: #54ba4e;
  border: 1px solid #54ba4e;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

a.btn-cta-primary:hover, .btn-cta-primary:hover {
  background: #49ac43;
  border: 1px solid #49ac43;
  color: #fff;
}

a.btn-cta-secondary, .btn-cta-secondary {
  background: #479FC8;
  border: 1px solid #479FC8;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

a.btn-cta-secondary:hover, a.btn-cta-secondary:not(:disabled):not(.disabled):active:focus, .btn-cta-secondary:hover, .btn-cta-secondary:not(:disabled):not(.disabled):active:focus {
  background: #3893bd;
  border: 1px solid #3893bd;
  color: #fff;
  box-shadow: none;
}

.text-highlight {
  color: #32383e;
}

.badge-theme {
  background: #3AAA64;
  font-size: 12px;
  color: #fff;
  border-radius: 2px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}

a.dotted-link {
  border-bottom: 1px dotted #778492;
  color: #778492;
}

a.dotted-link:hover {
  text-decoration: none;
  color: #49515a;
}

/* ======= Header ======= */
.header {
  padding: 30px 0;
  background: #f5f5f5;
  border-top: 10px solid #778492;
}

.header .btn {
  font-weight: bold;
}

.header .profile-image {
  margin-right: 30px;
}

.header .profile-content .name {
  color: #49515a;
  font-size: 38px;
  margin-bottom: 5px;
  margin-top: 30px;
}

.header .profile-content .desc {
  color: #778492;
  font-family: "Lato", arial, sans-serif;
  font-weight: 400;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 15px;
}

.header .profile-content .social a {
  background: #b0b7bf;
  width: 36px;
  height: 36px;
  display: inline-block;
  border-radius: 50%;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  color: #fff;
  text-align: center;
}

.header .profile-content .social a:hover {
  background: #778492;
}

.header .profile-content .social a .svg-inline--fa {
  font-size: 20px;
  margin-top: 8px;
}

/* ======= Sections======= */
.section {
  margin-bottom: 20px;
}

.section .section-inner {
  background: #fff;
  padding: 20px;
}

.section .heading {
  margin-top: 0;
  margin-bottom: 20px;
  color: #545e69;
  font-size: 24px;
}

.section .content .more-link .svg-inline--fa {
  margin-right: 5px;
  font-size: 14px;
  position: relative;
  top: -2px;
}

.more-link {
  font-size: 16px;
  font-weight: 750;

  background-color: #dad8d8;
  border-radius: 4px;
}

/* About Section */
/* Latest Section */
.latest .item {
  margin-bottom: 20px;
}

.latest .item .title {
  font-size: 18px;
  margin-top: 0;
}

.latest .item .title .label {
  margin-left: 5px;
  font-size: 12px;
}

.latest .item .title a {
  color: #778492;
}

.latest .item .title a:hover {
  color: #5f6b77;
}

.latest .item .project-image:hover {
  -webkit-opacity: 0.8;
  -moz-opacity: 0.8;
  opacity: 0.8;
}

.latest .divider {
  margin-bottom: 60px;
}

.latest .featured {
  margin-bottom: 60px;
}

.latest .featured .title {
  font-size: 20px;
  margin-bottom: 5px;
  font-size: 20px;
}

.latest .featured .summary {
  margin-bottom: 20px;
  color: #778492;
}

.latest .featured img {
  margin-bottom: 20px;
}

.latest .featured .desc {
  margin-bottom: 20px;
}

.latest .has-ribbon {
  position: relative;
  display: inline-block;
}

.latest .has-ribbon .text {
  background: #3AAA64;
  color: #fff;
}

.latest .has-ribbon .ribbon {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 110px;
  height: 110px;
  overflow: hidden;
}

.latest .has-ribbon .ribbon .text {
  font-family: 'Montserrat', sans-serif;
  position: relative;
  left: -8px;
  top: 18px;
  width: 158px;
  padding: 10px 10px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  background-color: #479FC8;
  -webkit-transform: rotate(45deg) translate3d(0, 0, 0);
  -moz-transform: rotate(45deg) translate3d(0, 0, 0);
  -ms-transform: rotate(45deg) translate3d(0, 0, 0);
  -o-transform: rotate(45deg) translate3d(0, 0, 0);
}

.latest .has-ribbon .ribbon .text:before, .latest .has-ribbon .ribbon .text:after {
  content: '';
  position: absolute;
  bottom: -5px;
  border-top: 5px solid #276582;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.latest .has-ribbon .ribbon .text:before {
  left: 0;
}

.latest .has-ribbon .ribbon .text:after {
  right: 0;
}

/* Cards Section */
.cards-section {
	padding: 20px 0;
	background: #f9f9fb;
  margin-bottom: 20px;
  border-radius: 6px;
}

.cards-section .title {
	margin-top: 0;
	margin-bottom: 5px;
	font-size: 24px;
	font-weight: 600
}

.cards-section .intro {
	margin: 0 auto;
	max-width: 800px;
	margin-bottom: 5px;
	color: #616670
}

.cards-section .cards-wrapper {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
  margin-bottom: 0px;
}

.cards-section .item {
	margin-bottom: 5px
}

.cards-section .item .icon-holder {
	margin-bottom: 5px
}

.cards-section .item .icon {
	font-size: 36px
}

.cards-section .item .title {
	font-size: 16px;
	font-weight: 600
}

.cards-section .item .intro {
	margin-bottom: 15px
}

.cards-section .item-inner {
	/* padding: 45px 30px; */
  padding: 5px 5px;
	background: #fff;
	position: relative;
	border: 1px solid #f0f0f0;
	border-radius: 6px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	height: 100%
}

.cards-section .item-inner .link {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1
}

.cards-section .item-inner:hover {
	background: #f5f5f5
}

.cards-section .item-primary .item-inner {
	border-top: 3px solid #40babd
}

.cards-section .item-primary .item-inner:hover .title {
	color: #2d8284
}

.cards-section .item-primary .icon {
	color: #40babd
}

.cards-section .item-green .item-inner {
	border-top: 3px solid #75c181
}

.cards-section .item-green .item-inner:hover .title {
	color: #48a156
}

.cards-section .item-green .icon {
	color: #75c181
}

.cards-section .item-blue .item-inner {
	border-top: 3px solid #58bbee
}

.cards-section .item-blue .item-inner:hover .title {
	color: #179de2
}

.cards-section .item-blue .icon {
	color: #58bbee
}

.cards-section .item-orange .item-inner {
	border-top: 3px solid #F88C30
}

.cards-section .item-orange .item-inner:hover .title {
	color: #d46607
}

.cards-section .item-orange .icon {
	color: #F88C30
}

.cards-section .item-red .item-inner {
	border-top: 3px solid #f77b6b
}

.cards-section .item-red .item-inner:hover .title {
	color: #f33a22
}

.cards-section .item-red .icon {
	color: #f77b6b
}

.cards-section .item-pink .item-inner {
	border-top: 3px solid #EA5395
}

.cards-section .item-pink .item-inner:hover .title {
	color: #d61a6c
}

.cards-section .item-pink .icon {
	color: #EA5395
}

.cards-section .item-purple .item-inner {
	border-top: 3px solid #8A40A7
}

.cards-section .item-purple .item-inner:hover .title {
	color: #5c2b70
}

.cards-section .item-purple .icon {
	color: #8A40A7
}

/* Projects Section */
.projects .item {
  margin-bottom: 20px;
}

.projects .item .title {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 5px;
  line-height: 1.5;
}

.projects .item .title a {
  color: #778492;
}

.projects .item .title a:hover {
  color: #5f6b77;
}

/* Work Section */
.experience .item {
  margin-bottom: 20px;
}

.experience .item .title {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 5px;
  line-height: 1.5;
}

.experience .item .title .place {
  color: #999;
  font-weight: normal;
}

.experience .item .title .place a {
  color: #999;
}

.experience .item .title .place a:hover {
  color: #666666;
}

.experience .item .title .year {
  color: #999;
  font-weight: normal;
}

/* Git section */
.github-graph {
  margin-bottom: 20px;
}

.github-graph .js-calendar-graph-svg {
  max-width: 100%;
}

.github-graph h2 {
  font-size: 18px;
}

.ghfeed {
  height: 500px;
}

.ghfeed,
.ghfeed *,
.ghfeed *:before,
.ghfeed *:after {
  box-sizing: content-box;
}

/* Info Section */
.info .svg-inline--fa {
  margin-right: 15px;
  color: #ccd1d6;
}

.info .icon-envelope {
  font-size: 14px;
}

.info ul {
  margin-bottom: 0;
}

.info li {
  margin-bottom: 15px;
}

.info li:last-child {
  margin-bottom: 0;
}

/* Skills Section */
.skills .intro {
  margin-bottom: 20px;
}

.skills .skillset .item {
  margin-bottom: 20px;
}

.skills .skillset .level-title {
  font-size: 16px;
  position: relative;
  margin-top: 0;
  margin-bottom: 10;
}

.skills .skillset .level-title .level-label {
  color: #ccd1d6;
  font-size: 14px;
  font-weight: 400;
  font-family: "Lato", arial, sans-serif;
  position: absolute;
  right: 0;
  top: 0;
}

.skills .skillset .level-bar {
  height: 15px;
  background: #e8e8e8;
}

.skills .skillset .level-bar-inner {
  height: 15px;
  background: #66cb8c;
}

.skills .svg-inline--fa {
  margin-right: 3px;
  position: relative;
  top: 0;
}

/* Testimonials section */
.testimonials .item {
  margin-bottom: 20px;
}

.testimonials .item:last-child {
  margin-bottom: 0;
}

.testimonials .item .quote {
  color: #666;
  font-size: 16px;
  border-left: 5px solid #9fdeb7;
  padding: 5px 15px;
  margin-bottom: 15px;
}

.testimonials .item .quote p {
  margin-bottom: 0;
}

.testimonials .item .quote .svg-inline--fa {
  color: #79d19a;
  margin-right: 15px;
}

.testimonials .item .source {
  font-size: 14px;
  padding-left: 20px;
  font-weight: 500;
}

.testimonials .item .source .name {
  color: #939ea9;
  font-weight: 600;
}

.testimonials .item .source .title {
  color: #999;
}

/* Education section */
.education .item {
  margin-bottom: 20px;
}

.education .item:last-child {
  margin-bottom: 0;
}

.education .item .title {
  font-size: 16px;
  margin-top: 0;
}

.education .item .university {
  font-family: "Lato", arial, sans-serif;
  font-size: 13px;
  color: #999;
  font-weight: 600;
  padding-left: 25px;
}

.education .item .university .year {
  color: #b0b7bf;
  font-weight: 500;
}

/* Language Section */
.languages .item {
  margin-bottom: 15px;
}

.languages .item .title {
  color: #778492;
}

.languages .item .level {
  color: #999;
}

.languages .item:last-child {
  margin-bottom: 0;
}

.languages .item .svg-inline--fa {
  color: #79d19a;
}

/* Blog Section */
.blog .item {
  margin-bottom: 20px;
}

.blog .item .title {
  font-size: 18px;
  line-height: 1.3;
}

.blog .item .title a {
  color: #778492;
}

.blog .item .title a:hover {
  color: #5f6b77;
}

.blog .item p {
  margin-bottom: 5px;
}

.blog .item:last-child {
  margin-bottom: 0;
}

/* List section */
.list ul li {
  margin-bottom: 10px;
}

.list ul li .svg-inline--fa {
  margin-right: 5px;
}

.list ul li a {
  color: #778492;
}

.list ul li a:hover {
  color: #49515a;
}

/* Credits */
.credits ul li {
  margin-bottom: 10px;
}

.credits ul li .svg-inline--fa {
  margin-right: 5px;
  position: relative;
  top: -2px;
}

.credits ul li a {
  color: #778492;
}

.credits ul li a .svg-inline--fa {
  color: #b0b7bf;
}

.credits ul li a:hover {
  color: #49515a;
}

.credits .btn {
  margin-bottom: 15px;
}

.aside .subheading {
  font-size: 18px;
  color: #545e69;
}

/* ======= Footer ======= */
.footer {
  background: #32383e;
  color: #fff;
  padding: 10px 0;
}

.footer .copyright {
  line-height: 1.6;
  color: #a1aab4;
  font-size: 14px;
}

.footer a {
  color: #fff;
}

.footer .icon-heart {
  color: #fb866a;
}

.dark-mode-switch {
  margin-bottom: 1rem;
}

.dark-mode-switch .form-switch {
  display: flex;
}

.dark-mode-switch label {
  font-size: 0.875rem;
  font-weight: bold;
}

.dark-mode-switch .form-switch .form-check-input {
  border-radius: 1em;
  border-color: #DAE3E7;
}

.dark-mode-switch .form-check-input:checked {
  background-color: #54ba4e;
  border-color: #54ba4e;
}

.dark-mode-switch .form-check-input:focus {
  box-shadow: none;
  border-color: #DAE3E7;
}

body[data-theme="dark"] {
  background: #17191c;
  /* Github Activity Dark Mode */
  /* Github activity */
}

body[data-theme="dark"] a:hover {
  color: #53c47d;
}

body[data-theme="dark"] a.btn:hover {
  color: #fff;
}

body[data-theme="dark"] .dark-mode-switch .form-check-input:focus {
  border-color: #54ba4e;
}

body[data-theme="dark"] .header {
  background: #1e2124;
  color: rgba(255, 255, 255, 0.9);
  border-top-color: #1e2124;
}

body[data-theme="dark"] .header .profile-content .name {
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .header .profile-content .desc {
  color: rgba(255, 255, 255, 0.7);
}

body[data-theme="dark"] .header .profile-content .social a {
  background: #2e3238;
  color: rgba(230, 230, 230, 0.7);
}

body[data-theme="dark"] .header .profile-content .social a:hover {
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .section .section-inner {
  background: #1e2124;
  color: rgba(255, 255, 255, 0.7);
}

body[data-theme="dark"] .section .heading {
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .cards-section {
  background: #1e2124;
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .cards-section .item-inner{
  background: #1e2124;
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .cards-section .title{
  background: #1e2124;
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .cards-section .title{
  background: #1e2124;
  color: rgba(255, 255, 255, 0.7);
}


body[data-theme="dark"] .experience .item .title {
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .testimonials .item .quote {
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .latest .item .title a, body[data-theme="dark"] .projects .item .title a, body[data-theme="dark"] .blog .item .title a {
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .latest .item .title a:hover, body[data-theme="dark"] .projects .item .title a:hover, body[data-theme="dark"] .blog .item .title a:hover {
  color: #fff;
}

body[data-theme="dark"] .testimonials .item .source .name {
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .education .item .title {
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .languages .item .title {
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .list ul li a, body[data-theme="dark"] .credits ul li a {
  color: inherit;
}

body[data-theme="dark"] .experience .item .title .place a {
  color: rgba(255, 255, 255, 0.7);
}

body[data-theme="dark"] .experience .item .title .place a:hover {
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .aside .subheading {
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .gha-header, body[data-theme="dark"] .gha-footer, body[data-theme="dark"] .gha-feed {
  background: #17191c;
  border-color: rgba(255, 255, 255, 0.1);
  color: #3AAA64;
}

body[data-theme="dark"] .gha-feed a {
  color: #3AAA64;
}

body[data-theme="dark"] .gha-header > .gha-github-icon,
body[data-theme="dark"] .gha-header > .gha-user-info > a,
body[data-theme="dark"] .gha-header > .gha-user-info > p > a {
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .gha-activity {
  border-color: #333;
}

body[data-theme="dark"] .gha-gravatar img {
  border: 3px solid #333;
  box-shadow: 0 0 0 #ccc;
}

body[data-theme="dark"] .gha-message-merge {
  background: #2e3238;
}

body[data-theme="dark"] .gha-feed small {
  color: rgba(255, 255, 255, 0.7);
}

body[data-theme="dark"] .github-graph {
  background: #17191c;
}

body[data-theme="dark"] .contrib-number {
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .border, body[data-theme="dark"] .contrib-column {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body[data-theme="dark"] .text-muted {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 767.98px) {
  .header {
    text-align: center;
  }
  .header .profile-image {
    float: none !important;
    margin: 0 auto;
  }
  .header .profile-content {
    float: none !important;
    text-align: center;
  }
  .header .btn {
    margin-top: 30px;
    float: none !important;
  }
  .project-image {
    margin-bottom: 15px;
  }
}

@media (min-width: 1400px) {
  .container {
    width: 1360px;
    max-width: inherit;
  }
}

/*text align*/
.text-justified {
    text-align: justify;
}

/* Hero Header Styles */
.hero-header {
  background: linear-gradient(135deg, #be39b5 60%, #6a82fb 100%);
  color: white;
  position: relative;
  box-shadow: 0 8px 32px 0 rgba(58, 58, 158, 0.2);
}
.hero-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center -70px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.15);
  transition: transform 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.hero-avatar:hover {
  transform: scale(1.05) rotate(-2deg);
}
.typewriter {
  display: inline-block;
  overflow: hidden;
  border-right: .15em solid orange;
  white-space: nowrap;
  animation: typing 2.5s steps(40, end), blink-caret .75s step-end infinite;
  max-width: 100vw;
}
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange; }
}

/* Simple CSS Icons to replace FontAwesome */
.icon-envelope::before {
  content: "\f0e0";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
  margin-right: 5px;
}

.icon-heart::before {
  content: "\f004";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
  margin-right: 5px;
}

/* New CSS Icons for improved sections */
.icon-user::before { content: "\f007"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; }
.icon-code::before { content: "\f121"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; }
.icon-trophy::before { content: "\f091"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; }
.icon-skills::before { content: "\f7d9"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; }
.icon-contact::before { content: "\f0e0"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; }
.icon-activity::before { content: "\f0c0"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; }
.icon-education::before { content: "\f19d"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; }
.icon-location::before { content: "\f3c5"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; }
.icon-github::before { content: "\f09b"; font-family: "Font Awesome 6 Brands"; font-weight: 400; margin-right: 5px; }
.icon-linkedin::before { content: "\f08c"; font-family: "Font Awesome 6 Brands"; font-weight: 400; margin-right: 5px; }
.icon-eco::before { content: "\f06c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 2rem; }
.icon-stem::before { content: "\f0c3"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 2rem; }
.icon-school::before { content: "\f549"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; }
.icon-online::before { content: "\f0ac"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; }
.icon-programming::before { content: "\f4fc"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 2rem; }
.icon-web::before { content: "\f0ac"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 2rem; }
.icon-language::before { content: "\f1ab"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 2rem; }
.icon-open-source::before { content: "\f09b"; font-family: "Font Awesome 6 Brands"; font-weight: 400; margin-right: 8px; }

/* Main Content Structure */
.main-content {
  padding: 0;
}

/* Section Styling - Reduced spacing */
.section {
  padding: 50px 0; /* Reduced from 80px */
  position: relative;
}

.section:nth-child(even) {
  background-color: #f8f9fa;
}

.section-header {
  margin-bottom: 35px; /* Reduced from 60px */
}

.section-title {
  font-size: 2.2rem; /* Reduced from 2.5rem */
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px; /* Reduced from 20px */
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-subtitle {
  font-size: 1.6rem; /* Reduced from 1.8rem */
  font-weight: 600;
  color: #34495e;
  margin-bottom: 25px; /* Reduced from 30px */
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-divider {
  width: 60px; /* Reduced from 80px */
  height: 3px; /* Reduced from 4px */
  background: linear-gradient(90deg, #3498db, #e74c3c);
  margin: 0 auto;
  border-radius: 2px;
}

/* Hero Section - More compact */
.hero-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 85vh; /* Reduced from 100vh */
  display: flex;
  align-items: center;
  position: relative;
}

.hero-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

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

.hero-avatar {
  width: 180px; /* Reduced from 200px */
  height: 180px; /* Reduced from 200px */
  border: 5px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-avatar:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-title {
  color: white;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.hero-location {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem; /* Reduced from 1.1rem */
}

.hero-navigation .btn {
  transition: all 0.3s ease;
  border-width: 2px;
  font-weight: 500;
  padding: 8px 20px; /* Reduced from 10px 25px */
}

.hero-navigation .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* About Section - More compact */
.section-about {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.about-content {
  max-width: 700px; /* Reduced from 800px */
  margin: 0 auto;
}

.about-text {
  font-size: 1rem; /* Reduced from 1.1rem */
  line-height: 1.7; /* Reduced from 1.8 */
  color: #2c3e50;
}

/* Projects Section - Better spacing */
.project-card {
  transition: all 0.3s ease;
  border: none;
  overflow: hidden;
  margin-bottom: 20px; /* Added consistent margin */
}

.project-card:hover {
  transform: translateY(-8px); /* Reduced from -10px */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.project-image-container {
  position: relative;
  overflow: hidden;
}

.project-image-container img {
  width: 100%;
  height: 180px; /* Reduced from 200px */
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image-container img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-stats {
  margin-top: 12px; /* Reduced from 15px */
  text-align: center;
}

/* Activities Section - More compact */
.activity-card {
  transition: all 0.3s ease;
  border: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin-bottom: 20px; /* Added consistent margin */
}

.activity-card:hover {
  transform: translateY(-4px); /* Reduced from -5px */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.activity-icon {
  font-size: 2.5rem; /* Reduced from 3rem */
  opacity: 0.8;
}

/* Education Section - More compact */
.education-card {
  transition: all 0.3s ease;
  border: none;
  margin-bottom: 20px; /* Added consistent margin */
}

.education-card:hover {
  transform: translateY(-4px); /* Reduced from -5px */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.education-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  font-size: 0.75rem; /* Reduced from 0.8rem */
  padding: 4px 8px; /* Reduced from 5px 10px */
}

/* Achievements Section - Better organization */
.achievements-list {
  max-width: 550px; /* Reduced from 600px */
  margin: 0 auto;
}

.achievement-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px; /* Reduced from 20px */
  padding: 12px; /* Reduced from 15px */
  background: white;
  border-radius: 8px; /* Reduced from 10px */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.achievement-item:hover {
  transform: translateX(8px); /* Reduced from 10px */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.achievement-icon {
  font-size: 1.8rem; /* Reduced from 2rem */
  margin-right: 15px; /* Reduced from 20px */
  flex-shrink: 0;
}

.achievement-content {
  flex: 1;
  font-size: 0.95rem; /* Reduced from 1rem */
  line-height: 1.5; /* Reduced from 1.6 */
}

.highlight {
  color: #e74c3c;
  font-weight: 600;
}

/* Skills Section - More compact */
.skill-category {
  transition: all 0.3s ease;
  border: none;
  text-align: center;
  margin-bottom: 20px; /* Added consistent margin */
}

.skill-category:hover {
  transform: translateY(-4px); /* Reduced from -5px */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.skill-icon {
  font-size: 2.5rem; /* Reduced from 3rem */
  margin-bottom: 15px; /* Reduced from 20px */
}

.skill-tags .badge {
  margin: 4px; /* Reduced from 5px */
  font-size: 0.85rem; /* Reduced from 0.9rem */
  padding: 6px 12px; /* Reduced from 8px 15px */
}

/* Contact Section - More compact */
.section-contact {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.contact-text {
  color: rgba(255, 255, 255, 0.9);
}

.contact-buttons .btn {
  transition: all 0.3s ease;
  margin: 8px; /* Reduced from 10px */
}

.contact-buttons .btn:hover {
  transform: translateY(-2px); /* Reduced from -3px */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Custom LinkedIn button styling for better readability */
.contact-buttons .btn-outline-primary {
  color: #ffffff !important;
  border-color: #ffffff !important;
  background-color: transparent;
}

.contact-buttons .btn-outline-primary:hover {
  color: #667eea !important;
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}

.contact-buttons .btn-outline-primary .icon-linkedin {
  color: #ffffff;
}

.contact-buttons .btn-outline-primary:hover .icon-linkedin {
  color: #667eea;
}

/* Footer - More compact */
.footer {
  background: #2c3e50;
  color: white;
}

.footer-content {
  position: relative;
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  margin-top: 12px; /* Reduced from 15px */
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0 8px; /* Reduced from 10px */
}

.footer-link:hover {
  color: white;
  text-decoration: none;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design - Adjusted for better mobile experience */
@media (max-width: 768px) {
  .section {
    padding: 40px 0; /* Reduced from 60px */
  }
  
  .section-title {
    font-size: 1.8rem; /* Reduced from 2rem */
  }
  
  .hero-avatar {
    width: 140px; /* Reduced from 150px */
    height: 140px; /* Reduced from 150px */
  }
  
  .hero-title {
    font-size: 2.2rem; /* Reduced from 2.5rem */
  }
  
  .achievement-item {
    flex-direction: column;
    text-align: center;
  }
  
  .achievement-icon {
    margin-right: 0;
    margin-bottom: 12px; /* Reduced from 15px */
  }
  
  .contact-buttons .btn {
    display: block;
    width: 100%;
    margin: 8px 0; /* Reduced from 10px */
  }
  
  .section-header {
    margin-bottom: 25px; /* Reduced from 35px */
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px); /* Reduced from 30px */
  transition: all 0.5s ease; /* Reduced from 0.6s */
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px; /* Reduced from 8px */
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 3px; /* Reduced from 4px */
}

::-webkit-scrollbar-thumb:hover {
  background: #5a6fd8;
}