:root {
  --dark-bg: #121212; /* Example dark background */
  --text-color: #FFFFFF;
  --pink-highlight: #fab3db; /* Example vibrant pink */
  --green-smiley: #caf291; /* Example green for smiley */
  --btn-bg: #dac7f9; /* Example button background */
  --btn-text: #1A1A1A;
  --font-family: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--dark-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

/* Header Styling */
.main-header {
background-color: #fedeed; 
padding: 8px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header .container {
display: flex;
justify-content: space-between;
align-items: center;
}

.logo a {
font-size: 28px;
font-weight: 200;
color: black; 
text-decoration: none;
letter-spacing: 1px;
font-family: "Luckiest Guy", cursive;
}

.glow {
background: black;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent; 
font-weight: 200;
padding-top: 8px;
}

.mobile-toggle {
display: none;
font-size: 28px;
color: black;
cursor: pointer;
background: none;
border: none;
padding-bottom: 5px;
}

.navbar {
position: sticky;
top: 0;
z-index: 1000;
}

.main-nav ul {
list-style: none;
display: flex;
}

.main-nav ul li {
margin-left: 1.2rem;
}

.main-nav ul li a {
color: black;
text-decoration: none;
font-weight: 600;
font-size: 0.9rem;
transition: color 0.3s ease;
position: relative;
padding: 8px;
}

.main-nav ul li a:hover {
background-color: #121212;
color:#fab3db;
border-radius: 10px;
}

.notification {
background-color: var(--pink-highlight);
color: var(--text-color);
font-size: 10px;
padding: 2px 5px;
border-radius: 50%;
position: absolute;
top: -5px;
right: -10px;
}

.header-actions {
display: flex;
align-items: center;
gap: 15px;
}

.btn {
display: inline-block;
padding: 12px 25px;
border-radius: 20px;
text-decoration: none;
font-weight: bold;
font-size: 15px;
transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
padding-top: 8px;
background-color: black;
color: #fab3db;
border: none;
box-shadow: #ba0e72;
}

.btn-primary:hover {
transform: scale(1.02);
/* background-color: #fab3db;
color: black; */
}

/* Hero Section Styling */
.hero-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 2rem 0;
}

.hero-profile-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  z-index: 10;
  position: relative;
}

.hero-profile-image img {
  width: 370px;
  height: auto;
  object-fit: cover;
  max-width: 100%;
}

.hero-title {
  font-size: 80px;
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 20px;
  text-transform: uppercase;
  position: relative;
  z-index: 10;
}

.highlight-pink {
  color: var(--pink-highlight);
}

.i-am {
  font-size: 0.7em; 
} 

.hero-subtitle {
  font-size: 20px;
  max-width: 1000px;
  margin: 50px auto 0px auto;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 10;
}

.emoji-scatter {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: -1;
}

.floating-icon {
position: absolute;
width: 100px;
height: 100px;
animation: floatAnim var(--duration, 20s) infinite linear;
animation-delay: var(--delay, 0s);
transform-origin: center;
}

@keyframes floatAnim {
0%, 100% {
  transform: translateY(0) rotate(var(--rotate));
}
50% {
  transform: translateY(-10px) rotate(calc(var(--rotate) + 5deg));
}
}

/* Random placements */
.floating-icon:nth-child(1) { top: 10%; left: 5%; }
.floating-icon:nth-child(2) { top: 30%; left: 5%; }
.floating-icon:nth-child(3) { top: 50%; left: 5%; }
.floating-icon:nth-child(4) { top: 70%; left: 5%; }
.floating-icon:nth-child(13) { top: 15%; left: 15%; }
.floating-icon:nth-child(12) { top: 35%; left: 15%; }
.floating-icon:nth-child(7) { top: 55%; left: 15%; }
.floating-icon:nth-child(8) { top: 75%; left: 15%; }
.floating-icon:nth-child(9) { top: 10%; right: 5%;}
.floating-icon:nth-child(10) { top: 30%; right: 5%; }
.floating-icon:nth-child(6) { top: 50%; right: 5%; }
.floating-icon:nth-child(11) { top: 70%; right: 5%; }
.floating-icon:nth-child(5) { top: 15%; right: 15%; }
.floating-icon:nth-child(14) { top: 35%; right: 15%; }
.floating-icon:nth-child(15) { top: 55%; right: 15%; }
.floating-icon:nth-child(16) { top: 75%; right: 15%; }

.hero-emojis {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none; 
}

.img-card {
  position: absolute;
  width: 250px; 
  height: auto; 
  object-fit: cover; 
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(var(--rotate));
  }
  50% {
    transform: translateY(-10px) rotate(calc(var(--rotate) + 5deg));
  }
}

.pd {
color: #d5aaff;
font-weight: 600;
}

.sd {
color: #caf291;
font-weight: 600;
}

.m {
color: #89f1ff;
font-weight: 600;
}

.section-tag {
  display: inline-block;
  font-weight: 900;
  font-size: 24px;
  padding: 6px 20px;
  transform: rotate(-5deg);
  margin-bottom: 20px;
  color: #000;
  background-color: #bc93ff;
  border-radius: 7px;
}

.badge-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0px;
  align-items: center;
  justify-content: center;
}

.badge {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  color: #000;
  background-color: #fff;
}

.pink { background-color: #fab3db; }
.green { background-color: #caf291; }
.purple { background-color: #D5AAFF; }
.blue { background-color: #b4ecff; }
.yellow { background-color: #fff9a8; }

.about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  width: 100%;
}  

.about-card-v3 {
  display: flex;
  align-items: center;
  max-width: 1000px;
  width: 100%;
  flex-direction: row;
  gap: 2rem;
}

.about-text {
  flex: 1.5;
}

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

.about-paragraph {
  font-size: 1.1rem;
  line-height: 1.89;
  color: #FFFFFF;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.about-timeline-section {
  background-color: #121212;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.timeline-card {
  max-width: 800px;
  border-left: 3px dotted #fab3db;
  padding-left: 30px;
  position: relative;
}

.timeline-point {
  position: relative;
  margin-bottom: 60px;
}

.timeline-point .dot {
  width: 16px;
  height: 16px;
  background-color: #fab3db;
  border-radius: 50%;
  position: absolute;
  left: -37px;
  top: 5px;
  box-shadow: 0 0 0 5px #1a1a1a;
}

.timeline-point .content {
  background-color: #1a1a1a;
  border-radius: 20px;
  padding: 20px 25px;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.timeline-point:hover .content {
  transform: translateY(-4px);
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #000;
}

.content h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.content p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

.workex-title {
  font-family: 'Montserrat', sans-serif;
  font-weight:900;
  font-size: 2.5rem;
  display: block; 
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: -60px;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.timeline-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0px;
}

.timeline-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  white-space: nowrap;
}

.timeline-date {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-top: 10px;
  text-align: right;
}

.dot {
  width: 16px;
  height: 16px;
  background-color: #fab3db;
  border-radius: 50%;
  position: absolute;
  left: -37px;
  top: 5px;
  box-shadow: 0 0 0 5px #1a1a1a;
}

.services-section {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 60px 40px;
  flex-wrap: wrap;
}

.service-column {
  flex: 1 1 300px;
  background-color: #2b2b2b;
  border-radius: 30px;
  padding: 30px;
  color: #fff;
  position: relative;
  border:#bc93ff 5px;
}

.service-heading {
  display: inline-block;
  font-weight: 900;
  font-size: 24px;
  padding: 6px 20px;
  transform: rotate(-5deg);
  margin-bottom: 28px;
  color: #000;
  border-radius: 7px;
}

.service-heading.pink {
  background-color: #fcb3d4;
}

.service-heading.green {
  background-color: #caf291;
}

.service-heading.blue {
  background-color: #89f1ff;
}

.service-column p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.service-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-column li {
  padding: 10px 0;
}

.service-column li {
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 200;
  transition: color 0.3s ease;
}

.service-column li a:hover {
  color: #fab3db;
}

.dpill {
  display: inline-block;
  background-color: #59456e;
  border-radius: 20px;
  padding: 4px 10px;
  margin: 5px 3px;
  font-size: 12px;
  color: #fff;
  font-weight: 500;
} 

.bpill {
  display: inline-block;
  background-color: #465334;
  border-radius: 20px;
  padding: 4px 10px;
  margin: 5px 3px;
  font-size: 12px;
  color: #fff;
  font-weight: 500;
} 

.gpill {
  display: inline-block;
  background-color: #3e5557;
  border-radius: 20px;
  padding: 4px 10px;
  margin: 5px 3px;
  font-size: 12px;
  color: #fff;
  font-weight: 500;
} 

.certificates-section {
  padding: 10px 120px;
  text-align: center;
}

.certificates-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight:900;
  font-size: 2.5rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  display: inline-block;
  font-weight: 900;
  color: #fff;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1.2fr));
  gap: 20px;
}

.certificate-card {
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 10px rgba(101, 101, 101, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certificate-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.certificate-info {
  padding: 15px;
  display: flex;
  flex-direction: column; 
}

.certificate-info h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #000;
}

.certificate-info p {
  font-size: 0.9rem;
  color: #000;
  font-weight: 500;
  margin-top: auto; 
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.projects-section {
  color: #ffffff;
  text-align: center;
  padding-bottom: 2rem;
}

.projects-title {
  font-family: 'Montserrat', sans-serif;
  font-weight:900;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  display: inline-block;
  font-weight: 900;
  color: #fff;
}

.projects-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1rem;
}

.project-column {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
}

.project-column.right {
  margin-top: 3rem;
}

.project-tile {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease;
  text-align: left;
}

/* Pill tags */
.projecttags {
margin: 10px 0;
display: flex;
flex-wrap: wrap;
gap: 8px;
padding-left: 1.2rem;
padding-right: 1.2rem;
}

.projecttag {
background: rgba(255, 255, 255, 0.671);
border: 1px solid rgba(255,255,255,0.2);
padding: 6px 14px;
border-radius: 50px;
font-size: 0.8rem;
color: black;
font-weight: 500;
letter-spacing: 0.5px;
backdrop-filter: blur(5px);
transition: all 0.3s ease;
}

.tag:hover {
background: #fff;
color: #121212;
}

/* View project button */
.project-btn {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
margin-top: 16px;
padding: 14px 0;
border-radius: 0 0 12px 12px;
background: rgba(255, 255, 255, 0.654);
color: #121212;
font-weight: 600;
font-size: 0.95rem;
text-decoration: none;
transition: all 0.3s ease;
border-top: 1px solid rgba(0,0,0,0.05);
}

.pendoraaz {
  background: #fca0b6;
}

.krysper {
  background: #cf01d5;
}

.dbmlms {
  background: #208e50;
}

.balancedpaws {
  background: #555590;
}

.project-tile:hover {
  transform: translateY(-5px);
}

.project-img {
  width: 100%;
  display: block;
  height: auto;
  margin: 0;
  padding: 0;
  object-fit: cover;
}

.project-content h3 {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  padding-top: 1.2rem;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.project-content p {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  font-size: 0.95rem;
  color: #222;
}

.white h3{
  color: white;
}

.white p{
  color: white;
}

.bookshelf-section {
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
  padding-bottom: 8rem;
}

.bookshelf-title {
  font-family: 'Montserrat', sans-serif;
  font-weight:900;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  display: inline-block;
  font-weight: 900;
  color: #fff;
}

.bookshelf {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Shelf top */
.bookshelf::before {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: #f3f3f3;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  z-index: 0;
}

/* Shelf shadow */
.bookshelf::after {
  content: "";
  position: absolute;
  bottom: -42px;
  left: 0;
  right: 0;
  height: 26px;
  background: linear-gradient(90deg, #fafafa 0%, #ffffff 100%);
  box-shadow: 0px -1px 6px rgba(0, 0, 0, 0.05),
              0px 4px 16px rgba(0, 0, 0, 0.25);
  z-index: -1;
}

/* Books grid */
.books {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* Book styling */
.book {
  aspect-ratio: 115 / 180;
  width: 100%;
  background: var(--bg-image) center/cover no-repeat;
  border-radius: 3px;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25),
              inset 2px 0px 2px 1px rgba(29, 27, 27, 0.2);
  transition: transform 0.4s ease;
  cursor: pointer;
}

.book:hover {
  transform: translateY(-15px) scale(1.05) rotate(1deg);
}

.main-footer {
  background-color: #fedeed;
  padding: 2rem 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

/* Logo on left */
.main-footer .footer-left .logo a {
  font-size: 24px;
  font-weight: 200;
  color: black;
  text-decoration: none;
  font-family: "Luckiest Guy", cursive;
  display: block;
  margin-bottom: 12px;
}

/* Social icons below logo */
.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  color: black;
  font-size: 22px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  color: #121212;
  transform: scale(1.2);
}

/* Navigation on right */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.footer-nav a {
  color: black;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  background-color: #121212;
  color: #fab3db;
}

.lets-talk {
  padding: 4rem 2rem 80px; 
  text-align: center;
}

.lets-talk h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  display: inline-block;
  color: var(--pink-highlight);
}

.lets-talk p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  align-items: flex-start;
}

.contact-grid::before {
  content: '';
  display: block;
  width: 1px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  grid-column: 2 / 3;
  grid-row: 1;
}

.left-column {
  grid-column: 1;
  text-align: right;
}

.left-column .resume-link,
.left-column .hyperlinked-photo-link {
  margin-left: auto;
  margin-right: 0;
}

.right-column {
  grid-column: 3;
  text-align: left;
}

.contact-column {
  padding: 0 20px;
}

.left-column h3, .right-column h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--pink-highlight);
  text-align: left;
}

.left-column h3 {
  text-align: right;
}

.resume-link {
  display: block;
  font-size: 1.1rem;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 25px;
  padding: 10px 15px;
  border: 1px solid var(--pink-highlight);
  border-radius: 8px;
  transition: background-color 0.3s ease;
  width: fit-content; 
}

.resume-link:hover {
  background-color: var(--pink-highlight);
  color: var(--dark-bg);
}

.hyperlinked-photo-link {
  display: block;
  max-width: 200px;
  margin-top: 10px;
}

.contact-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-photo:hover {
  opacity: 1;
  transform: scale(1.02);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: none; 
  margin: 0; 
  padding-bottom: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  width: auto;
  justify-content: flex-start; 
}

.contact-item i {
  font-size: 1.4rem;
  color: var(--pink-highlight);
  min-width: 24px;
}

.contact-item a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
  word-break: break-all;
}

.contact-item a:hover {
  color: var(--pink-highlight);
}

.calendly-inline-widget {
  min-width: 320px;
  height: 700px;
  margin: 0 auto;
}

.contact-form {
  max-width: 600px;
  margin: 40px auto 0 auto; 
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
  background-color: #1a1a1a;
  color: #fff;
}

.contact-form button {
  background-color: #fab3db;
  color: black;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 700;
}

.contact-form button:hover {
  background-color: #f381c4;
}
  
  .calendly-widget-wrapper {
    max-width: 600px; 
    margin: 0 auto;
  }
  
  .calendly-inline-widget {
    min-width: 320px;
    height: 700px; 
  }

/* ====== RESPONSIVE BREAKPOINTS ====== */

@media (max-width: 1378px) {
.container {
  padding: 0 20px;
}

.floating-icon {
  width: 70px;
  height: 70px;
}

.floating-icon:nth-child(1) { top: 10%; left: 5%; }
.floating-icon:nth-child(2) { top: 30%; left: 5%; }
.floating-icon:nth-child(3) { top: 50%; left: 5%; }
.floating-icon:nth-child(4) { top: 70%; left: 5%; }
.floating-icon:nth-child(13) { top: 15%; left: 15%; }
.floating-icon:nth-child(12) { top: 35%; left: 15%; }
.floating-icon:nth-child(7) { top: 55%; left: 15%; }
.floating-icon:nth-child(8) { top: 25%; left: 25%; }
.floating-icon:nth-child(9) { top: 10%; right: 5%;}
.floating-icon:nth-child(10) { top: 30%; right: 5%; }
.floating-icon:nth-child(6) { top: 50%; right: 5%; }
.floating-icon:nth-child(11) { top: 70%; right: 5%; }
.floating-icon:nth-child(5) { top: 15%; right: 15%; }
.floating-icon:nth-child(14) { top: 35%; right: 15%; }
.floating-icon:nth-child(15) { top: 55%; right: 15%; }
.floating-icon:nth-child(16) { top: 25%; right: 25%; }

}
@media (max-width: 1100px) {

.logo a {
  font-size: 24px;
}

.header-actions .btn {
  padding: 8px 16px;
  font-size: 14px;
}

/* Hero Section */
.hero-section {
  padding: 1rem 0;
}

.hero-title {
  font-size: 48px;
  line-height: 1;
}

.hero-profile-image img {
  width: 280px;
}

.hero-subtitle {
  font-size: 18px;
  margin: 30px auto 0;
  padding: 0 10px;
}

.badge-wrap {
  gap: 8px;
  margin: 15px 0;
}

.badge {
  font-size: 12px;
  padding: 5px 12px;
}

/* About Section */
.about-section {
  padding: 2rem 1rem;
}

.about-card-v3 {
  flex-direction: column;
  text-align: center;
  gap: 2rem;
}

.about-paragraph {
  margin-left: 0px;
  padding: 0px 20px;
  font-size: 1rem;
}

.about-image {
  order: -1;
  width: 30%;
}

/* Services Section */
.services-section {
  flex-direction: column;
  padding: 40px 100px;
  gap: 20px;
}

.service-column {
  padding: 25px;
}

.service-heading {
  font-size: 20px;
}

/* Timeline Section */
.about-timeline-section {
  padding: 60px 60px;
}

.timeline-card {
  padding-left: 25px;
}

.timeline-point .dot {
  left: -32px;
}

.timeline-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.timeline-meta {
  white-space: normal;
}

/* Certificates Section */
.certificates-section {
  padding: 40px 100px;
}

.certificates-section h2 {
  font-size: 2rem;
}

.certificates-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

/* Projects Section */
.projects-section {
  padding: 40px 40px;
}

.projects-title {
  font-size: 2rem;
}

.workex-title {
  font-size: 2rem;
  margin-bottom: -0.3rem;
}

.projects-grid {
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.project-column {
  max-width: 100%;
  width: 100%;
}

.project-column.right {
  margin-top: 0;
}

/* Books Section */
.bookshelf-section {
  padding: 3rem 1rem 6rem;
}

.bookshelf-title {
  font-size: 2rem;
}

.books {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1.5rem;
}

/* Contact Section */
.lets-talk {
  padding: 3rem 1rem 60px;
}

.lets-talk h2 {
  font-size: 2rem;
}

.lets-talk p {
  font-size: 1.1rem;
}

.contact-list {
  max-width: 100%;
  align-items: center;
}

.contact-item {
  font-size: 1rem;
  width: auto;
}

 /* Footer */
 .main-footer .container {
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.footer-nav {
  justify-content: center;
  max-width: 400px;
}

.footer-nav a {
  flex: 0 0 calc(50% - 10px);
  text-align: center;
}

.footer-socials {
  justify-content: center;
}
}

@media (max-width: 1071px) {
  .calendly-inline-widget {
    min-width:320px;
    height:1100px;
  }
}

@media (max-width: 992px) {/* Header */

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 40px; /* keep spacing comfortable */
    align-items: center;
  }

  .contact-grid::before {
    display: none;
  }

  .left-column, .right-column {
    text-align: center;
    width: 100%;
  }

  /* Ensure resume stays on top */
  .left-column {
    order: 1;
  }

  .right-column {
    order: 2;
  }

  .right-column h3 {
    text-align: center;
  }

  /* Center the download button and image nicely */
  .left-column .resume-link,
  .left-column .hyperlinked-photo-link {
    margin: 0 auto;
  }

.mobile-toggle {
  display: block;
}

.main-nav ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fab3db;
  flex-direction: column;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-nav ul.active {
  display: flex;
}

.main-nav ul li {
  margin: 10px 0;
  margin-left: 0;
}

.main-nav ul li a {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
} 
}

/* Large phones (480px and below) */
@media (max-width: 770px) {
.container {
  padding: 0 15px;
}

/* Header */
.logo a {
  font-size: 20px;
}

.header-actions {
  gap: 10px;
}

.header-actions .btn {
  padding: 6px 12px;
  font-size: 12px;
}

/* Hero Section */
.hero-title {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero-profile-image img {
  width: 240px;
}

.hero-subtitle {
  font-size: 16px;
  margin: 20px auto 0;
}

.badge {
  font-size: 11px;
  padding: 4px 10px;
}

.about-image img {
  width: 100%;
}

/* Services Section */
.services-section {
  padding: 30px 15px;
}

.service-column {
  padding: 20px;
}

.service-heading {
  font-size: 18px;
  padding: 5px 15px;
}

/* Timeline */
.about-timeline-section {
  padding: 40px 15px;
}

.timeline-card {
  padding-left: 20px;
}

.timeline-point .dot {
  left: -27px;
}

.timeline-point .content {
  padding: 15px 20px;
}

 /* Certificates */
.certificates-section {
  padding: 30px 15px;
}

.certificates-grid {
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}

.certificate-card img {
  height: 140px;
}

.certificate-info {
  padding: 10px;
}

.certificate-info h3 {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.certificate-info p {
  font-size: 0.75rem;
}

/* Projects */

.project-column {
  padding-left: 0rem;
  padding-right: 0rem;
}

.project-content h3 {
  font-size: 1.1rem;
}

.project-content p {
  font-size: 0.9rem;
}

.projecttag {
  font-size: 0.75rem;
  padding: 5px 12px;
}

/* Books */
.books {
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 1rem;
}

/* Contact */
.contact-item {
  font-size: 0.95rem;
  width: auto;
}
  
.contact-item i {
  font-size: 1.2rem;
}

/* Hide floating icons on very small screens */
.floating-icon {
  display: none;
}

.calendly-inline-widget {
  margin-top: 2rem;
  min-width:320px;
  height:1000px;
}
}

/* Extra small phones (360px and below) */
@media (max-width: 360px) {
/* Hero */
.hero-title {
  font-size: 32px;
}

.hero-profile-image img {
  width: 200px;
}

.projects-section {
  padding: 0px 0px;
}

/* Section headings */
.certificates-section h2,
.projects-title,
.bookshelf-title,
.lets-talk h2 {
  font-size: 1.8rem;
}

/* Timeline */
.timeline-point .content {
  padding: 12px 15px;
}

.content h3 {
  font-size: 16px;
}

.content p {
  font-size: 14px;
}

 /* Footer */
 .footer-nav {
  gap: 10px;
}

.footer-nav a {
  padding: 4px 8px;
  font-size: 14px;
}
}

/* Utility classes for responsive text */
.text-responsive {
font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.heading-responsive {
font-size: clamp(1.5rem, 5vw, 2.5rem);
}

/* Ensure images are always responsive */
img {
max-width: 100%;
height: auto;
}

/* Responsive grid utility */
.responsive-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
}

@media (max-width: 480px) {
.responsive-grid {
  grid-template-columns: 1fr;
}
}