.tooltip-trigger {
    position: relative;
    /* This is crucial for positioning the tooltip */
    cursor: help;
    /* Changes the mouse cursor to a question mark */
    border-bottom: 1px dotted #333;
    /* Underlines the text to show it's interactive */
}

.tooltip-text {
    /* Hide the tooltip by default */
    visibility: hidden;
    opacity: 0;

    /* Tooltip appearance */
    width: 220px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    font-size: 0.9rem;

    /* Position the tooltip above the text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    /* Position it above the trigger text */
    left: 50%;
    margin-left: -110px;
    /* Use half of the width to center it */

    /* Add a smooth fade-in effect */
    transition: opacity 0.3s;
}

/* Create the little arrow pointing down */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* Show the tooltip when hovering over the trigger text */
.tooltip-trigger:hover .tooltip-text {
    visibility: visible;
    opacity: 1; }
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

main {
    flex: 1;
}

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

a {
    text-decoration: none;
    color: #007aff; /* A clear link color */
    font-weight: 500;
}


/* Header Styles */
header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 20px;
    /* Slightly reduced padding for a tighter look */
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* This is the NEW logo style */
.logo {
    display: flex;
    /* Aligns image and text side-by-side */
    align-items: center;
    /* Vertically centers them */
    gap: 12px;
    /* Adds a nice space between the image and text */
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    /* Make sure the logo text has a color */
}

/* Style the image within the logo */
.logo img {
    height: 40px;
    /* Control the size of your logo image */
    width: auto;
    /* Maintain aspect ratio */
}

.header-contact a {
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #007aff;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.header-contact a:hover {
    background-color: #005bb5;
}
/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    color: #fff;
    background: url("images/dirty-metal-texture.webp") no-repeat center center/cover;
}

.hero-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px 20px;
    border-radius: 10px;
    display: inline-block;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.hero p a {
    color: #58caff;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}
.hero p a:hover {
    border-color: #58caff;
}

/* --- NEW STYLES for Services, Why Us, Area --- */

/* General Section Styling */
.services-section, .why-us-section, .area-section {
    padding: 60px 0;
    text-align: center;
}

.services-section, .area-section {
    background-color: #fff;
}

.why-us-section {
    background-color: #f9f9f9;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: #666;
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.3rem;
    padding: 20px 20px 10px 20px;
}

.service-card p {
    padding: 0 20px 20px 20px;
    color: #666;
}

/* Why Us Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Area Section */
.area-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- END NEW STYLES --- */

/* Footer */
footer {
    background-color: #333;
    color: #eee;
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

footer a {
    color: #fff;
    font-weight: bold;
}

/* --- REMOVED .seo-headings style --- */

/* Responsive Media Queries */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.2rem; }
    h2 { font-size: 1.8rem; }
    header { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1.1rem; }
    .hero-content { padding: 20px; }
    .services-grid, .features-grid { grid-template-columns: 1fr; }
    .header-contact a { width: 100%; text-align: center; }
}