*{
box-sizing:border-box;
}
html, body {
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #ffffff;
}
html {
  scroll-behavior: smooth;
}

/* HEADER */
header {
  background: #e7c209;
  color: #222;
  text-align: center;
  padding: 40px 20px;
}

/* SECTIONS */
section {
  position: relative;
  padding: 100px 10% 0;
  margin: 0;
  max-width: 100%;
  background: #f5f5f5;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  flex: 1;
  min-height: calc(100vh - 165px);
}
.center-sec{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;   
  align-items: center;         
  text-align: center;
  padding-top: 80px;      
}
.center-sec ul{
  text-align: left;
}
h1 {
  margin: 0;
}
h2 {
  color: #e7c209;
}
ul {
  padding-left: 20px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #e7c209;
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  color: #e7c209;
}

/* PROJECT CARDS */
.project-card {
  background: white;
  padding: 30px;
  margin: 20px 0;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.project-card:hover {
  transform: translateY(-5px);
}

/* HOME SECTION */
.home {
  margin: 0;
  max-width: 100%;
  border-radius: 0;
  box-shadow: none;
  min-height: 60vh;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 120px;
  padding-right: 40px;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 30px;
  background: linear-gradient(to right, #b3daee 30%, #eac4c7 30%);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar a {
  text-decoration: none;
  margin: 0 10px;
  color: #333;
  font-weight: 600;
  position: relative;
  transition: 0.3s;
}
.navbar a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #f1d324;
  transition: 0.3s;
}
.navbar a:hover::after {
  width: 100%;
}
.navbar a.active {
  color: #e7c209;
}
.navbar a.active::after {
  width: 100%;
}
.resume-btn {
  background: #e7c209;
  padding: 10px 20px;
  border-radius: 25px;
}

/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 5%;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.hero-text {
  flex: 1;
  max-width: 500px;
}
.hero-text h1 {
  margin: 5px 0;
}
.highlight {
  color: #e7c209;
}
.cta-btn {
  display: inline-block;
  margin-top: 20px;
  background: #e7c209;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  color: #222;
}

/* HERO IMAGE DESIGN */
.hero-image {
  position: relative;
  width: 450px;
  height: 450px;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-image img{
  position:absolute;
  width:500px;        
  bottom:0;
  right:80px;       
  z-index:2;
  filter:grayscale(100%);
}

/* PROJECT CARDS */
.project-container {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.project-card {
  flex: 1;
  min-width: 250px;
  background: #ffffff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.4s ease;
}
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: #e7c209;
  font-weight: bold;
  margin: 0;
}

/* HERO TEXT */
.small{
font-size:40px;
color:#666;
margin:0;
}
.sub{
margin:5px 0;
font-weight:600;
}
.role{
color:#555;
margin-top:10px;
}

/* SOCIAL ICONS */
.social-icons{
margin-top:30px;
}
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: #2f2f2f;
    border-radius: 50%;
    margin-right: 20px;
    text-decoration: none;
    transition: 0.3s;
}
.social-icons i {
    color: white;
    font-size: 35px;
}
.social-icons a:hover{
background:#e7c209;
transform:translateY(-5px);
}


/* PORTFOLIO DESIGN EFFECTS */
.big-circle{
position:absolute;
width:460px;
height:460px;
background:#e7c209;
border-radius:50%;
right:80px;  
top:40px;
z-index:0;
}
.half-circle{
  position:absolute;
  width:250px;   
  height:110px;   
  background:#e7c209;
  border-top-left-radius:110px;
  border-top-right-radius:110px;
  left:200px;   
  bottom:0px;    
}
.dots{
  position: absolute;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(#333 2px, transparent 2px);
  background-size: 12px 12px;
  top: 30px;     
  right: 70px;    
  z-index: 1;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: #e7c209;
  border-radius: 30px;
  color: black;
  font-weight: 600;
  margin: 20px 0;
}
.typing-text::after {
  content: "|";
  margin-left: 5px;
  animation: blink 1s infinite;
}
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}
.home-name {
  font-size: 42px;
  font-weight: 700;
}
.home-name span {
  color: #e7c209;
}

/* ===== BASE CIRCLE ===== */
.circle{
  position:absolute;
  border-radius:50%;
  z-index:2;
}
/* ===== SIZES ===== */
.circle-lg{
  width:80px;
  height:80px;
}
.circle-md{
  width:50px;
  height:50px;
}
.circle-sm{
  width:20px;
  height:20px;
}
/* ===== COLORS ===== */
.pink{
  background:#ec979e;
}
.blue{
  background:#84c6e9;
}
.yellow{
  background:#f1d324;
}
/* ===== POSITIONS ===== */
/* Large Pink */
.c1{
  bottom:0px;         
  right:10px;
}
/* Medium Blue */  
.c2{
  bottom:150px;
  left:-320px;
}
/* big Yellow */
.c3{
  top:-20px;
  left:-550px;
}
/* Small Pink */
.c4{
  top:80px;
  left:-350px;
}
/* medium yellow */
.c5{
  bottom:130px;
  right:560px;
}
/* Small Blue */
.c6{
  bottom:190px;
  right:555px;
}
/* Small pink */
.c7{
  top:0px;
  right:230px;
}
/* small Blue */  
.c8{
  bottom:20px;
  left:-500px;
}

/* SECTION FULL DECORATION CIRCLES */
.section-decor{
  position: relative;
  overflow: hidden;
}
/* Base style */
.section-decor .sec-circle{
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.9;
}

/* BOTTOM RIGHT CIRCLES */
/* Very Large Yellow */
.br-yellow-xl{
  width:260px;
  height:260px;
  background:#f1d324;
  bottom:-40px;
  right:-20px;
}
/* Large Pink */
.br-pink-lg{
  width:200px;
  height:200px;
  background:#ec979e;
  bottom:-120px;
  right:280px;
}
/* Medium Sky Blue */
.br-blue-md{
  width:140px;
  height:140px;
  background:#84c6e9;
  bottom:0px;
  right:200px;
}
/* Small Pink */
.br-pink-sm{
  width:60px;
  height:60px;
  background:#ec979e;
  bottom:230px;
  right:20px;
}
/* Small yellow */
.br-blue-sm{
  width:20px;
  height:20px;
  background:#f1d324;
  bottom:95px;
  right:350px;
}

/* TOP LEFT CIRCLES */
/* Large Sky Blue */
.tl-blue-lg{
  width:200px;
  height:200px;
  background:#84c6e9;
  top:-50px;
  left:-50px;
}
/* Medium Pink */
.tl-pink-md{
  width:120px;
  height:120px;
  background:#ec979e;
  top:-40px;
  left:130px;
}
/* Small Yellow */
.tl-yellow-sm{
  width:70px;
  height:70px;
  background:#f1d324;
  top:170px;
  left:10px;
}
/* Small Pink */
.tl-pink-sm{
  width:20px;
  height:20px;
  background:#ec979e;
  top:160px;
  left:80px;
}


/* =====================================================
   MOBILE RESPONSIVE DESIGN 
   ===================================================== */

@media (max-width: 768px) {

  /* -------------------------------------------------
     1. NAVBAR: Seamless Blue & Pink Sections
     ------------------------------------------------- */
  .navbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0px 0px 8px;
    margin: 0;
    background: #eac4c7;   /* Continuous pink background */
    border: none;
    box-shadow: none;
    line-height: 0;        /* Prevents subpixel white lines */
    gap: 15px;
    text-align: center;
  }

  /* Remove spacing between navbar sections */
  .navbar > div {
    margin: 0;
    padding: 0;
    border: none;
    line-height: normal;
  }

  .nav-left {
    background: #b3daee;
    width: 100%;
    text-align: center;
    padding: 20px 20px;  /* Top/Bottom: 20px, Left/Right: 20px */
  }

  .nav-left h2 {
    margin: 0;
    font-size: 24px;
    color: #e7c209;
    line-height: 2;
  }

  /* Pink navigation links section */
  .nav-center {
    width: 100%;
    background: transparent;   /* Inherits pink from navbar */
    display: flex;
    flex-wrap: nowrap;         /* Keep all items on one line */
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0px 0px 5px;    /* Reduced height */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide scrollbar for cleaner appearance */
  .nav-center::-webkit-scrollbar {
    display: none;
  }
   /* Navigation links */
  .nav-center a {
    margin: 0;
    padding: 6px 8px 0px;
    font-size: 15px;
    white-space: nowrap;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
  }

/* Underline pseudo-element */
.nav-center a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #e7c209; /* Underline color */
  transition: width 0.3s ease;
}

/* Show underline on hover (desktop), focus and active (touch) */
.nav-center a:hover::after,
.nav-center a:focus::after,
.nav-center a:active::after,
.nav-center a.active::after {
  width: 100%;
}

  /* Resume button styling */
  .resume-btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 15px;
    margin: 0;
    border: none;
    border-radius: 30px;
    white-space: nowrap;
  }

  /* -------------------------------------------------
     2. ENABLE FULL PAGE SCROLLING
     ------------------------------------------------- */
  html, body {
    height: auto;
    overflow-x: hidden;
  }

  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  section {
    flex: 1;
    min-height: auto;
    padding: 60px 20px 40px;
    position: relative;
    overflow: hidden;
  }

  footer {
    margin-top: auto;
    position: relative;
    z-index: 2;
  }

  /* -------------------------------------------------
     3. HERO SECTION & PROFILE IMAGE
     ------------------------------------------------- */
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px 30px;
    position: relative;
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
    height: auto;
  }

  .hero-image {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .hero-image img {
    position: relative;
    width: 80%;
    max-width: 280px;
    right: auto;
    bottom: auto;
    z-index: 2;
  }

  /* -------------------------------------------------
     4. HOME SECTION DECORATIVE CIRCLES
     ------------------------------------------------- */
  .big-circle {
    width: 230px;
    height: 230px;
    top: -10px;
    right: 50%;
    transform: translateX(50%);
    opacity: 0.6;
    z-index: 0;
  }

  .half-circle {
    width: 130px;
    height: 65px;
    bottom: -20;
    left: 15%;
    transform: translateX(-50%);
    opacity: 0.6;
    z-index: 0;
  }

  .dots {
    width: 83px;
    height: 83px;
    top: -8px;
    right: 15px;
    opacity: 0.8;
    z-index: 0;
  }

  .circle {
    transform: scale(1);
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
  }

  /* Top decorative circles */
  .c3 { top: -380px; left: -15px; }
  .c6 { top: -170px; right: 60px; }
  .c4 { top: -290px; left: 0px; }
  .c2 { top: -380px; left: 50px; }

  /* Bottom decorative circles */
  .c1 { bottom: 20px; right: -10px; }
  .c5 { bottom: 100px; left: 10px; }
  .c7 { top: -40px; right: 0px; }
  .c8 { bottom: 160px; left: 65px; }

  .big-circle,
  .half-circle,
  .dots,
  .sec-circle {
    pointer-events: none;
    z-index: 0;
  }

  .hero-text,
  .project-card,
  .social-icons,
  footer {
    position: relative;
    z-index: 2;
  }

  /* -------------------------------------------------
     5. PROJECTS SECTION: STACKED CARDS
     ------------------------------------------------- */
  .project-container {
    flex-direction: column;
    gap: 20px;
  }

  .project-card {
    width: 100%;
    margin: 0;
    padding: 20px;
  }

  #projects h2 {
    text-align: center;
  }

  /* -------------------------------------------------
     6. DECORATIVE CIRCLES FOR OTHER SECTIONS
     ------------------------------------------------- */
  .section-decor .sec-circle {
    transform: scale(0.45);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
  }

  /* Bottom-right cluster */
  .br-yellow-xl { bottom: -85px; right: -85px; }
  .br-pink-lg   { bottom: -80px; right: 40px; }
  .br-blue-md   { bottom: 55px;  right: -40px; }
  .br-blue-sm   { bottom: 170px; right: 10px; }
  .br-pink-sm   { bottom: 60px; right: 90px; }

  /* Top-left cluster */
  .tl-blue-lg   { top: -50px; left: -50px; }
  .tl-pink-md   { top: -25px; left: 50px; }
  .tl-yellow-sm { top: 80px; left: -10px; }
  .tl-pink-sm   { top: 100px; left: 50px; }

  /* -------------------------------------------------
     7. SOCIAL ICONS & TYPOGRAPHY ADJUSTMENTS
     ------------------------------------------------- */
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
  }

  .social-icons a {
    width: 50px;
    height: 50px;
  }

  .social-icons i {
    font-size: 24px;
  }

  h2 {
    font-size: 26px;
    text-align: center;
  }

  p, li {
    font-size: 15px;
    line-height: 1.6;
  }
}