        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: #f4f3ef;
            font-family: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
            color: #111;
            overflow-x: hidden;
            line-height: 1.5;
        }

        /* --- Scroll Reveal Animation Classes --- */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: opacity, transform;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Staggered Delays for Grid Elements */
        .projects-grid .project-card:nth-child(2) { transition-delay: 0.15s; }
        .projects-grid .project-card:nth-child(4) { transition-delay: 0.15s; }
        .services-list .service-item:nth-child(1) { transition-delay: 0.1s; }
        .services-list .service-item:nth-child(2) { transition-delay: 0.25s; }
        .services-list .service-item:nth-child(3) { transition-delay: 0.4s; }
        .services-list .service-item:nth-child(4) { transition-delay: 0.55s; }

      /* Top Sticky Navbar Container */
.navbar-container {
    position: fixed;
    top: 24px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

/* The Dynamic Island Starting State */
.navbar {
    background-color: #1a1a1a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.3, 1.05);
    overflow: hidden;
    cursor: pointer;
    min-width: 100px;
    gap: 0px; 
}

/* The Dynamic Island Expanded State */
.navbar:hover {
    padding: 12px 32px;
    gap: 30px; 
}

.navbar .name {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: white;
    white-space: nowrap;
    z-index: 2;
}

/* Hidden Links Starting State */
.nav-links {
    display: flex;
    gap: 20px;
    opacity: 0;
    max-width: 0;
    visibility: hidden;
    transform: translateX(-15px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
    white-space: nowrap;
}

/* Revealed Links on Hover */
.navbar:hover .nav-links {
    opacity: 1;
    max-width: 400px; 
    visibility: visible;
    transform: translateX(0) scale(1);
    transition-delay: 0.05s; 
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}
        /* General Section Styling */
        section {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 100px 20px;
            position: relative;
        }

        .section-title {
            font-size: 5vw;
            font-weight: 800;
            letter-spacing: -0.03em;
            text-transform: uppercase;
            margin-bottom: 60px;
            text-align: center;
        }

        /* Hero Section */
        .hero {
            text-align: center;
        }

        .hero .title {
            font-size: 11vw;
            font-weight: 900;
            line-height: 0.85;
            letter-spacing: -0.04em;
            text-transform: uppercase;
            margin-bottom: 50px;
            margin-top: 60px;
        }

        .profile-pic {
            width: 240px;
            height: 280px;
            border-radius: 12px;
            object-fit: cover;
            filter: grayscale(100%) contrast(1.3) brightness(0.8);
            background-color: #000;
        }

        .bottom-left {
            position: absolute;
            bottom: 30px;
            left: 40px;
            font-size: 3.5rem;
            font-weight: 500;
            letter-spacing: -0.03em;
        }

        /* Sticky About Section for Text Glow Effect */
        #about {
            height: 350vh; 
            padding: 0; 
            display: block; 
        }

        .about-sticky-container {
            position: sticky;
            top: 0;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
            overflow: hidden;
        }

        .about-content {
            max-width: 900px;
            text-align: center;
            font-size: 3rem;
            font-weight: 500;
            line-height: 1.3;
            letter-spacing: -0.02em;
        }

        .about-content span {
            color: rgba(17, 17, 17, 0.15); 
            transition: color 0.4s ease, text-shadow 0.4s ease;
            display: inline;
        }

        .about-content span.glow {
            color: #111; 
            text-shadow: 0 0 24px rgba(17, 17, 17, 0.35); 
        }

        /* Services Section */
        #services {
            padding-top: 140px;
            align-items: center; 
        }

        .services-container {
            width: 100%;
            max-width: 1000px;
            display: flex;
            flex-direction: column;
        }

        .services-header {
            font-size: 4rem;
            font-weight: 700;
            line-height: 1.05;
            letter-spacing: -0.04em;
            margin-bottom: 60px;
            text-align: left;
        }

        .services-list {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        .service-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 40px 0;
            border-top: 1px solid rgba(17, 17, 17, 0.1);
        }
        
        .service-item:last-child {
            border-bottom: 1px solid rgba(17, 17, 17, 0.1);
        }

        .service-name {
            font-size: 1.6rem;
            font-weight: 500;
            letter-spacing: -0.02em;
            color: #111;
        }

        .service-tags {
            font-size: 0.9rem;
            color: #666;
            font-weight: 400;
        }

        /* Featured Projects Section */
        #projects {
            padding-top: 140px; 
        }

        .projects-header-container {
            width: 100%;
            max-width: 1200px;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 40px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .projects-title-left {
            font-size: 4rem;
            font-weight: 700;
            line-height: 1.05;
            letter-spacing: -0.04em;
            margin: 0;
            text-align: left;
        }

        .view-all-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #111;
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: opacity 0.3s ease;
        }

        .view-all-btn:hover {
            opacity: 0.6;
        }

        .view-all-icon {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 24px;
            height: 24px;
            border: 1px solid #111;
            border-radius: 6px;
            font-size: 0.8rem;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
            gap: 40px;
            width: 100%;
            max-width: 1200px;
        }

        .project-card {
            display: flex;
            flex-direction: column;
            gap: 16px;
            cursor: pointer;
        }

        .project-image {
            width: 100%;
            aspect-ratio: 4 / 3;
            background-color: #ddd;
            border-radius: 24px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .project-card:hover .project-image {
            transform: scale(1.02);
        }

        .project-info {
            padding-left: 4px;
        }

        .project-info h3 {
            font-size: 1.6rem;
            font-weight: 500;
            letter-spacing: -0.02em;
            margin-bottom: 2px;
        }

        .project-info p {
            color: #555;
            font-size: 0.9rem;
            font-weight: 400;
        }

        /* Contact & Newsletter Section */
        #contact {
            background-color: #f4f3ef;
            padding: 120px 20px;
            min-height: auto;
        }

        .contact-container {
            max-width: 600px;
            width: 100%;
            margin: 0 auto 80px;
        }

        .form-group {
            position: relative;
            margin-bottom: 24px;
        }

        .form-control {
            width: 100%;
            padding: 18px 20px;
            font-size: 1rem;
            font-family: inherit;
            border: 1px solid #ddd;
            border-radius: 12px;
            background-color: #fff;
            color: #111;
            transition: all 0.3s ease;
            outline: none;
        }

        .form-control:focus {
            border-color: #111;
            box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.1);
        }

        textarea.form-control {
            resize: none; 
            min-height: 220px;
            padding: 18px 20px;
        }

        .submit-btn {
            width: 100%;
            padding: 18px;
            background-color: #111;
            color: #fff;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }

        .submit-btn:hover {
            background-color: #333;
        }

        .submit-btn:active {
            transform: scale(0.98);
        }

        .newsletter-container {
            max-width: 500px;
            width: 100%;
            text-align: center;
            margin: 0 auto;
            padding-top: 40px;
            border-top: 1px solid rgba(0,0,0,0.1);
        }

        .newsletter-container h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            letter-spacing: -0.02em;
        }

        .newsletter-form {
            display: flex;
            background: #fff;
            border-radius: 40px;
            padding: 6px;
            border: 1px solid #ddd;
            transition: all 0.3s ease;
        }

        .newsletter-form:focus-within {
            border-color: #111;
            box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.1);
        }

        .newsletter-form input {
            flex: 1;
            border: none;
            background: transparent;
            padding: 12px 20px;
            font-size: 1rem;
            outline: none;
            font-family: inherit;
        }

        .newsletter-form button {
            background-color: #ffffff;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .newsletter-form button:hover {
            background-color: #ffffff;
        }

        /* Footer Section */
        .site-footer {
            background-color: #0a0a0a;
            color: #fff;
            padding: 80px 40px 0;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .footer-top {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr;
            gap: 40px;
            max-width: 1400px;
            width: 100%;
            margin: 0 auto 80px;
            z-index: 2;
        }

        .footer-headline {
            font-size: 4rem;
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: -0.03em;
        }

        .footer-col-title {
            color: #888;
            font-size: 0.9rem;
            margin-bottom: 20px;
            display: block;
        }

        .pill-links {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .pill-links a {
            background-color: #fff;
            color: #111;
            text-decoration: none;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            transition: opacity 0.3s ease;
        }

        .pill-links a:hover {
            opacity: 0.8;
        }

        .footer-email {
            color: #fff;
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: 500;
            transition: opacity 0.3s ease;
        }

        .footer-email:hover {
            opacity: 0.7;
        }

        .footer-bottom {
            position: relative;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: flex-end;
        }

        .giant-text {
            font-size: 26vw;
            font-weight: 900;
            color: #161616;
            line-height: 0.75;
            letter-spacing: -0.05em;
            text-align: center;
            width: 1939px;
            white-space: nowrap;
            user-select: none;
            margin: 12px;
            top: 40px;

        }

        .footer-badges {
            position: absolute;
            bottom: 24px;
            right: 0;
            display: flex;
            flex-direction: column;
            gap: 8px;
            align-items: stretch;
            z-index: 10;
        }

        .btn {
            padding: 10px 20px;
            border-radius: 20px;
            border: none;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            font-family: inherit;
        }

        .btn-dark {
            background-color: #1a1a1a;
            color: white;
            text-align: right;
            padding-right: 16px;
            border: 1px solid #333;
        }

        .btn-light {
            background-color: #fff;
            color: #111;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .btn-light svg {
            width: 12px;
            height: 12px;
        }


/* ---Scroll Track & Intro Section Styles --- */

.scroll-track {
    position: relative;
    width: 100%;
}

.sticky-frame {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    pointer-events: none; 
}

#spinning-profile {
    width: 210px; 
    height: 210px;
    border-radius: 24px;
    object-fit: cover;
    pointer-events: auto;
    will-change: transform;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: perspective(1000px) translateY(35vh) rotateY(0deg) scale(1);
}

.track-content {
    position: relative;
    z-index: 10;
    margin-top: -100vh; 
    pointer-events: none; 
}

.track-content section {
    pointer-events: auto; 
}

#home.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0vh; 
}

#home.hero .title {
    font-size: 13.5vw; 
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    margin: 0;
}
/* Intro Section  */
#intro {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    padding: 0; 
}

.intro-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 360px 1fr; 
    gap: 40px;
    align-items: center; 
    padding: 0 24px;
}

.intro-img-spacer {
    width: 100%;
    height: 360px; 
}

.intro-hey {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: #111;
}

.intro-bio {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    line-height: 1.5;
}

.right-col p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
}

.intro-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #111;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 8px;
    transition: opacity 0.3s;
}

.intro-btn:hover {
    opacity: 0.6;
}


/* --- Subscribe Button --- */
.btn1 a {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  border: 2px solid #000000;
  text-transform: uppercase;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
}

.btn1 a::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% - 12px);
  background-color: #ffffff;
  transition: 0.3s ease-in-out;
  transform: scaleY(1);
}

.btn1 a:hover::before {
  transform: scaleY(0);
}

.btn1 a::after {
  content: '';
  position: absolute;
  left: 6px;
  top: -2px;
  height: calc(100% + 4px);
  width: calc(100% - 12px);
  background-color: #ffffff;
  transition: 0.3s ease-in-out;
  transform: scaleX(1);
  transition-delay: 0.5s;
}

.btn1 a:hover::after {
  transform: scaleX(0);
}

.btn1 a span {
  position: relative;
  z-index: 3;
}

.btn1{
  background-color: none;
  text-decoration: none;
  background-color: #ffffff;
  border: none;
}
/* Subscribe Button END */


/* --- Download CV Button --- */
.download-button1 {
  position: relative;
  border-width: 0;
  color: rgb(255, 255, 255);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  z-index: 1;
}

.download-button1 .docs1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 4px;
  z-index: 1;
  background-color: #030303;
  border: solid 1px #e8e8e82d;
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.download-button1:hover {
  box-shadow:
    rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px,
    rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.download1 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  margin: 0 auto;
  z-index: -1;
  border-radius: 4px;
  transform: translateY(0%);
  background-color: #4d4d4d;
  border: solid 1px #ffee012d;
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.download-button1:hover .download1 {
  transform: translateY(100%);
}

.download1 svg polyline,
.download1 svg line {
  animation: docs 1s infinite;
}

@keyframes docs {
  0% {
    transform: translateY(0%);
  }

  50% {
    transform: translateY(-15%);
  }

  100% {
    transform: translateY(0%);
  }
}

/* end */


/* --- Facebook Button --- */
.facebook_Btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition-duration: .3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
  background-color: #0163E0;
  right: -120px;
  top: -42px;
}

/* plus sign */
.facebook_sign {
  width: 100%;
  transition-duration: .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facebook_sign facebook_svg {
  width: 30px;
}

.facebook_sign facebook_svg facebook_path {
  fill: white;
}
/* text */
.facebook_text {
  position: absolute;
  right: 0%;
  width: 0%;
  opacity: 0;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  transition-duration: .3s;
}
/* hover effect on button width */
.facebook_Btn:hover {
  width: 150px;
  border-radius: 40px;
  transition-duration: .3s;
}

.facebook_Btn:hover .facebook_sign {
  width: 30%;
  transition-duration: .3s;
  padding-left: 10px;
}
/* hover effect button's text */
.facebook_Btn:hover .facebook_text {
  opacity: 1;
  width: 70%;
  transition-duration: .3s;
  padding-right: 10px;
}
/* button click effect*/
.facebook_Btn:active {
  transform: translate(2px ,2px);
}
/* --- Facebook Button END --- */

/* --- Base Social --- */
.social_Btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition-duration: .3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
}

/* Individual Brand Colors */
.social_Btn.facebook  { background-color: #0163E0; }
.social_Btn.twitter   { background-color: #000000; }
.social_Btn.github    { background-color: #24292e; }
.social_Btn.linkedin  { background-color: #0A66C2; }
.social_Btn.instagram { background-color: #E1306C; }

/* SVG & Icon Positioning */
.social_sign {
  width: 100%;
  transition-duration: .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social_sign .social_svg {
  width: 22px; 
}

.social_sign .social_svg .social_path {
  fill: white;
}

/* Hidden Text */
.social_text {
  position: absolute;
  right: 0%;
  width: 0%;
  opacity: 0;
  color: white;
  font-size: 1.1em;
  font-weight: 600;
  transition-duration: .3s;
  text-align: left;
}

/* Hover Effect: Expands width and changes radius */
.social_Btn:hover {
  width: 150px;
  border-radius: 40px;
  transition-duration: .3s;
}

/* Hover Effect: Shifts icon to the left */
.social_Btn:hover .social_sign {
  width: 30%;
  transition-duration: .3s;
  padding-left: 10px;
}

/* Hover Effect: Reveals text */
.social_Btn:hover .social_text {
  opacity: 1;
  width: 70%;
  transition-duration: .3s;
  padding-right: 10px;
}

/* Click Effect */
.social_Btn:active {
  transform: translate(2px, 2px);
}
/* --- Social Button END --- */




/* --- Form Submit Animations --- */
.submit-btn {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Loading State */
.btn-loading {
    background-color: #444 !important;
    color: transparent !important; 
    pointer-events: none; 
}

/* The Spinner */
.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0; left: 0; bottom: 0; right: 0;
    margin: auto;
    border: 3px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: button-loading-spinner 0.8s ease infinite;
}

@keyframes button-loading-spinner {
    from { transform: rotate(0turn); }
    to { transform: rotate(1turn); }
}

/* Success State */
.btn-success {
    background-color: #10B981 !important; 
    color: #fff !important;
    pointer-events: none;
    transform: scale(1.02);  
}


/* --- NEW: Newsletter Subscribe Animations --- */
.newsletter-form {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Hides the form smoothly */
.newsletter-form.hidden {
    display: none;
}

/* The Success Message Container */
.subscribe-success-msg {
    display: none; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #10B981; 
    color: white;
    padding: 24px 32px;
    border-radius: 40px;
    margin-top: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
}

/* The Reveal Animation */
.subscribe-success-msg.show-success {
    display: flex;
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Bouncing Icon */
.subscribe-success-msg .success-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    animation: bounceIcon 2s infinite;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIcon {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}