/* True Group Modern Design System */
:root {
    --tg-navy: #182635;
    --tg-navy-dark: #152e3d;
    --tg-gold: #9b8b5e;
    --tg-gold-light: #b5a478;
    --tg-text: #0e0e0e;
    --tg-text-muted: #6c757d;
    --tg-border: #e9ecef;
    --tg-bg: #f8f9fa;
}

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

/* Hero Section */
.tg-hero {
    min-height: 600px;
    display: flex;
    align-items: stretch;
}

.tg-hero-content {
    background: #ffffff;
    padding: 80px 60px;
    display: flex;
    align-items: center;
}

.tg-hero-inner {
    max-width: 600px;
}

.tg-badge {
    display: inline-block;
    background: var(--tg-bg);
    color: var(--tg-gold);
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.tg-hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--tg-text);
    line-height: 1.1;
    margin-bottom: 24px;
}

.tg-divider {
    width: 60px;
    height: 3px;
    background: var(--tg-gold);
    margin-bottom: 24px;
}

.tg-divider-center {
    margin-left: auto;
    margin-right: auto;
}

.tg-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--tg-text-muted);
    margin-bottom: 20px;
}

.tg-hero-text {
    font-size: 1.1rem;
    color: var(--tg-text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

.tg-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.tg-hero-image {
    background: var(--tg-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    position: relative;
}

/* Logo Display */
.tg-logo-display {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 60px;
}

.tg-main-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
}

.tg-about-logo {
    width: 140%;
    max-width: 140%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* Image Placeholders */
.tg-image-placeholder {
    background: #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    padding: 40px;
    text-align: center;
}

.tg-hero-image .tg-image-placeholder {
    width: 100%;
    height: 600px;
}

.tg-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 16px;
}

.tg-image-placeholder span {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.tg-image-placeholder small {
    font-size: 0.875rem;
}

/* Buttons */
.tg-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
}

.tg-btn i {
    margin-left: 8px;
    font-size: 0.875rem;
}

.tg-btn-primary {
    background: var(--tg-navy);
    border-color: var(--tg-navy);
    color: #ffffff;
}

.tg-btn-primary:hover {
    background: var(--tg-navy-dark);
    border-color: var(--tg-navy-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 76, 0.15);
}

.tg-btn-outline {
    background: transparent;
    border-color: var(--tg-navy);
    color: var(--tg-navy);
}

.tg-btn-outline:hover {
    background: var(--tg-navy);
    color: #ffffff;
    transform: translateY(-2px);
}

.tg-btn-light {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--tg-navy);
}

.tg-btn-light:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Sections */
.tg-section {
    padding: 100px 0;
}

.tg-section-alt {
    background: var(--tg-bg);
}

.tg-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.tg-label {
    display: inline-block;
    color: var(--tg-gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.tg-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tg-text);
    margin-bottom: 20px;
}

.tg-text-lead {
    font-size: 1.25rem;
    color: var(--tg-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.tg-text {
    font-size: 1rem;
    color: var(--tg-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.tg-text-center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Image Box */
.tg-image-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* List */
.tg-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.tg-list li {
    padding: 10px 0;
    font-size: 1.05rem;
    color: var(--tg-text-muted);
}

.tg-list i {
    color: var(--tg-gold);
    margin-right: 12px;
}

/* Company Cards */
.tg-company-card {
    background: #ffffff;
    border: 1px solid var(--tg-border);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.tg-company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.tg-company-image {
    overflow: hidden;
    background: var(--tg-bg);
}

.tg-company-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.tg-company-body {
    padding: 40px;
}

.tg-company-tag {
    display: inline-block;
    background: var(--tg-bg);
    color: var(--tg-gold);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    margin-bottom: 16px;
}

.tg-company-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--tg-text);
    margin-bottom: 16px;
}

.tg-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

.tg-feature {
    display: inline-block;
    background: var(--tg-bg);
    color: var(--tg-text-muted);
    font-size: 0.85rem;
    padding: 8px 8px;
    border-radius: 20px;
}

.tg-feature i {
    color: var(--tg-gold);
    font-size: 0.75rem;
    margin-right: 6px;
}

/* Value Cards */
.tg-value-card {
    text-align: center;
    padding: 40px 20px;
    transition: transform 0.3s ease;
}

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

.tg-value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--tg-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.tg-value-icon i {
    font-size: 2rem;
    color: var(--tg-gold);
    transition: color 0.3s ease;
}

.tg-value-card:hover .tg-value-icon {
    background: var(--tg-gold);
}

.tg-value-card:hover .tg-value-icon i {
    color: #ffffff;
}

.tg-value-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tg-text);
    margin-bottom: 12px;
}

.tg-value-card p {
    font-size: 0.95rem;
    color: var(--tg-text-muted);
    line-height: 1.6;
}

/* CTA Section */
.tg-cta {
    padding: 100px 0;
    background: var(--tg-navy);
}

.tg-cta-box {
    padding: 60px;
}

.tg-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.tg-cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 991px) {
    .tg-hero {
        min-height: auto;
    }

    .tg-hero-content,
    .tg-hero-image {
        min-height: auto;
        padding: 60px 40px;
    }

    .tg-hero-title {
        font-size: 3rem;
    }

    .tg-main-logo {
        max-width: 350px;
    }

    .tg-about-logo {
        max-width: 300px;
    }

    .tg-section {
        padding: 60px 0;
    }

    .tg-section-title {
        font-size: 2rem;
    }

    .tg-company-body {
        padding: 30px;
    }

    .tg-cta {
        padding: 60px 0;
    }

    .tg-cta-box {
        padding: 40px;
    }

    .tg-cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .tg-hero-content {
        padding: 50px 24px;
    }

    .tg-hero-title {
        font-size: 2.5rem;
    }

    .tg-hero-subtitle {
        font-size: 1.25rem;
    }

    .tg-hero-image {
        min-height: 500px;
    }

    .tg-main-logo {
        max-width: 280px;
    }

    .tg-logo-display {
        padding: 30px 20px;
    }

    .tg-about-logo {
        max-width: 100%;
    }

    .tg-image-box {
        padding: 20px;
    }

    .tg-section {
        padding: 50px 0;
    }

    .tg-section-title {
        font-size: 1.75rem;
    }

    .tg-text-lead {
        font-size: 1.1rem;
    }

    .tg-company-image img {
        height: 220px;
    }

    .tg-company-body {
        padding: 24px;
    }

    .tg-value-card {
        padding: 30px 15px;
    }

    .tg-cta-box {
        padding: 30px 24px;
    }

    .tg-cta-title {
        font-size: 1.75rem;
    }

    .tg-cta-text {
        font-size: 1.1rem;
    }

    .tg-btn {
        width: 100%;
        text-align: center;
    }

    .tg-hero-buttons {
        flex-direction: column;
    }
}

/* Vision & Legacy Cards */
.tg-vision-card,
.tg-legacy-card {
    background: var(--tg-navy);
    padding: 60px 40px;
    border-radius: 8px;
    height: 100%;
    transition: transform 0.3s ease;
}

.tg-legacy-card {
    background: var(--tg-navy-dark);
}

.tg-vision-card:hover,
.tg-legacy-card:hover {
    transform: translateY(-5px);
}

.tg-vision-icon,
.tg-legacy-icon {
    margin-bottom: 24px;
}

.tg-vision-icon i,
.tg-legacy-icon i {
    font-size: 3rem;
    color: var(--tg-gold);
}

.tg-vision-title,
.tg-legacy-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.tg-vision-text,
.tg-legacy-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* Timeline */
.tg-timeline {
    position: relative;
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.tg-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--tg-gold);
}

.tg-timeline-item {
    position: relative;
    padding-left: 70px;
    padding-bottom: 40px;
}

.tg-timeline-item:last-child {
    padding-bottom: 0;
}

.tg-timeline-marker {
    position: absolute;
    left: 8px;
    top: 5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tg-gold);
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 3px var(--tg-gold);
}

.tg-timeline-content {
    background: #ffffff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--tg-border);
    transition: all 0.3s ease;
}

.tg-timeline-content:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.tg-timeline-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tg-navy);
    margin-bottom: 8px;
}

.tg-timeline-text {
    font-size: 1rem;
    color: var(--tg-text-muted);
    margin: 0;
}

/* Responsive adjustments for timeline */
@media (max-width: 767px) {
    .tg-timeline::before {
        left: 15px;
    }

    .tg-timeline-item {
        padding-left: 55px;
        padding-bottom: 30px;
    }

    .tg-timeline-marker {
        left: 6px;
        width: 22px;
        height: 22px;
        border-width: 3px;
    }

    .tg-timeline-content {
        padding: 20px;
    }

    .tg-vision-card,
    .tg-legacy-card {
        padding: 40px 30px;
        margin-bottom: 20px;
    }

    .tg-vision-title,
    .tg-legacy-title {
        font-size: 1.75rem;
    }
}

/* Contact Page Styles */
.tg-contact-card {
    background: #ffffff;
    border: 1px solid var(--tg-border);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.tg-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.tg-contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--tg-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tg-contact-icon i {
    font-size: 2rem;
    color: var(--tg-gold);
    transition: color 0.3s ease;
}

.tg-contact-card:hover .tg-contact-icon {
    background: var(--tg-gold);
}

.tg-contact-card:hover .tg-contact-icon i {
    color: #ffffff;
}

.tg-contact-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tg-text);
    margin-bottom: 12px;
}

.tg-contact-text {
    font-size: 1rem;
    color: var(--tg-text-muted);
    margin-bottom: 8px;
}

.tg-contact-text a {
    color: var(--tg-navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tg-contact-text a:hover {
    color: var(--tg-gold);
}

.tg-contact-link {
    font-size: 0.9rem;
}

.tg-contact-link a {
    color: var(--tg-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tg-contact-link a:hover {
    color: var(--tg-gold);
}

/* Form Styles */
.tg-form-wrapper {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 8px;
}

.tg-form {
    margin-top: 30px;
}

.tg-form-group {
    margin-bottom: 24px;
}

.tg-form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tg-text);
    margin-bottom: 8px;
}

.tg-required {
    color: var(--tg-gold);
}

.tg-form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    color: var(--tg-text);
    background: var(--tg-bg);
    border: 2px solid var(--tg-border);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tg-form-control:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--tg-navy);
}

.tg-form-control.is-invalid {
    border-color: #dc3545;
}

.tg-form-error {
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 6px;
}

.tg-btn-block {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Alert Styles */
.tg-alert {
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tg-alert i {
    font-size: 1.25rem;
}

.tg-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.tg-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Location Cards */
.tg-location-card {
    display: flex;
    align-items: start;
    gap: 20px;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.tg-location-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.tg-location-icon {
    width: 50px;
    height: 50px;
    background: var(--tg-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tg-location-icon i {
    font-size: 1.5rem;
    color: var(--tg-gold);
}

.tg-location-info {
    flex: 1;
}

.tg-location-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tg-text);
    margin-bottom: 8px;
}

.tg-location-text {
    font-size: 1rem;
    color: var(--tg-text-muted);
    margin-bottom: 4px;
}

/* BTW Feature Cards */
.tg-feature-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--tg-border);
    height: 100%;
}

.tg-feature-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: var(--tg-gold);
}

.tg-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--tg-navy) 0%, var(--tg-navy-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.tg-feature-icon i {
    font-size: 2rem;
    color: var(--tg-gold);
}

.tg-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tg-text);
    margin-bottom: 12px;
}

.tg-feature-text {
    font-size: 0.95rem;
    color: var(--tg-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* BTW Service Cards */
.tg-service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--tg-border);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.tg-service-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--tg-gold);
}

.tg-service-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--tg-gold);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 16px;
}

.tg-service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tg-text);
    margin-bottom: 16px;
}

.tg-service-text {
    font-size: 1rem;
    color: var(--tg-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.tg-service-list li {
    font-size: 0.95rem;
    color: var(--tg-text);
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    text-align: left;
}

.tg-service-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--tg-gold);
    font-size: 0.85rem;
}

/* BTW Location Features */
.tg-location-features {
    margin-top: 30px;
}

.tg-location-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--tg-text);
}

.tg-location-item i {
    color: var(--tg-gold);
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Map Container */
.tg-map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tg-map-container iframe {
    display: block;
    width: 100%;
}

/* Map Placeholder */
.tg-map-placeholder {
    background: var(--tg-bg);
    border: 2px dashed var(--tg-border);
    border-radius: 8px;
    padding: 80px 40px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tg-map-placeholder i {
    font-size: 4rem;
    color: var(--tg-gold);
    margin-bottom: 16px;
}

.tg-map-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tg-text);
    margin-bottom: 8px;
}

.tg-map-placeholder small {
    font-size: 0.875rem;
    color: var(--tg-text-muted);
}

/* Image Box */
.tg-image-box {
    background: var(--tg-bg);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}

.tg-image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.tg-about-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .tg-feature-card {
        margin-bottom: 20px;
    }

    .tg-service-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .tg-form-wrapper {
        padding: 30px 24px;
    }

    .tg-contact-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .tg-location-card {
        padding: 24px 20px;
    }

    .tg-feature-icon {
        width: 60px;
        height: 60px;
    }

    .tg-feature-icon i {
        font-size: 1.5rem;
    }

    .tg-service-number {
        font-size: 2rem;
    }

    .tg-map-placeholder {
        padding: 60px 20px;
        min-height: 300px;
    }

    .tg-about-logo {
        max-width: 300px;
    }
}
