
    /* Content ko navbar ke neeche adjust karna */
    body {
        padding-top: 70px; /* Yahan apni navbar ki height ke hisaab se padding adjust kar sakte hain */
      
      }
      html, body {
        overflow-x: hidden;
    }
    .font{
      font-family: 'Helvetica', sans-serif;
    }
    /* Navbar font color */
    .navbar{
      background-color: transparent !important;
      color: #662d91;
      transition: background-color 0.3s ease, box-shadow 0.3s ease;
      font-family: 'Bajron', sans-serif;

    }
    .navbar .nav-link {
      color: #662d91 !important; /* Force color change with !important */
    }
  
    .navbar .nav-link:hover {
      color: #b4a5bf !important; /* Hover effect color */
    }
  
.review-card {
  transition: box-shadow 0.3s ease;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}
.review-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

   /* Navbar logo size control */
  /* Restrict the logo size */
  .logo {
    width:180px ; /* Maintain aspect ratio */
    margin-left: 80px;
  }
  
  /* Ensure navbar height is consistent */
  .navbar {
    padding: 0; /* Remove extra padding if any */
  }
  
  .navbar-brand {
    display: flex;
    align-items: center; /* Center logo vertically */
    padding: 0; /* Remove any default padding */
  }
  
  
  @media (max-width: 768px) {
    .logo {
      height: 40px; /* Smaller size for mobile screens */
    }
  }
  
  .navbar.scrolled {
    background-color:white !important; /* Change navbar color */
    box-shadow: 0 4px 6px rgba(247, 247, 249, 0.1); /* Add shadow */
  }
  
  /* Animation for AI Robot Icon */
  .floating-icon {
    position: relative;
    animation: float 2s infinite ease-in-out;
  }
  
  @keyframes float {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0);
    }
  }
  #reviews .card {
  background-color: #f8f9fa;
  border-radius: 12px;
}

  .tx{
    color: #262262;
    font-weight: bold !important;
    font-size: 50px !important;
    font-family: 'Bajron', sans-serif;
  }
  .tx1{
    color: #262262;
    font-size: 20px;
    font-family: 'Helvetica', sans-serif;
    margin-bottom: 20px;
    text-align: justify;
    word-spacing: -2PX;
  }
  .tx2{
    color: #262262;
    font-family: 'Inter', sans-serif;
    font-size: 20px; 
    text-align: justify;
    word-spacing: -2PX;
  }
  .tx3{
    color: #262262;
    font-weight:600;
    font-size: 60px; 
  }
  .img{
    width: 750px;
  }
 #main1{
    background: linear-gradient(to right, #262262, #662d91);
    padding: 30px 0 50px 0;
  }

  .tx4 {
    color: white;
    font-weight: 600; /* Increase weight */
    font-size: 3.8rem;
    font-family: 'Helvetica Neue', 'Helvetica Bold', 'Arial', sans-serif;
    letter-spacing: -3px; /* Adjust spacing */
    text-transform: uppercase; /* Ensure text is capitalized */
    text-rendering: optimizeLegibility;
}
/* ✅ Mobile screens (below 768px width) */
@media (max-width: 768px) {
    .tx4 {
        font-size: 2.5rem; /* Smaller text on mobile */
        letter-spacing: 0.5px; /* Adjust spacing */
        text-align: center; /* Ensure text is centered */
        line-height: 1.2; /* Improve readability */
    }
}

/* ✅ Extra small screens (below 480px width) */
@media (max-width: 480px) {
    .tx4 {
        font-size: 2rem; /* Even smaller for very small screens */
        letter-spacing: 0px;
    }
}
  .tx2 .list-group-item {
    color: #262262 !important;  /* Force apply the color */
    background-color: transparent !important; /* Remove Bootstrap background */
    border: none !important; /* Remove unwanted border */
  }
  
  .btn-custom {
    background-color:#262262 !important; /* Button background color */
    color: #fff !important; /* Button text color */
  }
  /* Mobile screens ke liye choti font size */
@media (max-width: 480px) {
    .tx {
        font-size: 40px !important;
    }
}
  
  /* footer  */
  footer.bg-gradient {
    background: linear-gradient(to right, #262262, #662d91) !important;
    color: white !important;
    font-family: 'Bajron', sans-serif;

  }
  .hover-bg-primary:hover {
    background-color: #262262 !important; /* Bootstrap primary color on hover */
  }
  footer div a{
    text-decoration: none;
  }
  
  /* Social Links Center Alignment */
  .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    border-radius: 50%;
    color: white !important;
    transition: 0.3s;
  }
  
    .youtube {
    color: #FF0000;
    transition: color 0.3s ease;
  }

  .youtube:hover {
    background-color: #cc0000;
  }
  
  .social-links a:hover {
    opacity: 0.9; /* Slightly dim when hovered */
  }
  
  .social-links a.twitter:hover {
    background-color: #1da1f2; /* Twitter blue */
  }
  
  /* Facebook */
  .social-links a.facebook:hover {
    background-color:#1276ef; /*Facebook blue
    /* background-image: url(https://upload.wikimedia.org/wikipedia/commons/0/05/Facebook_Logo_%282019%29.png); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent; /* Hide default text */
  }
  
  .social-links a.instagram:hover {
    background: #f09433; 
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
     /* Instagram gradient color */
  }
  
  /* WhatsApp */
  .social-links a.whatsapp:hover {
    background-color: #25d366; /* WhatsApp green */
  }
  .social-links a.linkedin:hover {
    background-color: #066aa0; /* LinkedIn blue */
  }
  /* .image-container{
    position: relative;
   
  
  }
  .image-container::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%; 
    height: 100%;
    background: linear-gradient(to right, rgba(72, 104, 89, 0) 0%, rgba(84, 133, 82, 0.5) 100%);
    z-index: -1;
  } */
  
  
  /* Dropdown position */
  .language-container {
    position: relative;
    display: inline-block;
  }
  
  /* Default Language */
  .selected-language {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #662d91;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 20px;
  }
  
  /* Hover Effect */
  .selected-language:hover {
    color: #262262 !important;
  }
  
  /* Dropdown Styling (Bootstrap use karein) */
  .language-dropdown {
    display: none; /* Initially hidden */
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 999;
    width: 150px;
  }
  
  .language-dropdown li {
    padding: 10px 15px;
    color: #333;
    cursor: pointer;
  }
  
  .language-dropdown li:hover {
    background: #262262;
    color: #fff;
  }
  
  /* Active Dropdown */
  .language-container.active .language-dropdown {
    display: block; /* Show dropdown when active */
  }
  
  /* icon size  */
  .message-box-btn i{
    font-size: 24px;
    color: #662d91;
  }
  /* Hover effect on icon */
  .message-box-btn:hover i {
    transform: scale(1.2); /* Increase the size of the icon */
  }
  /* For button hover background color */
  .message-box-btn:hover {
    background-color: #662d91; /* Change background color on hover */
  }
  .fa-robot{
    color: #662d91 !important;
  }
  .search-bar {
    display: flex;
    align-items: center;
    gap: 5px; /* Space between input and button */
    padding: 5px;
  }
  
  .search-bar input {
    padding: 3px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .search-bar button {
    padding: 6px 10px;
    background:   transparent !important;
    border: none;
    color: #662d91;
    border-radius: 2px;
    cursor: pointer;
    font-size: 24px;
  }
  
  .search-bar button:hover {
    background: #262262;
  }
  
  .list-unstyled{
    list-style: circle !important;
  }
  
  .radius{
    max-width: 80% !important;
    border-radius: 25px;
  }
  
  /* dropdown  */
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  @media (max-width: 767px) {
    /* Adjust icon and input size for mobile view */
    .search-bar button i {
      font-size: 16px; /* Reduce icon size */
    }
    .search-bar input {
      font-size: 7px; /* Reduce input text size */
      padding: 2px; /* Reduce padding to fit better */
    }
      /* Reduce gap between icons and elements */
      .d-flex.align-items-center {
        gap: 2px; /* Reduce gap between all right-side items */
      }
    
      /* Reduce margin and padding for individual items */
      .d-flex.align-items-center > * {
        margin: 0 1px; /* Reduce space between each element */
        padding: 3px; /* Adjust padding to make it more compact */
      }
    
      /* Adjust specific icon sizes */
      .d-flex.align-items-center i {
        font-size: 16px; /* Slightly smaller icons */
      }
    
  }
  
  /*--------------------------------------------------------------
  # Contact Section
  --------------------------------------------------------------*/
  #contact{
    font-family: 'Bajron', sans-serif;
  }

  .contact .info-item {
    padding: 20px 0 30px 0;
    box-shadow: 0 0 4px rgba(var(--default-color-rgb), 0.15);
  }
  
  .contact .info-item i {
    color: var(--accent-color);
    width: 56px;
    height: 56px;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    border-radius: 50%;
    box-shadow: 0 2px 3px rgba(var(--default-color-rgb), 0.15);
  }
  
  .contact .info-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0;
  }
  
  .contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
  }
  
  .contact .php-email-form {
    height: 100%;
    padding: 30px;
    box-shadow: 0 0 4px rgba(var(--default-color-rgb), 0.15);
  }
  
  @media (max-width: 575px) {
    .contact .php-email-form {
      padding: 20px;
    }
  }
  
  .contact .php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
  }
  
  .contact .php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #262262;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
  }
  
  .contact .php-email-form .loading {
    display: none;
    background: var(--background-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
  }
  
  .contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: var(--background-color);
    animation: animate-loading 1s linear infinite;
  }
  
  .contact .php-email-form input[type=text],
  .contact .php-email-form input[type=email],
  .contact .php-email-form textarea {
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
    color:black;
    background-color: rgba(var(--background-color-rgb), 0.5);
    border-color: #662d91;
  }
  
  .contact .php-email-form input[type=text]:focus,
  .contact .php-email-form input[type=email]:focus,
  .contact .php-email-form textarea:focus {
    border-color: var(--accent-color);
  }
  
  .contact .php-email-form input[type=text]::placeholder,
  .contact .php-email-form input[type=email]::placeholder,
  .contact .php-email-form textarea::placeholder {
    color: rgba(var(--default-color-rgb), 0.3);
  }
  
  .contact .php-email-form button[type=submit] {
    color: white;
    background: linear-gradient(to left, #262262, #662d91);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 50px;
  }
  
  .contact .php-email-form button[type=submit]:hover {
    background-color: #262262;
  }
  
  @keyframes animate-loading {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
  
.hero-container {
  background: url('../img/CodeScale/codescalehome.png') center top no-repeat;
  background-size: contain;
  min-height: 200px;
  position: relative;
  background-position: top;
}
  @media (max-width: 767px) {
  .hero-container {
    background: url('../img/CodeScale/codescalehome2.png') center top no-repeat;
    background-size: 100% 100%;
    background-position: top;
    min-height: 200px;
  }  
}
