:root {
  --primary: #ff6d00;
  --primary-light: rgba(255, 109, 0, 0.1);
  --primary-dark: #e05d00;
  --secondary: #6f42c1;
  --accent: #28a745;
  --dark: #2d3748;
  --light: #f8f9fa;
  --gray: #6c757d;
}

html {
  scroll-behavior: smooth;
}
#home {
  padding-top: 100px; /* Adjust to match your navbar height */
  scroll-margin-top: 100px; /* Helps with anchor link scrolling */
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  overflow-x: hidden;
  background-color: #fefefe;
  line-height: 1.6;
}

/* Improved Navbar */
.navbar {
  padding: 20px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand svg {
  transition: transform 0.3s ease;
}

.navbar-brand:hover svg {
  transform: scale(1.05);
}

.nav-link {
  position: relative;
  margin: 0 8px;
  font-weight: 500;
  color: var(--dark) !important;
}

.nav-link::before  {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.download-cv a {
  background-color: var(--primary) !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

.download-cv a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(185, 158, 138, 0.3) !important;
}

/* Hero Section */
#home {
  padding: 100px 0;
  position: relative;
}

.content {
  position: relative;
  z-index: 2;
}

.hello h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.name h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  background: linear-gradient(to right, #2d3748, #4a5568);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.job p {
  font-size: 1.25rem;
  margin-bottom: 25px;
  color: var(--gray);
}

.text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--gray);
  max-width: 90%;
}

/* Button Improvements */
.DevAttri_button a {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  background-color: var(--primary);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 109, 0, 0.3);
  border: 2px solid transparent;
}

.DevAttri_button a:hover {
  background-color: white;
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 109, 0, 0.4);
}

/* Social Icons */
.social {
  margin-top: 30px;
}

.social ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social a:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-5px);
}

/* Avatar Image */
.avatar .image {
  position: relative;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s ease;
}

.avatar img {
  width: 95%;
  height: auto;
  transition: transform 0.5s ease;
}

.avatar .image:hover {
  transform: translateY(-10px);
}

.avatar .image:hover img {
  transform: scale(1.03);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 40px 0;
  margin-top: 80px;
}

.footer p {
  margin-bottom: 10px;
  opacity: 0.8;
}

/* Background Shapes */
.shape {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background-color: var(--primary);
  top: 10%;
  left: 5%;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background-color: var(--secondary);
  bottom: 10%;
  right: 5%;
  animation: float 10s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Portfolio Section Styling */
#portfolio {
  background: #f8f9fa;
}

#portfolio h2 {
  font-size: 2.5rem;
  color: #333;
}

#portfolio .card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
}

#portfolio .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#portfolio .card-img-top {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  object-fit: cover;
  height: 200px;
}

#portfolio .card-title {
  font-weight: 600;
  color: #333;
}

#portfolio .card-text {
  color: #555;
  font-size: 0.95rem;
}

#portfolio .badge {
  margin-right: 6px;
  font-size: 0.75rem;
  padding: 0.4em 0.6em;
  border-radius: 0.4rem;
}

#portfolio .btn {
  transition: all 0.2s ease-in-out;
}

#portfolio .btn:hover {
  transform: scale(1.05);
}

@media (max-width: 576px) {
  #portfolio h2 {
    font-size: 2rem;
  }

  #portfolio .card-img-top {
    height: 180px;
  }
}

/* Contact Section Improvements */
.contact-info-card {
  background: white;
  border-left: 4px solid #dc3545;
}

.availability-card {
  border-left: 4px solid #28a745;
}

.availability-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #28a745;
}

.contact-form-card {
  background: white;
  border-top: 4px solid #0d6efd;
}

.form-control-lg {
  padding: 0.75rem 1rem;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.form-control-lg:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-danger {
  transition: all 0.3s ease;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:hover {
  background-color: #bb2d3b;
  border-color: #b02a37;
  transform: translateY(-2px);
}

/* Footer Styling */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 4rem 0 1.5rem;
  position: relative;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff6d00, #ff9e00);
  box-shadow: 0 2px 10px rgba(255, 109, 0, 0.4);
}

.footer h5 {
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 3px;
  background: #ff6d00;
  border-radius: 3px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-icons a:hover {
  background: #ff6d00;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 109, 0, 0.4);
}

/* Links Styling */
.footer .list-unstyled li {
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.footer .list-unstyled li:hover {
  transform: translateX(5px);
}

.footer .text-decoration-none {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer .text-decoration-none:hover {
  color: #ff6d00 !important;
  padding-left: 8px;
  text-decoration: none;
}

.footer .text-decoration-none::before {
  content: "→";
  position: absolute;
  left: -10px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #ff6d00;
}

.footer .text-decoration-none:hover::before {
  left: -15px;
  opacity: 1;
}

/* Contact Info */
.footer .fa-map-marker-alt,
.footer .fa-envelope,
.footer .fa-phone-alt,
.footer .fa-clock {
  color: #ff6d00;
  width: 20px;
  text-align: center;
  margin-right: 10px;
}

.footer .list-unstyled a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer .list-unstyled a:hover {
  color: #ff6d00 !important;
  text-decoration: none;
}

/* Newsletter Form */
.footer .form-control {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  height: 45px;
  border-radius: 4px 0 0 4px;
}

.footer .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 109, 0, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.footer .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer .btn-primary {
  background: #ff6d00;
  border: none;
  padding: 0 20px;
  font-weight: 500;
  border-radius: 0 4px 4px 0;
  transition: all 0.3s ease;
}

.footer .btn-primary:hover {
  background: #e05e00;
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Divider */
.footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2.5rem 0 1.5rem;
}

/* Copyright Section */
.footer .mb-0 {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer .text-decoration-none {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.footer .text-decoration-none:hover {
  color: #ff6d00 !important;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .footer [class*="col-lg"] {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-icons {
    justify-content: center;
  }

  .input-group {
    flex-direction: row;
  }

  .form-control {
    border-radius: 4px;
    margin-bottom: 10px;
  }

  .btn-primary {
    border-radius: 4px;
    width: 100%;
  }

  .footer .row.align-items-center {
    flex-direction: column;
    gap: 1rem;
  }
}

