/* ================================
   Hero Header
================================= */
.tc-header {
    background: url('/images/technicalconsultancy/header.png') center/cover no-repeat;
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-header-overlay {
    background-color: rgba(0, 0, 0, 0.65);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-header-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.tc-header-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tc-header-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
}

/* ================================
   General Section Styles
================================= */
.tc-section {
    padding: 2.5rem 1rem;
    background: #fdfdfd;
    font-family: 'Segoe UI', sans-serif;
}

.container {
    max-width: 1100px;
    margin: auto;
}

/* ================================
   Introduction
================================= */
.tc-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.tc-intro h2 {
    color: #01185E;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tc-intro i {
    color: #E2A52A;
    margin-right: 0.5rem;
}

.tc-intro p {
    color: #444;
    font-size: 1rem;
}

/* ================================
   Service Cards
================================= */
.tc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tc-card {
    background: linear-gradient(135deg, #fff9ec, #fff);
    border: 1px solid #E2A52A;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
}

.tc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    background: #fff5db;
}

.tc-card i {
    font-size: 2rem;
    color: #A91F24;
    margin-bottom: 0.5rem;
}

.tc-card h3 {
    color: #01185E;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tc-card p {
    color: #444;
    font-size: 0.95rem;
}

/* ================================
   Form Section
================================= */
.tc-form-section {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.tc-form-section h2 {
    text-align: center;
    color: #01185E;
    margin-bottom: 0.75rem;
}

.tc-form-section h2 i {
    color: #E2A52A;
    margin-right: 0.5rem;
}

.tc-form-section p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 0.95rem;
}

#tc-form {
    max-width: 700px;
    margin: auto;
}

/* ================================
   Floating Labels
================================= */
.form-floating {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-floating input,
.form-floating textarea {
    width: 100%;
    padding: 1rem 0.75rem 0.5rem;
    border-radius: 0.75rem;
    border: 1px solid #ccc;
    font-size: 1rem;
    background: #fff;
    transition: 0.3s border;
}

.form-floating input:focus,
.form-floating textarea:focus {
    border-color: #01185E;
    outline: none;
}

.form-floating label {
    position: absolute;
    top: 0.8rem;
    left: 0.75rem;
    font-size: 0.85rem;
    color: #777;
    pointer-events: none;
    transition: 0.2s ease all;
    background: #fff;
    padding: 0 0.25rem;
}

.form-floating input:focus + label,
.form-floating textarea:focus + label,
.form-floating input:not(:placeholder-shown) + label,
.form-floating textarea:not(:placeholder-shown) + label {
    top: -0.6rem;
    left: 0.6rem;
    font-size: 0.75rem;
    color: #01185E;
}

/* ================================
   Submit Button & Message
================================= */
.submit-btn {
    margin-top: 1rem;
    padding: 0.8rem 1.75rem;
    background-color: #E2A52A;
    color: #01185E;
    font-weight: bold;
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #f0c661;
}

.form-message {
    text-align: center;
    margin-top: 1.5rem;
    color: green;
    font-weight: bold;
    font-size: 1rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.tc-card:hover i {
    animation: bounce 0.4s ease;
}

