/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

:root {
    --teal: #007984;
    --orange: #f2653b;
    --light-bg: #e6f4f3;
    --light-orange: #ffe9e1;
    --gray: #444444;
    --total-bg: #fdd9bf;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Noto Sans Devanagari',, sans-serif;
    background: linear-gradient(145deg, #f5f7fa 0%, #e0e7ff 100%);
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
    position: relative;
}

/* Main Content */
main {
    flex: 1;
    margin: 30px auto;
    padding: 0 20px;
    max-width: 1280px;
    width: 100%;
}

section {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.8s ease-out;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

h2 {
    text-align: center;
    color: #087f8d;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #087f8d, #f46a3f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    color: #2d3748;
    font-size: 1.7em;
    font-weight: 600;
    margin: 18px 0 12px;
    position: relative;
}

h3:not(.service-card h3)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #f46a3f, #087f8d);
    border-radius: 2px;
}

p {
    margin: 10px 0;
    color: #4a5568;
    text-align: justify;
    font-size: 1.1em;
}

/* Header Styles */
header {
    background: linear-gradient(90deg, #ffffff 0%, #f8fafc 100%);
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    height: 110px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

.header-text {
    margin-left: 15px;
    text-decoration: none;
}

.header-text h1 {
    font-size: 1.8em;
    font-weight: 700;
    color: #087f8d;
    animation: fadeInText 0.8s ease-out;
}

.header-text p {
    font-size: 0.95em;
    color: #718096;
    animation: fadeInText 0.8s ease-out;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #087f8d;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: rotate(90deg);
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #2d3748;
    font-size: 1.1em;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: #f46a3f;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #087f8d;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Footer Styles */
footer {
    background: linear-gradient(90deg, #087f8d, #f46a3f);
    padding: 15px 20px;
    text-align: center;
    font-size: 1em;
    color: #ffffff;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
    color: #ffffff;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffd166;
}

/* Services Section Styles */
.section-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 10px;
    color: #00777A;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #444;
}

.highlighted-service {
    display: flex;
    justify-content: center;
    padding: 0 20px 30px 20px;
}

.highlighted-service .service-card {
    width: 100%;
    max-width: 1100px;
}

.grouped-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.service-card {
    background-color: #fdfdfd;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 12px;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #00777A;
}

.service-details {
    max-height: none;
    overflow: visible;
}

.service-details ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 10px;
    color: #333;
}

.service-details p {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: #444;
}

.service-card button {
    background-color: #F26522;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s, transform 0.2s;
}

.service-card button:hover {
    background-color: #d9541b;
    transform: translateY(-2px);
}

.special-card {
    background-color: #f3faff;
    border-left: 6px solid #00777A;
}

/* Contact Details Styles */
.contact-details {
    background: #ffffff;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.8s ease-out;
    width: 100%;
    margin: 15px auto;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-details:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.contact-details h3 {
    font-size: 1.8em;
    font-weight: 700;
    color: #087f8d;
    margin-bottom: 18px;
    background: linear-gradient(90deg, #087f8d, #f46a3f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-details p {
    font-size: 1.15em;
    color: #4a5568;
    margin: 12px 0;
    text-align: center;
}

.contact-details a {
    color: #087f8d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #f46a3f;
}

.disclaimer-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    text-align: center;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    background: linear-gradient(45deg, #087f8d, #f46a3f);
    color: #ffffff;
    padding: 14px 19px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    font-size: 1.3em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.back-to-top:hover {
    transform: scale(1.15);
    background: linear-gradient(45deg, #f46a3f, #087f8d);
}

/* Chat Button Styles */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 16px;
    font-family: 'Noto Sans Devanagari', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    text-decoration: none;
}

.chat-button:hover {
    background-color: #128C7E;
}

.chat-button img {
    width: 24px;
    height: 24px;
}

/* Commitment Page Specific Styles */
.commitment-header {
    background: linear-gradient(90deg, #edf2f7, #ffffff);
    padding: 15px;
    animation: slideDown 0.8s ease-out;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.commitment-header .header-content {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.commitment-header .logo {
    width: 60px;
    height: auto;
}

.commitment-header .header-text h1 {
    font-size: 1.8em;
    font-weight: 700;
    color: #087f8d;
}

.commitment-header .header-text p {
    font-size: 0.95em;
}

.commitment-ul {
    list-style: none;
    padding-left: 15px;
}

.commitment-li {
    margin: 10px 0;
    color: #4a5568;
    position: relative;
    padding-left: 25px;
    transition: color 0.3s ease;
}

.commitment-li::before {
    content: '★';
    color: #f46a3f;
    position: absolute;
    left: 0;
    top: 2px;
}

.commitment-li:hover {
    color: #087f8d;
}

/* Terms and Privacy Page Specific Styles */
.terms-ul, .privacy-ul {
    list-style: none;
    padding-left: 15px;
}

.terms-li, .privacy-li {
    margin: 10px 0;
    color: #4a5568;
    position: relative;
    padding-left: 25px;
}

.terms-li::before, .privacy-li::before {
    content: '➤';
    color: #087f8d;
    position: absolute;
    left: 0;
    top: 2px;
}

/* Contact Page Specific Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
}

.contact-left, .contact-right {
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.contact-left {
    background: #f7fafc;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    margin-top: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 600;
    font-size: 1em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Noto Sans Devanagari', 'Kalimati', sans-serif;
    font-size: 1em;
    color: #2d3748;
    background: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #087f8d;
    box-shadow: 0 0 0 4px rgba(8, 127, 141, 0.2);
}

.contact-form textarea {
    height: 140px;
    resize: vertical;
}

.contact-form button {
    background: linear-gradient(90deg, #f46a3f, #087f8d);
    padding: 14px 28px;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-form button:hover {
    background: linear-gradient(90deg, #087f8d, #f46a3f);
}

.contact-right iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Labor Approval Table Styles */
/* Labor Approval Table Styles */
.shram-details h2 {
    margin-top: 40px;
    color: var(--teal);
    font-size: 24px;
    border-left: 5px solid var(--orange);
    padding-left: 10px;
    text-align: left;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

p.notice {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 1rem;
}

.table-container {
    overflow-x: auto;
    margin: 1rem 0 40px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background-color: var(--teal);
    color: white;
}

th, td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #ddd;
    font-family: 'Noto Sans Devanagari', sans-serif;
}

th {
    font-weight: bold;
}

td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--teal);
}

tr:nth-child(even) td {
    background-color: var(--light-bg);
}

tr.total-row {
    background-color: var(--total-bg);
    font-weight: bold;
}

tr.total-row td:first-child {
    color: var(--orange);
    font-size: 1.1rem;
}

/* Mobile-responsive card-style table */
@media screen and (max-width: 768px) {
    .table-container {
        overflow-x: hidden;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        margin: 15px 0;
        border: 1px solid #ddd;
        border-radius: 8px;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 10px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    tr:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 10px;
        border: none;
        border-bottom: 1px solid #eee;
        text-align: right;
        font-size: 1rem;
        color: var(--gray);
        min-height: 40px;
    }

    td::before {
        content: attr(data-label);
        font-weight: bold;
        text-align: left;
        flex: 1;
        color: var(--teal);
        white-space: normal;
        margin-right: 10px;
    }

    td:last-child {
        border-bottom: none;
    }

    tr.total-row {
        background-color: var(--total-bg);
        border-left: 4px solid var(--orange);
        padding: 12px;
    }

    tr.total-row td {
        font-size: 1.1rem;
        color: var(--orange);
        font-weight: bold;
        justify-content: flex-end;
    }

    tr.total-row td::before {
        color: var(--orange);
        font-size: 1.1rem;
    }

    .shram-details {
        padding: 1rem;
    }

    .shram-details h2 {
        font-size: 1.5rem;
    }
}
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #ffffff;
        position: absolute;
        top: 80px;
        left: 0;
        padding: 15px 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px 25px;
        border-top: 1px solid #f8fafc;
        font-size: 1.1em;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-left, .contact-right {
        min-height: auto;
    }

    .contact-right iframe {
        min-height: 300px;
    }

    footer {
        font-size: 0.95em;
        padding: 20px 15px;
    }

    .commitment-header .header-text h1 {
        font-size: 1.6em;
    }

    .commitment-header .header-text p {
        font-size: 0.9em;
    }

    .commitment-header .logo {
        width: 50px;
    }
}

@media (max-width: 600px) {
    section {
        padding: 20px;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.5em;
    }

    .service-card {
        padding: 15px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .back-to-top {
        bottom: 25px;
        right: 25px;
        padding: 12px 16px;
        font-size: 1.2em;
    }

    .logo {
        height: 90px;
    }

    .header-text h1 {
        font-size: 1.5em;
    }

    .header-text p {
        font-size: 0.85em;
    }

    .service-card button {
        padding: 8px 12px;
        font-size: 0.9em;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px;
    }
}