body{
  padding: 0;
  margin: 0;
}

/*Navigation bar starts here*/
.navbar {
  background-color: #333; /* Custom background color */
  font-size: 0.9rem; /* Adjusted font size */
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.social-icons .social-icon {
  width: 20px;
  height: 20px;
}

.social-text {
  font-size: 0.85rem; /* Slightly smaller font size */
  display: inline; /* Display text by default */
}

/* Responsive Styling for Smaller Screens */
@media (max-width: 768px) {
  .contact-info {
    flex-wrap: nowrap; /* Ensure contact info stays on one line */
  }

  .social-text {
    display: none; /* Hide text next to icons for smaller screens */
  }

  .social-icons .social-icon {
    width: 18px; /* Reduce icon size */
    height: 18px;
  }

  .social-icons {
    gap: 0.05rem; /* Bring icons closer together */
  }

  .icon-sm {
    width: 14px; /* Reduce contact icon size */
    height: 14px;
  }
  .contact-info1{
    font-size: 0.5rem;
  }
}
                  .navbar-nav .nav-link:hover {
                    text-decoration: underline;
                  }

                  .social-icons .nav-link img {
                    width: 24px;
                    margin-right: 5px;
                  }

                  .custom-bg-first-column {
                    background-color: #003366;
                  }

                  .custom-nav-hover{
                    background-color: #fd914f;
                  }

                  .custom-nav-hover .navbar-nav .nav-link {
                    position: relative;
                    color: #fff; /* Default link color */
                    transition: color 0.3s, background-color 0.3s; /* Smooth transition */
                    text-decoration: none;
                  }

                  .custom-nav-hover .navbar-nav .nav-link::after {
                    content: '';
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    height: 2px; /* Thickness of the underline */
                    width: 100%;
                    background-color: #fff; /* Underline color */
                    transform: scaleX(0); /* Start with no underline */
                    transform-origin: left;
                    transition: transform 0.3s ease-in-out; /* Smooth animation */
                    text-decoration: none;
                  }

                  .custom-nav-hover .navbar-nav .nav-link:hover::after {
                    transform: scaleX(1); /* Show the underline on hover */
                  }

                  @media (min-width: 320px) and (max-width: 480px) {
                    
                    .navbar-nav .nav-link {
                      font-size: 10px;
                      padding: 5px 10px; /* Smaller padding for nav links */
                    }

                    .navbar-brand img {
                      max-width: 200px; /* Adjust logo size */
                      height: auto;
                    }

                    .social-icons .nav-link img {
                      width: 20px; /* Smaller icon size */
                      height: 20px;
                      margin-right: 5px;
                    }

                    .contact-info span {
                      font-size: 10px; /* Smaller text for email and phone */
                      margin-bottom: 5px; /* Add spacing between lines */
                    }

                    .navbar {
                      padding: 10px 15px; /* Smaller padding */
                    }

                    .collapse {
                      padding: 10px;
                    }

                    .social-icons .nav-link {
                      padding: 3px 5px;
                      font-size: 12px;
                    }

                    .nav-contact-img span img{
                      height: 25px;
                      width: 25px;
                    }
                    .custom-nav-hover div a img {
                      width: 140px ;
                      height: 30.1px;
                    }
                  }




/*Navigation bar ends here*/

/*Banner starts here*/

                    .carousel-item img {
                      object-fit: cover;
                      max-height: 700px; /* Default height for large screens */
                      width: 100%;
                    }

                    .banner_text_align {
                      position: absolute;
                      top: 50%; 
                      left: 50%; 
                      transform: translate(-35%, -60%); 
                      text-align: center;
                      width: 100%; 
                      padding: 0 15px; 
                      color: #fff; 
                    }

                    /* Responsive Heading and Paragraph Font Sizes */
                    .banner_text_align h5 {
                      font-size: 3vw; /* Dynamic font size based on viewport width */
                      font-weight: bold;
                    }

                    .banner_text_align p {
                      font-size: 2vw; /* Dynamic font size for paragraphs */
                      margin: 5px 0; /* Add spacing between lines */
                    }

                    /* Medium Devices: 768px and below */
                    @media (max-width: 768px) {
                      .carousel-item img {
                        max-height: 500px; /* Reduce image height for tablets */
                      }

                      .banner_text_align h5 {
                        font-size: 3vw; /* Reduce heading size for medium screens */
                      }

                      .banner_text_align p {
                        font-size: 2vw; /* Adjust paragraph size for medium screens */
                      }
                    }

                    /* Small Devices: 576px and below */
                    @media (max-width: 576px) {
                      .carousel-item img {
                        max-height: 400px; /* Reduce image height for smaller screens */
                      }

                      .banner_text_align {
                        transform: translate(-35%, -90%); /* Center the text block */
                      }

                      .banner_text_align h5 {
                        font-size: 3vw; /* Adjust heading size for small screens */
                      }

                      .banner_text_align p {
                        font-size: 2vw; /* Adjust paragraph size for small screens */
                        margin: 1px 0;
                      }
                    }

                    /* Extra Small Devices: 320px to 480px */
                    @media (max-width: 480px) {
                      .carousel-item img {
                        max-height: 300px; /* Adjust image height for extra small devices */
                      }

                      .banner_text_align {
                        transform: translate(-35%, -95%); /* Center the text block */
                      }

                      .banner_text_align h5 {
                        font-size: 3vw; /* Further adjust heading size */
                      }

                      .banner_text_align p {
                        font-size: 2vw; /* Further adjust paragraph size */
                      }
                    }

                    /* Specific Adjustments for 320px Devices */
                    @media (max-width: 320px) {
                      .carousel-item img {
                        max-height: 250px; /* Further reduce image height for very small devices */
                      }

                      .banner_text_align h5 {
                        font-size: 3vw; /* Smallest heading size */
                      }

                      .banner_text_align {
                        transform: translate(-35%, -95%); /* Center the text block */
                      }

                      .banner_text_align p {
                        font-size: 2vw; /* Smallest paragraph text */
                      }
                    }

/*Banner ends here*/

/* About Section Styles */

                    .about-section {
                      background-color: #f9f9f9;
                      padding: 50px 15px; /* Reduce padding for smaller devices */
                    }

                    .about-left {
                      position: relative;
                      display: flex;
                      justify-content: center; /* Center the content horizontally */
                      align-items: center; /* Center the content vertically */
                    }

                    .rotating-background {
                      position: absolute;
                      top: 10%; /* Center vertically */
                      left: 0%; /* Center horizontally */
                      transform: translate(-50%, -50%); /* Adjust based on size */
                      width: 400px; /* Adjust size for responsiveness */
                      height: 400px; /* Adjust size for responsiveness */
                      background-image: url(../images/about-02\ 1.png);
                      background-size: contain;
                      animation: rotate 8s linear infinite;
                      opacity: 0.5;
                    }

                    .front-image {
                      width: 250px; /* Square width */
                      height: 250px; /* Square height */
                      overflow: hidden; /* Prevent any overflow */
                      display: flex;
                      align-items: center;
                      justify-content: center;
                      position: relative;
                  }
                  
                  .front-image img {
                      width: 100%;
                      height: 100%;
                      object-fit: cover; /* Ensures the image fills the square */
                      object-position: center; /* Center the image within the square */
                  }
                  
                  
                    .about-right h2 {
                      color: #fd914f;
                      font-weight: light;
                    }

                    .about-right p {
                      margin: 20px 0;
                      line-height: 1.6;
                    }

                    .about-right .btn1 {
                      background-color: #FD914F;
                      color: white;
                      padding: 10px 20px;
                      text-decoration: none;
                      border: none;
                      border-radius: 5px;
                    }

                    .about-right .btn1:hover {
                      background-color: #17384E;
                      color:white
                    }

                    .signature {
                      margin-left: 20px;
                    }

                    .signature img {
                      max-width: 100px;
                      height: auto;
                    }

                    @keyframes rotate {
                      from {
                        transform: rotate(0deg);
                      }
                      to {
                        transform: rotate(360deg);
                      }
                    }

                    /* Media Queries for Responsive Adjustments */

                    @media (max-width: 768px) {
                      

                      .front-image {
                        width: 200px; /* Adjust size for smaller screens */
                        height: 200px;
                    }
                      .rotating-background {
                        width: 250px;
                        height: 250px;
                        top: 15%; /* Center vertically */
                        left: 10%; /* Center horizontally */
                        transform: translate(-50%, -50%); /* Adjust based on size */
                      }

                      .about-right {
                        padding-left: 0; /* Remove padding on smaller screens */
                        text-align: center; /* Center-align text */
                      }

                      .signature img {
                        margin-left: 0;
                      }
                    }

                    @media (max-width: 576px) {

                      .front-image {
                        width: 150px; /* Adjust size for smaller screens */
                        height: 150px;
                    }
                      

                      .rotating-background {
                        width: 225px;
                        height: 225px;
                        top: 15%; /* Center vertically */
                        left: 10%; /* Center horizontally */
                        transform: translate(-50%, -50%); /* Adjust based on size */
                      }

                      .about-section {
                        padding: 30px 10px; /* Reduce padding further for very small devices */
                      }

                      .about-right h2 {
                        font-size: 1.8rem; /* Adjust heading size */
                      }

                      .about-right p {
                        font-size: 0.9rem; /* Adjust paragraph size */
                      }

                      .btn1 {
                        padding: 8px 16px; /* Adjust button size */
                      }
                    }

                    @media (max-width: 480px) {
                     

                      .rotating-background {
                        width: 200px;
                        height: 200px;
                        top: 15%; /* Center vertically */
                        left: 0%; /* Center horizontally */
                        transform: translate(-50%, -50%); /* Adjust based on size */
                      }

                      .about-left {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                      }
                    }

/* About Section Styles */


/* YT Section */

                    .contact-section {
                      background-color: #FD914F;
                      padding: 50px 0;
                    }

                    .contact-info .icon-wrapper {
                      background-color: white;
                      border-radius: 50%;
                      display: flex;
                      justify-content: center;
                      align-items: center;
                      width: 60px;
                      height: 60px;
                      flex-shrink: 0; /* Prevent shrinking */
                    }


                    .contact-info .icon-wrapper img {
                      width: 50%;
                      height: 50%;
                    }

                    .contact-info h5 {
                      margin: 0;
                      font-weight: bold;
                    }

                    .contact-info p {
                      margin: 0;
                      color: #333;
                    }

                    .contact-info ul {
                      padding: 0;
                    }

                    .contact-info li {
                      list-style: none;
                    }

                    .youtube-link {
                      text-decoration: none;
                      color: #17384E;
                      font-weight: bold;
                    }

                    .video-wrapper {
                      position: relative;
                      padding-bottom: 56.25%; /* 16:9 aspect ratio */
                      height: 0;
                      overflow: hidden;
                    }

                    .video-wrapper iframe {
                      position: absolute;
                      top: 0;
                      left: 0;
                      width: 100%;
                      height: 100%;
                    }

/*Yt section ends here*/ 


/*Our Consultancy*/
                    .carousel-section {
                      text-align: center;
                      padding: 50px 0;
                      color: #fff;
                      background: url('../images/consul\ bg.png') no-repeat center center;
                      background-size: cover;
                      position: relative;
                    }

                    .carousel-section::before {
                      content: '';
                      position: absolute;
                      top: 0;
                      left: 0;
                      width: 100%;
                      height: 100%;
                      background: rgba(0, 0, 0, 0.6);
                      z-index: 1;
                    }

                    .carousel-section h2,
                    .carousel-section p {
                      position: relative;
                      z-index: 2;
                    }

                    .carousel-section h2 {
                      font-size: 2.5rem;
                      margin-bottom: 15px;
                      color: #FD914F;
                      font-weight: light;
                    }

                    .carousel-section p {
                      font-size: 1.2rem;
                      margin-bottom: 50px;
                    }

                    .owl-carousel .item {
                      padding: 10px;
                    }

                    .owl-carousel .item img {
                      width: 80%;
                      height: auto;
                      max-height: 300px;
                      margin: 0 auto;
                      border-radius: 10px;
                      transition: opacity 1s ease-in-out, transform 0.3s ease-in-out;
                    }

                    .owl-carousel .item img:hover {
                      transform: scale(1.05);
                    }

/*Our Consultancy ends here */

/*Latest work section*/

                    .latest-work-section {
                      position: relative;
                      padding: 50px 20px;
                      background-color: #fff;
                    }

                    .latest-work-section .background-image {
                      position: absolute;
                      bottom: 0;
                      left: 0;
                      width: 500px;
                      height: auto;
                      animation: rotate3 35s linear infinite;
                      opacity: 0.8;
                      z-index: 1;
                      overflow: hidden;
                    }

                    @keyframes rotate3 {
                      from {
                        transform: rotate(0deg);
                      }

                      to {
                        transform: rotate(360deg);
                      }
                    }

                    .latest-work-section .content {
                      position: relative;
                      z-index: 2;
                    }

                    .latest-work-section h2 {
                      font-size: 2rem;
                      text-align: center;
                      color: #FD914F;
                      font-weight: light;
                    }

                    .latest-work-section p.subheading {
                      text-align: center;
                      font-size: 1rem;
                      color: #555;
                      margin-bottom: 40px;
                    }

                    .work-card {
                      background: #f8f9fa;
                      border: 1px solid #ddd;
                      border-radius: 8px;
                      overflow: hidden;
                      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
                      transition: transform 0.3s ease, box-shadow 0.3s ease;
                    }

                    .work-card:hover {
                      transform: translateY(-5px);
                      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
                    }

                    .work-card img {
                      width: 100%;
                      height: 300px;
                      object-fit: cover;
                    }

                    .work-card .card-body {
                      padding: 15px;
                      text-align: center;
                    }

                    .work-card .card-title {
                      font-size: 1.2rem;
                      font-weight: bold;
                      margin-bottom: 10px;
                      color: #333;
                    }

                    .work-card .card-text {
                      font-size: 0.9rem;
                      color: #666;
                    }

/*Latest work section ends here*/

/*Gallery section*/

                    .gallery-section {
                      position: relative;
                      padding: 50px 20px;
                      background-color: #fff;
                    }

                    .gallery-section .images {
                      display: grid;
                      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                      gap: 20px;
                    }

                    /* Background image styling */
                    .gallery-section .background-image {
                      position: absolute;
                      top: 0;
                      right: 0;
                      width: 600px;
                      height: 100%;
                      object-fit: contain;
                      animation: rotate2 35s linear infinite;
                      opacity: 0.8;
                      z-index: 1;
                      overflow: hidden;
                    }

                    @keyframes rotate2 {
                      from {
                        transform: rotate(0deg);
                      }

                      to {
                        transform: rotate(360deg);
                      }
                    }

                    .gallery-section .content {
                      position: relative;
                      z-index: 2;
                    }

                    .gallery-section h2 {
                      text-align: center;
                      font-size: 2.5rem;
                      font-weight: light;
                      color: #FD914F;
                      margin-bottom: 10px;
                    }

                    .gallery-section p.subheading {
                      text-align: center;
                      font-size: 1.2rem;
                      color: #555;
                      margin-bottom: 40px;
                    }

                    .gallery-section .image-card {
                      margin: 5px;
                      overflow: hidden;
                      border-radius: 8px;
                      transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
                    }

                    .gallery-section .image-card img {
                      width: 100%;
                      height:100%;
                      
                      transition: transform 0.3s ease-in-out;
                    }

                    .gallery-section .image-card:hover img {
                      transform: scale(1.1);
                    }

                    .gallery-section .image-card:hover {
                      transform: translateY(-5px);
                      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
                    }

                    .gallery-section .load-more-btn {
                      display: inline-block;
                      width: 200px;
                      margin: 40px auto 0;
                      padding: 10px 30px;
                      font-size: 1rem;
                      font-weight: bold;
                      color: #fff;
                      background-color: #FD914F;
                      border: none;
                      border-radius: 5px;
                      cursor: pointer;
                      transition: background-color 0.3s ease-in-out;
                    }

                    .gallery-section .load-more-btn:hover {
                      background-color: #17384E;
                    }

/*Gallery Section ends here*/

/*Footer section*/

                    .footer-section {
                      display: flex;
                      flex-wrap: wrap;
                      padding: 50px 20px;
                      background-color: #17384E;
                    }

                    /* Left Section Styling */
                    .footer-left {
                      background-color: #17384E;
                      color: #fff;
                      padding: 30px;
                      flex: 1;
                      min-width: 300px;
                    }

                    .footer-left h4 {
                      font-size: 1.5rem;
                      margin-bottom: 15px;
                      border-bottom: 2px solid #FD914F;
                      padding-bottom: 5px;
                    }

                    .footer-left ul {
                      list-style-type: none;
                      padding: 0;
                    }

                    .footer-left ul li {
                      margin-bottom: 10px;
                      font-size: 1rem;
                      line-height: 1.5;
                    }

                    .footer-left ul li h5 {
                      color: #FD914F;
                    }

                    /* Right Section Styling */
                    .footer-right {
                      background-color: #FD914F;
                      padding: 30px;
                      flex: 1;
                      min-width: 300px;
                      border-top-left-radius: 50px;
                      border-bottom-left-radius: 50px;
                      border-top-right-radius: 50px;
                      border-bottom-right-radius: 50px;
                    }

                    .footer-right h4 {
                      font-size: 1.5rem;
                      margin-bottom: 20px;
                      color: #fff;
                      text-align: center;
                    }

                    .footer-right form .form-control {
                      margin-bottom: 15px;
                      border-radius: 5px;
                    }

                    .footer-right form .btn {
                      display: block;
                      width: 100%;
                      padding: 10px;
                      font-size: 1rem;
                      font-weight: bold;
                      color: #fff;
                      background-color: #17384E;
                      border: none;
                      border-radius: 5px;
                      cursor: pointer;
                      transition: background-color 0.3s ease-in-out;
                    }

                    .footer-right form .btn:hover {
                      background-color: #17384E;
                    }

/*Footer ends here


/*-Responsive start-*/

/* Extra Small Mobile: 320px - 480px */

@media (max-width: 480px) {

  .navbar-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-section {
    padding: 10px;
  }

  .about-right h2 {
    font-size: 1.2rem;
  }

  .contact-section {
    padding: 15px 10px;
  }

  .carousel-section h2,
  .gallery-section h2 {
    font-size: 1.5rem;
  }

  .gallery-section .load-more-btn {
    width: 100%;
  }

  .work-card {
    margin-bottom: 15px;
  }

  .footer-section {
    padding: 15px;
  }

  .footer-left h4,
  .footer-right h4 {
    font-size: 1rem;
  }
}

/* Small Mobile: 481px - 600px */
@media (min-width: 481px) and (max-width: 600px) {


  .navbar-links a {
    font-size: 14px;
  }

  .about-section {
    padding: 20px;
  }

  .about-right h2 {
    font-size: 1.5rem;
  }

  .contact-section {
    padding: 20px 15px;
  }

  .carousel-section h2 {
    font-size: 1.8rem;
  }

  .footer-section {
    padding: 20px;
  }

  .footer-left h4,
  .footer-right h4 {
    font-size: 1.2rem;
  }
}

/* Small Tablets: 601px - 768px */
@media (min-width: 601px) and (max-width: 768px) {


  .navbar-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-section {
    flex-direction: column;
    padding: 30px;
  }

  .about-right h2 {
    font-size: 1.5rem;
  }

  .contact-section {
    padding: 30px;
  }

  .footer-section {
    flex-direction: column;
    padding: 20px;
  }

  .footer-left h4 {
    font-size: 1.5rem;
  }
}

/* Large Tablets: 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {


  .about-section {
    padding: 40px;
  }

  .about-right h2 {
    font-size: 2rem;
  }

  .footer-section {
    flex-direction: row;
    padding: 40px;
  }
}

/* Small Desktops and Laptops: 1025px - 1280px */
@media (min-width: 1025px) and (max-width: 1280px) {
    

  .about-section {
    padding: 50px;
  }

  .about-right h2 {
    font-size: 2.2rem;
  }

  .footer-section {
    padding: 50px;
  }
}

/* Large Desktops and High-Resolution Screens: 1281px - 1440px */
@media (min-width: 1281px) and (max-width: 1440px) {
  

  .about-section {
    padding: 60px;
  }

  .about-right h2 {
    font-size: 2.5rem;
  }

  .footer-section {
    padding: 60px;
  }
}

/* Extra-Large Desktops: 1441px and up */
@media (min-width: 1441px) {
  

  .about-section {
    padding: 70px;
  }

  .about-right h2 {
    font-size: 2.8rem;
  }

  .footer-section {
    padding: 70px;
  }
}

@media (hover: none) {
  .work-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/*-Responsive End-*/
