/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
:root {
  --body-font: 'Karla', sans-serif;
  --heading-font: 'Playfair Display', serif;
  --nav-font: 'Quicksand', sans-serif;
  --special-text: 'Dancing Script', cursive;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--body-font);
  background-color: #eaddcf;
  background-size: 400% 400%;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

body {
  position: relative;
  z-index: 2;
}

header {
  height: 100px;
  position: relative;
  z-index: 3;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5);
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-family: var(--heading-font);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.5rem;
  font-weight: 300;
  font-family: var(--special-text);
}

.hero-title {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
  font-family: var(--heading-font);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 2rem;
  font-family: var(--body-font);
}

.enter-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  background-color: white;
  color: #333;
  border: none;
  border-radius: 40px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: var(--nav-font);
}

.enter-btn:hover {
  background-color: #a68a64;
  color: white;
}

.typed-cursor {
  font-weight: 300;
  opacity: 0.75;
  display: inline-block;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.main-navbar {
  width: 100%;
  padding: 20px 40px;
  background-color: transparent;
  position: relative;
  z-index: 4;
}

.main-navbar ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-navbar a {
  text-decoration: none;
  text-underline-offset: 4px;
  color: #8B5E3C;
  font-weight: 600;
  font-size: 20px;
  transition: color 0.3s ease;
  font-family: var(--nav-font);
}

.main-navbar a:hover {
  color: #A0683D;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.rounded-circle {
  border-radius: 50% !important;
}

.about {
  padding-top: 2.5%;
  padding-bottom: 2.5%;
  position: relative;
  z-index: 2;
}

.about .container {
  margin: 0 auto;
  display: block;
  width: 70%;
}

.about .profile-img img {
  margin: 0 auto;
  display: block;
  width: 500px;
  border: 8px solid color-mix(in srgb, #8B5E3C, transparent 50%);
}

.profile-img {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 2.5%;
}


.about-info p {
  display: none;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  font-family: var(--body-font);
  font-size: 18px;
}

.about-info p.active {
  display: block;
  opacity: 1;
}

/* Rounded text container for About section */
.about-details .about-info {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 40px 35px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
  transition: all .3s ease;
}

/* Slight hover lift for modern feel */
.about-details .about-info:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}


.about {
  padding: 60px 0;
}

.about-tabs {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 25px;
}

.about-tabs .tab {
  position: relative;
  cursor: pointer;
  padding: 8px 4px;
  font-family: var(--nav-font);
  font-size: 20px;
  color: #8B5E3C;
  transition: color .3s ease;
}

.about-tabs .tab:hover {
  color: #A0683D;
}

.about-tabs .tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 4px;
  width: 100%;
  background: #8B5E3C;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.about-tabs .tab.active::after {
  transform: scaleX(1);
}

.about-info {
  max-width: 800px;
  margin: 0 auto;
  min-height: 120px;
  position: relative;
}

.about-info p {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all .4s ease;
  font-size: 18px;
  font-family: var(--body-font);
  text-align: center;
}

.about-info p.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Smooth fade container */
.about-info.fade {
  animation: aboutFade .5s ease both;
}

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

/* Optional mobile tweaks */
@media (max-width: 600px) {
  .about-tabs {
    flex-wrap: wrap;
    gap: 15px;
  }

  .about-tabs .tab {
    font-size: 18px;
  }
}



/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes slideUpFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-load {
  animation: slideUpFadeIn 0.8s ease-out both;
}

/* Delay classes for staggered animations */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

/* Floating Icons */
.floating-icon {
  position: absolute;
  width: 100px;
  height: 100px;
  opacity: 0.1;
  pointer-events: none;
  animation: floatUp 20s linear infinite;
  z-index: 0;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.15;
  }
  90% {
    opacity: 0.1;
  }
  100% {
    transform: translateY(-20vh) scale(1.1);
    opacity: 0;
  }
}

.floating-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/

.resume-summary {
  margin-bottom: 40px;
}

.resume-summary h3 {
  font-size: 1.5rem;
  color: #A0683D;
  margin-bottom: 10px;
  font-family: var(--nav-font);
  border-bottom: 2px solid #e5d5c3;
  padding-bottom: 5px;
}

.resume-summary p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  font-family: var(--body-font);
  max-width: 100%;
}

.resume-paper {
  background-color: #fffefb;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 40px;
  margin-top: 40px;
  margin-bottom: 60px;
  max-width: 1100px;
  font-family: var(--body-font);
}

/* Section Title */
.section-title {
  font-family: var(--heading-font);
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 40px;
  color: #8B5E3C;
}

/* Columns */
.resume-columns {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.resume-column {
  flex: 1;
  min-width: 300px;
}

/* Resume Headings */
.resume-heading {
  font-size: 1.5rem;
  color: #A0683D;
  margin-bottom: 15px;
  font-family: var(--nav-font);
  border-bottom: 2px solid #e5d5c3;
  padding-bottom: 5px;
}

/* Items */
.resume-item {
  margin-bottom: 25px;
}

.resume-item h4 {
  font-size: 1.2rem;
  margin: 0 0 5px 0;
  font-weight: 600;
  font-family: var(--body-font);
  color: #333;
}

.resume-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.resume-date {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
  margin: 5px 0 10px;
  display: block;
}

/* Skill list */
.resume-list {
  list-style: none;
  padding-left: 0;
}


.resume-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #444;
}

.resume-list li::before {
  content: "\f121"; /* FontAwesome code icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #a68a64;
}

/* Summary Paragraph */
.resume-section p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Education grid */
.education-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.education-grid .resume-item {
  flex: 1;
  min-width: 300px;
}

/* Skills columns */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.skills-grid .resume-list {
  flex: 1;
  min-width: 220px;
  margin: 0;
}

/* Experience section with divider */
.resume-columns.with-divider {
  position: relative;
}

.resume-columns.with-divider .divider {
  width: 2px;
  background-color: #e5d5c3;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .education-grid,
  .skills-grid {
    flex-direction: column;
  }

  .resume-columns.with-divider .divider {
    display: none;
  }
}

/* Subtle animation */
@keyframes fadeInPaper {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.resume-paper {
  animation: fadeInPaper 1s ease-out both;
}

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

/* Animation base class */
.animate-on-load {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

/* Staggered animations for sections */
.resume-heading,
.resume-item,
.skills-grid,
.education-grid {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.resume-heading {
  animation-delay: 0.2s;
}

.education-grid {
  animation-delay: 0.3s;
}

.skills-grid {
  animation-delay: 0.4s;
}

.resume-columns {
  animation-delay: 0.5s;
}

/* Icon style inside headings */
.resume-heading i {
  color: #A0683D;
  margin-right: 8px;
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/

.fade-in-section {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

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

.pricing-grid {
  width: 100%;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.center-row {
  justify-content: center;
}

.price-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform .2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card .price {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin-top: -5px;
}

/* Resume-style "</>" bullet list */
.fancy-list {
  list-style: none;
  padding-left: 0;
}

.fancy-list li {
  position: relative;
  margin: 8px 0;
  padding-left: 32px;
}

.fancy-list li span::before {
  content: "</> ";
  color: #A0683D;
  font-weight: 900;
  font-size: 0.85rem;
  left: 0;
  top: 0;
  transform: translateY(2px);
  opacity: 0.9;
}


.centered-list {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: block;
}


/* MOBILE FIX — Price cards stack nicer */
@media (max-width: 768px) {
  .pricing-row {
    justify-content: center;
  }

  .price-card {
    max-width: 90%;
  }
}

/* EXTRA MOBILE: evenly space the 5 cards as one grid if desired */
@media (max-width: 480px) {
  .pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}






/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/

.portfolio-page .floating-container {
  display: none;
}

#project-carousel {
  width: 100%;
  max-width: 1000px; /* or adjust this to fit your design */
  margin: 0 auto; /* Center the carousel */
  padding: 0 15px; /* Add some space for smaller screen sizes */
}

.carousel-item{
  margin-right: 0;
}

.carousel-item img {
    width: 100%;       /* Make sure the image takes the full width of the container */
    height: 100%;      /* Make sure the image takes the full height of the container */
    object-fit: cover; /* Ensure the image covers the container without distortion */
    object-position: center; /* Center the image within the container */
}

.carousel-inner {
  display: flex;
  justify-content: center;
}

.project-card {
  position: relative;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.laptop-frame {
  position: relative;
  width: 100%;
  background: #333;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.laptop-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  background-color: #fff;
  padding: 15px;
  border-radius: 15px;
  margin-top: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project-info h4 {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  color: #333;
}

.project-info p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

.project-info .btn {
  background-color: #A0683D;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 8px 20px;
}

.project-info .btn:hover {
  background-color: #8B5E3C;
}

/* Scroll to specific project section */
.project-details {
  padding: 60px 0;
  background-color: #f9f9f9;
  margin-top: 50px;
  border-top: 3px solid #A0683D;
}

.project-details h3 {
  font-size: 2rem;
  font-family: var(--heading-font);
  color: #333;
  text-align: center;
}

.project-details p {
  font-size: 1rem;
  color: #555;
  text-align: center;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #A0683D;
  border-radius: 50%;
  padding: 10px;
}

.project-details .carousel-inner {
  border-radius: 10px;
}

.project-details img {
  object-fit: cover; /* Ensures images fill the space without distortion */
}

.project-details h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.project-details p {
  font-size: 1rem;
  line-height: 1.5;
}

.project-details h3,
.project-details p {
    text-align: left; /* Ensure text is left-aligned */
}


/*--------------------------------------------------------------
Contact
---------------------------------------------------------------*/
.contact-card {
  max-width: 750px;
  margin: 60px auto;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 45px 50px;
  text-align: center;
  box-shadow: 0 6px 30px rgba(0,0,0,0.08);
}

.contact-card h2 {
  font-family: var(--heading-font, "Playfair Display");
  font-size: 32px;
  margin-bottom: 10px;
  color: #8B5E3C;
}

.contact-sub {
  font-size: 18px;
  margin-bottom: 35px;
  color: #444;
}

.contact-form .form-group {
  text-align: left;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #8B5E3C;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 15px;
  transition: all .3s ease;
  background: rgba(255,255,255,0.9);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #B9805A;
  box-shadow: 0 0 0 3px rgba(185,128,90,0.2);
}

.contact-btn {
  background: #8B5E3C;
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 14px;
  font-size: 17px;
  margin-top: 15px;
  cursor: pointer;
  transition: all .3s ease;
}

.contact-btn:hover {
  background: #A06C49;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer{
  height: 125px;
  position: relative;
  background-color: #A0683D

}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid white;
  font-size: 16px;
  color: white;
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer .footer-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  border-top: 4px solid var(--accent-color);
  padding: 30px 20px;
}


.footer .footer-about p {
  font-size: 14px;
  text-align: center;
  font-family: var(--heading-font);
}
