/* ============================================
   DESKTOP & LARGE SCREENS (992px and above)
   ============================================ */
@media (min-width: 992px) {
  /* Navigation Dropdown Animations */
  .navigation .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in, visibility 0s linear 0.2s, transform 0.2s linear;
    display: block;
    visibility: hidden;
    opacity: 0;
    min-width: 200px;
    transform: translateY(10px);
  }
  
  .navigation .dropleft .dropdown-menu,
  .navigation .dropright .dropdown-menu {
    margin-top: -5px;
  }
  
  .navigation .dropdown:hover > .dropdown-menu {
    visibility: visible;
    transition: all 0.3s ease 0s;
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   EXTRA LARGE DEVICES (1200px and below)
   ============================================ */
@media (max-width: 1199px) {
  /* Banner Text */
  .inner-page-banner-section .banner-content .vertical-center-wrapper .vertical-center-container .title {
    font-size: 70px;
    letter-spacing: 25px;
    text-indent: 25px;
  }
  
  .inner-page-banner-section .banner-content .vertical-center-wrapper .vertical-center-container .sub-title {
    font-size: 35px;
    letter-spacing: 12px;
    text-indent: 12px;
  }
  
  /* About Page */
  .floating-image {
    top: -12vh;
  }
  
  .about-company-content {
    padding-right: 30px;
  }
  
  .about-company-image-wrapper {
    min-height: 450px;
  }
  
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
  
  .about-company-section::before,
  .about-company-section::after {
    width: 350px;
    height: 350px;
  }
  
  /* Index Page */
  .index-index-inner-page-banner-section .banner-content .title { 
    font-size: 65px; 
    letter-spacing: 16px;
    text-indent: 16px;
    min-height: 85px; 
  }
  
  .index-index-inner-page-banner-section .banner-content .sub-title { 
    font-size: 28px; 
    letter-spacing: 10px;
    text-indent: 10px;
  }
  
  .home-block-02 {
    width: 100%;
    margin-top: 20px;
  }
  
  .photo-grid-wrapper {
    width: 320px;
  }
  .project-details-wrapper {
    grid-template-columns: 1fr 350px;
    gap: 40px;
  }

  .project-info-column {
    padding-right: 20px;
  }
}

/* ============================================
   LARGE DEVICES (992px - 1399px)
   ============================================ */
@media (min-width: 992px) and (max-width: 1399px) {
  .floating-image-wrapper {
    position: relative;
    height: 100%;
  }
  
  .floating-image {
    position: absolute;
    top: -20vh;
    height: calc(100% + 20vh);
  }
  
  /* Gallery */
  .carousel-slide {
    min-width: 50%;
  }
  
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .award-item.certificate {
    grid-column: span 2;
  }
}

@media (min-width: 1200px) {
  .floating-image {
    top: -20vh;
    height: calc(100% + 20vh);
  }
}

/* ============================================
   LARGE TO MEDIUM DEVICES (992px and below)
   ============================================ */
@media (max-width: 992px) {
  /* Grid System */
  .col-lg-5,
  .col-lg-6,
  .col-lg-7 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .section-header {
    margin-bottom: 42px;
  }
  
  .section-title {
    font-size: 42px;
  }
  
  /* Navigation */
  .navigation {
    text-align: center;
  }
  
  .navigation .dropdown-menu {
    text-align: center;
    float: left !important;
    width: 100%;
    margin: 0;
  }
  
  /* Banner */
  .banner {
    background: #fff !important;
  }
  
  /* Back to Top */
  .backtop {
    bottom: 40px;
    right: 15px;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
    .content-with-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
    
    .photo-grid {
        grid-template-columns: repeat(3, 130px);
        grid-template-rows: repeat(2, 130px);
        gap: 10px;
    }
    
    .photo-grid-item {
        width: 130px;
        height: 130px;
    }
}

/* ============================================
   MEDIUM DEVICES (991px and below)
   ============================================ */
@media (max-width: 991px) {
  /* Banner */
  .inner-page-banner-section {
    margin-top: 80px;
  }
  
  .inner-page-banner-section .banner-content .vertical-center-wrapper .vertical-center-container .title {
    font-size: 56px;
    letter-spacing: 20px;
    text-indent: 20px;
  }
  
  .inner-page-banner-section .banner-content .vertical-center-wrapper .vertical-center-container .sub-title {
    font-size: 32px;
    letter-spacing: 12px;
    text-indent: 12px;
  }
  
  /* About Page */
  .floating-image-wrapper {
    margin-top: 40px;
    height: auto;
  }
  
  .floating-image {
    position: relative;
    top: 0;
    max-width: 100%;
    height: auto;
  }

  .floating-image img {
    height: auto;
    object-fit: contain;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .proprietor-info {
    flex-direction: column;
    text-align: center;
  }
  
  .message-section {
    padding: 30px 0;
  }
  
  .vision-mission-col {
    padding: 0 0;
    margin-bottom: 40px;
  }
  
  .mission-strengths-card {
    flex-direction: column;
  }
  
  .mission-strengths-image {
    height: 300px;
  }
  
  /* About Company Section */
  .about-company-section {
    padding: 30px 0;
  }
  
  .about-company-content {
    padding-right: 0;
    margin-bottom: 50px;
  }
  
  .about-company-content .section-title {
    font-size: 36px;
  }
  
  .about-company-image-wrapper {
    min-height: 400px;
  }
  
  .about-company-image::before {
    top: -15px;
    right: -15px;
  }
  
  .about-company-image img {
    box-shadow: -15px 15px 0 #c90fcd;
  }
  
  .experience-badge {
    left: 20px;
    bottom: 20px;
  }
  
  .about-company-section::before {
    width: 250px;
    height: 250px;
    left: -50px;
  }
  
  .about-company-section::after {
    width: 250px;
    height: 250px;
    right: -50px;
  }
  
  /* Organogram Section */
  .company-organogram-section {
    padding: 30px 0;
  }
  
  .organogram-header h2 {
    font-size: 36px;
  }
  
  .a4-container {
    max-width: 90%;
  }
  
  /* Clients Section */
  .our-clients-section {
    padding: 60px 0;
  }
  
  .clients-header h2 {
    font-size: 36px;
  }
  
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  /* Career Page */
  .culture-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .culture-quote p {
    padding-right: 40px;
  }
  
  .job-table {
    display: block;
    overflow-x: auto;
  }
  
  .section-header h2 {
    font-size: 36px;
  }
  
  .work-with-us-section > .container {
    padding: 0 20px;
  }
  
  /* Contact Page */
  .main-contact-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .office-details-row {
    grid-template-columns: 1fr;
  }
  
  .inquiry-row {
    grid-template-columns: 1fr;
  }
  
  /* Gallery Page */
  .carousel-slide {
    min-width: 50%;
  }
  
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .award-item.certificate {
    grid-column: span 2;
  }
  
  /* Index Page */
  .index-index-inner-page-banner-section .banner-content .title { 
    font-size: 52px; 
    letter-spacing: 12px; 
    text-indent: 12px;
    min-height: 70px; 
  }
  
  .index-index-inner-page-banner-section .banner-content .sub-title { 
    font-size: 24px; 
    letter-spacing: 8px;
    text-indent: 8px;
  }
  
  /* Footer */
  .footer-nav ul {
    gap: 25px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  /* Quality & HSE Cards */
  .quality-cards,
  .hse-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .full-width-section {
    padding: 60px 0;
  }
  
  /* Industries & Activities Sections */
  .industries-section,
  .activities-section {
    padding: 60px 0;
  }
  
  .industries-section .row.align-items-start,
  .activities-section .row.align-items-start {
    align-items: flex-start !important;
  }
  
  .industries-section .row > [class*="col-"],
  .activities-section .row > [class*="col-"] {
    display: block;
  }
  
  .industries-image {
    margin-bottom: 50px;
    flex: none;
    display: block;
  }
  
  .industries-image img {
    height: auto;
    object-fit: contain;
    flex: none;
  }
  
  .industries-image .secondary-img {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 20px;
  }
  
  .activities-image {
    margin-top: 50px;
    flex: none;
    display: block;
  }
  
  .activities-image img {
    height: auto;
    object-fit: contain;
    flex: none;
  }
  
  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  /* Project Cards */
  .project-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
  }
  
  /* Projects Main Wrapper */
  .projects-main-wrapper {
    flex-direction: column;
  }
  
  .projects-section .photo-grid-wrapper {
    width: 100%;
    position: static;
    order: -1;
    margin-bottom: 30px;
  }
  
  .projects-section .photo-grid {
    justify-content: center;
  }
  
  /* Mobile Navigation */
  .navbar-collapse {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 9998 !important;
    padding: 100px 30px 30px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow-y: auto !important;
  }

  .navbar-collapse.collapsing {
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: 100vh !important;
  }

  .navbar-collapse.show {
    transform: translateX(0) !important;
  }

  .navbar-collapse .navbar-nav {
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .navbar-collapse .nav-item {
    margin: 10px 0 !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
  }

  .navbar-collapse.show .nav-item:nth-child(1) { animation-delay: 0.1s; }
  .navbar-collapse.show .nav-item:nth-child(2) { animation-delay: 0.15s; }
  .navbar-collapse.show .nav-item:nth-child(3) { animation-delay: 0.2s; }
  .navbar-collapse.show .nav-item:nth-child(4) { animation-delay: 0.25s; }
  .navbar-collapse.show .nav-item:nth-child(5) { animation-delay: 0.3s; }
  .navbar-collapse.show .nav-item:nth-child(6) { animation-delay: 0.35s; }
  .navbar-collapse.show .nav-item:nth-child(7) { animation-delay: 0.4s; }
  .navbar-collapse.show .nav-item:nth-child(8) { animation-delay: 0.45s; }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .navbar-collapse .nav-link {
    font-size: 22px !important;
    font-weight: 600 !important;
    padding: 15px 20px !important;
    color: #1a1a1a !important;
    letter-spacing: 2px !important;
    transition: color 0.3s ease !important;
  }

  .navbar-collapse .nav-link:hover {
    color: #c90fcd !important;
  }

  .navbar-collapse .nav-item.active .nav-link {
    color: #c90fcd !important;
  }

  .navbar-collapse .dropdown-menu {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-align: center !important;
    position: static !important;
    padding: 10px 0 !important;
  }

  .navbar-collapse .dropdown-item {
    color: #666 !important;
    font-size: 16px !important;
    padding: 10px 20px !important;
    border: none !important;
  }

  .navbar-collapse .dropdown-item:hover,
  .navbar-collapse .dropdown-item.active {
    background: transparent !important;
    color: #c90fcd !important;
  }

  .navbar-toggler {
    position: relative !important;
    z-index: 9999 !important;
    border: none !important;
    padding: 10px !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
  }

  .navbar-toggler .icofont-navigation-menu {
    font-size: 28px !important;
    color: #1a1a1a !important;
    transition: all 0.3s ease !important;
  }

  .navbar-toggler[aria-expanded="true"] .icofont-navigation-menu::before {
    content: "\eee1" !important;
  }

  header {
    z-index: 10000 !important;
  }

  body.menu-open {
    overflow: hidden !important;
  }

  .project-details-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-info-column {
    padding-right: 0;
  }

  .project-meta-column {
    position: static;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .enquire-form-wrapper {
    padding: 40px 30px;
  }
}

/* ============================================
   TABLETS (768px and below)
   ============================================ */
@media (max-width: 768px) {
  /* Loader */
  .loader-gif .loader-desktop {
    display: none;
  }
    
  .loader-gif .loader-mobile {
    display: block;
  }
    
  .loader-gif {
    width: 100%;
    height: 100%;
  }
  
  body {
    padding-top: 0 !important;
  }
  
  /* Banner */
  .inner-page-banner-section {
    margin-top: 105px;
  }
  
  .inner-page-banner-section .banner-content .vertical-center-wrapper .vertical-center-container .title {
    font-size: 42px;
    letter-spacing: 12px;
    text-indent: 12px;
  }
  
  .inner-page-banner-section .banner-content .vertical-center-wrapper .vertical-center-container .sub-title {
    font-size: 26px;
    letter-spacing: 8px;
    text-indent: 8px;
  }
  
  .page-hero {
    height: 320px;
  }
  
  .banner {
    background: #fff !important;
  }
  
  .banner .block h1 {
    font-size: 56px;
    line-height: 70px;
  }
  
  /* About Section */
  .about-section {
    padding: 30px 0;
  }
  
  .floating-image-wrapper {
    margin-top: 30px;
  }
  
  .floating-image {
    position: relative;
    top: 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-tagline {
    font-size: 16px;
  }
  
  .message-header,
  .message-content {
    padding: 30px 20px;
  }
  
  .message-section {
    padding: 50px 0;
  }
  
  .message-header h2 {
    font-size: 26px;
  }
  
  .vision-mission-section,
  .quote-section,
  .mission-strengths-section {
    padding: 30px 0;
  }
  
  .mission-strengths-content {
    padding: 30px;
  }
  
  .quote-text {
    font-size: 18px;
  }
  
  /* About Company Section */
  .about-company-section {
    padding: 50px 0;
  }
  
  .about-company-content .section-title {
    font-size: 28px;
  }
  
  .about-company-content .about-text p {
    font-size: 15px;
  }
  
  .about-company-image-wrapper {
    min-height: 350px;
  }
  
  .about-company-image::before {
    display: none;
  }
  
  .about-company-image img {
    box-shadow: none;
    border-radius: 8px;
  }
  
  .experience-badge {
    left: 15px;
    bottom: 15px;
    padding: 20px 25px;
  }
  
  .experience-badge .years {
    font-size: 40px;
  }
  
  .experience-badge .text {
    font-size: 12px;
  }
  
  .about-company-section::before {
    width: 200px;
    height: 200px;
    left: -80px;
    opacity: 0.2;
  }
  
  .about-company-section::after {
    width: 200px;
    height: 200px;
    right: -80px;
    opacity: 0.2;
  }
  
  /* Organogram Section */
  .company-organogram-section {
    padding: 50px 0;
  }
  
  .organogram-header h2 {
    font-size: 28px;
  }
  
  .organogram-header p {
    font-size: 14px;
  }
  
  .a4-frame {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  }
  
  /* Clients Section */
  .our-clients-section {
    padding: 50px 0;
  }
  
  .clients-header h2 {
    font-size: 28px;
  }
  
  .clients-header p {
    font-size: 14px;
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .client-logo-card {
    padding: 25px;
    min-height: 120px;
  }
  
  .client-logo-card img {
    max-height: 60px;
  }
  
  /* Career Page */
  .work-culture-section {
    padding: 50px 0;
  }
  
  .culture-content h2 {
    font-size: 28px;
  }
  
  .culture-quote p {
    font-size: 16px;
    padding-left: 30px;
    padding-right: 30px;
  }
  
  .quote-mark-left,
  .quote-mark-right {
    width: 50px;
  }
  
  .culture-image img {
    height: 300px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .section-header p {
    font-size: 14px;
  }
  
  .job-table th,
  .job-table td {
    padding: 15px 12px;
    font-size: 12px;
  }
  
  .job-title {
    font-size: 14px;
  }
  
  .apply-btn {
    padding: 8px 16px;
    font-size: 10px;
  }
  
  .check-status-btn {
    padding: 10px 20px;
    font-size: 11px;
  }
  
  .footer-nav ul {
    gap: 15px;
    justify-content: flex-start;
  }
  
  /* Modal Responsive */
  .apply-modal .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .apply-modal .captcha-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  
  .apply-modal .captcha-image-wrapper {
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .status-modal .app-id-input-group {
    flex-direction: column;
  }
  
  .status-result .result-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  /* Contact Page */
  .contact-header-section {
    padding: 30px 0;
  }
  
  .contact-company {
    font-size: 32px;
  }
  
  .tagline-text {
    font-size: 18px;
  }
  
  .tagline-line {
    width: 40px;
  }
  
  .office-info-section {
    padding: 40px 0;
  }
  
  .contact-section {
    padding: 50px 0;
  }
  
  .inquiry-row {
    gap: 30px;
  }
  
  .map-container iframe {
    height: 350px;
  }
  
  .captcha-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  
  .captcha-image-wrapper {
    justify-content: center;
    margin-bottom: 10px;
  }
  
  /* Gallery Page */
  .gallery-section {
    padding: 50px 0;
  }
  
  .carousel-slide {
    min-width: 100%;
  }
  
  .carousel-slide img {
    height: 250px;
  }
  
  .carousel-progress {
    max-width: 150px;
  }
  
  .awards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .award-item.certificate {
    grid-column: span 1;
  }
  
  /* Lightbox */
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  /* Index Page */
  .index-index-inner-page-banner-section .banner-content .title { 
    font-size: 38px; 
    letter-spacing: 8px; 
    text-indent: 8px;
    min-height: 55px; 
  }
  
  .index-index-inner-page-banner-section .banner-content .sub-title { 
    font-size: 18px; 
    letter-spacing: 6px;
    text-indent: 6px;
  }
  
  /* Home Block 02 */
  .home-block-02 {
    width: 100%;
    padding: 20px 0 0 0;
    margin-top: 20px;
  }
  
  .content-block {
    width: 25%;
    padding: 0 15px;
    margin-bottom: 20px;
  }
  
  .content-block img {
    width: 50px;
  }
  
  .content-block .title {
    font-size: 13px;
    line-height: 16px;
  }
  
  /* Industries Grid */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .industry-icon {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
  }
  
  .industry-name {
    font-size: 16px;
  }
  
  /* Client Scroll */
  .client-thumb {
    width: 150px;
    height: 100px;
    margin: 0 20px;
  }
  
  .clients-track {
    animation: scroll 20s linear infinite;
  }
  
  /* Photo Grid */
  .content-with-grid {
      grid-template-columns: 1fr !important;
      gap: 30px !important;
  }
    
  .content-left,
  .photo-grid-wrapper {
      grid-column: 1 !important;
  }
    
  .photo-grid-wrapper {
      justify-content: center !important;
  }
    
  .hse-policy-section .photo-grid {
      grid-template-columns: repeat(3, 130px);
      grid-template-rows: repeat(2, 130px);
      gap: 10px;
  }

  .projects-section .photo-grid {
      grid-template-columns: repeat(4, 140px);
      gap: 20px;
  }
    
  .photo-grid-item {
      width: 130px;
      height: 130px;
  }
  
  /* Full Width Section */
  .full-width-section {
    padding: 50px 0;
  }
  
  .full-width-section .section-title {
    font-size: 28px;
  }
  
  /* Accordion */
  .accordion-header {
    padding: 15px 10px;
  }
  
  .accordion-header:hover {
    transform: translateX(5px);
  }
  
  .accordion-title {
    font-size: 14px;
  }
  
  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .service-name {
    font-size: 14px;
  }
  
  /* Sections Padding */
  .industries-section,
  .activities-section,
  .services-grid-section,
  .quality-policy-section,
  .hse-policy-section {
    padding: 50px 0;
  }
  
  /* Tab Button */
  .tab-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  /* Project Card */
  .project-card {
    padding: 20px 15px;
  }

  .our-management-section {
      padding: 60px 0;
  }
    
  .management-header h2 {
    font-size: 28px;
  }
    
  .management-cards {
    gap: 30px;
  }
    
  .management-card {
    width: 200px;
  }

  .member-image {
    width: 130px;
    height: 150px;
    margin-bottom: 20px;
  }

  .member-name {
    font-size: 18px;
  }

  .project-details-section {
    padding: 40px 0;
  }

  .project-detail-title {
    font-size: 26px;
  }

  .project-meta-column {
    padding: 25px;
  }

  .service-icon-item {
    width: calc(50% - 10px);
  }

  .service-icon-circle {
    width: 55px;
    height: 55px;
  }

  .service-icon-circle i {
    font-size: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .enquire-section {
    padding: 50px 0;
  }

  .enquire-form-wrapper {
    padding: 30px 20px;
  }
  
  /* Back to Top */
  .backtop {
    width: 45px;
    height: 45px;
  }
}

/* ============================================
   MEDIUM SMALL (599px and below)
   ============================================ */
@media (max-width: 599px) {
  .home-block-02 {
    width: 100%;
    padding: 20px 0 0 0;
    margin-top: 20px;
  }
  
  .content-block {
    width: 50%;
    padding: 10px 25px;
    margin-bottom: 20px;
  }
}

/* ============================================
   SMALL DEVICES (576px and below)
   ============================================ */
@media (max-width: 576px) {
  body {
    padding-top: 0 !important;
  }
  
  /* Banner */
  .inner-page-banner-section {
    margin-top: 105px;
  }
  
  .inner-page-banner-section .banner-content .vertical-center-wrapper .vertical-center-container .title {
    font-size: 32px;
    letter-spacing: 8px;
    text-indent: 8px;
  }
  
  .inner-page-banner-section .banner-content .vertical-center-wrapper .vertical-center-container .sub-title {
    font-size: 20px;
    letter-spacing: 6px;
    text-indent: 6px;
  }
  
  .floating-image-wrapper {
    margin-top: 25px;
  }
  
  .footer-nav ul {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 15px;
  }
  
  .proprietor-image {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }
  
  .message-header h2 {
    font-size: 22px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .section-tagline {
    font-size: 15px;
  }
  
  .mission-strengths-list li {
    font-size: 14px;
  }
  
  /* About Company Section */
  .about-company-content .section-title {
    font-size: 24px;
  }
  
  .about-company-image-wrapper {
    min-height: 300px;
  }
  
  .experience-badge {
    padding: 15px 20px;
  }
  
  .experience-badge .years {
    font-size: 36px;
  }
  
  .experience-badge .text {
    font-size: 11px;
    letter-spacing: 1px;
  }
  
  .about-company-section::before,
  .about-company-section::after {
    display: none;
  }
  
  .management-header h2 {
    font-size: 24px;
    letter-spacing: 1px;
  }
  
  .management-card {
    width: 100%;
    max-width: 220px;
  }
  
  .card-body {
    padding: 25px 20px 30px;
  }
  
  .member-image {
    width: 140px;
    height: 160px;
  }
  
  .member-name {
    font-size: 17px;
  }
    
  /* Organogram Section */
  .organogram-header h2 {
    font-size: 24px;
    letter-spacing: 1px;
  }
  
  .a4-container {
    max-width: 95%;
  }
  
  /* Clients Section */
  .clients-header h2 {
    font-size: 24px;
    letter-spacing: 1px;
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .client-logo-card {
    padding: 20px;
    min-height: 100px;
  }
  
  .client-logo-card img {
    max-height: 50px;
  }
  
  /* Career Page */
  .work-culture-section {
    padding: 40px 0;
  }
  
  .culture-content h2 {
    font-size: 24px;
  }
  
  .section-header h2 {
    font-size: 24px;
    letter-spacing: 1px;
  }
  
  /* Mobile Card View for Jobs */
  .work-with-us-section > .container {
    padding: 0 15px;
  }
  
  .job-table thead {
    display: none;
  }
  
  .job-table,
  .job-table tbody,
  .job-table tr,
  .job-table td {
    display: block;
    width: 100%;
  }
  
  .job-table {
    border: none;
  }
  
  .job-table tr {
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    padding: 15px;
    background: #fff;
  }
  
  .job-table td {
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    text-align: left !important;
  }
  
  .job-table td:last-child {
    border-bottom: none;
  }
  
  .job-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .pagination {
    gap: 4px;
  }
  
  .page-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    padding: 0 8px;
  }
  
  /* Modal Responsive */
  .apply-modal .modal-dialog {
    max-width: 95%;
    margin: 15px auto;
  }
  
  .apply-modal .modal-body {
    padding: 25px 20px 20px 20px;
  }
  
  .apply-modal .modal-footer {
    padding: 15px 20px 25px;
  }
  
  /* Form Responsive */
  .form-row {
    grid-template-columns: 1fr;
  }
  
  /* Contact Page */
  .contact-header-section {
    padding: 30px 0;
  }
  
  .contact-company {
    font-size: 26px;
    letter-spacing: 1px;
  }
  
  .tagline-text {
    font-size: 16px;
  }
  
  .tagline-line {
    width: 30px;
  }
  
  .contact-label {
    letter-spacing: 5px;
    font-size: 12px;
  }
  
  .map-container iframe {
    height: 300px;
  }
  
  /* Index Page */
  footer {
    padding: 30px 15px;
  }
  
  .index-index-inner-page-banner-section .banner-content .title { 
    font-size: 28px; 
    letter-spacing: 5px; 
    text-indent: 5px;
    min-height: 42px; 
  }
  
  .index-index-inner-page-banner-section .banner-content .sub-title { 
    font-size: 14px; 
    letter-spacing: 4px;
    text-indent: 4px;
    margin-bottom: 8px; 
  }
  
  .page-hero h1 {
    font-size: 28px;
    letter-spacing: 8px;
    text-indent: 8px;
  }
  
  /* Cards */
  .card-title {
    font-size: 20px;
  }
  
  .card-description {
    font-size: 14px;
  }
  
  /* Industries Grid */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .industry-icon {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    margin-bottom: 15px;
  }
  
  .industry-name {
    font-size: 14px;
  }
  
  /* Client Scroll */
  .client-thumb {
    width: 120px;
    height: 80px;
    margin: 0 15px;
  }
  
  /* Photo Grid */
  .hse-policy-section .photo-grid {
    grid-template-columns: repeat(3, 130px);
    grid-template-rows: repeat(2, 130px);
    gap: 8px;
  }

  .projects-section .photo-grid {
      grid-template-columns: repeat(2, 140px);
      gap: 8px;
  }
    
  .photo-grid-item {
      width: 100px;
      height: 100px;
  }
  
  /* Full Width Section */
  .full-width-section {
    padding: 40px 0;
  }
  
  .full-width-section .section-title {
    font-size: 24px;
  }
  
  .full-width-section .policy-points li {
    font-size: 14px;
    padding-left: 25px;
  }
  
  /* Accordion */
  .accordion-icon {
    width: 35px;
    height: 35px;
    min-width: 35px;
  }
  
  .accordion-icon img {
    width: 24px;
    height: 24px;
  }
  
  .accordion-toggle {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .service-card {
    padding-bottom: 80%;
  }
  
  /* Footer Nav */
  .footer-nav ul {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 15px;
  }
  
  .footer-nav a {
    font-size: 12px;
  }
  
  .copyright-section {
    font-size: 12px;
  }
  
  .made-by {
    justify-content: right;
    margin-top: 20px;
  }
  
  /* Tabs */
  .project-tabs {
    flex-direction: column;
    border-bottom: none;
  }
  
  .tab-btn {
    border-bottom: 2px solid #e5e7eb;
  }
  
  .tab-btn::after {
    bottom: -2px;
  }
  
  /* Project Meta */
  .project-meta {
    flex-direction: column;
    gap: 15px;
  }
  
  /* Pagination */
  .pagination {
    gap: 4px;
  }
  
  .page-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    padding: 0 8px;
  }
  
  /* Projects Photo Grid */
  .projects-section .photo-grid {
    grid-template-columns: repeat(2, 140px);
  }
  
  .projects-section .photo-grid-item {
    width: 140px;
    height: 140px;
  }

  .project-detail-title {
    font-size: 22px;
  }

  .project-detail-description {
    font-size: 15px;
  }

  .services-icons-grid {
    justify-content: center;
  }

  .service-icon-item {
    width: calc(50% - 10px);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-item img {
    height: 120px;
  }

  .location-box {
    flex-direction: column;
    text-align: center;
  }

  .location-details {
    text-align: center;
  }
}

/* ============================================
   EXTRA SMALL DEVICES (480px and below)
   ============================================ */
@media (max-width: 480px) {
  /* Typography */
  h2, .h2 {
    font-size: 1.3rem;
    line-height: 36px;
  }
  
  .text-lg {
    font-size: 28px;
  }
  
  /* Loader */
  .loader-gif {
    width: 450px;
    height: 450px;
  }
  
  /* Banner */
  .banner .block h1 {
    font-size: 38px;
    line-height: 50px;
  }
  
  .banner {
    min-height: 450px;
    background: #fff !important;
  }

  /* Carousel Controls */
  .carousel-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 14px;
  }
  
  .carousel-progress {
    max-width: 100px;
    height: 3px;
  }
  
  .carousel-dots {
    gap: 6px;
  }
  
  .carousel-dots .dot {
    width: 8px;
    height: 8px;
  }
  
  .carousel-controls {
    gap: 12px;
  }
}

@media (max-width: 479px) {
  .home-block-02 {
    padding: 20px 0 0 0;
    margin-top: 50px;
  }
  
  .content-block {
    padding: 5px 15px;
    margin-bottom: 20px;
  }
}

/* ============================================
   VERY SMALL DEVICES (400px and below)
   ============================================ */
@media (max-width: 400px) {
  /* Typography */
  .text-lg {
    font-size: 28px;
  }
  
  body {
    padding-top: 0 !important;
  }

  .inner-page-banner-section {
    margin-top: 105px;
  }
  
  .inner-page-banner-section .banner-content .vertical-center-wrapper .vertical-center-container .title {
    font-size: 26px;
    letter-spacing: 6px;
    text-indent: 6px;
  }
  
  .inner-page-banner-section .banner-content .vertical-center-wrapper .vertical-center-container .sub-title {
    font-size: 16px;
    letter-spacing: 4px;
    text-indent: 4px;
  }
  
  .index-index-inner-page-banner-section .banner-content .title { 
    font-size: 24px; 
    letter-spacing: 4px; 
    text-indent: 4px;
    min-height: 36px; 
  }
  
  .index-index-inner-page-banner-section .banner-content .sub-title { 
    font-size: 12px; 
    letter-spacing: 3px;
    text-indent: 3px;
  }
  
  /* Banner */
  .banner .block h1 {
    font-size: 28px;
    line-height: 40px;
  }
  
  .banner {
    min-height: 450px;
    background: #fff !important;
  }

  .hse-policy-section .photo-grid {
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: repeat(3, 130px);
    gap: 8px;
  }

  /* Carousel Controls */
  .carousel-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 12px;
  }
  
  .carousel-progress {
    max-width: 80px;
    height: 2px;
  }
  
  .carousel-dots {
    gap: 5px;
  }
  
  .carousel-dots .dot {
    width: 6px;
    height: 6px;
  }
  
  .carousel-controls {
    gap: 10px;
  }

}