@import url(https://fonts.googleapis.com/css?family=Raleway:100,200,300,regular,500,600,700,800,900,100italic,200italic,300italic,italic,500italic,600italic,700italic,800italic,900italic);

/* variables */
:root {
  /* Colors */
  --primary-color: #ffcc00;
  --secondary-color: white;
  --bg-primary: #ffffff;
  --text-color: #222222;
  --text-color-two: #ffffff;
  --bg-secondary: #000000;
  --card-background: #f4f4f4;
  --bg-secondary-two: #111111;

  --shadow: 0 10px 40px rgba(0, 0, 0, 0.2);

  /* Font Weight */
  --weight-small: 400;
  --weight-semibold: 600;
  --weight-bold: 800;

  /* Max width */
  --width-small: 600px;
  --width-medium: 1100px;
  --width-large: 1300px;
}

[data-theme="dark"] {
  --primary-color: #ffcc00;
  --secondary-color: white;
  --bg-primary: #000000;
  --text-color: #ffffff;
  --text-color-two: #222222;
  --bg-secondary: #ffffff;
  --card-background: #111111;
  --bg-secondary-two: #f4f4f4;
  --shadow: 0 2px 10px rgba(95, 95, 95, 0.2);
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

/* Reset default styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

/* Main styling */
body {
  background: var(--bg-primary);
  color: var(--text-color);
  font-family: "Raleway", sans-serif;
  line-height: 1.5;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--bg-primary);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  height: 80px;
  width: 100%;
}

.navbar .nav-menu {
  display: flex;
  align-items: center;
  background: var(--bg-primary);
}

.navbar .nav-link {
  margin: 0 1rem;
  font-size: 0.8rem;
  font-weight: var(--weight-semibold);
}

.navbar #logo img {
  display: block;
  width: 40px;
}

.navbar .btn {
  margin-right: 1.5rem;
}

.fas.fa-arrow-right {
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

/* hamburger */
.hamburger {
  margin-bottom: 0.1rem;
  display: none;
}

.bar {
  display: block;
  width: 23px;
  height: 3px;
  margin: 4px auto;
  transition: all 0.3s ease-in-out;
  border-radius: 30px;
  background-color: var(--bg-secondary);
}

/* Hero section */
/* ===== HERO SECTION ENHANCEMENT - MATCHING EXISTING DESIGN ===== */

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 8rem;
  padding: 1rem;
  max-width: var(--width-medium);
  margin-left: auto;
  margin-right: auto;
}

.header-container > div {
  margin-top: 1rem;
}

/* Profile image with existing bounce animation */
.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  animation: bounce 1s infinite alternate;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

@keyframes bounce {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-10px);
  }
}

/* Main heading */
.header-container h1 {
  font-size: 2.8rem;
  font-weight: var(--weight-bold);
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

/* Content text improvements */
.content-text {
  text-align: center;
  margin: 1.5rem 0;
  width: 100%;
}

.content-text h2 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  color: var(--text-color);
  font-weight: var(--weight-semibold);
}

.content-text > p {
  padding: 0.8rem;
  margin: 0 auto 2rem;
  max-width: 700px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* ===== MODERN EXPERTISE SECTION ===== */
.expertise-section {
  padding: 3rem 0;
  width: 100%;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--width-medium);
  margin: 0 auto;
  padding: 0 1rem;
}

.expertise-card {
  background: var(--card-background);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 204, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.highlight-card {
  position: relative;
  border: 2px solid var(--primary-color);
}

.highlight-card::before {
  content: "Featured";
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary-color);
  color: #000;
  font-size: 0.7rem;
  font-weight: var(--weight-bold);
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 204, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-color);
}

.expertise-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-weight: var(--weight-bold);
  position: relative;
  padding-bottom: 0.5rem;
}

.expertise-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

/* Skill tags styling */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.skill-tag {
  background: rgba(255, 204, 0, 0.15);
  color: var(--text-color);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: var(--weight-semibold);
  border: 1px solid rgba(255, 204, 0, 0.3);
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background: var(--primary-color);
  color: #000;
  transform: translateY(-2px);
}

.card-description {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: auto;
  opacity: 0.9;
}

/* Role list styling */
.role-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.role-item {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.role-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.role-item h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
  font-weight: var(--weight-bold);
}

.role-item p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-color);
  opacity: 0.9;
  margin: 0;
}

/* Education item styling */
.education-item {
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.education-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
}

.edu-badge {
  display: inline-block;
  background: var(--primary-color);
  color: #000;
  font-size: 0.7rem;
  font-weight: var(--weight-bold);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.education-item h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--text-color);
  font-weight: var(--weight-semibold);
}

.education-item p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-color);
  opacity: 0.9;
  margin: 0;
}

.continuous-learning {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.continuous-learning p {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.5;
  margin: 0;
}

/* Responsive design */
@media (max-width: 1000px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .expertise-card:nth-child(3) {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  
  .expertise-card:nth-child(3) {
    grid-column: span 1;
  }
  
  .expertise-section {
    padding: 2rem 0;
  }
  
  .expertise-card {
    padding: 1.5rem;
  }
}

/* Animation for cards */
@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.expertise-card {
  animation: cardEntrance 0.6s ease forwards;
}

.expertise-card:nth-child(2) {
  animation-delay: 0.2s;
}

.expertise-card:nth-child(3) {
  animation-delay: 0.4s;
}

/* CTA buttons container */
.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Button styles matching existing design */
.cta-buttons .btn {
  display: inline-block;
  padding: 0.75rem 1.9rem;
  border-radius: 30px;
  text-transform: uppercase;
  font-size: 0.82rem;
  transition: 0.3s;
  font-weight: var(--weight-semibold);
}

.cta-buttons .btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--bg-primary);
}

.cta-buttons .btn-secondary:hover {
  background: var(--primary-color);
  color: #000000;
  border: 1px solid black;
}

.cta-buttons .btn-primary {
  background: var(--primary-color);
  color: #000000;
}

.cta-buttons .btn-primary:hover {
  background: var(--secondary-color);
  color: var(--text-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-container {
    margin-top: 7rem;
    text-align: center;
    padding: 0.5rem;
  }
  
  .profile-image {
    width: 150px;
    height: 150px;
  }
  
  .header-container h1 {
    font-size: 2.2rem;
  }
  
  .content-text h2 {
    font-size: 1.8rem;
  }
  
  .content-text > p {
    font-size: 1rem;
    padding: 0.5rem;
  }
  
  .specializations, 
  .current-roles, 
  .education {
    padding: 1rem;
  }
  
  .specializations h3, 
  .current-roles h3, 
  .education h3 {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* Animation for content appearing */
.content-text > * {
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animations for better visual flow */
.content-text > p {
  animation-delay: 0.2s;
}

.specializations {
  animation-delay: 0.4s;
}

.current-roles {
  animation-delay: 0.6s;
}

.education {
  animation-delay: 0.8s;
}

.cta-buttons {
  animation-delay: 1s;
}

/* List item animations */
.specializations li {
  opacity: 0;
  animation: fadeInRight 0.5s forwards;
}

.current-roles li {
  opacity: 0;
  animation: fadeInLeft 0.5s forwards;
}

.education li {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Add slight delay to each list item */
.specializations li:nth-child(1) { animation-delay: 0.5s; }
.specializations li:nth-child(2) { animation-delay: 0.6s; }
.specializations li:nth-child(3) { animation-delay: 0.7s; }
.specializations li:nth-child(4) { animation-delay: 0.8s; }
.specializations li:nth-child(5) { animation-delay: 0.9s; }

.current-roles li:nth-child(1) { animation-delay: 0.7s; }
.current-roles li:nth-child(2) { animation-delay: 0.8s; }
.current-roles li:nth-child(3) { animation-delay: 0.9s; }
.current-roles li:nth-child(4) { animation-delay: 1.0s; }

.education li:nth-child(1) { animation-delay: 0.9s; }
.education li:nth-child(2) { animation-delay: 1.0s; } 

/* Projects */
#projects {
  display: flex;
  flex-direction: column;
  margin: 2rem auto 5rem;
}

#projects .btn {
  align-self: center;
  margin: 2rem 0;
}

.project {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(250px, auto);
  grid-gap: 0.9rem;
}

.card .project-bio p {
  font-size: 0.83rem;
}

.card .project-bio h3 {
  font-size: 0.9rem;
}

.project-info {
  display: flex;
  justify-content: space-between;
  opacity: 0;
  position: relative;
  transition: 0.5s ease-in-out;
}

.project-bio {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  top: 160px;
  left: 10px;
}

/* ===== MODERN FOOTER STYLES ===== */
#footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #111 50%, #1a1a1a 100%);
  padding: 3rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

#footer .container {
  max-width: var(--width-medium);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Quote Carousel */
.quote-carousel {
  position: relative;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 204, 0, 0.1);
}

.quote-slide {
  display: none;
  text-align: center;
  animation: fadeIn 0.8s ease;
}

.quote-slide.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.quote-text {
  font-size: 1.4rem;
  font-weight: var(--weight-semibold);
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  font-style: italic;
}

.quote-author {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: var(--weight-medium);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 1rem;
}

.carousel-prev, .carousel-next {
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid rgba(255, 204, 0, 0.3);
  color: var(--primary-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.carousel-prev:hover, .carousel-next:hover {
  background: var(--primary-color);
  color: #000;
  transform: scale(1.1);
}

.carousel-indicators {
  display: flex;
  gap: 0.5rem;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Footer Content */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-contact {
  text-align: center;
  margin-bottom: 1.5rem;
}

.footer-contact h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: var(--weight-semibold);
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.email-link:hover {
  color: var(--primary-color);
  background: rgba(255, 204, 0, 0.1);
  transform: translateY(-2px);
}

.email-link svg {
  width: 18px;
  height: 18px;
}

/* Social Links */
.social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: var(--primary-color);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-bottom .footer-tagline {
  color: var(--primary-color);
  font-weight: var(--weight-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
  .quote-text {
    font-size: 1.1rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .social {
    gap: 0.8rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .social-link svg {
    width: 18px;
    height: 18px;
  }
  
  .carousel-controls {
    gap: 0.5rem;
  }
  
  .carousel-prev, .carousel-next {
    width: 32px;
    height: 32px;
  }
}

/* Responsiveness */

@media (max-width: 1000px) {
  .project {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
}

@media (max-width: 670px) {
  .navbar .nav-menu {
    position: fixed;
    right: -100vw;
    top: 4.5rem;
    flex-direction: column;
    width: calc(80% - 10px);
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem;
    border-radius: 5px;
    align-items: flex-start;
  }

  .navbar .btn {
    margin: 0;
    margin-top: 1rem;
  }

  .nav-menu.active {
    right: 20px;
  }

  .nav-menu .nav-link {
    font-size: 0.9rem;
    margin: 0 0.2rem;
  }

  .nav-menu li {
    margin-bottom: 0.5rem;
    width: 100%;
  }

  .nav-menu .btn {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
  }

  .hamburger.active {
    border: 1px dotted gray;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 600px) {
  .project {
    display: grid;
    grid-template-columns: 1fr;
  }

  .header-container .btn {
    border-radius: 5px;
    width: 80%;
  }
}
