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

:root {
  --navy-blue: #001f3f;
  --navy-light: #2c3e50;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #333333;
  --accent-color: #4a90e2;
  --text-light: #ffffff;
  --text-dark: #333333;
  --white: #ffffff;

  --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.1);

  --navy-hover: #002a5a;
  --gray-hover: #e0e0e0;

  --font-size-large: 2.5rem;
  --font-size-medium: 1.5rem;
  --font-size-small: 1.1rem;
  --font-size-xsmall: 0.95rem;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-gray);
  overflow-x: hidden;
}

/* Loading Animation */
.loading {
  overflow: hidden;
}

.loading::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy-blue);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1s ease-in-out 2s forwards;
}

.loading::after {
  content: 'Loading...';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.5rem;
  z-index: 10000;
  animation: fadeOut 1s ease-in-out 2s forwards;
}

.loaded::before,
.loaded::after {
  display: none;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Animation Classes */
.animate-in {
  animation: slideInUp 0.8s ease-out;
}

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

/* Stats Container */
.stats-container {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
  flex: 1;
}

.counter {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--dark-gray);
  font-weight: 500;
}

#home {
 
  display: flex;
  align-items: center;
}

#home .content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
}
#home .text-content {
  flex: 1;
  padding: 1rem;
}

#home .image-content {
  flex: 1;
  display: flex;
  justify-content: center;
}

#home .profile-image {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--navy-blue);
  box-shadow: var(--shadow-medium);
}

#home .profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#home .name {
  font-size: var(--font-size-large);
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

#home .role {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--navy-blue);
}

#home .underlined {
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
}

#home .description {
  margin-bottom: 2rem;
  color: var(--dark-gray);
  line-height: 1.8;
}

#home .cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

#home .btn {
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
#home .btn-primary {
  background-color: var(--navy-blue);
  color: var(--text-light);
  transition: background-color 0.3s ease;
}

#home .btn-primary:hover {
  background-color: var(--navy-hover);
}

#home .btn-secondary {
  background-color: var(--light-gray);
  color: var(--navy-blue);
  border: 1px solid var(--navy-blue);
  transition: background-color 0.3s ease;
}

#home .btn-secondary:hover {
  background-color: var(--gray-hover);

}

#home .professional-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

#home .prof-link {
  color: var(--navy-blue);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

#home .prof-link:hover {
  color: var(--accent-color);
}

/* Container Layout */


.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}

.social-icon {
  color: var(--text-light);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: var(--accent-color);
}

/* Main Content Styles */
.main-content {
  margin-top: 60px; /* Account for fixed navbar */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  min-height: 100vh;
  padding: 3rem;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Home Section */
#home {
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
}

.content-wrapper {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.text-content {
  flex: 1;
}

.image-content {
  flex: 1;
  display: flex;
  justify-content: center;
}

.profile-image {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--navy-blue);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-title {
  font-size: 1.5rem;
  color: var(--navy-blue);
  margin-bottom: 0.5rem;
}

.name {
  font-size: 3rem;
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

.role {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.underlined {
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
}

.description {
  margin-bottom: 2rem;
  color: var(--dark-gray);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--navy-blue);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--navy-light);
}

.btn-secondary {
  background-color: var(--medium-gray);
  color: var(--navy-blue);
}

.btn-secondary:hover {
  background-color: #d0d0d0;
}

.professional-links {
  display: flex;
  gap: 1rem;
}

.prof-link {
  color: var(--navy-blue);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.prof-link:hover {
  color: var(--accent-color);
}

/* About Section */
#about {
  background-color: var(--text-light);
}

.about-content {
  display: flex;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-left {
  flex: 1;
}

.about-right {
  flex: 2;
}

.profile-card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 5px solid var(--navy-blue);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-indicator {
  width: 15px;
  height: 15px;
  background-color: #2ecc71;
  border-radius: 50%;
  display: inline-block;
  margin-left: 0.5rem;
}

.profile-name {
  font-size: 1.8rem;
  color: var(--navy-blue);
  margin-bottom: 0.5rem;
}

.profile-title {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: var(--dark-gray);
}

.get-to-know-btn {
  background-color: var(--accent-color);
  color: var(--text-light);
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.get-to-know-btn:hover {
  background-color: #3a7bc8;
}

.about-title {
  font-size: 2.5rem;
  color: var(--navy-blue);
  margin-bottom: 1.5rem;
}

.about-description {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

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

.resume-content {
  max-width: 1200px;
  margin: 0 auto;
}

.resume-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--dark-gray);
  max-width: 700px;
  margin: 0 auto;
}

.resume-main {
  display: flex;
  gap: 3rem;
}

.resume-left {
  flex: 1;
}

.resume-right {
  flex: 2;
}

.resume-image {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.resume-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.professional-summary,
.contact-information,
.technical-skills,
.hobbies-interests {
  background-color: var(--text-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.professional-summary:hover,
.contact-information:hover,
.technical-skills:hover,
.hobbies-interests:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.personal-info p {
  margin-bottom: 0.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: color var(--transition-fast);
}

.contact-detail:hover {
  color: var(--accent-color);
}

/* Updated Skills Section */
.skills-list {
  margin-top: 1rem;
}

.skill-item {
  margin-bottom: 1rem;
}

.skill-name {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--navy-blue);
  font-weight: 500;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background-color: var(--medium-gray);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--navy-blue), var(--accent-color));
  width: 0%;
  transition: width 1.5s ease-in-out;
  border-radius: 4px;
}

.hobbies-list {
  list-style: none;
}

.hobbies-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.experience-section,
.education-section,
.certifications-section {
  margin-bottom: 3rem;
}

.timeline-item {
  display: flex;
  margin-bottom: 2rem;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
}

.timeline-content {
  background-color: var(--text-light);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  flex-grow: 1;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.timeline-content:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-medium);
}

.timeline-content h4 {
  color: var(--navy-blue);
  margin-bottom: 0.5rem;
}

.timeline-date {
  display: block;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.company {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.timeline-content ul {
  list-style-position: inside;
  margin-left: 1rem;
}

.timeline-content ul li {
  margin-bottom: 0.5rem;
}

/* Contact Section */
/* Contact Section */
#contact {
  background-color: var(--light-gray); /* Match the light gray background */
  padding: 3rem 0; /* Add padding for consistency */
}

#contact .contact-content {
  max-width: 1200px;
  margin: 0 auto;
}

#contact .contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

#contact .section-title {
  font-size: var(--font-size-large); /* Use the same font size variable */
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

#contact .section-subtitle {
  color: var(--dark-gray);
  max-width: 700px;
  margin: 0 auto;
}

#contact .contact-main {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  max-width: 100%; /* Ensure it takes full width */
  margin: 0 auto;
  padding: 2rem; /* Match home section padding */
  background-color: var(--white); /* Match background */
  border-radius: 8px; /* Match rounded corners */
}

#contact .contact-left {
  flex: 1;
}

#contact .contact-right {
  flex: 1;
}

#contact .contact-info-card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  height: 100%;
  box-shadow: var(--shadow-light); /* Add shadow for consistency */
}

#contact .info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
  color: var(--dark-gray); /* Ensure text color is consistent */
}

#contact .info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

#contact .info-content h4 {
  color: var(--navy-blue);
  margin-bottom: 0.3rem;
}

/* Contact Form Styles */
.contact-form-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  height: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem;
  border: 2px solid var(--medium-gray);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.submit-btn {
  background-color: var(--navy-blue);
  color: var(--text-light);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  background-color: var(--navy-hover);
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  color: white;
  font-weight: 500;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  background-color: #2ecc71;
}

.notification.error {
  background-color: #e74c3c;
}

/* Responsive Design for Contact Section */
@media (max-width: 992px) {
  #contact .contact-main,
  .content-wrapper,
  .about-content,
  .resume-main {
    flex-direction: column; /* Stack items on smaller screens */
  }
  
  .stats-container {
    flex-direction: column;
    gap: 1rem;
  }

  .image-content {
    order: -1;
    margin-bottom: 2rem;
  }

  .profile-image {
    width: 250px;
    height: 250px;
  }
  
  .section {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .stats-container {
    padding: 1rem;
  }
  
  .stat-item {
    padding: 0.5rem;
  }
  
  .counter {
    font-size: 1.5rem;
  }
}

/* Footer Styles */
.portfolio-footer {
  background-color: var(--navy-blue);
  color: white;
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-left p {
  margin: 0;
  color: white;
}

.footer-right {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-right a {
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: var(--accent-color);
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.projects-section {
    margin-bottom: 3rem;
}

.projects-section {
    margin-bottom: 3rem;
}

.projects-section h3 {
     color: var(--dark-gray);
    margin-bottom: 1.5rem;
    border-bottom: none;      /* Remove any bottom border */
    text-decoration: none;
    padding-bottom: 0.3rem;
}

.project-item {
    display: flex;
    margin-bottom: 2rem;
}

.project-dot {
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.project-content {
    background-color: var(--text-light);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    flex-grow: 1;
}

.project-content h4 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.project-content p {
    color: var(--dark-gray);
    line-height: 1.6;
}



.skills-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.skill {
    background-color: #001f3f;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.skill i {
    color: #4a90e2;
    font-size: 1.2rem;
}

.resume-download {
    margin-top: 2rem;
    text-align: center;
}

.download-btn {
    background-color: #4a90e2;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.download-btn i {
    margin-right: 0.5rem;
}

.download-btn:hover {
    background-color: #357ab7;
}


