

/* Responsive CSS Improvements */
body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

/* Common Styles */
.w-0 {
  width: 0;
}
.mt_40 {
  margin-top: 40px;
}

/* Header Section */
.dropdown:hover .dropdown-menu {
  display: block;
}

.name {
  font-weight: bold;
  color: #c7381c;
}

.web {
  font-weight: bold;
  color: #c7381c;
}
.logo img {
  height: 40px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .nav-item a {
  font-weight: 600;
  font-size: 14px;
  margin-left: 15px;
}
nav .nav-item .nav-link.active {
  color: #ee6348;
}
nav .nav-item .nav-link:hover {
  color: #ee6348;
}

/* Mobile Navigation */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  nav .nav-item a {
    margin-left: 0;
    padding: 10px 0;
    display: block;
  }
}

.section {
  min-height: 100dvh; /* Each section takes full screen height */
  /*padding: 60px 20px;*/
}

/* Home Page - Banner Section */
.home-banner {
  background: #ffffff;
  padding-top: 15px;
  display: flex;
  align-items: center;
}
.home-banner .left {
  color: #d07660;
  padding: 25px 0;
}
.home-banner .left h4 {
  font-weight: 400;
  font-size: 23px;
  margin-bottom: 5px;
}
.home-banner .left h2 {
  font-weight: 700;
  font-size: 34px;
  text-transform: uppercase;
}
.home-banner .left h3 {
  font-weight: 500;
  font-size: 23px;
  margin-bottom: 7px;
  margin-top: -5px;
}
.home-banner .left .button a {
  background: #fff;
  color: #ee6348;
  border-radius: 0;
  border: 0;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  padding: 10px 30px;
}
.home-banner .left .button a:hover {
  background: #3b3b3b;
  color: #fff;
}
.home-banner .left p {
  font-size: 16px;
}
.home-banner .right {
  text-align: right;
}
.home-banner .right img {
  max-width: 100%;
}
@media only screen and (max-width: 767px) {
  .home-banner {
    min-height: auto;
    padding: 40px 0;
  }
  .home-banner .left {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    padding: 15px;
  }
  .home-banner .right {
    text-align: center;
  }
}

/* Home Page - About Section */
/* ---------- Desktop (Your Current Design) ---------- */
.home-about {
  background-color: #1E293B;
  padding: 117px 0;
}

.home-about .left img {
  width: 100%;
  max-height: 495px;
  border: 2px solid #d8d8d8;
}

.home-about .right h3 {
  font-size: 16px;
  color: #ee6348;
}

.home-about .right h2 {
  font-weight: 700;
  font-size: 34px;
}

.home-about .right p {
  font-size: 14px;
}

/* Contact Info */
.contact-info {
  padding-top: 235px; /* Desktop spacing */
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px solid #eee;
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list .label {
  font-size: 16px;
  font-weight: 600;
  margin-right: 5px;
  color: #94A3B8;
  min-width: 50px; /* keeps labels aligned */
}

.contact-list .value {
  flex: 1;
  color: #F1F5F9;
  font-weight: 600;
}

/* ---------- Responsive Fixes ---------- */
/* Tablet (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .contact-info {
    padding-top: 112px; /* reduce spacing */
  }
}

/* Tablet (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .contact-info {
    padding-top: 187px; /* reduce spacing */
  }
}



/* Tablet (≤991px) */
@media (max-width: 991px) {
  .contact-info {
    padding-top: 17px; /* reduce spacing */
  }
  .contact-list {
    flex-wrap: wrap;
  }
  .contact-list li {
    border-bottom: none; /* remove lines on smaller devices */
    flex: 0 0 45%; /* two items per row */
  }
}

/* Mobile (≤575px) */
@media (max-width: 575px) {
  .contact-list {
    flex-direction: column; /* stack neatly */
    gap: 10px;
  }
  .contact-list li {
    flex: 1 1 100%;
    flex-direction: row;
    align-items: flex-start;
  }
  .contact-list .label {
    min-width: 60px; /* keep labels aligned */
  }
}

/* ---------- Social Section ---------- */
.home-about .social {
  margin-top: 15px;
}

.home-about .social h3 {
    color: #38BDF8;
    font-weight: 600;
    font-size: 18px;
    padding-top: 12px;
}

.home-about .social ul {
  padding-left: 0;
  margin-top: 10px;
}

.home-about .social ul li {
  list-style-type: none;
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #ee6348;
  margin-right: 10px;
  border-radius: 50%;
}

.home-about .social ul li a {
  color: #fff;
  display: block;
}

.home-about .social ul li a:hover {
  background: var(--hover-bg);
  color: var(--hover-color);
  border-radius: 50%;
}


/* Home Page - Skill Section */
.skills-area {
  background-color: #F8FAFC;
}

.skills-area .single-image {
  text-align: center;
  margin-top: 100px;
}

.skills-area .single-image img {
  max-width: 100%;
  height: auto;
  border: 1px solid #eee;
  border-radius: 10px;
}

.skills {
  margin-top: 45px;
  margin-bottom: 20px;
}

.title {
  font-size: 24px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 20px;
}

.desc {
  color: #94A3B8;
  margin-bottom: 60px;
}

.section-title {
  padding-top: 60px;
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f1f1f1;
}

.section-title p {
    color: #050202;
    font-size: 15px;
}

.bar_group {
  text-align: left;
  position: relative;
  margin-bottom: 30px;
}

.bar_group__bar.thick {
  width: 0;
  height: 15px;
  background: #558bff;
  transition: width 1s;
  border-radius: 30px;
}

.bar_group__bar.thick:before {
  display: block;
  content: "";
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 15px;
  background: #e3e7ea;
  bottom: -10px;
  border-radius: 30px;
}

.b_label,
.bar_label_min,
.bar_label_max,
.b_tooltip span {
  color: #000a2d;
  font-size: inherit;
  font-weight: 600;
}

.b_label {
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
}

.bar_group .bar_label_max,
.bar_group .bar_label_min {
  position: absolute;
  bottom: -10px;
  line-height: 15px;
}

.bar_group .bar_label_max {
  right: 20px;
}

.bar_group .bar_label_min {
  left: 20px;
}

.bar_group .b_tooltip {
  position: absolute;
  top: -5px;
  right: 0;
}

.bar_group .b_tooltip span {
  font-size: 16px;
  line-height: 26px;
  color: #282828;
  font-weight: 700;
}

.bar_group .b_tooltip span:after {
  content: "%";
  position: relative;
  top: 3px;
  display: inline-block;
  line-height: 36px;
}

.bar_group .elastic {
  background: #558bff;
  transition-timing-function: cubic-bezier(0.5, 0.25, 0.375, 1.335);
  transition-duration: 1s;
  border-radius: 30px;
}

.bar_group .title {
  font-size: 16px;
  line-height: 26px;
  color: #282828;
  font-weight: 400;
  margin-bottom: 10px;
}

.bar_group .sub-title {
  font-size: 14px;
  color: #6e7c90;
}

@media (max-width: 991px) {
  .skills-area .single-image {
    margin-top: 40px;
  }
}

/* Home Page - Portfolio Section */
.portfolio {
  background: #ffffff;
  padding-top: 70px;
  padding-bottom: 70px;
}
.portfolio .heading h2 {
  color: #ee6348;
  font-size: 16px;
  text-align: center;
}
.portfolio .heading h3 {
  font-weight: 700;
  font-size: 34px;
  text-align: center;
  margin-bottom: 30px;
}
.portfolio .filter ul {
  text-align: center;
}
.portfolio .filter ul li {
  background: #ee6348;
  color: #fff;
  padding: 5px 15px;
  display: inline-block;
  cursor: pointer;
  margin-left: 3px;
  margin-right: 3px;
}
.portfolio .filter ul li.active {
  background-color: #4f4f4f;
  color: #fff;
}
.portfolio .filter-items {
  margin-top: 20px;
}
.portfolio .filter-item {
  width: 33.33%;
  position: relative;
  overflow: hidden;
}
.portfolio .filter-item .inner {
  padding: 10px;
}
.portfolio .filter-item .photo {
  overflow: hidden;
}
.portfolio .filter-item .photo img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform .5s;
}
.portfolio .filter-item .photo:hover img {
  transform: scale(1.2);
}
.portfolio .filter-item .text h2 {
  font-size: 16px;
  margin-top: 10px;
  font-weight: 500;
  text-align: center;
}
@media only screen and (max-width: 1199px) {
  .portfolio .filter-item .photo img {
    height: 190px;
  }
}
@media only screen and (max-width: 991px) {
  .portfolio .filter-item .photo img {
    height: 140px;
  }
}
@media only screen and (max-width: 767px) {
  .portfolio .filter ul {
    padding-left: 0;
  }
  .portfolio .filter ul li {
    display: block;
    margin-bottom: 10px;
  }
  .portfolio .filter-item {
    width: 100%;
  }
  .portfolio .filter-item .photo img {
    height: 300px;
  }
  .portfolio .filter-item .inner {
    padding: 4px;
  }
}
@media only screen and (max-width: 575px) {
  .portfolio .filter-item .photo img {
    height: auto;
  }
}

/* Footer Section */
.footer {
    background: #425685;
}

.contact-section {
  width: 100%;
}


/* Contact Info Blocks */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 40px;
}

.contact-title {
  padding-top: 60px;
  text-align: center;
  margin-bottom: 40px;
}

.contact-title h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f1f1f1;
}

.contact-title p {
    color: #f1f1f1;
    font-size: 15px;
}

.contact-info-footer {
  background: #fff;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  max-width: 100%;
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  max-width: 100%;
}

.contact-info-block {
  position: relative;
  padding-left: 60px;
  margin-bottom: 25px;
}

.ci-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #ff724c;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #f9f9f9;
  border-radius: 50%;
}

.ci-text h5 {
  margin: 0;
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border-radius: 5px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #149ddd;
  box-shadow: 0 0 5px rgba(20, 157, 221, 0.2);
  outline: none;
}

.contact-form button {
  background: #149ddd;
  color: #fff;
  padding: 12px 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
}

.contact-form button:hover {
  background: #0f7acb;
}

.copyright {
    font-size: 14px;
    color: #7cbbad;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #596469;
}

.copyright a {
  color: #149ddd;
  text-decoration: none;
}

@media (max-width: 767px) {
  .contact-info-footer,
  .contact-form {
    padding: 20px;
  }

  .contact-info-block {
    padding-left: 50px;
  }

  .ci-icon {
    font-size: 18px;
    width: 35px;
    height: 35px;
    line-height: 35px;
  }
}

/* Preloader Section */
#preloader {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 9999;
}
#preloader_inner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../images/preloader.gif);
}

/* Scroll To Top Section */
.scrollup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ee6348;
  color: #fff;
  text-align: center;
  line-height: 50px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.scrollup:hover {
  opacity: 1;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

@media (max-width: 576px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }
}
