/* 
======================
  Global Styles
======================
*/
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #FF9E7A;
    --accent-color: #B5EAD7;
    --dark-color: #444444;
    --light-color: #F8F9FA;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --max-width: 1200px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
    --border-radius: 5px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
  }
  
  a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
  }
  
  a:hover {
    color: var(--secondary-color);
  }
  
  ul {
    list-style: none;
  }
  
  img {
    width: 100%;
    display: block;
  }
  
  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    overflow: hidden;
  }
  
  .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
  }
  
  .btn:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
  }
  
  .btn-primary {
    background: var(--primary-color);
  }
  
  .btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
  }
  
  .btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
  }
  
  .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .underline {
    height: 4px;
    width: 70px;
    background: var(--primary-color);
    margin: 0 auto;
  }
  
  /* 
  ======================
    Navigation
  ======================
  */
  #navbar {
    background: #fff;
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }
  
  #navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
  }
  
  .logo {
    font-size: 1.8rem;
  }
  
  .logo a {
    color: var(--dark-color);
  }
  
  .nav-links {
    display: flex;
    align-items: center;
  }
  
  .nav-links li {
    margin-left: 1.5rem;
  }
  
  .nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: 0;
    transition: var(--transition);
  }
  
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
  }
  
  .burger {
    display: none;
    cursor: pointer;
  }
  
  .burger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px;
    transition: all 0.3s ease;
  }
  
  /* Sticky Navbar */
  .sticky {
    height: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Burger Animation */
  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .toggle .line2 {
    opacity: 0;
  }
  
  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  /* 
  ======================
    Hero Section
  ======================
  */
  #home {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
    padding-top: 80px; /* Account for fixed navbar */
  }
  
  .hero-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin: 0 auto 1.5rem;
    object-fit: cover;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-buttons {
    margin-top: 2rem;
  }
  
  .cta-buttons .btn {
    margin: 0 0.5rem;
  }
  
  /* 
  ======================
    About Section
  ======================
  */
  #about {
    padding: 5rem 0;
    background: #fff;
  }
  
  .about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
  }
  
  .about-text {
    max-width: 700px;
    margin: 0 auto;
  }
  
  .about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }
  
  /* 
  ======================
    Skills Section
  ======================
  */
  #skills {
    padding: 5rem 0;
    background: var(--light-color);
  }
  
  .skills-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  
  .skill-category h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }
  
  .skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  
  .skill-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
  }
  
  .skill-item:hover {
    transform: translateY(-5px);
  }
  
  .skill-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
  }
  
  /* 
  ======================
    Projects Section
  ======================
  */
  #projects {
    padding: 5rem 0;
    background: #fff;
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
  }
  
  .project-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background: #fff;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
  }
  
  .project-card.animate {
    opacity: 1;
    transform: translateY(0);
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .project-img {
    height: 200px;
    overflow: hidden;
  }
  
  .project-img img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .project-card:hover .project-img img {
    transform: scale(1.1);
  }
  
  .project-info {
    padding: 1.5rem;
  }
  
  .project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .project-tags {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .project-desc {
    margin-bottom: 1.5rem;
    color: #666;
  }
  
  .project-links {
    display: flex;
    gap: 1rem;
  }
  
  /* 
  ======================
    Contact Section
  ======================
  */
  #contact {
    padding: 5rem 0;
    background: var(--dark-color);
    color: #fff;
  }
  
  .contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }
  
  .contact-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
  }
  
  .contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
  }
  
  .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    transition: var(--transition);
  }
  
  .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
  }
  
  /* 
  ======================
    Education Section
  ======================
  */
  #education {
    padding: 5rem 0;
    background: var(--light-color);
  }
  
  .education-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .education-item {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
  }
  
  .education-item:last-child {
    margin-bottom: 0;
  }
  
  .education-item h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
  }
  
  .edu-degree {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .edu-location, .edu-date, .edu-gpa {
    color: #666;
    margin-bottom: 0.5rem;
  }
  
  .edu-description {
    margin-top: 1rem;
  }
  
  /* 
  ======================
    Experience Section
  ======================
  */
  #experience {
    padding: 5rem 0;
    background: #fff;
  }
  
  .experience-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .experience-item {
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
    background: #f9f9f9;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: var(--box-shadow);
    position: relative;
  }
  
  .experience-item:last-child {
    margin-bottom: 0;
  }
  
  .experience-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    left: -12px;
    top: 2rem;
  }
  
  .experience-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .exp-company {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
  }
  
  .exp-date {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
  }
  
  .exp-description {
    line-height: 1.7;
  }
  
  /* 
  ======================
    Footer
  ======================
  */
  footer {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
  }
  
  /* 
  ======================
    Animations
  ======================
  */
  @keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* Form Styles (if you decide to add a contact form) */
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-control {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
  }
  
  .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
  }
  
  .form-control.error {
    border-color: var(--danger-color);
  }
  
  /* Scroll to top button */
  .scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 99;
  }
  
  .scroll-top.active {
    opacity: 1;
    visibility: visible;
  }
  
  .scroll-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
  }
  
  /* Dark mode styles (optional) */
  .dark-mode {
    background-color: #121212;
    color: #f4f4f4;
  }
  
  .dark-mode #navbar,
  .dark-mode .skill-item,
  .dark-mode .project-card,
  .dark-mode #about {
    background: #1e1e1e;
    color: #f4f4f4;
  }
  
  .dark-mode .burger div,
  .dark-mode .nav-links a,
  .dark-mode .logo a {
    color: #f4f4f4;
    background-color: #f4f4f4;
  }
  
  .dark-mode .project-desc {
    color: #ccc;
  }
  
  /* Loading animation */
  .loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  
  .loader.hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  .loader .spinner {
    width: 60px;
    height: 60px;
    border: 10px solid #f3f3f3;
    border-top: 10px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }