/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-sans: 'Inter', sans-serif;
  --clr-bg: #f9f9f9;
  --clr-white: #fff;
  --clr-dark: #222;
  --clr-primary: #3B82F6; /* Updated blue color */
   --transition: 0.3s ease;

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

.header {
  position: sticky;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  background: var(--clr-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
}


body {
  font-family: var(--font-sans);
  color: var(--clr-dark);
  background: var(--clr-bg);
  line-height: 1.5;
}

/* Containers */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* NAV */
/* Custom Header Layout */
.custom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px; /* Bigger header */
  padding: 0 3rem;
  background: var(--clr-white);
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 90;
}

/* Left Side - Akash Motkar Name */
.header-left {
  display: flex;
  align-items: center;
  gap: 0rem;
  font-size: 1.0rem;     /* Slightly smaller name */
  font-weight: 400;
}

.site-name {
  font-size: 2rem;         /* Make name smaller */
  font-weight: 900;        /* Slightly lighter weight */
  color: var(--clr-dark);
  margin: 0;
  letter-spacing: 0.5px;   /* Optional: smooth spacing */
}


.custom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;      /* Smaller header */
  padding: 0 2rem 0 0;     /* Less horizontal padding */
  background: var(--clr-white);
  border-bottom: 3px solid var(--clr-primary); /* Blue line */
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;           /* Small space between logo and name */
  margin-left: 0;       /* Small space between logo and name */
}

.logo-img {
  width: 100px;           /* Smaller logo */
  height: 100px;
  object-fit: contain;
  margin-left: 0;        /* No margin on left */
  margin-right: 0.2rem; /* Minimal space between logo and name */
}

.site-name {
  font-size: 1.0rem;     /* Slightly smaller name */
  font-weight: 800;
  color: var(--clr-dark);
  margin: 0;
}

/* Right Side - Navigation */
.header-right .nav-list {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-right .nav-list a {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--clr-dark);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);

}

.nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--clr-primary);
  transition: width var(--transition);
}

.nav-list a:hover {
  color: var(--clr-accent);
}
.nav-list a:hover::after {
  width: 100%;
}
.btn-connect:hover {
  background: darken(var(--clr-dark), 10%);
  transform: translateY(-2px);
}

/* Responsive (optional) */
@media (max-width: 768px) {
  .nav-list, .btn-connect {
    display: none;
  }
}


/* Hero */
#hero {
  background: var(--clr-white);
  padding: 4rem 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 350px;
  text-align: left;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-transform: none; /* preserve manual casing */
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}


@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Profile Image - Push to Far Left */
.profile-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 4px solid #007acc;
  overflow: hidden;
  margin-left: 0;
  margin-right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-photo img {
  width: 100%;
  height: 200%;
  object-fit: cover;
  border-radius: 50%;
}

/* Floating Circle with Dynamic Shape */
.floating-circle {
  width: 250px;
  height: 350px;
  
  /* Removed border-radius: 50%; */
  overflow: hidden;
  position: relative;
 
  display: flex;
  align-items: center;
  justify-content: center;
  animation:
    float 5s ease-in-out infinite,
    morph-shape 15s ease-in-out infinite alternate;
  clip-path: ellipse(50% 40% at 50% 50%);
  /* For Safari: */
  -webkit-clip-path: ellipse(50% 40% at 50% 50%);
}

.floating-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Morphing shape animation */
@keyframes morph-shape {
  0% {
    clip-path: ellipse(50% 40% at 50% 50%);
    -webkit-clip-path: ellipse(50% 40% at 50% 50%);
  }
  25% {
    clip-path: ellipse(45% 50% at 55% 50%);
    -webkit-clip-path: ellipse(45% 50% at 55% 50%);
  }
  50% {
    clip-path: ellipse(55% 45% at 45% 50%);
    -webkit-clip-path: ellipse(55% 45% at 45% 50%);
  }
  75% {
    clip-path: ellipse(48% 52% at 50% 48%);
    -webkit-clip-path: ellipse(48% 52% at 50% 48%);
  }
  100% {
    clip-path: ellipse(50% 40% at 50% 50%);
    -webkit-clip-path: ellipse(50% 40% at 50% 50%);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .profile-wrapper {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .profile-photo {
    margin-bottom: 1.5rem;
  }

  .profile-text {
    max-width: 100%;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
  .profile-photo {
    margin-top: 2rem;
    margin-bottom: 0;
  }
}

/* Sections */
section {
  padding: 4rem 0;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--clr-primary);
}

/* About */
.about-grid {
  display: flex;
  align-items: stretch; /* Make both columns equal height */
  gap: 2rem;
}

.about-content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-image {
  flex: 0 0 260px; /* Fixed width for image column */
  display: flex;
  align-items: stretch;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.about-highlight {
  color: var(--clr-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  transition: 
    transform 0.2s cubic-bezier(.4,2,.6,1),
    box-shadow 0.2s,
    border 0.2s;
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-12px) scale(1.04);
  border: 2px solid var(--clr-primary);
  box-shadow:
    0 8px 32px 0 rgba(0,122,204,0.15), /* blue reflection */
    0 2px 16px rgba(0,0,0,0.12);
}

.card::after {
  content: "";
  display: block;
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(0,122,204,0.10) 0%, rgba(0,0,0,0.04) 100%);
  filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: -1;
}

.card:hover::after {
  opacity: 1;
}

.card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.card h4 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--clr-dark);
  font-weight: 700;
  text-align: center;
}

@media (max-width: 700px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 1.5rem 0.5rem;
  }
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.skill-box {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 180px;
  min-width: 160px;
  font-size: 1.1rem;
  font-weight: 600;
  border: 2px solid transparent;
  position: relative;
  transition:
    transform 0.2s cubic-bezier(.4,2,.6,1),
    box-shadow 0.2s,
    border 0.2s;
  z-index: 1;
}

.skill-box img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.skill-box:hover {
  transform: translateY(-10px) scale(1.04);
  border: 2px solid var(--clr-primary);
  box-shadow:
    0 8px 32px 0 rgba(59,130,246,0.15),
    0 2px 16px rgba(0,0,0,0.12);
}

.skill-box::after {
  content: "";
  display: block;
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(59,130,246,0.10) 0%, rgba(0,0,0,0.04) 100%);
  filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: -1;
}

.skill-box:hover::after {
  opacity: 1;
}

@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* Timeline (Experience & Education) */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  background: var(--clr-white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.timeline-item span {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
  font-style: italic;
}

/* Certificates */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.cert-item {
  
  background: var(--clr-white);
  padding: 1rem;
  text-align: center;
  align-items: center;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  border: 2px solid transparent;
  transition:
    transform 0.2s cubic-bezier(.4,2,.6,1),
    box-shadow 0.2s,
    border 0.2s;
  position: relative;
  z-index: 1;
}

.cert-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.cert-item:hover {
  transform: translateY(-10px) scale(1.04);
  border: 2px solid var(--clr-primary);
  box-shadow:
    0 8px 32px 0 rgba(0,122,204,0.15),
    0 2px 16px rgba(0,0,0,0.12);
}

.cert-item::after {
  content: "";
  display: block;
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(0,122,204,0.10) 0%, rgba(0,0,0,0.04) 100%);
  filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: -1;
}

.cert-item:hover::after {
  opacity: 1;
}

.cert-item a {
  color: var(--clr-primary);
  text-decoration: none;
  font-weight: 500;
}

/* Rewards */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.reward-item {
  background: var(--clr-white);
  padding: 1.5rem 1rem 1rem 1rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  border: 2px solid transparent;
  transition:
    transform 0.2s cubic-bezier(.4,2,.6,1),
    box-shadow 0.2s,
    border 0.2s;
  position: relative;
  z-index: 1;
  min-width: 140px;
}

.reward-item:hover {
  transform: translateY(-10px) scale(1.04);
  border: 2px solid var(--clr-primary);
  box-shadow:
    0 8px 32px 0 rgba(0,122,204,0.15),
    0 2px 16px rgba(0,0,0,0.12);
}

.reward-item::after {
  content: "";
  display: block;
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(0,122,204,0.10) 0%, rgba(0,0,0,0.04) 100%);
  filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: -1;
}

.reward-item:hover::after {
  opacity: 1;
}

.reward-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Contact */
#contact p {
  text-align: center;
  font-size: 1.1rem;
}

#contact a {
  color: var(--clr-primary);
  text-decoration: none;
  font-weight: 600;
}

#contact .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Footer */
footer {
  background: var(--clr-dark);
  color: var(--clr-white);
  padding: 2rem 0;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Logo flush left */
  position: relative;
  min-height: 40px;
}

.logo-area {
  display: flex;
  align-items: center;
  position: absolute;
  left: 7%;
  transform: translateX(-93%);
  margin-right: 0rem;
}

/* Right side: stacked text */
.footer-text {
  text-align: center;
}

.footer-quote {
   position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  margin-bottom: 0.5rem;  /* space below quote */
}

.footer-copyright {
  font-size: 1rem;
  margin-top: 1rem;      /* extra space above copyright */
}


.footer-copyright {
   position: absolute;
  left: -10%;
  transform: translateX(305%);
  margin: 0;
  font-size: 1rem;
  color: var(--clr-white);
  width: max-content;
}

.footer-container a {
  display: flex;
  align-items: center;
  color: var(--clr-white);
  text-decoration: none;
}

.footer-container p {
  font-size: 0.9rem;
}

/* Contact Links */
.contact-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center; 
  margin-top: 1.5rem;
}

.contact-box {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 16px rgba(59,130,246,0.08);
  padding: 0.75rem;
  border: 2px solid transparent;
   align-items: center; 
  transition:
    transform 0.2s cubic-bezier(.4,2,.6,1),
    box-shadow 0.2s,
    border 0.2s,
    background 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}

.contact-box:active,
.contact-box.popup {
  transform: translateY(-8px) scale(1.08);
  border: 2px solid #3B82F6;
  background: #3B82F6;
  box-shadow: 0 8px 32px 0 rgba(59,130,246,0.15), 0 2px 16px rgba(0,0,0,0.12);
}

.icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
   align-items: center; 
}

/* Responsive */
@media (max-width: 768px) {
  .hero-container,
  .about-grid {
    flex-direction: column;
    text-align: center;
  }

  .custom-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    min-height: unset;
  }
  .header-left {
    margin-bottom: 1rem;
  }
  .header-right .nav-list {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .site-name {
    font-size: 2rem;
  }
}

#portfolio h3 {
  text-align: center;
  color: var(--clr-primary);
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.blue-one {
  color: var(--clr-primary);
  font-weight: bold;
}
.linkedin-experience-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.linkedin-experience-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(59,130,246,0.08);
  padding: 2rem;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 2px solid transparent;
  position: relative;
}

.linkedin-experience-card:hover {
  box-shadow: 0 8px 32px rgba(59,130,246,0.15), 0 2px 16px rgba(0,0,0,0.12);
  border: 2px solid var(--clr-primary);
  transform: translateY(-8px) scale(1.02);
}

.exp-logo {
  flex: 0 0 64px;
  margin-right: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exp-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: #f3f6fb;
  border: 1px solid #e0e0e0;
}

.exp-details {
  flex: 1 1 0;
}

.exp-details h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-dark);
}

.exp-company {
  display: block;
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.exp-location,
.exp-date {
  display: inline-block;
  font-size: 0.95rem;
  color: #888;
  margin-right: 1rem;
}

.exp-details p {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: #222;
}

/* Experience Section - LinkedIn Style */
.experience-container {
  background: #fff;
  border-left: 4px solid var(--clr-primary);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border-radius: 8px;
  max-width: 600px;
}

.company-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.company-logo {
  height: 40px;
  margin-right: 10px;
}

.company-name {
  font-weight: bold;
  font-size: 1.1rem;
}

.role-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 10px;
}

.date-location {
  font-size: 0.9rem;
  color: #555;
}

.responsibilities {
  margin-top: 10px;
  padding-left: 20px;
}

.responsibilities li {
  margin-bottom: 8px;
}

.role-change {
  font-size: 0.95rem;
  color: var(--clr-primary);
  font-weight: 600;
  margin-left: 0.5rem;
}