/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #304254;
    --secondary-color: #ffffff;
    --accent-color: #2196f3;
    --text-dark: #000000;
    --text-light: #ffffff;
    --overlay-dark: rgba(0, 0, 0, 0.45);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Bar */
.header-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6.5rem;
    background: rgb(255, 255, 255);
    z-index: 998;
}

/* Social Media Navigation */
.social-nav {
    position: fixed;
    top: 2.5rem;
    left: calc(50% + 247.5px);
    z-index: 1001;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.social-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.social-nav a:hover {
    transform: scale(1.1);
}

.social-nav img {
    width: 32px;
    height: 32px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 2.5rem;
    width: 100%;
    background: transparent;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: 700;
    font-size: 1.12rem;
    transition: color 0.3s;
    white-space: nowrap;
    text-shadow: none;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links .nav-text {
    color: rgb(0, 0, 0);
    font-weight: 700;
    font-size: 1.4rem;
    text-shadow: none;
    cursor: default;
}

.nav-links a.active-page {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: fixed;
    right: 2rem;
    top: 2.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: calc(100vh - 6.5rem);
    margin-top: 6.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}



.hero-logo {
    position: fixed;
    top: -0.3rem;
    left: 12%;
    z-index: 1002;
    padding: 0.5rem 1rem;
    width: fit-content;
}

.hero-logo img {
    height: 100.548px;
    width: auto;
    display: block;
}

.hero-content {
    position: absolute;
    left: 12%;
    top: 60%;
    transform: translateY(-50%) translateX(100vw);
    z-index: 2;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
    max-width: none;
    text-align: left;
    filter: blur(5px);
    transition: none;
    pointer-events: none;
}

.hero-content.active {
    transform: translateY(-50%) translateX(0);
    filter: blur(0px);
    transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
    pointer-events: auto;
}

.hero-content.exiting {
    transform: translateY(-50%) translateX(-100vw);
    filter: blur(5px);
    transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 8px;
    width: fit-content;
    letter-spacing: normal;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: normal;
    display: block;
    margin-top: 0.0rem;
    letter-spacing: normal;
    line-height: 1.2;
}

.hero p {
    font-size: 3.5rem;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 8px;
    margin-top: 1rem;
    width: fit-content;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--secondary-color);
    scroll-margin-top: 6rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-image {
    margin-top: 0;
    margin-bottom: 0;
}

.about-image img {
    display: block;
    margin-top: 0;
    margin-bottom: 0;
}

.about-vision {
    margin-top: 0;
}

.about-vision h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.5rem;
}

.about-vision p {
    font-size: 1.2rem;
    line-height: 1.3;
    color: #000;
    margin-bottom: 0.6rem;
    text-align: justify;
    font-weight: 500;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.5rem;
}

.about-text h3:first-of-type {
    margin-top: 1.5rem;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.3;
    color: #000;
    margin-bottom: 0.6rem;
    text-align: justify;
    font-weight: 500;
}

.about-image img {
    width: 100%;
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 2px solid #e0e0e0;
}

.stat-item {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-item img {
    width: 150px;
    height: 100px;
    object-fit: contain;
}

.stat-item-middle img {
    width: 195px;
    height: 130px;
    object-fit: contain;
}



/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(rgba(135, 206, 235, 0.3), rgba(135, 206, 235, 0.3)),
        url('assets/background.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.services h2 {
    text-align: center;
    font-size: 2.45rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-video {
    width: 100%;
    height: 224px;
    overflow: hidden;
    position: relative;
}

.service-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    padding: 0.5rem;
    text-align: center;
    font-size: 1.6rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-light);
    font-weight: 600;
}



/* HSEQ Section */
.hseq {
    padding: 3rem 0;
    background: #f5f5f5;
    text-align: center;
}

.hseq h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hseq p {
    font-size: 1.8rem;
    color: #666;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 3.5rem 0;
    background: var(--primary-color);
    color: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.1rem;
    margin-bottom: 0.21rem;
    font-weight: 700;
    line-height: 1.2;
}

.contact-info>p {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.contact-details {
    margin: 0.35rem 0;
}

.contact-details h3 {
    font-size: 1.05rem;
    margin-bottom: 0.21rem;
    font-weight: 600;
    line-height: 1;
}

.contact-details p {
    margin: 0.14rem 0;
    font-size: 0.84rem;
    line-height: 1.2;
}

.contact-details a {
    color: #87CEEB;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1.05rem;
    margin-top: 1.4rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.social-links a img {
    width: 16.8px;
    height: 16.8px;
}

.contact-video {
    width: 100%;
    border-radius: 10px;
}

.contact-video video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Detail Pages */
.detail-logo {
    position: fixed;
    top: -0.3rem;
    left: 12%;
    z-index: 1001;
    padding: 0.5rem 1rem;
}

.detail-logo img {
    height: 100.548px;
    width: auto;
    display: block;
}

.detail-content {
    padding: 8rem 0 3rem 0;
    background: var(--secondary-color);
    min-height: auto;
}

.detail-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.detail-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.detail-text {
    font-size: 1.1rem;
    line-height: 1.3;
    color: #333;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-header-left {
    flex: 1;
}

.service-nav-top {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}

.service-nav-btn-top {
    padding: 0.7rem 0.5rem;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    white-space: normal;
    flex: 1;
    text-align: center;
    min-width: 0;
    line-height: 1.2;
    overflow: hidden;
}

.service-nav-btn-top:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.service-nav-btn-top.active {
    background: var(--primary-color);
    color: var(--secondary-color);
    cursor: default;
    pointer-events: none;
}

/* Service Navigation */
.service-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.service-nav.products-nav {
    grid-template-columns: repeat(3, 1fr);
}

.service-nav-btn {
    padding: 0.6rem 0.3rem;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.7rem;
    transition: all 0.3s;
    text-align: center;
    white-space: nowrap;
}

.service-nav-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.service-nav-btn.active {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Sub-Services Section */
.sub-services {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.sub-services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.sub-services-grid {
    display: flex;
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
    justify-content: space-between;
}

.sub-service-card {
    background: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    flex: 1;
}

.sub-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: var(--primary-color);
}

.sub-service-card:hover h3,
.sub-service-card:hover p {
    color: var(--text-light);
}

.sub-service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    transition: color 0.3s;
}

.sub-service-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    transition: color 0.3s;
}

/* Contact Form Section */
.contact-form-section {
    padding: 10rem 0 5rem;
    background: linear-gradient(rgba(135, 206, 235, 0.1), rgba(135, 206, 235, 0.1)),
        url('assets/background.jpg') center/cover no-repeat;
    min-height: 100vh;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-form-header p {
    font-size: 1.2rem;
    color: #666;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-map {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-map h2 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.map-container-inline {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container-inline iframe {
    display: block;
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info-sidebar h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-cta {
    margin-top: 0rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.info-item {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.info-item:last-of-type {
    border-bottom: none;
}

.info-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.2rem 0;
}

.contact-info-sidebar .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-info-sidebar .social-links a {
    transition: transform 0.3s;
}

.contact-info-sidebar .social-links a:hover {
    transform: scale(1.1);
}

.contact-info-sidebar .social-links img {
    width: 32px;
    height: 32px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form button:hover {
    background: #243442;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Product Sections */
.product-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e0e0e0;
    scroll-margin-top: 8rem;
}

.product-section:first-of-type {
    margin-top: 1rem;
}

.product-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.product-section h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-section h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-section p {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 0.6rem;
}

.product-section ul {
    margin-left: 2rem;
    margin-bottom: 0.6rem;
}

.product-section li {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 0.5rem;
}

.product-section li strong {
    color: var(--primary-color);
}

.product-footer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 10px;
    text-align: center;
}

.product-footer h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-footer p {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 0.3rem;
}

/* Products Landing Page */
.products-landing {
    min-height: calc(100vh - 7rem);
}

.products-main-title {
    font-size: 1.3rem !important;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.product-card-large {
    flex: 1 1 300px;
    max-width: 400px;
    background: var(--secondary-color);
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    text-align: center;
}



.product-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: var(--primary-color);
}

.product-card-large:hover h3,
.product-card-large:hover p {
    color: var(--text-light);
}

.product-card-large h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    transition: color 0.3s;
}

.product-card-large p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    transition: color 0.3s;
}

.product-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    transition: color 0.3s;
}

.product-card-large:hover .product-icon {
    color: var(--text-light);
}

.product-icon svg {
    width: 100%;
    height: 100%;
}

/* Map Section */
.map-section {
    padding: 3rem 0;
    background: var(--secondary-color);
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    display: block;
    width: 100%;
}

.detail-text p {
    margin-bottom: 0.6rem;
}

.detail-text ul {
    margin-left: 2rem;
    margin-bottom: 0.6rem;
}

.detail-text li {
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.detail-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.detail-image img,
.detail-image video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* HSEQ specific image size reduction */
.detail-image-hseq img {
    width: 70%;
    margin: 0 auto;
    display: block;
}

/* Footer */
.footer {
    background: #FFFFFF;
    color: var(--text-dark);
    padding: 3rem 0 2rem;
    text-align: center;
    border-top: 2px solid #e0e0e0;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-images {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    max-width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
}

.footer-image-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.footer-image-item img {
    width: 120px;
    height: 70px;
    object-fit: contain;
}

.footer-copyright {
    margin: 0;
    font-size: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-bar {
        height: 5rem;
    }

    .hero {
        height: calc(100vh - 5rem);
        margin-top: 5rem;
    }

    .hamburger {
        display: flex;
        right: 1.5rem;
        top: 1.5rem;
    }

    .social-nav {
        top: 1rem;
        left: 50%;
        gap: 1rem;
    }

    .social-nav img {
        width: 24px;
        height: 24px;
    }

    .navbar {
        padding: 1rem;
        top: 2rem;
    }

    .detail-logo {
        top: 0.5rem;
        left: 5%;
    }

    .detail-logo img {
        height: 90px;
    }

    .detail-content {
        padding: 6.5rem 0 2rem 0;
    }

    .detail-header {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .detail-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .detail-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .detail-text {
        font-size: 0.95rem;
    }

    .service-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .service-nav-btn {
        font-size: 0.8rem;
        padding: 0.6rem 0.5rem;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 5rem;
        flex-direction: column;
        background: var(--secondary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-links a {
        font-size: 1.2rem;
        color: var(--text-dark);
        text-shadow: none;
    }

    .nav-links .nav-text {
        font-size: 1.2rem;
        color: var(--text-dark);
        text-shadow: none;
    }

    .nav-links a.active-page {
        opacity: 0.5;
    }

    .nav-links.active {
        right: 0;
    }

    .hero-logo {
        top: 0.3rem;
        left: 5%;
        width: fit-content;
    }

    .hero-logo img {
        height: 85.5px;
    }

    .hero-content {
        left: 5%;
        top: 60%;
        transform: translateY(-50%) translateX(100vw);
        padding: 0;
        max-width: 90%;
        text-align: left;
    }
    
    .hero-content.active {
        transform: translateY(-50%) translateX(0);
    }
    
    .hero-content.exiting {
        transform: translateY(-50%) translateX(-100vw);
    }

    .hero h1 {
        font-size: 1.8rem;
        padding: 0.4rem 0.8rem;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.3;
        max-width: 100%;
    }



    .about {
        padding: 2.5rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-text h3 {
        font-size: 1.3rem;
        margin-top: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-top: 2rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .services {
        padding: 2.5rem 0;
    }

    .services h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-video {
        height: 200px;
    }

    .service-card h3 {
        font-size: 1.2rem;
        padding: 0.5rem;
    }

    .hseq {
        padding: 2rem 0;
    }

    .hseq h2 {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }

    .hseq p {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .contact {
        padding: 2.5rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-info>p {
        font-size: 1.2rem;
    }

    .contact-details h3 {
        font-size: 1.2rem;
    }

    .contact-details p {
        font-size: 1rem;
    }

    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .sub-services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sub-service-card {
        padding: 1.5rem;
    }

    .sub-service-card h3 {
        font-size: 1.3rem;
    }

    .sub-service-card p {
        font-size: 0.95rem;
    }

    .contact-form-section {
        padding: 8rem 0 3rem;
    }

    .contact-form-header h1 {
        font-size: 2rem;
    }

    .contact-form-header p {
        font-size: 1rem;
    }

    .contact-form-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }

    .contact-map h2 {
        font-size: 1.5rem;
    }

    .map-container-inline {
        height: 350px;
    }

    .footer-images {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-image-item img {
        width: 100px;
        height: 60px;
    }

    .service-nav-top {
        flex-wrap: wrap;
    }

    .service-nav-btn-top {
        font-size: 0.75rem;
        padding: 0.5rem 0.3rem;
        line-height: 1.1;
    }

    .product-section h2 {
        font-size: 1.8rem;
    }

    .product-section h3 {
        font-size: 1.3rem;
    }

    .product-section h4 {
        font-size: 1.1rem;
    }

    .product-section p,
    .product-section li {
        font-size: 0.95rem;
    }

    .products-grid {
        gap: 1rem;
    }

    .product-card-large {
        padding: 2.5rem 2rem;
    }

    .product-card-large h3 {
        font-size: 1.8rem;
    }

    .product-card-large p {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .header-bar {
        height: 5rem;
    }

    .hero {
        height: calc(100vh - 5rem);
        margin-top: 5rem;
    }

    .social-nav {
        gap: 0.8rem;
        left: calc(50% + 50px);
    }

    .social-nav img {
        width: 20px;
        height: 20px;
    }

    .navbar {
        top: 1.8rem;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .hero-logo {
        top: 0.05rem;
        left: 3%;
        width: fit-content;
    }

    .hero-logo img {
        height: 55.575px;
    }

    .detail-logo {
        top: 0.05rem;
        left: 3%;
    }

    .detail-logo img {
        height: 58.5px;
    }

    .detail-content {
        padding: 6rem 0 1.5rem 0;
    }

    .service-nav-top {
        gap: 0.3rem;
    }

    .detail-header {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .detail-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .detail-body {
        gap: 1rem;
    }

    .detail-text {
        font-size: 0.85rem;
    }

    .service-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }

    .service-nav-btn {
        font-size: 0.7rem;
        padding: 0.5rem 0.3rem;
    }

    .hero-content {
        left: 3%;
        top: 55%;
        transform: translateY(-50%) translateX(100vw);
        max-width: 94%;
        text-align: left;
    }
    
    .hero-content.active {
        transform: translateY(-50%) translateX(0);
    }
    
    .hero-content.exiting {
        transform: translateY(-50%) translateX(-100vw);
    }

    .hero h1 {
        font-size: 1.3rem;
        padding: 0.3rem 0.6rem;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.2;
        max-width: 100%;
    }



    .about {
        padding: 2rem 0;
    }

    .about-content {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .about-text h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .about-text h3 {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .about-text p {
        font-size: 0.85rem;
    }

    .stats {
        padding-top: 1.5rem;
        gap: 0.8rem;
    }

    .stat-item {
        padding: 0.8rem;
    }

    .services {
        padding: 2rem 0;
    }

    .services h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .services-grid {
        gap: 1rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .hseq {
        padding: 1.5rem 0;
    }

    .hseq h2 {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }

    .hseq p {
        font-size: 1rem;
    }

    .contact {
        padding: 2rem 0;
    }

    .contact-content {
        gap: 1rem;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }

    .contact-info>p {
        font-size: 1rem;
    }

    .contact-details h3 {
        font-size: 1rem;
    }

    .contact-details p {
        font-size: 0.9rem;
    }

    .social-links {
        margin-top: 1rem;
    }

    .sub-services h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .sub-service-card {
        padding: 1.2rem;
    }

    .sub-service-card h3 {
        font-size: 1.1rem;
    }

    .sub-service-card p {
        font-size: 0.85rem;
    }

    .contact-form-section {
        padding: 7rem 0 2rem;
    }

    .contact-form-header h1 {
        font-size: 1.5rem;
    }

    .contact-form-header p {
        font-size: 0.9rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-map h2 {
        font-size: 1.2rem;
    }

    .map-container-inline {
        height: 300px;
    }

    .contact-info-sidebar h2 {
        font-size: 1.2rem;
    }

    .info-item strong {
        font-size: 1rem;
    }

    .info-item p {
        font-size: 0.85rem;
    }

    .footer-images {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-image-item img {
        width: 80px;
        height: 50px;
    }

    .service-nav-top {
        flex-wrap: wrap;
    }

    .service-nav-btn-top {
        font-size: 0.65rem;
        padding: 0.4rem 0.2rem;
        line-height: 1.1;
    }

    .product-section h2 {
        font-size: 1.5rem;
    }

    .product-section h3 {
        font-size: 1.1rem;
    }

    .product-section h4 {
        font-size: 1rem;
    }

    .product-section p,
    .product-section li {
        font-size: 0.85rem;
    }

    .product-footer {
        padding: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card-large {
        padding: 2rem 1.5rem;
    }

    .product-card-large h3 {
        font-size: 1.5rem;
    }

    .product-card-large p {
        font-size: 0.95rem;
    }

    .products-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}