@import url("https://fonts.googleapis.com/css?family=Maven+Pro:400,700");
body {
  font-family: "Maven Pro", sans-serif;
  padding-top: 70px;
  background-color: #f8f9fa;
  color: #5b5b5b;
  line-height: 1.6;
}

.full-screen {
  padding: 8rem 0;
}

.small-text {
  color: #5b5b5b;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 50px;
  letter-spacing: 0.2px;
  background: rgba(255, 194, 0, 0.1);
  display: inline-block;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping */
}

.small-text:hover {
  background: rgba(255, 194, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

ul {
  margin: 0;
  padding: 0;
}
ul li {
  list-style: none;
}

a {
  font-weight: normal;
  text-decoration: none !important;
  transition: all 0.4s ease;
}
a:hover {
  color: #ffc200 !important;
  transform: translateY(-2px);
}

/* Enhanced responsive navbar and logo styling */

/* Logo text responsive adjustments */
.logo-text {
  font-size: 28px;
  font-weight: 800;
  color: #474559;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Navbar responsive improvements */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999999;
  will-change: transform;
  transition: all 0.4s ease;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar[class*="-unpinned"] {
  transform: translate(0, -150%);
}

.navbar[class*="-pinned"] {
  transform: translate(0, 0);
}

.navbar[class*="headroom--not-top"] {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid #f0f0f0;
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-weight: bold;
  max-width: 70%;
}

.navbar-expand-sm .navbar-nav .nav-link {
  padding: 0 20px;
  margin: 0 5px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.nav-link {
  font-weight: 700;
  font-size: 16px;
  overflow: hidden;
  color: #212121 !important;
  position: relative;
}

/* Enhanced mobile menu styling */
@media (max-width: 767px) {
  .navbar-collapse {
    background: #ffffff;
    text-align: center;
    padding: 20px 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin-top: 10px;
  }

  .navbar-expand-sm .navbar-nav .nav-link {
    padding: 12px 20px;
    margin: 5px 0;
    display: block;
  }
  
  .navbar-nav .nav-link span {
    display: inline-block;
    padding: 5px 0;
  }
  
  .navbar-nav .nav-link span:before {
    top: 100%;
    content: attr(data-hover);
    transform: translate3d(0, 0, 0);
    color: #ffc200;
  }
  
  .navbar-light .navbar-nav .nav-link:focus,
  .navbar-light .navbar-nav .nav-link:hover {
    color: #ffc200 !important;
    font-weight: 700;
    background: rgba(255, 194, 0, 0.1);
  }
  
  .navbar-light .navbar-nav .nav-link:focus span,
  .navbar-light .navbar-nav .nav-link:hover span {
    transform: translateY(-100%);
  }
}

/* Enhanced dark mode navbar styling for mobile */
.dark-mode .navbar-collapse {
  background: #0c0c0d;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.dark-mode .navbar-light .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  font-weight: 700;
  position: relative;
  padding: 12px 20px;
  margin: 5px 0;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.dark-mode .navbar-light .navbar-nav .nav-link:hover {
  color: #ffc200 !important;
  background: rgba(255, 194, 0, 0.15);
  transform: translateY(-2px);
}

.dark-mode .navbar-light .navbar-nav .nav-link span:before {
  color: #ffc200;
}

/* Responsive logo adjustments for different screen sizes */
@media (max-width: 991px) {
  .logo-text {
    font-size: 26px;
  }
  
  .navbar-brand {
    max-width: 65%;
  }
}

@media (max-width: 767px) {
  .logo-text {
    font-size: 22px;
    letter-spacing: -0.3px;
    white-space: normal;
    line-height: 1.1;
  }
  
  .navbar {
    padding: 15px 0;
  }
  
  .navbar-brand {
    max-width: 60%;
  }
  
  .navbar-toggler {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
  
  .navbar-toggler .navbar-toggler-icon {
    background: #212121;
    width: 100%;
    height: 2px;
    margin: 4px 0;
  }
  
  .dark-mode .navbar-toggler .navbar-toggler-icon {
    background: #ffffff;
  }
}

@media (max-width: 576px) {
  .logo-text {
    font-size: 18px;
    letter-spacing: -0.2px;
  }
  
  .navbar {
    padding: 12px 0;
  }
  
  .navbar-brand {
    max-width: 55%;
  }
  
  .navbar-toggler {
    width: 28px;
    height: 28px;
    line-height: 28px;
  }
}

@media (max-width: 400px) {
  .logo-text {
    font-size: 16px;
    letter-spacing: -0.1px;
  }
  
  .navbar-brand {
    max-width: 50%;
  }
  
  .logo-text span {
    display: inline-block;
  }
}

/* Extra small devices (portrait phones) */
@media (max-width: 320px) {
  .logo-text {
    font-size: 14px;
    letter-spacing: 0;
  }
  
  .navbar {
    padding: 10px 0;
  }
  
  .navbar-brand {
    max-width: 45%;
  }
  
  .navbar-toggler {
    width: 26px;
    height: 26px;
    line-height: 26px;
  }
}

/* Enhanced navbar toggle button */
.navbar-toggler {
  border: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  line-height: 32px;
  outline: none;
  cursor: pointer;
  margin-right: 10px;
  position: relative;
}

.navbar-toggler:focus {
  outline: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:first-child {
  transform: rotate(45deg);
  top: 6px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-child(2) {
  display: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:last-child {
  transform: rotate(-45deg);
  bottom: 1px;
}

.navbar-toggler .navbar-toggler-icon {
  background: #212121;
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  transition: all 0.4s ease;
  position: relative;
}

/* Color mode adjustments for mobile */
@media (max-width: 991px) {
  .color-mode {
    display: none;
  }
}

/* Tablet landscape and smaller adjustments */
@media (max-width: 1024px) and (orientation: landscape) {
  .logo-text {
    font-size: 20px;
  }
  
  .navbar {
    padding: 15px 0;
  }
  
  .navbar-brand {
    max-width: 60%;
  }
}

/* Large desktop adjustments */
@media (min-width: 1400px) {
  .logo-text {
    font-size: 32px;
  }
  
  .nav-link {
    font-size: 18px;
  }
}

/* Extra small devices (portrait phones) */
@media (max-width: 320px) {
  .logo-text {
    font-size: 18px;
  }
  
  .navbar {
    padding: 10px 0;
  }
  
  .navbar-toggler {
    width: 26px;
    height: 26px;
    line-height: 26px;
  }
}

.logo-text::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffc200, #474559);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.logo-text:hover {
  color: #ffc200;
  transform: scale(1.05);
  text-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.logo-text:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.logo-text span {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

/* Dark mode logo styling */
.dark-mode .logo-text {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.dark-mode .logo-text:hover {
  color: #ffc200;
}

.navbar-brand .uil {
  font-size: 40px;
}

p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: #5b5b5b;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

h1 {
  color: #212121;
  font-size: 2.8em;
  margin: 24px 0;
  position: relative;
  display: inline-block;
  line-height: 1.2; /* Added line height for better spacing */
}

h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 4px;
  background: #ffc200;
  border-radius: 2px;
}

h2 {
  color: #353535;
  font-size: 2.6em;
  font-weight: 800;
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #ffc200;
  border-radius: 2px;
}

h3 {
  color: #484848;
  font-size: 1.8em;
  margin-bottom: 20px;
}

h3,
b, strong {
  font-weight: 700;
}

.custom-btn {
  background: #eee;
  color: #5b5b5b;
  font-weight: bold;
  border-radius: 50px;
  padding: 15px 35px;
  font-size: 16px;
  line-height: normal;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.custom-btn:hover {
  color: #ffc200;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.custom-btn .uil {
  margin-right: 8px;
  font-size: 20px;
}

.custom-btn.custom-btn-bg {
  background: #474559;
  color: #ffffff;
  border-color: #474559;
}

.custom-btn.custom-btn-bg:hover {
  background: #ffc200;
  color: #ffffff !important;
  border-color: #ffc200;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 194, 0, 0.3);
}

.animated {
  position: relative;
}

.animated-info {
  display: inline-block;
  vertical-align: top;
  margin-top: 5px;
  min-width: 200px;
  position: relative;
}

.animated-item {
  color: #ffc200;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.animated-item {
  font-size: 28px;
  line-height: 1.2;
  display: block;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  animation: BottomTotop 6s linear infinite 0s;
  transform: translateY(20px);
}
.animated-item:nth-child(2n+2) {
  animation-delay: 2s;
}
.animated-item:nth-child(3n+3) {
  animation-delay: 4s;
}

@keyframes BottomTotop {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  5% {
    opacity: 0;
    transform: translateY(20px);
  }
  10% {
    opacity: 1;
    transform: translateY(0px);
  }
  25% {
    opacity: 1;
    transform: translateY(0px);
  }
  30% {
    opacity: 0;
    transform: translateY(-20px);
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999999;
  will-change: transform;
  transition: all 0.4s ease;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.navbar[class*="-unpinned"] {
  transform: translate(0, -150%);
}
.navbar[class*="-pinned"] {
  transform: translate(0, 0);
}
.navbar[class*="headroom--not-top"] {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid #f0f0f0;
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-weight: bold;
}

.navbar-expand-sm .navbar-nav .nav-link {
  padding: 0 20px;
  margin: 0 5px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.nav-link {
  font-weight: 700;
  font-size: 16px;
  overflow: hidden;
  color: #212121 !important;
  position: relative;
}
.nav-link span {
  position: relative;
  display: inline-block;
  transition: transform 0.3s;
  white-space: nowrap; /* Prevent text wrapping */
}
.nav-link span:before {
  position: absolute;
  top: 100%;
  content: attr(data-hover);
  transform: translate3d(0, 0, 0);
  color: #ffc200;
  white-space: nowrap; /* Prevent text wrapping */
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: #ffc200 !important;
  font-weight: 700;
  background: rgba(255, 194, 0, 0.1);
}
.navbar-light .navbar-nav .nav-link:focus span,
.navbar-light .navbar-nav .nav-link:hover span {
  transform: translateY(-100%);
}

.navbar-light .navbar-toggler-icon {
  background: none;
}

.navbar-toggler {
  border: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  line-height: 32px;
  outline: none;
  cursor: pointer;
  margin-right: 10px;
  position: relative;
}
.navbar-toggler:focus {
  outline: none;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:first-child {
  transform: rotate(45deg);
  top: 6px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-child(2) {
  display: none;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:last-child {
  transform: rotate(-45deg);
  bottom: 1px;
}
.navbar-toggler .navbar-toggler-icon {
  background: #212121;
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  transition: all 0.4s ease;
  position: relative;
}

.copyright-text {
  font-size: 16px;
  font-weight: normal;
  display: block;
  color: #5b5b5b;
}

.color-mode {
  font-weight: bold;
  cursor: pointer;
  padding: 8px 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.color-mode:hover {
  background: rgba(255, 194, 0, 0.2);
  transform: translateY(-2px);
}

.color-mode-icon {
  position: relative;
  right: 6px;
}
.color-mode-icon:after {
  font-family: 'unicons';
  content: '\ea9f';
  font-size: 30px;
  font-weight: 300;
  font-style: normal;
}
.color-mode-icon.active:after {
  font-family: 'unicons';
  content: '\eb65';
  font-size: 30px;
  color: #ffffff;
}

.dark-mode {
  background: #0c0c0d;
}
.dark-mode .navbar-light .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

.dark-mode .navbar-light .navbar-nav .nav-link:hover {
  color: #ffc200;
}

/* Enhanced dark mode navbar styling for better visibility */
.dark-mode .navbar {
  background: rgba(12, 12, 13, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.dark-mode .navbar[class*="headroom--not-top"] {
  background: rgba(12, 12, 13, 0.98) !important;
  border-bottom: 1px solid #333;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.dark-mode .navbar-light .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  font-weight: 700;
  position: relative;
  padding: 8px 20px;
  margin: 0 5px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.dark-mode .navbar-light .navbar-nav .nav-link:hover {
  color: #ffc200 !important;
  background: rgba(255, 194, 0, 0.15);
  transform: translateY(-2px);
}

.dark-mode .navbar-light .navbar-nav .nav-link span:before {
  color: #ffc200;
}

.dark-mode .small-text {
  background: #0d0c15;
  color: #ffffff;
}
.dark-mode .feature-card .uil,
.dark-mode .navbar-light .navbar-brand,
.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode h5, .dark-mode h6,
.dark-mode .color-mode {
  color: #ffffff;
}
.dark-mode .owl-carousel .owl-nav button.owl-next,
.dark-mode .owl-carousel .owl-nav button.owl-prev,
.dark-mode .owl-carousel button.owl-dot {
  color: #ffffff;
}
.dark-mode .navbar {
  background: rgba(12, 12, 13, 0.95) !important;
}
.dark-mode .project {
  background: #1a1a1a;
}
.dark-mode .project-info {
  background: #1a1a1a;
  color: #f7f3f3;
}
.dark-mode .project-info h3 {
  color: #ffffff;
}
.dark-mode .project-info p {
  color: #f7f3f3;
}
.dark-mode .resume {
  background: #1a1a1a;
}
.dark-mode .contact {
  background: #1a1a1a;
}
.dark-mode .contact-info {
  background: #474559;
}
.dark-mode .about {
  background: linear-gradient(135deg, rgba(12,12,13,0.9) 0%, rgba(12,12,13,0.7) 100%), url('../images/hero-bg.jpg') no-repeat center center;
  background-size: cover;
}
.dark-mode .card {
  background: #1a1a1a;
}
.dark-mode .card-header {
  background: #1a1a1a;
}
.dark-mode .card-body {
  background: #2a2a2a;
  color: #f7f3f3;
}
.dark-mode .btn-link {
  color: #ffffff;
}
.dark-mode .contact-text ul li {
  background: #2a2a2a;
  color: #f7f3f3;
}
.dark-mode .contact-text ul li .uil {
  color: #ffc200;
}
.dark-mode .footer {
  background: #212121;
}
.dark-mode .timeline-wrapper {
  background: #1a1a1a;
}

.timeline-wrapper {
  position: relative;
  padding: 22px 0;
  margin-bottom: 30px;
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.timeline-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.timeline-wrapper:last-child:before {
  height: 0;
}
.timeline-wrapper:before {
  content: "";
  background: #474559;
  width: 3px;
  height: 100%;
  position: absolute;
  left: 38px;
}

.timeline-yr {
  background: #474559;
  border-radius: 100%;
  position: absolute;
  width: 75px;
  height: 75px;
  line-height: 75px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(71, 69, 89, 0.3);
}
.timeline-yr span {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  display: block;
  line-height: 75px;
}

.timeline-info {
  display: inline-block;
  vertical-align: top;
  max-width: 432px;
  margin-left: 6em;
}
.timeline-info small {
  color: #474559;
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
  vertical-align: middle;
  margin-left: 15px;
  background: rgba(71, 69, 89, 0.1);
  padding: 5px 15px;
  border-radius: 30px;

}

.owl-carousel .owl-nav span {
  display: none;
}
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}
.owl-carousel:hover .owl-nav .owl-prev,
.owl-carousel:hover .owl-nav .owl-next {
  opacity: 1;
  visibility: visible;
}
.owl-carousel .owl-nav .owl-prev:before,
.owl-carousel .owl-nav .owl-next:before {
  background: none;
  padding: 0;
  display: block;
  position: static;
  top: auto;
  transform: none;
  font-family: 'unicons';
  font-size: 24px;
  line-height: normal;
  color: #474559;
  transition: all 0.3s ease;
}
.owl-carousel .owl-nav .owl-prev {
  left: -60px;
}
.owl-carousel .owl-nav .owl-next {
  right: -60px;
}
.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
  background: #ffc200 !important;
  transform: translateY(-50%) scale(1.1);
}
.owl-carousel .owl-nav .owl-prev:hover:before,
.owl-carousel .owl-nav .owl-next:hover:before {
  color: #ffffff;
}
.owl-carousel .owl-nav .owl-prev:before {
  content: '\e833';
}
.owl-carousel .owl-nav .owl-next:before {
  content: '\e836';
}

.dark-mode .owl-carousel .owl-nav .owl-prev,
.dark-mode .owl-carousel .owl-nav .owl-next {
  background: rgba(255, 255, 255, 0.1) !important;
}
.dark-mode .owl-carousel .owl-nav .owl-prev:before,
.dark-mode .owl-carousel .owl-nav .owl-next:before {
  color: #ffffff;
}
.dark-mode .owl-carousel .owl-nav .owl-prev:hover,
.dark-mode .owl-carousel .owl-nav .owl-next:hover {
  background: #ffc200 !important;
}
.dark-mode .owl-carousel .owl-nav .owl-prev:hover:before,
.dark-mode .owl-carousel .owl-nav .owl-next:hover:before {
  color: #ffffff;
}

.owl-theme .owl-nav [class*=owl-] {
  background: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  font-size: inherit;
}
.owl-theme .owl-nav [class*=owl-]:hover {
  color: #ffc200;
  transform: scale(1.1);
}
.owl-theme .owl-dots .owl-dot {
  outline: none;
}
.owl-theme .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #ddd;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background: #ffc200;
  transform: scale(1.2);
}

.project {
  background: #ffffff;
  padding: 40px 0;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  margin: 20px 0;
  transition: all 0.3s ease;
}

.project:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.project-info {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  margin: 15px;
  padding: 25px;
  position: relative;
  z-index: 1;
}
.project-info:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, rgba(255,194,0,0.1) 0%, rgba(71,69,89,0.1) 100%);
  transition: all 0.4s ease;
  z-index: -1;
  border-radius: 15px;
}
.project-info:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
.project-info:hover:before {
  height: 100%;
}

.project-info img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-info img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.project-info h3 {
  margin: 20px 0 15px 0;
  color: #353535;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 15px;
}
.project-info h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ffc200;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.project-info h3:hover {
  color: #ffc200;
}
.project-info h3:hover:after {
  width: 100px;
}
.project-info p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.dark-mode .project-info h3 {
  color: #ffffff;
}
.dark-mode .project-info h3:after {
  background: #ffc200;
}
.dark-mode .project-info p {
  color: #f7f3f3;
}
.dark-mode .project-info:before {
  background: linear-gradient(135deg, rgba(255,194,0,0.1) 0%, rgba(71,69,89,0.2) 100%);
}

.google-map iframe {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  padding: 30px 15px;
  margin: 20px 0;
  transition: all 0.3s ease;
}

.contact:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.contact-form {
  position: relative;
}
.contact-form .form-control {
  background: transparent;
  border-radius: 2px;
  outline: none;
  box-shadow: none;
  font-weight: bold;
  margin: 16px 0;
  border: 2px solid #eee;
  padding: 15px;
  transition: all 0.3s ease;
}
.contact-form .form-control:not(textarea) {
  height: 55px;
}
.contact-form .form-control:hover, .contact-form .form-control:focus {
  border-color: #ffc200;
  box-shadow: 0 5px 15px rgba(255, 194, 0, 0.1);
}
.contact-form .submit-btn {
  background: #ffc200;
  border-radius: 50px;
  color: #ffffff;
  font-weight: bold;
  border: 0;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 15px 35px;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(255, 194, 0, 0.3);
}
.contact-form .submit-btn:hover {
  background: #474559;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(71, 69, 89, 0.3);
}

.contact-info {
  background: #474559;
  border-radius: 10px;
  position: relative;
  padding: 30px !important;
  box-shadow: 0 10px 30px rgba(71, 69, 89, 0.3);
  transition: all 0.3s ease;
}
.contact-info:hover {
  transform: translateY(-5px);
}
.contact-info p, .contact-info a {
  color: #f7f3f3;
}

.social-links .uil {
  color: #f7f3f3;
  font-size: 20px;
  display: block;
  margin: 5px 0;
  transition: all 0.3s ease;
}
.social-links .uil:hover {
  color: #ffc200;
  transform: translateY(-3px);
}

.resume {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  padding: 30px 15px;
  margin: 20px 0;
  transition: all 0.3s ease;
}

.resume:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Enhanced Hero Section Styling */
.about {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%), url('../images/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 30px 0;
  padding: 40px 0;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.about:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, rgba(255,194,0,0.1) 0%, rgba(71,69,89,0.1) 100%);
  transition: all 0.4s ease;
  z-index: 0;
}

.about:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.about:hover:before {
  height: 100%;
}

.about .container {
  position: relative;
  z-index: 1;
}

.about-text {
  padding: 30px;
}

.about-text .small-text {
  font-size: 16px;
  padding: 10px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-text h1 {
  font-size: 3em;
  margin: 20px 0;
  position: relative;
  display: inline-block;
  line-height: 1.2;
  color: #212121;
}

.about-text h1:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: #ffc200;
  border-radius: 2px;
}

.about-text p {
  font-size: 20px;
  line-height: 1.8;
  margin: 30px 0;
  color: #5b5b5b;
}

.about-image {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.about-image img {
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transition: all 0.4s ease;
  max-width: 100%;
  height: 400px !important; /* Increased height with !important to override img-fluid */
  width: auto;
  object-fit: cover;
  border: 5px solid rgba(255, 194, 0, 0.1);
}

.about-image img:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  border-color: rgba(255, 194, 0, 0.3);
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 991px) {
  .about-image img {
    height: 350px !important;
  }
}

@media (max-width: 768px) {
  .about-image img {
    height: 300px !important;
  }
}

@media (max-width: 576px) {
  .about-image img {
    height: 250px !important;
  }
}

/* Dark mode Hero Section Styling */
.dark-mode .about {
  background: linear-gradient(135deg, rgba(12,12,13,0.95) 0%, rgba(12,12,13,0.85) 100%), url('../images/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.dark-mode .about:before {
  background: linear-gradient(135deg, rgba(255,194,0,0.15) 0%, rgba(71,69,89,0.15) 100%);
}

.dark-mode .about-text h1 {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.dark-mode .about-text h1:after {
  background: #ffc200;
}

.dark-mode .about-text p {
  color: #f7f3f3;
}

.footer {
  background: #212121;
  color: #f7f3f3;
  border-radius: 10px 10px 0 0;
  margin-top: 20px;
}

.footer a {
  color: #ffc200;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline !important;
}

.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-header {
  background: #ffffff;
  border: none;
  border-radius: 10px 10px 0 0 !important;
  padding: 20px;
}

.btn-link {
  color: #212121;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none !important;
  text-align: left;
  width: 100%;
  padding: 0;
}

.btn-link:hover {
  color: #ffc200 !important;
  text-decoration: none !important;
}

.card-body {
  background: #f8f9fa;
  border-radius: 0 0 10px 10px !important;
  padding: 25px;
}

.contact-text {
  padding: 20px;
}

.contact-text ul li {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.contact-text ul li:hover {
  background: rgba(255, 194, 0, 0.1);
  transform: translateX(5px);
}

.contact-text ul li .uil {
  margin-right: 10px;
  color: #ffc200;
}

.service-icon {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.service-icon .uil {
  font-size: 3rem;
  color: #ffc200;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 194, 0, 0.1);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(255, 194, 0, 0.2);
}

.service-icon:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 194, 0, 0.1);
  border-radius: 50%;
  z-index: 1;
  transition: all 0.3s ease;
}

.project-info:hover .service-icon {
  transform: scale(1.1);
}

.project-info:hover .service-icon .uil {
  background: rgba(255, 194, 0, 0.2);
  box-shadow: 0 10px 25px rgba(255, 194, 0, 0.3);
  color: #474559;
}

.project-info:hover .service-icon:before {
  background: rgba(71, 69, 89, 0.1);
  transform: translate(-50%, -50%) scale(1.1);
}

.project-info h3 {
  margin: 20px 0 15px 0;
  color: #353535;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 15px;
}
.project-info h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ffc200;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.project-info h3:hover {
  color: #ffc200;
}
.project-info h3:hover:after {
  width: 80px;
}
.project-info p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  transition: all 0.3s ease;
  min-height: 120px;
}

.dark-mode .project-info h3 {
  color: #ffffff;
}
.dark-mode .project-info h3:after {
  background: #ffc200;
}
.dark-mode .project-info p {
  color: #f7f3f3;
}
.dark-mode .project-info:before {
  background: linear-gradient(135deg, rgba(255,194,0,0.1) 0%, rgba(71,69,89,0.2) 100%);
}

.owl-carousel .item {
  display: flex;
  height: 100%;
}

.owl-carousel .project-info {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 350px;
}

.project-info .mt-auto {
  margin-top: auto;
}

.project-info .custom-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.project-info .custom-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.dark-mode .project-info .custom-btn {
  background: #474559;
  color: #ffffff;
  border-color: #474559;
}

.dark-mode .project-info .custom-btn:hover {
  background: #ffc200;
  border-color: #ffc200;
}

#detailed-services .col-lg-4 {
  margin-bottom: 20px;
}

#emergency .col-lg-6 {
  margin-bottom: 20px;
}

#detailed-services h3 {
  color: #353535;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 15px;
}

#detailed-services h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ffc200;
  border-radius: 3px;
  transition: all 0.3s ease;
}

#detailed-services h3:hover {
  color: #ffc200;
}

#detailed-services h3:hover:after {
  width: 80px;
}

.dark-mode #detailed-services h3 {
  color: #ffffff;
}

.dark-mode #detailed-services h3:after {
  background: #ffc200;
}

#emergency h3 {
  color: #353535;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 15px;
}

#emergency h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ffc200;
  border-radius: 3px;
  transition: all 0.3s ease;
}

#emergency h3:hover {
  color: #ffc200;
}

#emergency h3:hover:after {
  width: 80px;
}

.dark-mode #emergency h3 {
  color: #ffffff;
}

.dark-mode #emergency h3:after {
  background: #ffc200;
}

#emergency .project-info ul li {
  margin-bottom: 10px;
  padding: 5px 0;
  transition: all 0.3s ease;
}

#emergency .project-info ul li:hover {
  transform: translateX(5px);
}

#emergency .project-info ul li .uil {
  margin-right: 10px;
}

.text-success {
  color: #28a745 !important;
}

.text-warning {
  color: #ffc200 !important;
}

@media (min-width: 1270px) {
  .owl-theme .owl-dots {
    position: relative;
    bottom: 50px;
  }
}
@media (max-width: 991px) {
  .full-screen {
    padding-bottom: 4rem;
  }

  .color-mode {
    display: none;
  }

  .about-image {
    margin-top: 4em;
  }

  .mobile-mt-2,
  .contact-form {
    margin-top: 2em;
  }

  .contact-info {
    padding: 0 2rem;
  }
  
  .project {
    padding: 50px 0;
  }
  
  h1 {
    font-size: 2.8em;
  }
  
  h2 {
    font-size: 2.3em;
  }
}
@media (max-width: 767px) {
  h1 {
    font-size: 2.4em;
    line-height: 1.2; /* Consistent line height */
  }

  h2 {
    font-size: 2em;
  }

  .animated-item {
    font-size: 28px;
  }

  .navbar-collapse {
    background: #ffffff;
    text-align: center;
    padding-bottom: 20px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .navbar-expand-sm .navbar-nav .nav-link {
    padding: 10px 20px;
    margin: 5px 0;
  }
  
  .logo-text {
    font-size: 24px;
  }
  
  .project {
    margin: 20px 0;
    padding: 40px 0;
  }
  
  .contact {
    margin: 20px 0;
    padding: 30px 20px;
  }
  
  .resume {
    margin: 20px 0;
    padding: 40px 20px;
  }
  
  .about {
    margin: 20px 0;
  }
  
  #detailed-services .col-lg-4 {
    margin-bottom: 30px;
  }
  
  #emergency .col-lg-6 {
    margin-bottom: 30px;
  }
  
}
@media (max-width: 580px) {
	.animated-info {
		min-width: 200px;
	}
  .animated-item {
    font-size: 30px;
  }

  .custom-btn-group {
    text-align: center;
  }

  .custom-btn {
    display: block;
    margin: 10px 0;
    width: 100%;
  }

  .owl-theme .owl-nav {
    display: none;
  }

  .timeline-info small {
    display: block;
    margin: 10px 0 0 0;
  }
  
  h1 {
    font-size: 2.2em;
  }
  
  h2 {
    font-size: 1.8em;
  }
}
@media (max-width: 320px) {
  .animated-text {
    margin-top: 0;
  }

  .about-text {
    text-align: center;
  }

  .full-screen {
    padding: 4rem 0;
  }

  .mobile-block {
    display: block;
  }

  .contact-info {
    flex-direction: column;
  }

  .social-links li {
    display: inline-block;
    vertical-align: top;
  }
}

/* CTA Section Styling */
.cta-section {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%), url('../images/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 30px 0;
  padding: 50px 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, rgba(255,194,0,0.1) 0%, rgba(71,69,89,0.1) 100%);
  transition: all 0.4s ease;
  z-index: 0;
}

.cta-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.cta-section:hover:before {
  height: 100%;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: #212121;
  font-size: 2.5em;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.cta-content h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #ffc200;
  border-radius: 2px;
}

.cta-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #5b5b5b;
  max-width: 800px;
  margin: 0 auto 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  margin: 0 10px 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.cta-buttons .custom-btn-bg {
  background: #474559;
  color: #ffffff;
  border-color: #474559;
}

.cta-buttons .custom-btn-bg:hover {
  background: #ffc200;
  color: #ffffff !important;
  border-color: #ffc200;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 194, 0, 0.3);
}

.cta-buttons .custom-btn {
  background: #ffffff;
  color: #5b5b5b;
  border: 2px solid #eee;
}

.cta-buttons .custom-btn:hover {
  color: #ffc200;
  border-color: #ffc200;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Dark mode CTA styling */
.dark-mode .cta-section {
  background: linear-gradient(135deg, rgba(12,12,13,0.95) 0%, rgba(12,12,13,0.85) 100%), url('../images/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.dark-mode .cta-section:before {
  background: linear-gradient(135deg, rgba(255,194,0,0.15) 0%, rgba(71,69,89,0.15) 100%);
}

.dark-mode .cta-content h2 {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.dark-mode .cta-content h2:after {
  background: #ffc200;
}

.dark-mode .cta-content p {
  color: #f7f3f3;
}

.dark-mode .cta-buttons .custom-btn {
  background: #1a1a1a;
  color: #f7f3f3;
  border-color: #333;
}

.dark-mode .cta-buttons .custom-btn:hover {
  color: #ffc200;
  border-color: #ffc200;
}
