/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set base font and color */
html, body {
    font-family: 'Manrope';
    font-size: 16px;
    line-height: 1.5;
    background-color: #000000;
    color: #ffffff !important;
    padding-left: clamp(15px, 4vw, 50px);
    padding-right: clamp(15px, 4vw, 50px);
    overflow-x: hidden;
}

/* Custom scrollbar styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #C44900;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A33D00;
}

.navBtn{
    background-color: #C44900;
    color: #fff9f9;
    width: 107px;
    height: 39px;
    border-radius: 10px;
    border: none;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.floating-text {
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}
.social-icons{
    display: flex;
    margin-top: 109px;
    gap: 52px;
    flex-wrap: wrap;
}
.social-icon-link {
  display: inline-block;
  transition: transform 0.3s ease;
}
.social-icon-link:hover {
  transform: scale(1.2);
}
.social-icon {
  width: 34px;
  height: 34px;
}


.social-icons a img{
    width: 34px !important;
    height: 34px !important;
    
}

.home-btn {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Primary Button (Download CV) */
.btn-primary-custom {
    background: linear-gradient(135deg, #C44900 0%, #A33D00 100%);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(196, 73, 0, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 73, 0, 0.5);
    background: linear-gradient(135deg, #D45500 0%, #B54300 100%);
}

.btn-primary-custom:active {
    transform: translateY(0);
}

/* Secondary Button (Contact Me) */
.btn-secondary-custom {
    background: transparent;
    color: #ffffff;
    border: 2px solid #C44900;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.btn-secondary-custom:hover {
    background: #C44900;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 73, 0, 0.4);
}

.btn-secondary-custom:active {
    transform: translateY(0);
}

/* Button Icons */
.btn-primary-custom i,
.btn-secondary-custom i {
    font-size: 16px;
}

/* Button Text */
.btn-primary-custom span,
.btn-secondary-custom span {
    white-space: nowrap;
}
.about-img{
    Width: 447px;
    Height: 372.5px;
}
.lead{
    line-height: 40px;
}

.expertise-card {
  width: 110.71px;
  height: 149.5px;
  border-radius: 9.25px;
  /* border: 2.13px solid rgba(196, 73, 0, 0.19);
  box-shadow: 0 0 2.84px rgba(196, 73, 0, 0.19); */
}

.expertise-carousel {
    overflow: hidden;
    width: 100%;
  }

  .expertise-track {
    display: flex;
    animation: scroll 80s linear infinite;
  }

  .expertise-card {
    flex: 0 0 auto;
    width: 110.71px;
    height: 149.5px;
    margin-right: 20px;
    background-color: #191a1a;
    border-radius: 9.25px;
    /* border: 2.13px solid rgba(196, 73, 0, 0.19);
    box-shadow: 0 0 2.84px rgba(196, 73, 0, 0.19); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .expertise-card img {
    width: 58.42px;
    height: 58.42px;
    margin-top: 32px;
  }

  .expertise-card .card-body {
    text-align: center;
  }

  .expertise-card .card-title {
    color: #ffffff;
    font-size: 14px;
    margin-top: 10px;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }

#experience{
    width: 100%;
    height: 100%;
}

.designation{
    font-weight: 400;
    font-size: 24px;
  }

.company-name{
    font-weight: 700;
    font-size: 32px;
}

.job-description p,li{
    font-size: 20px;
    font-weight: 400;   
    line-height: 40px;
}

.project-card{
    background-color: #C44900;
    border-radius: 12px;
}

.card-title{
    font-size: 24px;
    font-weight: 700;
}

.read-more{
    text-decoration: none;
    background-color: #000000;
    color:#ffffff;
    width:200px;
    height:60px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    display: inline-flex;
    margin: 0 auto;
}

.read-more:hover{
    text-decoration: none;
    color:#ffffff;
   
}
#projects{
    width: 100%;
    height: 100%;
}

/* Bootstrap Carousel Styles */
.carousel {
    padding: 40px 0;
}

.carousel-inner {
    padding: 20px 0;
}

.carousel-item {
    padding: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #C44900;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 10px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-indicators button {
    background-color: #C44900 !important;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.carousel-indicators {
    margin-bottom: -30px;
}

.project-card img {
    border-radius: 15px;
    margin-bottom: 20px;
}



#education{
    width: 100%;
    height: 100%;
}

.contact-title {
  font-size: 96px;
  font-weight: 200;
  line-height: 40px;
}

#contact{
  margin-top: 50px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   RESPONSIVE MEDIA QUERIES
======================================== */

/* Large tablets and small desktops (max-width: 992px) */
@media (max-width: 992px) {
  /* Navbar adjustments */
  .navbar {
    margin-top: 20px !important;
  }

  .navBtn {
    width: 90px;
    height: 35px;
    font-size: 14px;
  }

  /* Home section */
  #home .display-4 {
    font-size: 2rem;
  }

  .social-icons {
    margin-top: 40px;
    gap: 20px;
    flex-wrap: wrap;
  }

  .home-btn {
    margin-top: 30px;
  }

  .home-btn button {
    width: 180px;
    height: 55px;
    font-size: 18px;
    margin-bottom: 15px;
  }

  /* About section images */
  .about-img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  /* Experience cards */
  #experience .card {
    height: auto !important;
    min-height: 400px;
  }

  .company-name {
    font-size: 26px;
  }

  .designation {
    font-size: 20px;
  }

  .job-description p, .job-description li {
    font-size: 18px;
    line-height: 32px;
  }

  /* Projects - 3D Carousel */
  .carousel-3d-container {
    height: 500px;
  }
  
  .carousel-3d {
    width: 300px;
    height: 420px;
  }
  
  .carousel-item {
    width: 300px;
    height: 420px;
  }
  
  .carousel-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  /* Education */
  .education-container {
    flex-direction: column !important;
    align-items: center !important;
  }

  .education-box {
    width: 100% !important;
    max-width: 490px;
    margin-top: 30px !important;
    margin-left: 0 !important;
  }

  .timeline {
    display: none !important;
  }

  .course-name {
    font-size: 26px !important;
  }

  .college-name, .place, .year, .percentage {
    font-size: 20px !important;
  }

  /* Contact */
  .contact-title {
    font-size: 64px;
  }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
  /* Typography */
  h2 {
    font-size: 1.8rem;
  }

  .lead {
    font-size: 1rem;
    line-height: 30px;
  }

  /* Home section */
  #home .display-4 {
    font-size: 1.75rem;
  }

  #home img {
    width: 100% !important;
    height: auto !important;
    max-width: 400px;
    margin-top: 30px;
  }

  .social-icons {
    margin-top: 30px;
    justify-content: center;
    gap: 15px;
  }

  .social-icon {
    width: 28px !important;
    height: 28px !important;
  }

  .home-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .home-btn button {
    width: 100%;
    max-width: 250px;
    margin-left: 0 !important;
  }

  /* Expertise carousel */
  .expertise-card {
    width: 90px;
    height: 125px;
  }

  .expertise-card img {
    width: 48px;
    height: 48px;
  }

  .expertise-card .card-title {
    font-size: 12px;
  }

  /* Experience cards */
  #experience .card {
    padding: 20px !important;
  }

  .company-logo img {
    width: 50px !important;
    height: 50px !important;
  }

  .company-name {
    font-size: 22px;
  }

  .designation {
    font-size: 18px;
  }

  .job-description p, .job-description li {
    font-size: 16px;
    line-height: 28px;
  }

  /* Projects - 3D Carousel */
  .carousel-3d-container {
    height: 450px;
  }
  
  .carousel-3d {
    width: 280px;
    height: 400px;
  }
  
  .carousel-item {
    width: 280px;
    height: 400px;
  }
  
  .carousel-item .card-img-top {
    height: 240px;
  }
  
  .carousel-btn {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .card-title {
    font-size: 20px;
  }

  .read-more {
    width: 160px;
    height: 50px;
    font-size: 14px;
  }

  /* Education */
  .education-box {
    width: 100% !important;
    height: auto !important;
    padding: 15px !important;
  }

  .course-name {
    font-size: 22px !important;
  }

  .college-name, .place, .year, .percentage {
    font-size: 18px !important;
  }

  /* Contact */
  .contact-title {
    font-size: 48px;
    line-height: 30px;
  }

  /* Footer */
  footer h5 {
    font-size: 1.2rem;
  }

  footer p, footer li {
    font-size: 0.9rem;
  }
}

/* Mobile devices (max-width: 576px) */
@media (max-width: 576px) {
  /* Base typography */
  html, body {
    font-size: 14px;
  }

  h2 {
    font-size: 1.5rem;
  }

  /* Navbar */
  .navbar {
    margin-top: 15px !important;
  }

  .navbar-brand h2 {
    font-size: 1.3rem;
  }

  .navBtn {
    width: 80px;
    height: 32px;
    font-size: 12px;
  }

  /* Home section */
  #home {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  #home .display-4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem !important;
  }

  .lead {
    font-size: 0.95rem;
    line-height: 26px;
  }

  #home img {
    max-width: 280px;
    margin-top: 25px;
  }

  .social-icons {
    margin-top: 25px;
    gap: 12px;
  }

  .social-icon {
    width: 26px !important;
    height: 26px !important;
  }

  .home-btn button {
    width: 100%;
    max-width: 220px;
    height: 50px;
    font-size: 16px;
    white-space: nowrap;
    padding: 8px 12px;
  }

  .home-btn button img {
    width: 18px;
    height: 18px;
  }

  /* About section */
  #about {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .about-img {
    margin-bottom: 15px;
  }

  /* Expertise */
  #expertise {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .expertise-card {
    width: 80px;
    height: 110px;
    margin-right: 15px;
  }

  .expertise-card img {
    width: 40px;
    height: 40px;
    margin-top: 20px;
  }

  .expertise-card .card-title {
    font-size: 11px;
    margin-top: 8px;
  }

  /* Experience */
  #experience {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  #experience .card {
    margin-bottom: 40px !important;
    padding: 15px !important;
  }

  .company-info {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .company-logo {
    margin-bottom: 15px !important;
  }

  .company-logo img {
    width: 45px !important;
    height: 45px !important;
  }

  .company-name {
    font-size: 20px;
    margin-bottom: 8px !important;
  }

  .designation {
    font-size: 16px;
  }

  /* Home section */
  .home-description {
    font-size: 14px;
    line-height: 24px;
  }

  .home-btn {
    gap: 15px;
    justify-content: center;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 12px 20px;
    font-size: 15px;
    min-width: 140px;
  }

  .btn-primary-custom i,
  .btn-secondary-custom i {
    font-size: 14px;
  }

  /* Projects - 3D Carousel */
  #projects {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .carousel-3d-container {
    height: 400px;
  }
  
  .carousel-3d {
    width: 250px;
    height: 360px;
  }
  
  .carousel-item {
    width: 250px;
    height: 360px;
  }
  
  .carousel-item .card-img-top {
    height: 200px;
  }
  
  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 14px;
  }
  
  .carousel-controls {
    margin-top: 2rem !important;
  }

  .card-title {
    font-size: 18px;
  }

  .read-more {
    width: 140px;
    height: 45px;
    font-size: 13px;
  }

  /* Education */
  #education {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .education-box {
    padding: 15px !important;
    margin-top: 20px !important;
  }

  .course-name {
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }

  .college-name, .place, .year, .percentage {
    font-size: 16px !important;
    margin-bottom: 3px !important;
  }

  /* Contact */
  #contact {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    margin-top: 30px !important;
  }

  .contact-title {
    font-size: 32px;
    line-height: 25px;
  }

  .contact-title img {
    width: 50px !important;
    height: 50px !important;
  }

  /* Footer */
  footer {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  footer h5 {
    font-size: 1.1rem;
    margin-bottom: 15px !important;
  }

  footer p, footer li {
    font-size: 0.85rem;
  }

  .footer-social-icons a i {
    font-size: 24px !important;
    width: 24px !important;
    height: 24px !important;
  }
}

/* Extra small devices (max-width: 375px) */
@media (max-width: 375px) {
  .contact-title {
    font-size: 28px;
  }

  .project-card {
    width: 240px !important;
  }

  .home-btn button {
    font-size: 14px;
    height: 48px;
  }

  .expertise-card {
    width: 70px;
    height: 100px;
  }

  .expertise-card img {
    width: 35px;
    height: 35px;
  }
}