/* 
 * modern.css - Elegant styling for Dylan P Murphy portfolio
 * Version: 1.0
 */

/* Import elegant fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Base Variables */
:root {
  /* Primary Color Palette */
  --primary-color: #b8a07e;          /* Warm gold */
  --secondary-color: #2c2c2c;        /* Deep charcoal */
  --accent-color: #d4af7a;           /* Light gold accent */
  
  /* Background Colors */
  --dark-bg: #1a1a1a;                /* Rich black */
  --light-bg: #f9f7f3;               /* Soft ivory */
  --card-bg: #ffffff;                /* Pure white */
  
  /* Text Colors */
  --text-dark: #2c2c2c;              /* Deep charcoal for readability */
  --text-light: #7c7c7c;             /* Sophisticated gray */
  --text-accent: #b8a07e;            /* Warm gold for accents */
  --text-white: #ffffff;             /* White text for dark backgrounds */
  
  /* Gradients */
  --primary-gradient: linear-gradient(45deg, #b8a07e, #d4af7a);
  --dark-gradient: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  
  /* Util */
  --white: #ffffff;
  --gray-100: #f9f7f3;
  --gray-200: #eae7e0;
  --gray-300: #d5d0c8;
  --gray-400: #bbb5ac;
  --gray-500: #958f85;
  --transition: all 0.3s ease;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/*------------------------------------------------
# General Styles
--------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--text-dark);
}

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

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

p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}

.container {
  max-width: 1200px;
  padding: 0 20px;
}

.btn {
  transition: var(--transition);
  border-radius: 0;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 12px 24px;
}

.btn-lg {
  padding: 14px 30px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.75rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.btn-outline-light {
  border: 1px solid var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-outline-dark {
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline-dark:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-view-all {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-view-all::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-view-all:hover {
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-view-all:hover::before {
  width: 100%;
}

.rounded-pill {
  border-radius: 0 !important;
}

/*--------------------------------------------------------------
# Scroll Menu
--------------------------------------------------------------*/
.scroll-menu {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--box-shadow);
  padding: 15px;
  z-index: 1000;
}

.scroll-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.scroll-menu li {
  margin-bottom: 15px;
}

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

.scroll-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
  position: relative;
  padding-left: 5px;
  transition: var(--transition);
}

.scroll-menu a::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 50%;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.scroll-menu a:hover,
.scroll-menu a.active {
  color: var(--primary-color);
  padding-left: 15px;
}

.scroll-menu a:hover::before,
.scroll-menu a.active::before {
  width: 12px;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.navbar {
  background-color: var(--dark-bg) !important;
  padding: 15px 0;
}

.navbar-brand h1 {
  color: var(--white);
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin: 0;
}

.navbar-dark .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  color: var(--gray-300) !important;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.nav-link:hover, 
.nav-link.active {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 30px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: var(--dark-gradient);
  color: var(--white);
  padding-top: 80px;
  overflow: hidden;
  position: relative;
}

#hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

#hero h2 {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Inter', sans-serif;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typed-container {
  height: 50px;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.hero-buttons {
  margin-top: 30px;
}

.hero-buttons .btn {
  margin: 5px;
}

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

.hero-image {
  max-width: 85%;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  animation: float 6s ease-in-out infinite;
}

.hero-shape {
  position: absolute;
  height: 100%;
  width: 100%;
  background: radial-gradient(circle at 30% 50%, var(--primary-color) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  z-index: -1;
  opacity: 0.2;
  animation: morphing 15s ease-in-out infinite;
}

.hero-stats {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px 30px;
  backdrop-filter: blur(5px);
  margin-top: 40px;
}

.stat-item {
  padding: 0 20px;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Playfair Display', serif;
}

.stat-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 9;
}

.scroll-down i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/*--------------------------------------------------------------
# Section General
--------------------------------------------------------------*/
section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-bg {
  background-color: var(--light-bg);
}

.section-title {
  margin-bottom: 60px;
  text-align: center;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 400;
  position: relative;
  margin-bottom: 15px;
  color: var(--text-dark);
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 60px;
  height: 2px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  margin-top: 30px;
}

/*--------------------------------------------------------------
# Featured Projects Section
--------------------------------------------------------------*/
.featured-projects {
  background-color: var(--card-bg);
}

.featured-project-card {
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  background-color: var(--white);
}

.featured-project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-project-card:hover .card-img-top {
  transform: scale(1.1);
}

.card-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

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

.featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: var(--white);
  padding: 5px 15px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-body {
  padding: 30px;
}

.card-title {
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.card-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.card-text {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.badge {
  padding: 5px 12px;
  font-weight: 500;
  font-size: 0.75rem;
  background: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume-section {
  background-color: var(--light-bg);
}

.resume-tabs {
  margin-top: 40px;
}

.nav-pills {
  justify-content: center;
  margin-bottom: 40px;
  gap: 10px;
}

.nav-pills .nav-link {
  padding: 12px 25px;
  font-weight: 500;
  color: var(--text-dark) !important;
  background-color: transparent;
  border: 1px solid var(--gray-300);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: var(--transition);
}

.nav-pills .nav-link i {
  margin-right: 8px;
  color: var(--primary-color);
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
  background-color: var(--primary-color);
  color: var(--white) !important;
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.nav-pills .nav-link.active i,
.nav-pills .nav-link:hover i {
  color: var(--white);
}

.tab-content {
  margin-top: 40px;
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding-left: 30px;
  margin-left: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  transition: var(--transition);
}

.timeline-item:hover {
  transform: translateX(5px);
}

.timeline-marker {
  position: absolute;
  top: 8px;
  left: -36px;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 4px rgba(184, 160, 126, 0.2);
  z-index: 1;
}

.education-marker {
  background: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(44, 44, 44, 0.2);
}

.timeline-content {
  padding: 0 15px 0 20px;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.timeline-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.timeline-period {
  font-size: 0.8rem;
  background: var(--primary-color);
  color: var(--white);
  padding: 4px 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

.timeline-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 15px;
  font-style: italic;
}

.timeline-body {
  margin-top: 15px;
}

.timeline-list {
  padding-left: 20px;
  list-style: none;
}

.timeline-list li {
  margin-bottom: 10px;
  position: relative;
  color: var(--text-light);
}

.timeline-list li::before {
  content: "•";
  position: absolute;
  left: -20px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Certification Styles */
.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.certification-card {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.certification-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: var(--primary-color);
  transition: var(--transition);
}

.certification-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.certification-card:hover::before {
  height: 100%;
}

.certification-image {
  text-align: center;
  padding: 30px;
  background-color: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.certification-image img {
  max-width: 150px;
  height: auto;
  transition: var(--transition);
}

.certification-card:hover .certification-image img {
  transform: scale(1.05);
}

.certification-content {
  padding: 30px;
}

.certification-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.certification-content h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.certification-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Skills Styles */
.skills-container {
  padding: 20px 0;
}

.skills-category {
  margin-bottom: 40px;
  background-color: var(--white);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.skills-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.skills-category h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 15px;
  position: relative;
  border-bottom: 1px solid var(--gray-200);
}

.skills-category h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

.skills-category h4 i {
  margin-right: 10px;
  color: var(--primary-color);
}

.skill-item {
  margin-bottom: 25px;
}

.skill-info h5 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.progress {
  height: 8px;
  background-color: var(--gray-200);
  overflow: visible;
}

.progress-bar {
  background: var(--primary-color);
  position: relative;
}

.progress-bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 16px;
  height: 16px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.skills-cloud {
  margin-top: 50px;
}

.skills-cloud h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.skills-cloud h4 i {
  margin-right: 10px;
  color: var(--primary-color);
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.skill-tag {
  display: inline-block;
  padding: 8px 18px;
  background-color: var(--white);
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.skill-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
#contact {
  padding: 100px 0;
  background-color: var(--white);
}

.contact-info {
  padding: 40px;
  background-color: var(--light-bg);
  box-shadow: var(--box-shadow);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-color);
}

.contact-details {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 5px;
}

.item-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.item-content p {
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-form-wrapper {
  background-color: var(--light-bg);
  padding: 40px;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-color);
}

.contact-form label {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  border: 1px solid var(--gray-300);
  padding: 12px 15px;
  color: var(--text-dark);
  background-color: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

textarea.form-control {
  min-height: 150px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 30px 0;
  margin-top: 0;
}

.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.site-footer .footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
}

.site-footer .footer-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: var(--transition);
}

.site-footer .footer-links a:hover {
  color: var(--primary-color);
}

.site-footer .footer-links a:hover::after {
  width: 100%;
}

.site-footer p {
  color: var(--gray-500);
  margin: 0;
  font-size: 0.9rem;
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes morphing {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
  50% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
  75% { border-radius: 30% 70% 70% 30% / 70% 30% 50% 50%; }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-15px) translateX(-50%); }
  60% { transform: translateY(-7px) translateX(-50%); }
}

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

.animate-fadeIn {
  animation: fadeIn 0.6s ease forwards;
}

/*--------------------------------------------------------------
# Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 1200px) {
  #hero h1 {
    font-size: 3.5rem;
  }
  
  .scroll-menu {
    display: none;
  }
}

@media (max-width: 992px) {
  #hero {
    height: auto;
    padding: 150px 0 100px;
  }
  
  .hero-image-container {
    margin-top: 60px;
  }
  
  .hero-stats {
    margin-top: 60px;
  }
  
  .stat-item {
    margin-bottom: 20px;
  }
  
  section {
    padding: 80px 0;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .timeline-period {
    margin-top: 10px;
  }
  
  .certification-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 3rem;
  }
  
  #hero h2 {
    font-size: 1.5rem;
  }
  
  .typed-container {
    font-size: 1.3rem;
    height: 40px;
  }
  
  .hero-buttons .btn {
    margin-bottom: 10px;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .nav-pills {
    flex-wrap: wrap;
  }
  
  .nav-pills .nav-link {
    margin-bottom: 10px;
  }
  
  .contact-info {
    margin-bottom: 30px;
  }
  
  .contact-form-wrapper, 
  .contact-info {
    padding: 30px;
  }
  
  .site-footer .footer-links {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}

@media (max-width: 576px) {
  #hero {
    padding: 120px 0 80px;
  }
  
  #hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .timeline {
    padding-left: 20px;
    margin-left: 10px;
  }
  
  .timeline-marker {
    left: -26px;
  }
  
  .card-body {
    padding: 20px;
  }
  
  .certification-image {
    padding: 20px;
  }
  
  .certification-content {
    padding: 20px;
  }
  
  .skills-category {
    padding: 20px;
  }
  
  .skill-tag {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .contact-form-wrapper, 
  .contact-info {
    padding: 20px;
  }
}

/* Additional elements for better typography */
.text-accent {
  color: var(--primary-color);
}

.bg-accent {
  background-color: var(--primary-color);
  color: var(--white);
}

.bg-dark {
  background-color: var(--dark-bg);
  color: var(--white);
}

.bg-light {
  background-color: var(--light-bg);
}

/* Hover effect for project cards */
.card-hover-effect {
  position: relative;
  overflow: hidden;
}

.card-hover-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(184, 160, 126, 0.1);
  transition: all 0.5s ease;
  z-index: 0;
}

.card-hover-effect:hover::before {
  left: 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Focus styling */
:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Utilities for spacing */
.mb-lg {
  margin-bottom: 60px;
}

.mt-lg {
  margin-top: 60px;
}

.py-lg {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Text selection */
::selection {
  background: var(--primary-color);
  color: var(--white);
}

  /* Additional styling for projects section */
  .timeline-projects {
    margin-bottom: 15px;
    font-style: italic;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    background-color: rgba(184, 160, 126, 0.05);
    padding: 10px 15px;
  }
  
  .text-accent {
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
  }
