/* Custom CSS for TransLogix */

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Custom Colors */
:root {
    --primary-color: #0ea5e9;
    --secondary-color: #1e293b;
    --accent-color: #f97316;
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand:hover {
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

.nav-link {
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.text-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    height: 70vh;
    position: relative;
    overflow: hidden;
}

.hero-section-static {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
}
.overlay-text {
    z-index: 2;
}

.carousel-control-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-control-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-control-icon i {
    font-size: 1.5rem;
    color: white;
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
    opacity: 1;
}

.carousel-indicators-custom {
    position: absolute;
    bottom: 30px;
    left: 35%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.carousel-indicators-custom button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-indicators-custom button.active {
    background: var(--accent-color);
    width: 32px;
    border-radius: 6px;
}

.carousel-indicators-custom button:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #06b6d4 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 50%, #1e40af 100%);
}

/* Cards */
.service-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: rgba(14, 165, 233, 0.2) !important;
    transform: scale(1.1);
}

/* Contact Icons */
.contact-icon {
    width: 48px;
    height: 48px;
}

/* About Page Specific */
.about-image-bg {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--primary-color), #06b6d4);
    border-radius: 12px;
    transform: rotate(3deg);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px #e2e8f0;
    z-index: 10;
}

.timeline-content {
    width: calc(50% - 30px);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 30px;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

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

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

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

.btn-warning:hover {
    background-color: #ea580c;
    border-color: #ea580c;
}

/* Form Controls */
.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.25);
}

/* Footer */
.hover-link:hover {
    color: white !important;
    transition: color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section,
    .hero-slide {
        height: 60vh;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Accordion */
.accordion-button {
    border-radius: 8px !important;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.25);
}

/* Loading Animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-color), #06b6d4) 1;
}

.social-links a{
    font-size: 18px;
    display: inline-block;
    background: #0ea5e9;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}
.social-links a:hover{
    background: #0284c7;
    color: #fff;
    text-decoration: none;
}
.serveices-list li:hover {
    color: #0284c7 !important;
}

@media (max-width: 767.98px) {
  .overlay-text {
    display: none;
  }
}
