* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Urbanist', sans-serif;
  background-color: #fff;
  color: #000;
  overflow-x: hidden;
}

/* ------------------ NAVBAR ------------------ */


.navbar-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 10px 20px; /* Top 40px, Left/Right 10px, Bottom 20px */
  z-index: 100000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #171717;
  border-radius: 999px;
  padding: 10px 10px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  width: 100%;
  height: 60px;
  position: relative;
}

.nav-left,
.nav-right {
  display: flex;
  list-style: none;
  gap: 25px;
}

.navbar a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 30px;
  transition: background-color 0.3s ease;
  font-size: 20px;
}

.navbar a:hover {
  background-color: #FD853A;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  color: #fff;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 100001;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
  transition: 0.3s;
}

/* ------------------ HERO SECTION ------------------ */
.hero {
  text-align: center;
  margin-top: 3px;
}

.hello-badge {
  display: inline-block;
  color: #000;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 20px;
  margin-bottom: 14px;
  border: 2px solid black;
}

.hero h1 {
  font-size: 65px;
  font-weight: 800;
}

.hero h2 {
  font-size: 40px;
  font-weight: 600;
  margin-top: 1px;
}

.highlight-orange {
  color: #f47b31;
}

.heros {
  padding: 0 40px;
  display: flex;
  justify-content: center;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1200px;
  gap: 60px;
}

/* LEFT */
.left-text {
  flex: 1;
  max-width: 300px;
  margin-top: 100px;
}

.quote-mark {
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

.desc {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 500;
}

/* CENTER IMAGE */
.center-image {
  flex: 1;
  max-width: 360px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 420px;
  margin-top: 70px;
}

.circle-bg {
  position: absolute;
  bottom: 0;
  width: 650px;
  height: 325px;
  background-color: #FEB273;
  border-top-left-radius: 325px;
  border-top-right-radius: 325px;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
}

.character-img {
  position: relative;
  width: 340px;
  height: 480px;
  z-index: 2;
}

/* Buttons */
.button-wrap {
  position: absolute;
  bottom: 20px;
  display: flex;
  gap: 10px;
  z-index: 3;
  border: 2px solid #b1a6a6;
  border-radius: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(201, 201, 201, 0) 1%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 5px;
}

.portfolio-btn,
.hire-btn {
  padding: 10px;
  font-size: 18px;
  text-decoration: none;
  font-weight: 300;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: #fff;
  border: none;
}

.portfolio-btn:hover,
.hire-btn:hover {
  background-color: #f47b31;
  border-radius: 30px;
  transition: all 0.4s ease;
}

/* RIGHT */
.certification {
  flex: 1;
  max-width: 300px;
  text-align: right;
  margin-top: 100px;
}

.stars {
  color: #f47b31;
  font-size: 35px;
  margin-bottom: 6px;
}

.certification h2 {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 6px;
}

.certification span {
  font-weight: 400;
}

.certification p {
  font-size: 18px;
  font-weight: 500;
}


/* ------------------ RESPONSIVE ------------------ */
@media screen and (max-width: 1100px) {
  .hero-content {
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
  }

  .left-text,
  .certification {
    display: none;
  }

  .center-image {
    justify-content: center;
    align-items: flex-end;
  }

  .circle-bg {
    width: 450px;
    height: 225px;
    border-top-left-radius: 225px;
    border-top-right-radius: 225px;
  }

  .character-img {
    width: 260px;
    height: auto;
  }

  .button-wrap {
    bottom: -20px;
  }
}

@media screen and (max-width: 980px)  {
  .navbar-wrapper {
    justify-content: space-between;
    padding: 20px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 15px 20px;
    position: relative;
    border-radius: 20px;
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 15px;
  }

  .nav-left,
  .nav-right {
    display: none;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    background-color: #171717;
    padding: 20px 0;
    text-align: center;
  }

  .navbar.open .nav-left,
  .navbar.open .nav-right {
    display: flex;
  }

  .logo {
    margin: 0 auto;
    padding-top: 10px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .heros {
    padding: 0 20px;
  }

  .button-wrap {
    flex-direction: row;
    align-items: center;
  }
  .center-image{
    margin-top: 20px;
  }

  .portfolio-btn,
  .hire-btn {
    width: 80px;
    text-align: left;
    font-size: 14px;
  }
}

/* ------------------ SLANTED SCROLLER ------------------ */
.slanted-banner,
.slanted-banner2 {
  background-color: #FB6514;
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 12px 0;
  display: flex;
  justify-content: center;
}

.slanted-inner {
  background-color: white;
  padding: 8px 15px;
  max-width: 1200px;
  width: 100%;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100vw;
}

.scrolling-text {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scrolling-text span {
  display: inline-block;
  font-size: 24px;
  font-weight: 500;
  color: black;
  padding: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  vertical-align: middle;
}

/* ---------- Slanted Responsive ---------- */
@media screen and (max-width: 768px) {
  .slanted-inner {
    padding: 6px 12px;
    font-size: 18px;
  }

  .scrolling-text span {
    font-size: 16px;
    padding: 0 6px;
  }
}

@media screen and (max-width: 480px) {
  .slanted-inner {
    padding: 5px 10px;
    font-size: 14px;
  }

  .scrolling-text span {
    font-size: 14px;
    padding: 0 4px;
  }
}
@media screen and (max-width: 768px) {
  .circle-bg {
    width: 100vw;
    height: 50vw;
    max-width: 100vw;
    border-top-left-radius: 50vw;
    border-top-right-radius: 50vw;
    left: 50%;
    transform: translateX(-50%);
  }
}




/*--------------------About me --------------------*/
.container {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px; /* Prevent overflow */
  flex-wrap: wrap; /* Allow stacking */
}

.image-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 30px;
  max-width: 100%;
}

.text-section {
  flex: 1;
  max-width: 600px;
}

.text-section h1 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #111;
}

.text-section .highlight {
  color: #FD853A;
}

.text-section p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.btn {
  background-color: white;
  border: 2px solid #ddd;
  padding: 10px 20px;
  border-radius: 15px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background-color: #eee;
}

.resume-btn {
  background-color: #F57920;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.resume-btn:hover {
  background-color: #e5792d;
}

/* ---------- Responsive Media Queries ---------- */
@media screen and (max-width: 992px) {
  .container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
  }

  .text-section,
  .image-section {
    max-width: 100%;
  }

  .text-section h1 {
    font-size: 32px;
  }

  .text-section p {
    font-size: 15px;
  }

  .buttons {
    justify-content: center;
  }
}

@media screen and (max-width: 600px) {
  .text-section h1 {
    font-size: 26px;
  }

  .text-section p {
    font-size: 14px;
  }

  .btn,
  .resume-btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .image-section img {
    border-radius: 20px;
  }
}


/* Portfolio Section */
/* body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
} */

/* ----------------- Portfolio Section ------------------ */
.portfolio {
  position: relative;
  background: url('images/bg_image.png') no-repeat center center/cover;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 16px;
}

.portfolio::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 0;
}

.portfolio > * {
  position: relative;
  z-index: 1;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-header h1 {
  font-size: 56px;
  font-weight: 700;
  margin: 0;
}

.portfolio-header h1 span {
  color: #FF7F2A;
}

.portfolio-header p {
  max-width: 650px;
  font-size: 25px;
  color: #ccc;
  line-height: 1.6;
  margin: 0;
  text-align: right;
  font-weight: bolder;
}

/* ----------------- Card Layout ------------------ */
.card-container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 128px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.card-stack {
  position: relative;
  width: 320px;
  height: 400px;
}

.card {
  width: 320px;
  height: 400px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 36px;
  perspective: 2500px;
  transition: all 0.5s;
  
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.wrapper {
  transition: all 0.5s;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}

.card:hover .wrapper {
  transform: perspective(900px) translateY(-5%) rotateX(25deg) translateZ(0);
  box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
}

.wrapper::before,
.wrapper::after {
  content: "";
  opacity: 0;
  width: 100%;
  height: 80px;
  transition: all 0.5s;
  position: absolute;
  left: 0;
}

.wrapper::before {
  top: 0;
  height: 100%;
  background-image: linear-gradient(
    to top,
    transparent 46%,
    rgba(12, 13, 19, 0.5) 68%,
    rgba(12, 13, 19) 97%
  );
}

.wrapper::after {
  bottom: 0;
  opacity: 1;
  background-image: linear-gradient(
    to bottom,
    transparent 46%,
    rgba(12, 13, 19, 0.5) 68%,
    rgba(12, 13, 19) 97%
  );
}

.card:hover .wrapper::before,
.card:hover .wrapper::after {
  opacity: 1;
}

.card:hover .wrapper::after {
  height: 120px;
}

a {
  text-decoration: none;
}

.title {
  color: white;
  transition: transform 0.5s;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
  z-index: 1;
}

.card:hover .title {
  transform: translate3d(0%, -50px, 100px);
}

.character {
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
  position: absolute;
  z-index: 10000;
  bottom: 0;
}

.card:hover .character {
  opacity: 1;
  transform: translate3d(0%, -30%, 100px);
}

/* ----------------- Tablet ------------------ */
@media screen and (max-width: 900px) {
  .portfolio-header {
    max-width: 90%;
    padding: 0 10px;
  }

  .portfolio-header h1 {
    font-size: 42px;
  }

  .portfolio-header p {
    font-size: 18px;
    max-width: 100%;
    text-align: center;
  }

  .card-container {
    gap: 32px;
    margin-top: 80px;
  }

  .card-stack {
    width: 280px;
    height: 350px;
  }

  .card {
    width: 280px;
    height: 350px;
    padding: 0 24px;
  }
}

/* ----------------- Mobile ------------------ */
@media screen and (max-width: 600px) {
  .portfolio {
    padding: 32px 12px;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .portfolio-header h1 {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .portfolio-header p {
    font-size: 16px;
    max-width: 90%;
    margin: 0 auto;
    
  }

  .card-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .card-stack {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .card {
    width: 100%;
    height: 20rem;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items:end;
  }

  .cover-image {
    width: 100%;
    height: 20rem; 
    border-radius: 0;
    display: block;
    object-fit: cover;
  }

  /* .wrapper {
    display: none; /* Disable hover wrapper on mobile */
  /* } */ */

  .title {
    font-size: 20px;
    font-weight: 600;
    margin: 16px 0;
    text-align: center;
    color: white;
  }

  .character {
    display: none; /* Optional */
  }
}







/* Scoped styles for the project idea section */
.project-idea-container {
  text-align: center;
  padding: 40px 20px;
  font-family: 'Inter', sans-serif;
}

.project-content-wrapper {
  max-width: 420px;
  margin: 0 auto;
}

.project-idea-container h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 20px;
  line-height: 1.4;
}

.project-idea-container .highlight {
  color: #2b2b2b;
}

.project-idea-container .discuss {
  color: #ff7a2f;
}

.project-idea-form {
  display: flex;
  align-items: center;
  border: 1px solid #ff7a2f;
  border-radius: 999px;
  padding: 5px 5px 5px 10px;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.project-idea-form .icon {
  background-color: #FFEAD5;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.project-idea-form .icon img {
  width: 24px;
  height: 24px;
}

.project-idea-form input {
  border: none;
  outline: none;
  flex-grow: 1;
  padding: 10px 5px;
  font-size: 14px;
  font-family: inherit;
}

.project-idea-form button {
  background-color: #ff7a2f;
  border: none;
  color: white;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.project-idea-form button:hover {
  background-color: #e96b27;
}

.site-footer {
  background-color: #1e1e1e;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  padding: 30px 60px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-top h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 0;
}

.hire-btn-footer {
  background-color: #ff7a2f;
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s;
}

.hire-btn-footer:hover {
  background-color: #e96b27;
}

hr {
  border: none;
  border-top: 1px solid #333;
  margin: 30px 0;
}

.footer-middle {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  
}


.footer-brand p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
  text-align: center;
}


.footer-links {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-column h4 {
  color: #ff7a2f;
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  display: block;
  margin: 6px 0;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ff7a2f;
}

/* Contact info styles */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #ccc;
  font-size: 16px;
}

.contact-info li {
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info i {
  color: #ff7a2f;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-socials a {
  color: #fff;
  font-size: 20px;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #ff7a2f;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 12px;
  color: #aaa;
  margin-top: 20px;
}

.footer-policy a {
  color: #aaa;
  text-decoration: none;
  margin-left: 10px;
}

.footer-policy a:hover {
  color: #ff7a2f;
}

/* ===== FIX VIDEO OVERFLOW ISSUE ===== */

.showreel-section {
  width: 100%;
  padding: 60px 32px;   /* space from screen edges */
  box-sizing: border-box;
  overflow-x: hidden;   /* prevents right cut */
}

.showreel-video-wrapper {
  max-width: 960px;     /* CONTROL VIDEO SIZE */
  margin: 0 auto;       /* CENTER */
  width: 100%;
  box-sizing: border-box;
}

.showreel-video-wrapper video {
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
  display: block;
  object-fit: contain;  /* IMPORTANT */
}


/* Responsive styles */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-middle {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }
  .footer-column {
    display: none;
  }
  .footer-brand p{
    text-align:left;
  }
}

/* Common Video Gallery Style */
.video-gallery {
  padding: 60px 20px;
  text-align: center;
}

.video-gallery h2 {
  font-size: 3rem;
  margin-bottom: 40px;
  font-family: 'Urbanist', sans-serif;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.video-item video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.video-gallery span {
  color: #e5792d;
}

/* Make thumbnails clickable with hover effect */
.video-item {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.video-item:hover {
  transform: scale(1.03);
}

/* Modal Popup Styling */
#videoModal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

#videoModal video {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

#videoModal .close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
/* Preloader styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0f0f0f; /* or your background color */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Loader animation (a spinning circle) */
.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid orange; /* or your theme color */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
