/* 
* Treyfa-Tech & Integrated Services Ltd
* Custom CSS Styles
*/

:root {
    --primary-color: #0ea5e9;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0284c7;
    border-color: #0ea5e9;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles */
header .contact-info {
    font-size: 0.9rem;
}

header .contact-info i {
    color: var(--primary-color);
}

/* Navigation Styles */
.navbar {
    padding: 15px 0;
}

.navbar-brand h2 {
    margin-bottom: 0;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 10px 15px;
    color: var(--dark-color);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0369a1 100%);
    padding: 100px 0;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-accent {
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(transparent 40%, rgba(255,255,255,0.15) 41%);
    border-radius: 50%;
}

.badge-soft {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.badge-soft-success { background-color: rgba(25,135,84,0.25); border-color: rgba(25,135,84,0.45); }
.badge-soft-info { background-color: rgba(13,202,240,0.25); border-color: rgba(13,202,240,0.45); }
.badge-soft-warning { background-color: rgba(255,193,7,0.25); border-color: rgba(255,193,7,0.45); }

.brand-logos i { opacity: 0.7; }
.brand-logos i:hover { opacity: 1; }

.stat-card {
    border-radius: 10px;
    background-color: #fff;
}

.testimonial-card {
    border-radius: 10px;
    background-color: #fff;
}

/* Services Section */
.service-category {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.service-category:last-child {
    border-bottom: none;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(14, 165, 233, 0.12);
    color: var(--primary-color);
}

.card {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

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

.section-heading .lead { color: var(--secondary-color); }

/* Contact Page */
.map-container {
    overflow: hidden;
    border-radius: 0 0 8px 8px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--dark-color);
}

footer h4 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

footer h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 70px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 50px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-section .d-flex {
        flex-direction: column;
    }
    
    footer h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Animation */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Custom Classes */
.section-padding {
    padding: 80px 0;
}

.bg-light-gray {
    background-color: #f9f9f9;
}

.text-primary {
    color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.rounded {
    border-radius: 8px !important;
}