/* --- Variables & Reset --- */
:root {
    --primary-dark: #2F4F4F; /* Dark Slate Gray */
    --accent: #48D1CC;       /* Medium Turquoise */
    --accent-hover: #afeeee; /* Pale Turquoise */
    --text-main: #191970;    /* Midnight Blue */
    --bg-light: #F5F5F5;     /* White Smoke */
    --white: #FFFFFF;
    --footer-bg: #1a1a1a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

/* --- Layout Utilities --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
    width: 100%;
}

.section-padding { padding: 80px 0; }
.center-text { text-align: center; margin-bottom: 50px; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-dark); color: var(--white); }
.border-top-light { border-top: 1px solid rgba(255,255,255,0.1); }

/* --- Buttons --- */
.btn-cta {
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.2s, background-color 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
    margin-top: 15px;
}

.btn-cta:hover {
    transform: scale(1.05);
    background-color: var(--accent-hover);
}

.btn-cta.large {
    padding: 15px 35px;
    font-size: 1.1rem;
    margin-top: 25px;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

/* Base style for all nav links */
.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 10px; /* Reduced slightly to make room for padding */
    font-weight: 500;
}

/* NEW: Styles specifically for the standard links (Home, About, Services) */
.nav-links a:not(.btn-cta) {
    padding: 8px 16px; /* Invisible box around the text */
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

/* NEW: The Hover Effect */
.nav-links a:not(.btn-cta):hover {
    background-color: var(--accent); /* Teal Background */
    color: var(--primary-dark);      /* Dark Text for readability */
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(47, 79, 79, 0.85), rgba(47, 79, 79, 0.85)), url('../images/hero-banner.jpeg');
    background-size: cover;
    background-position: 50% 25%;
    background-repeat: no-repeat;
    color: var(--white);
    text-align: center;
    padding: 120px 0;
}

.hero h1 { font-size: 2.8rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto; opacity: 0.9; }

/* --- Split Layouts --- */
.split-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.text-block { flex: 1; }
.image-block { flex: 1; display: flex; justify-content: center; }

.sub-heading { 
    color: var(--accent); 
    letter-spacing: 2px; 
    margin-bottom: 10px; 
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    border-radius: 8px;
    background-size: cover; 
    background-position: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: block;
    object-fit: contain;
}

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

.card {
    background: var(--white);
    padding: 0; 
    text-align: center;
    border-bottom: 5px solid var(--accent);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-radius: 8px;
    transition: transform 0.2s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover { transform: translateY(-5px); }

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

.card-content {
    padding: 25px;
    flex-grow: 1;
}

/* --- Detailed Services List --- */
.services-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
}

.service-column { list-style: none; padding: 0; }

.service-column li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.service-column i {
    color: var(--primary-dark);
    margin-right: 10px;
    font-size: 0.8rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Testimonials --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 8px;
    border-left: 5px solid var(--accent);
}

.quote-author {
    margin-top: 15px;
    font-weight: bold;
    color: var(--primary-dark);
}

/* --- FAQ Accordion --- */
.faq-container { max-width: 800px; margin: 0 auto; }

details {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

summary {
    background-color: rgba(72, 209, 204, 0.2); 
    color: var(--primary-dark);
    padding: 18px;
    cursor: pointer;
    font-weight: bold;
    list-style: none;
}

details[open] summary { background-color: var(--accent); }
.faq-content { padding: 25px; line-height: 1.7; }

/* --- Contact Section --- */
.section-title {
    border-bottom: 3px solid var(--accent);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.info-item { margin-bottom: 25px; }
.info-item a { color: var(--text-main); text-decoration: none; font-weight: bold; }
.info-item a:hover { color: var(--accent); }

.map-container {
    width: 100%;
    height: 400px;
    background-color: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- Global Footer --- */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 60px 0 20px;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand { font-size: 1.5rem; font-weight: bold; color: var(--white); margin-bottom: 5px; }
.footer-logo small { color: #aaa; }
.footer-contact p { margin: 8px 0; color: #ccc; }
.footer-contact strong { color: var(--white); }
.privacy-link { color: var(--accent); text-decoration: none; display: block; margin-top: 15px; font-size: 0.9rem; }

.footer-social { display: flex; gap: 15px; }
.footer-social a {
    color: var(--white);
    background-color: #333;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.footer-social a:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.85rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .services-list-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 30px 0;
        text-align: center;
        box-shadow: 0 4px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active { display: flex; }
    .nav-links a { margin: 15px 0; display: block; }
    
    .mobile-toggle { display: block; }
    
    .hero h1 { font-size: 2rem; }
    
    .split-layout, .split-layout.reverse { flex-direction: column; gap: 40px; }
    .split-layout.reverse { flex-direction: column-reverse; } 

    .image-block { width: 100%; height: auto; }
    .img-placeholder { height: 250px; }
    
    .services-list-grid { grid-template-columns: 1fr; gap: 10px; }
    
    .footer-content { flex-direction: column; align-items: center; text-align: center; }
}