/* ===== Variables ===== */
:root {
    /* Colors */
    --primary-color: #48b384;
    --primary-dark: #3a8f6a;
    --text-dark: #333333;
    --text-light: #777777;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.1);
  
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --fs-1: 2.5rem;
    --fs-2: 2rem;
    --fs-3: 1.75rem;
    --fs-4: 1.5rem;
    --fs-5: 1.25rem;
    --fs-6: 1rem;
  
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
  
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
  }
  
  /* ===== Base Styles ===== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  ul {
    list-style: none;
  }
  
  /* ===== Layout ===== */
  .main-container {
    display: flex;
    min-height: 100vh;
  }
  
  .container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .section-title {
    font-size: var(--fs-2);
    font-weight: 600;
    margin-bottom: var(--space-md);
    position: relative;
    color: var(--primary-color);
  }
  
  .section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: var(--space-lg);
  }
  
  /* ===== Sidebar ===== */
  .sidebar {
    width: 300px;
    background-color: var(--bg-white);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
  }
  
  .sidebar-info {
    text-align: center;
    margin-bottom: var(--space-lg);
  }
  
  .avatar-box {
    margin-bottom: var(--space-md);
  }
  
  .avatar-box img {
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    margin: 0 auto;
  }
  
  .info-content .name {
    font-size: var(--fs-4);
    font-weight: 600;
    margin-bottom: var(--space-xs);
  }
  
  .info-content .title {
    color: var(--text-light);
    font-size: var(--fs-6);
  }
  
  .separator {
    height: 1px;
    background-color: var(--border-color);
    margin: var(--space-lg) 0;
  }
  
  .contacts-list {
    margin-bottom: var(--space-lg);
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
  }
  
  .icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(72, 179, 132, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
  }
  
  /* Fallback for icons */
ion-icon {
    font-size: 24px;
    color: var(--primary-color);
    vertical-align: middle;
  }
  
  /* If icons still don't show, add this */
  ion-icon::before {
    content: "🟢"; /* Shows a green circle as fallback */
    display: inline-block;
    width: 24px;
    height: 24px;
  }
  
  .contact-title {
    font-weight: 700;  /* Bold text */
    text-transform: uppercase;  /* Uppercase letters */
    color: var(--primary-color);  /* Use a prominent color */
  }
  
  
  .contact-link, address {
    font-size: var(--fs-6);
  }
  
  .social-list {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
  }
  
  .social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(72, 179, 132, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
  }
  
  .social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
  }

  .info-content {
    display: flex;
    flex-direction: column;  /* Stack the name and title vertically */
    align-items: center;  /* Center the content horizontally */
    justify-content: center;  /* Optional: Center vertically as well */
    text-align: center;  /* Center align text for better aesthetics */
  }
  
  .name {
    font-size: var(--fs-3);  /* Adjust font size for name */
    font-weight: 600;
    display: inline-flex;  /* Make the name and icon appear on the same line */
    align-items: center;  /* Align the name and icon vertically */
  }
  
  .paw-icon {
    margin-left: var(--space-sm);  /* Space between name and paw icon */
  }
  
  .title {
    font-size: var(--fs-6);
    color: var(--text-light);
  }
  
  /* ===== Main Content ===== */
  .main-content {
    flex: 1;
    padding: var(--space-lg) 0;
  }
  
  /* Navbar */
  .navbar {
    padding: 0 var(--space-md);
    margin-bottom: var(--space-lg);
  }
  
  .navbar-list {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding-bottom: 5px;
  }
  
  .navbar-link {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--fs-6);
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .navbar-link:hover, .navbar-link.active {
    color: var(--primary-color);
  }
  
  /* About Section */
  .about-text {
    margin-bottom: var(--space-xl);
  }
  
  .about-text p {
    margin-bottom: var(--space-md);
  }
  
  /* Services/Skills */
  .service-title {
    font-size: var(--fs-3);
    margin-bottom: var(--space-lg);
    color: var(--primary-color);
  }
  
  .service-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
  }
  
  .service-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
  }
  
  .service-icon-box {
    margin-bottom: var(--space-md);
  }
  
  .service-item-title {
    font-size: var(--fs-5);
    margin-bottom: var(--space-xs);
  }
  
  .service-item-text {
    color: var(--text-light);
    font-size: var(--fs-6);
  }
  
  /* Resume Section */
  .resume-container {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
  }
  
  .timeline {
    margin-bottom: var(--space-xl);
  }
  
  .title-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
  }
  
  .timeline-title {
    font-size: var(--fs-4);
    color: var(--primary-color);
  }
  
  .timeline-list {
    padding-left: var(--space-lg);
    position: relative;
  }
  
  .timeline-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: rgba(72, 179, 132, 0.2);
  }
  
  .timeline-item {
    position: relative;
    padding-bottom: var(--space-lg);
  }
  
  .timeline-item:last-child {
    padding-bottom: 0;
  }
  
  .timeline-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -25px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid rgba(72, 179, 132, 0.2);
  }
  
  .timeline-item-title {
    font-size: var(--fs-5);
    font-weight: 600;
    margin-bottom: 5px;
  }
  
  .timeline-subtitle {
    display: block;
    font-size: var(--fs-6);
    color: var(--text-light);
    margin-bottom: 5px;
  }
  
  .timeline-date {
    display: block;
    font-size: 0.875rem;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
  }
  
  .timeline-text {
    color: var(--text-light);
    font-size: var(--fs-6);
  }
  
  .timeline-text li {
    margin-bottom: var(--space-xs);
    position: relative;
    padding-left: var(--space-sm);
  }
  
  .timeline-text li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
  }
  
  .cv-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
  }
  
  /* Portfolio Section */
  .projects {
    margin-bottom: var(--space-xl);
  }
  
  .project-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
  }
  
  .project-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
  }
  
  .project-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
  }
  
  .project-link {
    display: block;
  }
  
  .project-img {
    position: relative;
    overflow: hidden;
    height: 200px;
  }
  
  .project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .project-item:hover .project-img img {
    transform: scale(1.05);
  }
  
  .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(72, 179, 132, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .project-item:hover .project-overlay {
    opacity: 1;
  }
  
  .project-overlay ion-icon {
    color: white;
    font-size: 2rem;
  }
  
  .project-content {
    padding: var(--space-md);
  }
  
  .project-title {
    font-size: var(--fs-5);
    margin-bottom: var(--space-xs);
  }
  
  .project-category {
    color: var(--text-light);
    font-size: var(--fs-6);
  }
  
  /* Contact Section */
  .contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .mapbox {
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  
  .mapbox iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  .contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
  }
  
  .form-title {
    font-size: var(--fs-4);
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--primary-color);
  }
  
  .form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .input-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  @media (min-width: 768px) {
    .input-wrapper {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .form-input {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: var(--fs-6);
    transition: all 0.3s ease;
    background-color: var(--bg-light);
  }
  
  .form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(72, 179, 132, 0.1);
  }
  
  textarea.form-input {
    min-height: 150px;
    resize: vertical;
  }
  
  .form-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--fs-6);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
  }
  
  .form-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
  }
  
  /* ===== Responsive Styles ===== */
  @media (max-width: 992px) {
    .main-container {
      flex-direction: column;
    }
    
    .sidebar {
      width: 100%;
      height: auto;
      position: static;
    }
    
    .container {
      width: 90%;
    }
  }
  @media (max-width: 768px) {
    .main-container {
      flex-direction: column;
      justify-content: center; /* Center the content vertically */
      align-items: center; /* Center the content horizontally */
    }
  
    .sidebar {
      width: 80%; /* Adjust width as needed */
      height: auto;
      position: static; /* Remove sticky positioning */
      margin: var(--space-md) 0; /* Add spacing around the sidebar */
    }
  
    .container {
      width: 95%;
    }
  
    .service-list, .project-list {
      grid-template-columns: 1fr;
    }
  
    .contact-container {
      grid-template-columns: 1fr;
    }
  }
  
  
  @media (max-width: 576px) {
    .section {
      padding: var(--space-lg) 0;
    }
    
    .navbar-list {
      gap: 5px;
    }
    
    .navbar-link {
      padding: 5px 10px;
      font-size: 0.875rem;
    }
  }

 