/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

/* ===== NAVBAR STYLES - FIXED ===== */
.home-navbar {
    background-color: #000;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 110px;
}



.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    max-width: 1400px;
    margin: 0 auto;
    height: 80px; /* Fixed height for consistency */
}

.Brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.Brand img {
    width: 210px;
    height: 100px; /* Adjusted to match navbar height */
    object-fit: contain;
    margin-top: 30px;
    display: block;
}

.brand-text {
    color: white;
    font-size: 9px;
    margin-top: -5px;
    font-family: Arial, sans-serif;
    letter-spacing: 2px;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 60px; /* Reduced gap for better spacing */
    align-items: center;
    margin-top: 30px;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px; /* Slightly smaller for better fit */
    font-weight: 500;
    line-height: 80px; /* Match navbar height */
    display: block;
    transition: color 0.3s ease;
    padding: 0 8px; /* Added padding for better click area */
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #45f5af;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #000;
    min-width: 280px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    line-height: 50px;
    padding: 0 20px;
    white-space: nowrap;
    border-bottom: 1px solid #333;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: #333;
    color: #45f5af;
}

.dropdown-toggle .fa-chevron-down {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

/* Background layers */
.bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: -1;
    animation: showBg 30s infinite steps(1, end);
}

.bg1 {
    background-image: url("screen.png");
    animation-delay: 0s;
}

.bg2 {
    background-image: url("screen1.avif");
    animation-delay: 10s;
}

.bg3 {
    background-image: url("screen2.png");
    animation-delay: 20s;
}

/* Hero Text */
.hero-text h1,
.hero-text h2 {
    margin: 0;
    padding: 0;
    text-align: center;
    color: white;
}

.hero-text h1 {
    font-size: 24px;
    font-weight: 300;
    margin-top: 150px;
}

.hero-text h2 {
    font-size: 48px;
    font-weight: bold;
    margin-top: 40px;
}

/* Image 2 Content */
.image2-1stcontent {
    font-size: 25px;
    font-weight: bold;
    color: aliceblue;
    margin-top: 200px;
    text-align: center;
    padding: 0 40px;
}

.image2-2ndcontent {
    font-size: 20px;
    font-weight: normal;
    color: aliceblue;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.6;
    padding: 0 40px;
}

/* Animations */
@keyframes showBg {
    0% { opacity: 1; }
    33.33% { opacity: 1; }
    33.34% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.fade-in.delayed {
    animation-delay: 0.50s;
}

/* ===== COMPANY SECTION ===== */
.company-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 100px;
    background-color: #fff;
}

.line {
    flex: 1;
    padding-right: 40px;
}

.company-introduce {
    font-size: 32px;
    color: #111;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.introduction {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
}

.company-logo img {
    width: 350px;
    height: auto;
    border-radius: 10px;
}

/* ===== WORK SECTION ===== */
.work-section {
    text-align: center;
    background-color: #fff;
    padding: 60px 80px;
}

.work-type {
    font-size: 40px;
    color: #111;
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.work-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

.work-item {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.work-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.work-btn {
    display: block;
    padding: 12px 0;
    background-color: #111;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.work-btn:hover {
    background-color: #45f5af;
    color: #000;
}

/* ===== GUIDE SECTION ===== */
.Guide-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 100px;
    background-color: #b5caf2;
    flex-wrap: wrap;
}

.line3 {
    flex: 1;
    padding: 40px;
    margin-right: 50px;
    background: linear-gradient(135deg, #ffffff, #e8ecf3);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.line3:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.perfection-work {
    font-size: 36px;
    color: #111;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.work-introduce {
    font-size: 18px;
    color: #333;
    line-height: 1.7;
}

.Guide-work img {
    width: 420px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.Guide-work img:hover {
    transform: scale(1.03);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    text-align: center;
    padding: 60px 20px;
    background-image: url("email-image.jpg");
    background-size: cover;
    background-position: center;
}

.contact-heading {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0c0c0c;
    margin-bottom: 40px;
    border-bottom: 3px solid #040404;
    display: inline-block;
    padding-bottom: 5px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-info {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.contact-info h2 {
    font-size: 15px;
    color: #000;
    margin-bottom: 20px;
}

.contact-info h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-3dimage {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.contact-3dimage img {
    max-width: 500px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(247, 245, 245, 0.925);
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.contact-3dimage img:hover {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

#contact-form {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form label {
    font-weight: bold;
    text-align: left;
}

#contact-form input,
#contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    outline: none;
}

#contact-form button {
    margin-top: 10px;
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s ease;
}

#contact-form button:hover {
    background-color: #45f5af;
    border-color: #45f5af;
    color: #000;
}

#form-status {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.whatsapp-float,
.call-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float {
    background-color: #25d366;
    color: #fff;
}

.call-float {
    background-color: #007bff;
    color: #fff;
}

.whatsapp-float:hover,
.call-float:hover {
    transform: scale(1.1);
}

.whatsapp-float:hover {
    background-color: #1ebe5a;
}

.call-float:hover {
    background-color: #0056b3;
}

/* ===== FOOTER SECTION ===== */
.footer-section {
    background-color: #000000;
    color: #f8f5f5;
    text-align: center;
    padding: 20px 20px;
}

.footer-logo img {
    width: 200px;
    height: auto;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
}

.footer-text a {
    color: #16f199;
    text-decoration: none;
    font-weight: bold;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* ===== UNIFIED HERO SECTION FOR ALL PAGES ===== */

.home-about,
.home-services {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    background-image: url(screen1.avif);
    background-size: cover;
    background-position: center 30%; 
    background-repeat: no-repeat;
    color: #f7f3f3;
    font-family: Arial, sans-serif;
}

/**
.home-about,
.home-services {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    background-image: url(about-bg.webp);
    color: #f7f3f3;
    font-family: Arial, sans-serif;
} **/

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 18px;
    position: absolute;
    left: 50px; /* Fixed position from left */
    top: 50%;
    transform: translateY(-50%); /* Perfect vertical centering */
}

.breadcrumb a {
    color: #f4efef;
    font-weight: bold;
    font-size: 34px;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #040404;
}

.breadcrumb .separator {
    margin: 0 8px;
    font-weight: bold;
    font-size: 34px;
    color: #f8f3f3;
}

.breadcrumb .current-page {
    color: #5bf700;
    font-weight: bold;
    font-size: 25px;
}



/* ===== UNIFIED SERVICE PAGE LAYOUT ===== */
.fabrication-section,
.shutdown-section,
.pipe-section,
.maintenance-section,
.Rotary-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 60px 100px;
    background-color: #fff;
    flex-wrap: wrap;
    font-family: Arial, sans-serif;
}

/* Content Styles */
.fabrication-content,
.shutdown-content,
.pipe-content,
.maintenance-content,
.Rotary-content {
    flex: 1;
    max-width: 55%;
    color: #222;
}

.fabrication-content h2,
.shutdown-content h2,
.pipe-content h2,
.maintenance-content h2,
.Rotary-content h2 {
    font-size: 26px;
    color: #070707;
    margin-bottom: 20px;
}

.fabrication-content h3 {
    font-size: 20px;
    margin-top: 25px;
    color: #111;
}

.fabrication-content p,
.shutdown-content p,
.pipe-content p,
.maintenance-content p,
.Rotary-content p,
.additional-section p {
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
}

.fabrication-content ul,
.shutdown-content ul,
.pipe-content ul,
.maintenance-content ul,
.Rotary-content ul {
    margin-left: 20px;
    color: #131212;
    line-height: 1.8;
    font-size: 16px;
}

.fabrication-content hr {
    margin: 20px 0;
    border: 1px solid #0a0a0a;
    width: 100%;
}

/* Image Styles */
.fabrication-image,
.shutdown-image,
.pipe-image,
.maintenance-image,
.Rotary-image {
    flex: 1;
    text-align: right;
}

.fabrication-image img,
.shutdown-image img,
.pipe-image img,
.maintenance-image img,
.Rotary-image img {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    display: block;
}

/* Additional Section */
.additional-section {
    padding: 40px 100px;
    background-color: #fafafa;
    font-family: Arial, sans-serif;
}

.additional-section h3 {
    font-size: 22px;
    color: #000;
    margin-bottom: 15px;
}

/* ===== PROJECTS SECTION ===== */
.project_section {
    background-image: url('email-image.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px 30px;
}

.project_introduce {
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 50px;
    color: #111;
    text-align: center;
    line-height: 1.6;
}

.project_title {
    font-size: 22px;
    font-weight: bold;
    color: #111;
    margin-bottom: 25px;
    text-align: left;
}

.project-container {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.reverse .project-container {
    flex-direction: row-reverse;
}

.project-image {
    width: 380px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.project-right {
    flex: 1;
    min-width: 350px;
}

.project-right p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin: 6px 0;
}

.project-right strong {
    color: #111;
}

.project-line {
    border: none;
    border-top: 2px solid #ccc;
    margin: 40px auto;
    width: 90%;
}

/* ===== EQUIPMENTS SECTION ===== */
.equipment-section {
    background: linear-gradient(135deg, #f9f9f9, #f2f2f2);
    padding: 60px 25px;
    font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    color: #222;
}

.equipment-header {
    text-align: center;
    margin-bottom: 40px;
}

.equipment-header h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.equipment-header p {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.equipment-table-wrapper {
    overflow-x: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.equipment-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 15px;
}

.equipment-table thead tr {
    background: linear-gradient(90deg, #222, #444);
    color: #fff;
}

.equipment-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.equipment-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

.equipment-table tbody tr:nth-child(odd) {
    background-color: #fafafa;
}

.equipment-table tbody tr:hover {
    background-color: #e8f0ff;
    transition: 0.3s ease;
}

.equipment-table tbody tr:last-child {
    font-weight: 600;
    background: #fdf3e7;
    color: #333;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 40px 20px;
    background: #fff;
}

.gallery-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin: 40px 0 30px;
    letter-spacing: 2px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
    padding: 0 40px 60px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.gallery-caption {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    font-size: 18px;
    font-weight: 600;
    border-top: 3px solid #c9932f;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.modal-content:hover {
    transform: scale(1.02);
}

#caption {
    text-align: center;
    color: #f1f1f1;
    font-size: 20px;
    margin-top: 15px;
}

.close {
    position: absolute;
    top: 25px;
    right: 45px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #f39c12;
}

/* ===== CONTACT FORM SECTION ===== */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 60px 10%;
    background: #e6eaed;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 250px;
}

.contact-info h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #222;
    display: inline-block;
    margin-bottom: 20px;
}

.contact-info p {
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-form {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.contact-form button {
    background: #0c0c0c;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 18px;
}

.contact-form button:hover {
    background: #45f5af;
    color: #000;
}

/* ===== ABOUT PAGE SPECIFIC STYLES ===== */
.contractor_owner {
    padding: 60px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(email-image.jpg);
    font-family: Arial, sans-serif;
}

.founder-heading {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #111;
    text-align: center;
}

.founder-container {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.founder-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-image {
    width: 380px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.founder-name {
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #111;
    text-align: center;
}

.founder-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.box {
    background-color: #ecbbbb;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.box h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #111;
}

.box p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.Profile {
    background-color: #fff;
    text-align: center;
    padding: 80px 20px;
    font-family: "Poppins", Arial, sans-serif;
}

.download-title {
    font-size: 28px;
    color: #222;
    margin-bottom: 40px;
}

.download-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #000;
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.download-btn .arrow {
    margin-left: 10px;
    font-weight: bold;
}

.download-btn:hover {
    background-color: #000;
    color: #fff;
    transform: scale(1.05);
}

/* =========================
   ✅ MOBILE RESPONSIVENESS
   ========================= */
@media (max-width: 768px) {
    /* NAVBAR MOBILE - FIXED */
    .nav-container {
        padding: 0 15px;
        height: 70px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 0;
        display: none;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
    }
    
    .nav-menu a {
        line-height: 50px;
        padding: 0 15px;
        border-bottom: 1px solid #333;
        font-size: 16px;
        line-height: 50px;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        background: #111;
    }
    
    .dropdown.active .dropdown-menu {
        display: flex;
    }
    
    .dropdown-menu a {
        padding-left: 30px;
        font-size: 15px;
    }
    
    .Brand img {
        width: 150px;
        height: 60px;
    }
    
    .brand-text {
        font-size: 8px;
        margin-top: -3px;
    }
    
    /* HERO SECTION MOBILE */
    .hero {
        height: 400px;
    }
    
    .hero-text h1 {
        font-size: 18px;
        margin-top: 100px;
    }
    
    .hero-text h2 {
        font-size: 28px;
        margin-top: 20px;
    }
    
    .image2-1stcontent {
        font-size: 18px;
        margin-top: 100px;
        padding: 0 20px;
    }
    
    .image2-2ndcontent {
        font-size: 14px;
        max-width: 90%;
        padding: 0 20px;
    }
    
    /* COMPANY SECTION MOBILE */
    .company-section {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }
    
    .line {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .company-introduce {
        font-size: 26px;
    }
    
    .introduction {
        font-size: 16px;
    }
    
    .company-logo img {
        width: 200px;
    }
    
    /* WORK SECTION MOBILE */
    .work-section {
        padding: 40px 20px;
    }
    
    .work-type {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .work-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .work-item img {
        height: 200px;
    }
    
    .work-btn {
        font-size: 16px;
        padding: 15px 0;
    }
    
    /* GUIDE SECTION MOBILE */
    .Guide-section {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }
    
    .line3 {
        margin: 0 0 30px 0;
        padding: 25px;
    }
    
    .perfection-work {
        font-size: 26px;
    }
    
    .work-introduce {
        font-size: 16px;
    }
    
    .Guide-work img {
        width: 100%;
        max-width: 350px;
    }
    
    /* CONTACT SECTION MOBILE */
    .contact-section {
        padding: 40px 15px;
    }
    
    .contact-heading {
        font-size: 26px;
    }
    
    .contact-container {
        flex-direction: column;
        padding: 25px 20px;
        gap: 30px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-3dimage img {
        max-width: 100%;
    }
    
    /* SERVICE SECTIONS MOBILE */
    .fabrication-section,
    .shutdown-section,
    .pipe-section,
    .maintenance-section,
    .Rotary-section,
    .additional-section {
        flex-direction: column;
        padding: 30px 20px;
        gap: 25px;
        text-align: center;
    }
    
    .fabrication-content,
    .shutdown-content,
    .pipe-content,
    .maintenance-content,
    .Rotary-content {
        max-width: 100%;
    }
    
    .fabrication-content h2,
    .shutdown-content h2,
    .pipe-content h2,
    .maintenance-content h2,
    .Rotary-content h2 {
        font-size: 20px;
    }

    
    .fabrication-content h3 {
        font-size: 18px;
    }
    
    .fabrication-content p,
    .shutdown-content p,
    .pipe-content p,
    .maintenance-content p,
    .Rotary-content p,
    .additional-section p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .fabrication-content ul,
    .shutdown-content ul,
    .pipe-content ul,
    .maintenance-content ul,
    .Rotary-content ul {
        font-size: 15px;
        text-align: left;
        margin-left: 20px;
    }
    
    .fabrication-image,
    .shutdown-image,
    .pipe-image,
    .maintenance-image,
    .Rotary-image {
        text-align: center;
    }
    
.fabrication-image img,
.shutdown-image img,
.pipe-image img,
.maintenance-image img,
.Rotary-image img {
    width: 100%;
    max-width: 350px;
    height: 250px; 
    object-fit: cover; 
    margin: 0 auto;
}


 .Rotary-image img {
    width: 150%; /* Keep it 100% to maintain container width */
    height: 250px; /* Same height as other images */
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
}
    
    .additional-section {
        padding: 30px 20px;
    }
    
    /* PROJECTS MOBILE */
    .project_section {
        padding: 30px 15px;
    }
    
    .project_introduce {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .project_title {
        font-size: 18px;
        text-align: center;
    }
    
    .project-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .reverse .project-container {
        flex-direction: column;
    }
    
    .project-image {
        width: 100%;
        height: auto;
    }
    
    .project-right {
        min-width: 100%;
        text-align: left;
    }
    
    .project-right p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* EQUIPMENTS MOBILE */
    .equipment-section {
        padding: 40px 15px;
    }
    
    .equipment-header h2 {
        font-size: 22px;
    }
    
    .equipment-header p {
        font-size: 14px;
    }
    
    .equipment-table-wrapper {
        max-width: 100%;
        box-shadow: none;
        padding: 0;
    }
    
    .equipment-table th,
    .equipment-table td {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    /* GALLERY MOBILE */
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px 50px;
        gap: 20px;
    }
    
    .gallery-title {
        font-size: 26px;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .gallery-caption {
        font-size: 16px;
        padding: 10px 0;
    }
    
    /* ABOUT PAGE MOBILE */
    .contractor_owner {
        padding: 40px 20px;
    }
    
    .founder-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .founder-image {
        width: 100%;
        height: auto;
    }
    
    .box {
        padding: 15px 20px;
    }
    
    .download-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    /* CONTACT FORM MOBILE */
    .contact-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 25px;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .contact-info p {
        font-size: 15px;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
        padding: 10px;
    }
    
    .contact-form button {
        width: 100%;
        font-size: 16px;
        padding: 12px;
    }
    
    /* FLOATING BUTTONS MOBILE */
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float,
    .call-float {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    /* FOOTER MOBILE */
    .footer-logo img {
        width: 150px;
    }
    
    .footer-text {
        font-size: 12px;
    }
    
    /* UNIFIED HERO MOBILE */
    .home-about,
    .home-services {
        height: 200px;
        padding: 0 20px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 15px;
    }
    
    .breadcrumb a {
        font-size: 24px;
    }
    
    .breadcrumb .separator {
        font-size: 24px;
    }
    
    .breadcrumb .current-page {
        font-size: 18px;
    }
    
    .page-title {
        font-size: 24px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero {
        height: 350px;
    }
    
    .hero-text h1 {
        font-size: 16px;
    }
    
    .hero-text h2 {
        font-size: 24px;
    }
    
    .company-section,
    .work-section,
    .Guide-section {
        padding: 30px 15px;
    }
    
    .contact-container {
        padding: 20px 15px;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    #caption {
        font-size: 16px;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .close {
        top: 15px;
        right: 25px;
        font-size: 30px;
    }
    
    .contact-info h2 {
        font-size: 1.3rem;
    }
    
    #form-status {
        font-size: 0.9rem;
    }
    
    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float,
    .call-float {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}