/* ==========================================================================
   HYDROCHAUFF PRO - Premium Design System & Stylesheet
   ========================================================================== */

/* --- Google Fonts Integration --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* --- Core Tokens & CSS Variables --- */
:root {
    --bg-primary: #1e2330;       /* Super dark slate background */
    --bg-secondary: #2b3244;     /* Dark navy/slate background */
    --bg-tertiary: #333d56;      /* Lighter charcoal slate */
    --bg-card: rgba(43, 50, 68, 0.65); /* Glassmorphic card background */
    
    --accent-copper: #e07b39;    /* Warm copper/orange */
    --accent-copper-rgb: 224, 123, 57;
    --accent-teal: #4ab8c1;      /* Secondary teal/cyan */
    --accent-teal-rgb: 74, 184, 193;
    
    --text-white: #ffffff;
    --text-light: #f3f4f6;       /* Near white */
    --text-muted: #94a3b8;       /* Slate grey-blue */
    --text-dark: #0f172a;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow-teal: rgba(74, 184, 193, 0.2);
    --border-glow-copper: rgba(224, 123, 57, 0.35);
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --navbar-height: 80px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, textarea, select {
    font-family: inherit;
    outline: none;
}

ul {
    list-style: none;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-copper);
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient-teal {
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-copper {
    background: linear-gradient(135deg, var(--accent-copper) 30%, #ffbe94 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-padding {
    padding: 6.5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-copper);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Keyframe Animations --- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(var(--accent-copper-rgb), 0.2); }
    50% { box-shadow: 0 0 25px rgba(var(--accent-copper-rgb), 0.55); }
}

@keyframes drop-glow {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(var(--accent-teal-rgb), 0.3)); }
    50% { filter: drop-shadow(0 0 10px rgba(var(--accent-teal-rgb), 0.7)); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Sticky Header / Navbar --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background: rgba(30, 35, 48, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background: rgba(30, 35, 48, 0.95);
    box-shadow: var(--shadow-lg);
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
}

.logo-icon-mark {
    width: clamp(52px, 4vw, 64px);
    height: clamp(52px, 4vw, 64px);
}

.logo-mark {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-family: var(--font-heading);
    font-weight: 800;
}

.logo-brand {
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    color: var(--accent-teal);
}

.logo-sub {
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: var(--accent-copper);
}

/* Navigation Links */
.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-teal);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--accent-teal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-teal);
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    min-height: 48px;
    min-width: 48px;
}

.btn-primary {
    background-color: var(--accent-copper);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--accent-copper);
    color: var(--accent-copper);
    box-shadow: 0 0 15px rgba(224, 123, 57, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--bg-primary);
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 1001;
    min-width: 48px;
    min-height: 48px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    margin: 5px 0;
    transition: var(--transition-normal);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--navbar-height);
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(74, 184, 193, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 10% 80%, rgba(224, 123, 57, 0.08) 0%, transparent 45%);
    overflow: hidden;
}

/* Pipe/Blueprint Grid Overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -10%;
    width: 120%;
    height: 300px;
    background: var(--bg-secondary);
    transform: rotate(-3deg);
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 3;
    animation: fadeIn var(--transition-slow);
}

.hero-content {
    animation: slideInUp 0.8s ease-out;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
    background: rgba(74, 184, 193, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    border: 1px solid rgba(74, 184, 193, 0.2);
}

.hero-tagline span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-teal);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: float 5s ease-in-out infinite;
}

.hero-badge-svg {
    width: min(100%, 580px);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: breathing 7s ease-in-out infinite;
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.35));
}

@keyframes breathing {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* --- Services Section --- */
.services-section {
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.25rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem 2.25rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-copper), var(--accent-teal));
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(224, 123, 57, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(224, 123, 57, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(224, 123, 57, 0.1);
    border: 1px solid rgba(224, 123, 57, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-normal);
    color: var(--accent-copper);
}

.service-card:hover .service-icon-wrapper {
    background: var(--accent-copper);
    color: var(--text-white);
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 0 15px rgba(224, 123, 57, 0.4);
}

.service-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: auto;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

.service-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent-teal);
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- Team Section --- */
.team-section {
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle at 50% 50%, rgba(224, 123, 57, 0.05) 0%, transparent 60%);
    position: relative;
    z-index: 3;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.team-card {
    background: rgba(30, 35, 48, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(224, 123, 57, 0.3);
    background: rgba(30, 35, 48, 0.7);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.team-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(224, 123, 57, 0.1);
    border: 1px solid rgba(224, 123, 57, 0.25);
    color: var(--accent-copper);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    transition: var(--transition-normal);
}

.team-card:hover .team-icon {
    background: var(--accent-copper);
    color: var(--text-white);
    transform: scale(1.05);
}

.team-icon svg {
    width: 32px;
    height: 32px;
}

.team-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.team-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Why Us Section --- */
.why-us-section {
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle at 50% 50%, rgba(74, 184, 193, 0.03) 0%, transparent 60%);
    position: relative;
    z-index: 3;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-card {
    background: rgba(30, 35, 48, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    transition: var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 184, 193, 0.3);
    background: rgba(30, 35, 48, 0.7);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(74, 184, 193, 0.1);
    border: 1px solid rgba(74, 184, 193, 0.2);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-normal);
}

.why-card:hover .why-icon {
    background: var(--accent-teal);
    color: var(--bg-primary);
    transform: scale(1.05);
}

.why-icon svg {
    width: 26px;
    height: 26px;
}

.why-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.why-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 3;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.faq-item {
    background: rgba(30, 35, 48, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(74, 184, 193, 0.3);
    background: rgba(30, 35, 48, 0.7);
}

.faq-question-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-normal);
}

.faq-question-btn:hover {
    background: rgba(74, 184, 193, 0.1);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    font-family: var(--font-heading);
    margin: 0;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-teal);
    transition: var(--transition-normal);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-copper);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    padding-bottom: 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem;
}

/* --- Certifications Section --- */
.certifications-section {
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle at 50% 50%, rgba(74, 184, 193, 0.05) 0%, transparent 60%);
    position: relative;
    z-index: 3;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.cert-card {
    background: rgba(30, 35, 48, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 184, 193, 0.3);
    background: rgba(30, 35, 48, 0.7);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cert-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(74, 184, 193, 0.1);
    border: 1px solid rgba(74, 184, 193, 0.25);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-normal);
}

.cert-card:hover .cert-icon {
    background: var(--accent-teal);
    color: var(--bg-primary);
    transform: scale(1.05);
}

.cert-icon svg {
    width: 28px;
    height: 28px;
}

.cert-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.cert-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 3;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-intro-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-intro-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(30, 35, 48, 0.4);
    border: 1px solid var(--border-color);
    padding: 1.25rem 1.75rem;
    border-radius: 10px;
    transition: var(--transition-normal);
}

.contact-method-card:hover {
    border-color: rgba(74, 184, 193, 0.3);
    background: rgba(30, 35, 48, 0.6);
    transform: translateX(5px);
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: rgba(74, 184, 193, 0.1);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 22px;
    height: 22px;
}

.contact-method-details {
    display: flex;
    flex-direction: column;
}

.contact-method-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-method-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
}

.contact-method-value a:hover {
    color: var(--accent-teal);
}

/* Contact Form Grid */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.form-input {
    width: 100%;
    background: rgba(30, 35, 48, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-input:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 10px rgba(74, 184, 193, 0.2);
    background: rgba(30, 35, 48, 0.85);
}

textarea.form-input {
    resize: none;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    background-color: var(--accent-copper);
    color: var(--text-white);
    font-size: 1rem;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-normal);
}

.btn-submit:hover {
    background-color: #f18d4b;
    box-shadow: 0 0 20px rgba(224, 123, 57, 0.4);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-status {
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
    animation: fadeIn var(--transition-fast);
}

.form-status.success {
    display: block;
    background: rgba(74, 184, 193, 0.15);
    color: var(--accent-teal);
    border: 1px solid rgba(74, 184, 193, 0.3);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* --- Footer --- */
.footer {
    background-color: #161a24;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2.5rem;
    position: relative;
    z-index: 3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-title {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent-copper);
    border-radius: 1.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-link {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--accent-teal);
    transform: translateX(3px);
}

.footer-link::before {
    content: '→';
    font-size: 0.8rem;
    color: var(--accent-copper);
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent-copper);
}

.footer-contact-item a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.legal-links {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

/* --- Floating Call & Mobile Actions --- */
.floating-call {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--accent-copper);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(224, 123, 57, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition-normal);
    animation: pulse-glow 3s infinite;
    min-width: 60px;
    min-height: 60px;
}

.floating-call:hover {
    transform: scale(1.1);
    background-color: #f18d4b;
}

.floating-call svg {
    width: 26px;
    height: 26px;
}

/* --- Scroll Reveal Motion --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    transition-delay: 0.15s;
}

.logo-icon-footer {
    width: 42px;
    height: 42px;
}

.contact-form-container,
.contact-method-card,
.why-card,
.service-card {
    will-change: transform;
}

/* --- Carousel Styles --- */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    align-items: stretch;
    gap: 2.25rem;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    max-width: 100%;
    opacity: 1;
    transform: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.carousel-slide.active {
    opacity: 1;
    transform: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.carousel-btn:hover {
    background: var(--accent-copper);
    border-color: var(--accent-copper);
    box-shadow: 0 0 15px rgba(224, 123, 57, 0.4);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: none;
}

.carousel-btn-prev {
    left: 0.5rem;
}

.carousel-btn-next {
    right: 0.5rem;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.carousel-dot:hover {
    background: var(--accent-teal);
}

.carousel-dot.active {
    background: var(--accent-copper);
    transform: scale(1.2);
}

/* Desktop: Show all cards in grid */
@media (min-width: 769px) {
    .carousel-container {
        overflow: visible;
    }

    .carousel-container .carousel-btn,
    .carousel-container .carousel-dots {
        display: none;
    }

    .carousel-track {
        display: grid;
        transform: none !important;
        will-change: auto;
    }

    .carousel-slide {
        flex: auto;
        max-width: none;
        opacity: 1;
        transform: none;
    }

    .services-grid.carousel-track {
        grid-template-columns: repeat(4, 1fr);
    }

    .team-grid.carousel-track {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-us-grid.carousel-track {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile: one full-width card per slide, perfectly centered */
@media (max-width: 768px) {
    .carousel-container {
        overflow: hidden;
        width: 100%;
    }

    .carousel-track {
        display: flex !important;
        gap: 0 !important;
        padding: 0 !important;
        align-items: stretch;
        touch-action: pan-y;
    }

    .carousel-slide {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
        opacity: 1;
        transform: none;
    }

    .carousel-btn {
        top: 50%;
        width: 40px;
        height: 40px;
    }

    .carousel-btn-prev {
        left: 0.35rem;
    }

    .carousel-btn-next {
        right: 0.35rem;
    }

    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ==========================================================================
   Responsive & Adaptive Media Queries (Mobile-First)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .services-grid:not(.carousel-track) {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid:not(.carousel-track) {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-us-grid:not(.carousel-track) {
        grid-template-columns: repeat(2, 1fr);
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 70px;
    }

    body.menu-open {
        overflow: hidden;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    /* Sticky Header Drawer */
    .header .container {
        justify-content: flex-end;
    }

    .hamburger {
        display: block;
    }

    /* Mobile menu overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
        z-index: 999;
        pointer-events: none;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: #191d29;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 3rem 2rem;
        gap: 1.5rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transition: var(--transition-slow);
        z-index: 1000;
        border-left: 1px solid var(--border-color);
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.15rem;
        padding: 0.75rem 0;
        width: 100%;
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Hero layout */
    .hero {
        min-height: auto;
        padding-top: 82px;
        padding-bottom: 2.5rem;
    }

    .hero::after {
        height: 180px;
        bottom: -95px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-tagline {
        justify-content: center;
        margin-bottom: 1rem;
        font-size: 0.75rem;
        letter-spacing: 1.2px;
        text-align: center;
        padding: 0.4rem 0.75rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        max-width: 20ch;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .hero-ctas {
        flex-direction: column;
        justify-content: center;
        width: 100%;
        gap: 1rem;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .hero-graphic {
        order: -1;
    }

    .hero-badge-svg {
        width: min(100%, 280px);
    }

    .logo-icon-mark {
        width: 50px;
        height: 50px;
    }

    .logo-brand {
        font-size: 1.05rem;
    }

    .logo-sub {
        font-size: 0.78rem;
        letter-spacing: 1px;
    }

    /* Services / Cards */
    .services-grid:not(.carousel-track) {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .service-title {
        font-size: 1.1rem;
    }

    .service-desc {
        font-size: 0.85rem;
    }

    .service-item {
        font-size: 0.85rem;
    }

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

    .team-card {
        padding: 2rem 1.5rem;
    }

    .team-title {
        font-size: 1.1rem;
    }

    .team-desc {
        font-size: 0.85rem;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .why-card {
        padding: 1.75rem 1.25rem;
    }

    .why-title {
        font-size: 1rem;
    }

    .why-desc {
        font-size: 0.85rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .faq-item {
        padding: 1rem 1.25rem;
    }

    .faq-question-btn {
        padding: 0.75rem 0;
    }

    .faq-question {
        font-size: 0.9rem;
    }

    .faq-answer {
        font-size: 0.85rem;
    }

    .faq-answer p {
        padding-bottom: 0.75rem;
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cert-card {
        padding: 2rem 1.25rem;
    }

    .cert-title {
        font-size: 1.15rem;
    }

    .cert-desc {
        font-size: 0.85rem;
    }

    .contact-grid {
        gap: 2.5rem;
    }

    .contact-method-card {
        padding: 1.25rem;
        gap: 1rem;
        align-items: flex-start;
    }

    .contact-method-icon {
        width: 45px;
        height: 45px;
    }

    .contact-method-value {
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .contact-form-container {
        padding: 2rem 1.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .logo-text {
        display: none;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .section-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .hero-badge-svg {
        width: min(100%, 180px);
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

    .hero-ctas {
        gap: 0.75rem;
    }

    .hero-ctas .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-desc {
        font-size: 0.85rem;
    }

    .service-item {
        font-size: 0.85rem;
    }

    .team-title {
        font-size: 1.1rem;
    }

    .team-desc {
        font-size: 0.85rem;
    }

    .why-title {
        font-size: 1rem;
    }

    .why-desc {
        font-size: 0.85rem;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    .faq-answer {
        font-size: 0.85rem;
    }

    .cert-title {
        font-size: 1rem;
    }

    .cert-desc {
        font-size: 0.8rem;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 1.5rem 1rem;
    }

    .form-label {
        font-size: 0.75rem;
    }

    .form-input {
        font-size: 0.9rem;
        padding: 0.75rem 0.85rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .btn-submit {
        font-size: 0.9rem;
        padding: 0.85rem;
    }

    .floating-call {
        bottom: 1.5rem;
        right: 1.25rem;
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
    }

    .floating-call svg {
        width: 24px;
        height: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
