/* ─── TYPOGRAPHY UTILITIES ─── */
.font-h {
  font-family: var(--font-h) !important;
}

.font-b {
  font-family: var(--font-b) !important;
}

.logo {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text,
.service-text,
.sk-text,
.project-title,
.stats-head,
.testimonial-eye,
.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-b);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.about-text::before,
.service-text::before,
.sk-text::before,
.project-title::before,
.stats-head::before,
.testimonial-eye::before,
.cta-tag::before {
  content: '';
  display: inline-block;
  width: 29px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* CUSTOM SCROOLBAR */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

::selection {
  background: var(--accent);
  color: #000;
}

/* JS CLASS FOR NAVIGATION SCROLL EFFECT */
#mainNav.scrolled {
  padding: 0.8rem 0;
  background: rgba(5, 8, 15, 0.93) !important;
  backdrop-filter: blur(7px);
  border-bottom: 1px solid var(--border);
}

.skills-bar-card.animated .percentage-column::after {
  opacity: 1;
}

.hidden {
  display: none !important;
}

.empty-state {
  text-align: center;
  margin: auto;
  padding: 60px 20px;
  color: var(--text-2) !important;
  font-size: 0.95rem;
  display: none;
  font-weight: 700;
}

#serviceDropdown {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.85rem 1.1rem;
  font-family: var(--font-b);
  font-size: 0.9rem;
  color: var(--text);
  transition: all 0.3s var(--ease);
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#serviceDropdown.show,
#serviceDropdown:focus {
  border-color: var(--accent);
  background: rgba(0, 200, 150, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.08);
  color: var(--text);
}

#serviceDropdown.selected {
  color: var(--text);
}

.dropdown-item.active {
  background: rgba(0, 200, 150, 0.1);
  color: var(--accent);
  font-weight: 600;
}

.highlight-form {
  animation: glowpause 2s ease-in-out;
}

.alert {
  transition: opacity 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* EXTRA STYLING */
/* NAVIGATION SECTION */
.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* HERO SECTIONS */
.hero-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 200, 150, 0.10);
  transform: translateY(-5px);
}

/* SERVICES SECTION */
.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover i {
  background: rgba(0, 200, 150, 0.2);
  transform: scale(1.1);
}

.service-card:hover .service-card-num {
  color: rgba(255, 255, 255, 0.06);
}

/* PROJECTS SECTION */
.project-card:hover {
  border-color: var(--border-a);
  transform: translateY(-8px);
  box-shadow: var(--shadow-g);
}

.filter-btn:hover {
  border-color: var(--border-a);
  color: var(--text);
  background: var(--bg-card-h);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(0, 200, 150, 0.1);
  border-color: var(--border-a);
}

.btn-accent:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 200, 150, 0.4);
  color: #000 !important;
}

.btn-outline-light:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

/* CONTACT SECTION */
.contact-form {
  background: var(--bg-card);
  padding: 3rem;
}

/* CARDS */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card:hover {
  background: var(--bg-card-h);
  border-color: var(--border-a);
  box-shadow: var(--shadow-g);
}

/* STYLED BUTTONS */
.btn-accent {
  background: var(--accent-grad);
  color: #000 !important;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 1.7rem;
  transition: all 0.35s var(--ease-2);
  box-shadow: 0 8px 30px var(--accent-glow);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.btn-outline-light {
  background: transparent;
  color: var(--text) !important;
  font-family: var(--font-b);
  font-weight: 500;
  border: 1px solid var(--border-a);
  border-radius: 50px;
  padding: 0.8rem 2rem;
  transition: all 0.35s var(--ease-2);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.btn-live {
  padding: 8px 15px;
  border-radius: 50px;
  border: none;
  background: var(--accent-grad);
  color: #000;
  font-size: 0.80rem;
  font-weight: 600;
  font-family: var(--font-b);
}

.btn-details {
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 0.80rem;
  font-weight: 600;
  font-family: var(--font-b);
  border: 1px solid rgba(0, 200, 150, 0.15);
  background: rgba(0, 200, 150, 0.08);
  color: var(--text);
}


/* SCROLL REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}


.anim-1 {
  animation: fadeInUp 0.7s var(--ease) 0.1s both;
}

.anim-2 {
  animation: fadeInUp 0.7s var(--ease) 0.25s both;
}

.anim-3 {
  animation: fadeInUp 0.7s var(--ease) 0.4s both;
}

.anim-4 {
  animation: fadeInUp 0.7s var(--ease) 0.55s both;
}

.anim-5 {
  animation: fadeInUp 0.7s var(--ease) 0.7s both;
}


/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform:
      translateY(0px) rotateX(3deg) rotateY(-3deg) scale(1);
  }

  25% {
    transform:
      translateY(-15px) rotateX(5deg) rotateY(-5deg) scale(1.01);
  }

  50% {
    transform:
      translateY(0px) rotateX(3deg) rotateY(-3deg) scale(1);
  }

  75% {
    transform:
      translateY(10px) rotateX(1deg) rotateY(-1deg) scale(0.99);
  }
}

@keyframes glowpause {
  0% {
    box-shadow: 0 0 0 rgba(0, 200, 150, 0);
    border-color: var(--primary);
    transform: scale(1);
  }

  30% {
    box-shadow: 0 0 15px rgba(0, 200, 150, 0.7);
    border-color: var(--primary);
    transform: scale(1.02);
  }

  70% {
    box-shadow: 0 0 10px rgba(0, 200, 150, 0.5);
  }

  100% {
    box-shadow: 0 0 0 rgba(0, 200, 150, 0);
    transform: scale(1);
  }
}

@keyframes dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orb-drift {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(40px, 30px) scale(1.1);
  }
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

@keyframes ring-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes float-badge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* MEDIA QUERIES */
/* Base = Mobile */
section {
  padding: 4rem 0;
}

.container {
  padding-left: 16px;
  padding-right: 16px;
}

h1 {
  font-size: clamp(2rem, 10vw, 2.4rem);
}

h2 {
  font-size: clamp(1.55rem, 7.5vw, 1.8rem);
}

/* Mobile-only custom navigation */
#mainNav {
  top: 0.75rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 560px;
  padding: 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(7, 11, 21, 0.92) !important;
  border: 1px solid var(--border);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(0, 200, 150, 0.03);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#mainNav.scrolled {
  padding: 0;
}

#mainNav .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand toggle";
  align-items: center;
  gap: 1rem;
  max-width: none;
  width: 100%;
  padding: 1.25rem;
  transition: padding 0.35s var(--ease), grid-template-columns 0.35s var(--ease);
}

#mainNav.nav-open {
  border-radius: 28px;
  background: rgba(7, 11, 21, 0.96) !important;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.55), 0 0 90px rgba(0, 200, 150, 0.08);
}

#mainNav.nav-open .container {
  grid-template-areas:
    "brand toggle"
    "menu menu";
  padding-bottom: 1.55rem;
}

#mainNav .navbar-brand {
  grid-area: brand;
  min-width: 0;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  justify-self: start;
}

#mainNav .heading-underline::after {
  width: clamp(38px, 13vw, 58px);
  height: 3px;
  bottom: -0.48rem;
}

#mainNav .navbar-toggler {
  grid-area: toggle;
  flex-shrink: 0;
  justify-self: end;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

#mainNav .navbar-toggler:hover,
#mainNav .navbar-toggler[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.06);
}

#mainNav .navbar-toggler[aria-expanded="true"] {
  transform: rotate(90deg);
}

#mainNav .navbar-toggler-icon {
  width: 25px;
  height: 25px;
  background-size: 25px 25px;
}

#mainNav .navbar-collapse {
  grid-area: menu;
  width: 100%;
  padding: 2.2rem 0 0;
}

#mainNav .navbar-nav {
  align-items: stretch !important;
  gap: 0.7rem !important;
  width: 100%;
  padding: 0;
  text-align: left;
}

#mainNav .nav-link {
  display: block;
  width: 100%;
  padding: 0.25rem 0 !important;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-link:focus::after,
.nav-link:hover::after,
.nav-link.active::after {
  display: none;
  transform: none;
}

#mainNav .navbar-nav hr {
  width: 100%;
  margin: 1.35rem 0 1rem !important;
  opacity: 0.18;
}

#mainNav .btn-accent {
  width: 100%;
  min-height: auto;
  justify-content: space-between;
  border-radius: 999px;
  padding: 0.95rem 1.15rem;
  font-size: 1rem;
  text-align: left;
  line-height: 1.45;
  white-space: normal;
  box-shadow: 0 18px 48px rgba(0, 200, 150, 0.28);
}

#hero {
  padding-top: 6rem;
  text-align: center;
}

.hero-eye {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  padding: 0.45rem;
}

.hero-text {
  display: inline-flex;
  justify-content: center;
  font-size: 0.95rem;
}

.custom-buttons a {
  margin: 10px auto;
}

.hero-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
}

.hero-profile-wrap {
  margin-top: 3rem;
}

.hero-profile {
  width: min(300px, 82vw);
  height: min(300px, 82vw);
  margin-top: 3rem;
}

.hero-profile-ring,
.hero-skill {
  display: none;
}

.skill-card {
  padding: 2rem;
}

div.text-align-center:nth-child(3) {
  margin: 0 auto;
}

.about-profile-stat:nth-child(2) {
  bottom: -15px;
  right: -25px;
}

.about-profile-stat:nth-child(3) {
  top: -15px;
  left: -25px;
}

.about-profile-num {
  font-size: 1.5rem;
}

.about-profile-text {
  font-size: 0.55rem;
}

.align {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  justify-content: center;
}

.contact {
  padding: 3rem 0;
}

.contact-card {
  border-radius: 14px;
}

.contact-info,
.contact-form {
  padding: 1.25rem;
}

.contact-info {
  min-height: auto;
}

.contact-info-head,
.contact-form h3 {
  font-size: 1.22rem;
}

.contact-info-text,
.contact-form-sub,
.contact-details,
.contact-details a {
  font-size: 0.8rem;
  line-height: 1.55;
}

.contact-details {
  align-items: flex-start;
  gap: 0.6rem;
  overflow-wrap: anywhere;
}

.contact-details+.contact-details {
  margin-top: 0.7rem;
}

#serviceDropdown,
.form-control,
.form-select {
  padding: 0.72rem 0.85rem;
  font-size: 0.82rem;
}

textarea.form-control {
  min-height: 130px;
}

.dropdown-item {
  font-size: 0.8rem;
  padding: 0.62rem 0.8rem;
}

.btn-submit,
.contact-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 0.75rem 1rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
}

.contact-form-info {
  font-size: 0.7rem;
  line-height: 1.5;
}

.testimonial-hero {
  overflow: visible;
  padding: 7.5rem 0 3.25rem !important;
}

.breadcrumb-custom {
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.72rem;
}

.testimonial-eye {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.testimonial-hero-title {
  font-size: 2rem;
}

.testimonial-hero-text {
  font-size: 0.88rem;
  line-height: 1.65;
}

.testimonials-section .container {
  padding: 0 18px;
}

.testimonial-carousel-wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#testimonialCarousel {
  padding-bottom: 58px;
}

#testimonialCarousel .carousel-item {
  padding: 0;
}

.testimonial-card {
  width: 90%;
  padding: 1.5rem 1.2rem;
  border-radius: 20px;
}

.testimonial-message {
  font-size: 0.92rem;
  line-height: 1.65;
}

.testimonial-line {
  width: 70%;
}

.quote-icon {
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
}

.testimonials-section .carousel-indicators {
  bottom: 12px;
  margin-bottom: 0;
}

.testimonials-section .carousel-control-prev,
.testimonials-section .carousel-control-next {
  top: auto;
  bottom: 0;
  width: 34px;
  height: 34px;
  transform: none;
}

.testimonials-section .carousel-control-prev {
  left: calc(50% - 82px);
}

.testimonials-section .carousel-control-next {
  right: calc(50% - 82px);
}

.back-to-top-mobile {
  margin: 50px auto;
  padding: auto;
}

.footer-container {
  flex-direction: column;
  text-align: center;
}

.footer-container div:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  order: 1 !important;
}

.footer-socials {
  justify-content: center;
}

.footer-copyright,
.footer-author {
  font-size: 0.79rem;
}

/* Large Phones */
@media (min-width: 480px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  #mainNav {
    top: 1rem;
    width: min(calc(100% - 28px), 560px);
  }

  #mainNav .container {
    padding: 1.35rem clamp(1.25rem, 6vw, 4.5rem);
  }

  #mainNav.nav-open {
    border-radius: 34px;
  }

  #mainNav.nav-open .container {
    padding-bottom: clamp(1.45rem, 4vw, 2rem);
  }

  .hero-profile {
    width: 300px;
    height: 300px;
  }

  .contact-card {
    border-radius: 20px;
  }

  .contact-info,
  .contact-form {
    padding: 2rem;
  }

  .contact-info-head,
  .contact-form h3 {
    font-size: 1.5rem;
  }

  .contact-info-text,
  .contact-form-sub,
  .contact-details,
  .contact-details a {
    font-size: 0.9rem;
  }

  #serviceDropdown,
  .form-control,
  .form-select {
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
  }

  textarea.form-control {
    min-height: 150px;
  }

  .dropdown-item {
    font-size: 0.88rem;
    padding: 0.7rem 1rem;
  }

  .btn-submit,
  .contact-btn {
    width: 100%;
  }

  .contact-form-info {
    font-size: 0.70rem;
    gap: 0.3rem;
    display: flex;
    justify-content: center;
  }
}

/* Tablets */
@media (min-width: 768px) {
  section {
    padding-block: clamp(4rem, 8vw, 6rem);
  }

  .container {
    padding-left: 40px;
    padding-right: 40px;
  }

  h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
  }

  h2 {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  #mainNav {
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 1rem 0;
    border-radius: 0;
    overflow: visible;
    background: transparent !important;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  #mainNav.nav-open {
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
  }

  #mainNav.scrolled {
    padding: 0.8rem 0;
    background: rgba(5, 8, 15, 0.93) !important;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border-bottom: 1px solid var(--border);
  }

  #mainNav .container {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: min(100% - 1rem, 960px);
    padding: 0 10px;
  }

  #mainNav.nav-open .container {
    grid-template-areas: none;
    padding: 0 10px;
  }

  #mainNav .navbar-brand {
    grid-area: auto;
    font-size: 1.05rem;
    justify-self: auto;
  }

  #mainNav .heading-underline::after {
    width: 42px;
    height: 2.5px;
    bottom: 0;
  }

  #mainNav .navbar-toggler {
    display: none;
  }

  #mainNav .navbar-collapse {
    grid-area: auto;
    width: auto;
    padding: 0;
  }

  #mainNav .navbar-nav {
    align-items: center !important;
    gap: 0.15rem !important;
    width: auto;
    text-align: left;
  }

  #mainNav .nav-link {
    display: inline-block;
    width: auto;
    padding: 0.35rem 0.80rem !important;
    font-size: 0.7rem;
    font-weight: 500;
  }

  .nav-link:focus::after,
  .nav-link:hover::after,
  .nav-link.active::after {
    display: block;
    transform: scaleX(1);
  }

  .nav-link::after {
    display: block;
  }

  #mainNav .btn-accent {
    width: auto;
    justify-content: center;
    padding: 0.62rem 0.75rem;
    font-size: 0.7rem;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 8px 30px var(--accent-glow);
  }

  #hero {
    padding-top: 2rem;
    text-align: center;
  }

  .hero-eye {
    display: inline-flex;
    font-size: 0.78rem;
    padding: 0.5rem 1.2rem;
  }

  .hero-text {
    display: inline-flex;
    justify-content: center;
    font-size: 1.1rem;
  }

  .custom-buttons a {
    margin: 0 auto;
  }

  .hero-socials {
    justify-content: center;
    margin: 30px auto;
  }

  .hero-profile {
    width: 300px;
    height: 300px;
    margin-top: 3rem;
  }

  .hero-profile-ring {
    display: block;
  }

  .hero-profile-ring:first-child {
    width: 300px;
    height: 300px;
  }

  .hero-profile-ring:nth-child(2) {
    width: 350px;
    height: 350px;
  }

  .hero-skill {
    display: none;
  }

  .about-profile-stat:nth-child(2) {
    bottom: -15px;
    right: 100px;
  }

  .about-profile-stat:nth-child(3) {
    top: -15px;
    left: 100px;
  }

  .project-grid {
    justify-content: center;
  }

  .testimonial-hero {
    padding: 10rem 0 5rem !important;
  }

  .breadcrumb-custom {
    flex-wrap: nowrap;
    gap: 0.5rem;
    font-size: 0.82rem;
  }

  .testimonial-eye {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
  }

  .testimonial-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }

  .testimonial-hero-text {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .testimonials-section .container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .testimonial-carousel-wrap {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }

  #testimonialCarousel {
    padding-bottom: 0;
  }

  #testimonialCarousel .carousel-item {
    padding: 1rem;
  }

  .testimonial-card {
    width: auto;
    padding: 2.5rem;
  }

  .testimonial-line {
    width: min(500px, 70%);
  }

  .testimonials-section .carousel-control-prev,
  .testimonials-section .carousel-control-next {
    top: 50%;
    bottom: auto;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
  }

  .testimonials-section .carousel-control-prev {
    left: -30px;
  }

  .testimonials-section .carousel-control-next {
    right: -30px;
  }

  .contact {
    padding: 5rem 0;
  }

  .contact-info,
  .contact-form {
    padding: 3rem;
  }

  .contact-info-head {
    font-size: 1.7rem;
  }

  .contact-info-text,
  .contact-form-sub,
  .contact-details,
  .contact-details a {
    line-height: 1.6;
  }

  .contact-details,
  .contact-details a {
    font-size: 0.9rem;
  }

  #serviceDropdown,
  .form-control,
  .form-select {
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
  }

  textarea.form-control {
    min-height: 150px;
  }

  .dropdown-item {
    font-size: 0.88rem;
    padding: 0.7rem 1rem;
  }

  .btn-submit,
  .contact-btn {
    width: auto;
  }

  .btn-submit {
    width: 100%;
  }

  .contact-form-info {
    display: flex;
    justify-content: center;
  }

  .contact-btn {
    padding: 0.7rem 1.5rem;
  }

  .footer-container {
    flex-direction: row;
    text-align: center;
  }

  .footer-container div:first-child {
    order: 1 !important;
  }
}

/* SPECIFIC TABLETS LIKE SURFACE PRO AND MORE*/
@media (min-width: 900px) and (max-width: 991.98px) {
  #hero {
    text-align: center;
  }

  .hero-title {
    display: inline-flex;
    justify-content: center;
  }

  .hero-text {
    display: block;
    max-width: 460px;
    margin: 1rem auto 0;
  }

  .custom-buttons a {
    margin: 0 auto;
  }

  #mainNav {
    padding: 1rem 1.3rem;
  }

  #mainNav .nav-link {
    display: inline-block;
    width: auto;
    padding: 0.35rem 0.80rem !important;
    font-size: 0.7rem;
    font-weight: 500;
  }
}

/* Laptops */
@media (min-width: 992px) {
  #mainNav {
    padding: 1.5rem 0;
  }

  #mainNav .container {
    max-width: min(100% - 2rem, 1200px);
    padding: 0 40px;
  }

  #mainNav .navbar-brand {
    font-size: 1.4rem;
  }

  #mainNav .heading-underline::after {
    width: 50px;
  }

  #mainNav .navbar-nav {
    gap: 0.25rem !important;
  }

  #mainNav .nav-link {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem;
  }

  #mainNav .btn-accent {
    padding: 0.8rem 1.7rem;
    font-size: 0.9rem;
  }

  #hero {
    padding-top: clamp(4rem, 8vw, 6rem);
    text-align: left;
  }

  .hero-title {
    display: inline-flex;
  }

  .hero-text {
    display: block;
    justify-content: flex-start;
    max-width: 500px;
  }

  .custom-buttons a {
    margin: auto;
  }

  .hero-socials {
    justify-content: flex-start;
    margin: 2rem 0 0;
  }

  .hero-profile-wrap,
  .hero-profile {
    margin-top: 0;
  }

  .hero-profile {
    width: 350px;
    height: 350px;
  }

  .hero-profile-ring:first-child {
    width: 380px;
    height: 380px;
  }

  .hero-profile-ring:nth-child(2) {
    width: 440px;
    height: 440px;
  }

  .hero-skill {
    display: block;
  }

  .skill-card {
    padding: 3rem;
  }

  .about-profile-stat:nth-child(2) {
    bottom: -20px;
    right: -20px;
  }

  .about-profile-stat:nth-child(3) {
    top: -20px;
    left: -20px;
  }

  .about-profile-text {
    font-size: 0.8rem;
  }

  .align {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
  }

  .testimonial-line {
    width: 500px;
  }

  .testimonials-section .carousel-control-prev {
    left: -60px;
  }

  .testimonials-section .carousel-control-next {
    right: -60px;
  }

  .footer-container div:first-child {
    order: initial !important;
  }
}