/* Custom CSS for Logix Technologies Website */

:root {
    --primary-color: #1E88E5;
    --secondary-color: #FF9800;
    --accent-color: #1565C0;
    --dark-color: #0D47A1;
    --light-color: #E3F2FD;
    --orange-light: #FFE0B2;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(30, 136, 229, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #ffffff, var(--primary-color));
    color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Hero Section Text Styling for White-Blue Gradient */
.hero-section h1 {
    color: var(--dark-color);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.hero-section .lead {
    color: var(--dark-color);
    font-weight: 500;
}

.hero-section .text-orange {
    color: var(--secondary-color) !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

/* Enhanced button styling for white-blue background */
.hero-section .btn-outline-light {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
}

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

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    background: linear-gradient(45deg, var(--secondary-color), #FFB74D);
    color: white;
    border-color: var(--secondary-color);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

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

.service-card i {
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
    color: var(--secondary-color) !important;
}

/* Orange Accent Elements */
.text-orange {
    color: var(--secondary-color) !important;
}

.bg-orange-light {
    background-color: var(--orange-light) !important;
}

/* Service Cards with Orange Accents */
.service-card:nth-child(even) .card-body i {
    color: var(--secondary-color) !important;
}

/* Portfolio Cards */
.portfolio-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.15);
    border-top: 4px solid var(--secondary-color);
}

.portfolio-card img {
    transition: all 0.3s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

/* Team Cards */
.team-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.2);
    border-top: 4px solid var(--secondary-color);
}

.team-card img {
    transition: all 0.3s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

.social-links a {
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    transform: translateY(-2px);
    color: var(--secondary-color) !important;
}

/* Contact Section */
.contact-info .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info i {
    width: 30px;
    text-align: center;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-control {
    border-radius: 10px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 152, 0, 0.25);
    background: white;
}

/* Footer Links */
.footer-links a {
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline;
}

/* Policy Pages Styling */
.card-header {
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.cookie-type {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin-left: 0.5rem;
}

.contact-info {
    border-left: 4px solid var(--primary-color);
}

/* Table Styling for Cookie Policy */
.table th {
    border-top: none;
    font-weight: 600;
    color: var(--dark-color);
}

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Alert Styling */
.alert {
    border: none;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
}

/* Back to Home Button */
.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

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

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

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Styles */
#mainSlider {
    margin-top: 76px; /* Account for fixed navbar */
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider-image {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.7), rgba(13, 71, 161, 0.8));
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
    text-align: center;
    color: white;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-caption .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Slider Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--secondary-color);
    transform: scaleX(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .contact-form {
        margin-top: 2rem;
    }
    
    .footer-links {
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    
    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
    
    .card-body {
        padding: 2rem 1.5rem !important;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    #mainSlider {
        height: 70vh;
        margin-top: 70px;
    }
    
    .slider-image {
        height: 70vh;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 1.1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption .lead {
        font-size: 1rem;
    }
    
    .carousel-caption .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Message */
.alert-success {
    border-radius: 10px;
    border: none;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.alert-danger {
    border-radius: 10px;
    border: none;
    background: linear-gradient(45deg, var(--accent-color), #e74c3c);
    color: white;
}

/* Section Padding */
section {
    padding: 80px 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}

/* Logo Brand Styling */
.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

/* Check Icons with Orange Color */
.fa-check-circle.text-primary {
    color: var(--secondary-color) !important;
}

/* Contact Icons with Blue Color */
.contact-item i {
    color: var(--primary-color) !important;
}

/* Header Gradients */
.display-4 {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.display-5 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    position: relative;
}

/* Section Subheadings with Gradients */
h3 {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Card Titles with Subtle Gradient */
.card-title {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Contact Section Header */
#contact h2 {
    background: linear-gradient(135deg, #ffffff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Team Member Names */
.team-card .card-title {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Navbar Brand Text */
.navbar-brand {
    background: linear-gradient(135deg, #ffffff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Enhanced Header Animation */
.display-4, .display-5, h3 {
    transition: all 0.3s ease;
}

.display-4:hover, .display-5:hover, h3:hover {
    transform: translateY(-2px);
    filter: drop-shadow(2px 2px 4px rgba(30, 136, 229, 0.3));
}

/* Alternative gradient for better contrast in hero section */
.hero-section .display-4 {
    background: linear-gradient(135deg, var(--dark-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

/* Orange span styling in gradients */
.text-orange {
    background: linear-gradient(135deg, var(--secondary-color), #FFB74D) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}
