/* Custom Styles for B Logic IT Solutions */

/* Global Styles */
:root {
    --primary-color: #6366f1;
    --secondary-color: #1e293b;
    --accent-color: #06b6d4;
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-6: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --modern-blue: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --modern-purple: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    --modern-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --modern-pink: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    --modern-orange: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --modern-cyan: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* Navbar Styles */
.navbar {
    background: var(--modern-blue) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    color: white !important;
}

.navbar-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    color: white !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.carousel-item .content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
}

.carousel-item .btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.carousel-item .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Services Section */
#services {
    background: var(--light-bg);
    padding: 4rem 0;
    position: relative;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--modern-purple);
    opacity: 0.05;
    z-index: 0;
}

#services .card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

#services .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 1);
}

#services .list-group-item {
    border: none;
    border-radius: 5px !important;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

#services .list-group-item:hover {
    background: var(--light-bg);
}

/* Clients Section */
#clients {
    background: var(--modern-cyan);
    padding: 4rem 0;
    overflow: hidden;
    position: relative;
}

#clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--modern-blue);
    opacity: 0.1;
    z-index: 0;
}

.clients-container {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-width: 200px;
    margin-right: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.client-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    animation-play-state: paused;
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color);
}

.client-logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.client-logo h6 {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CEOs Section */
#ceos {
    background: var(--modern-green);
    padding: 4rem 0;
    position: relative;
}

#ceos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--modern-purple);
    opacity: 0.1;
    z-index: 0;
}

.ceo-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.ceo-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color);
}

.ceo-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid #FF8C00;
    margin: 0 auto;
    display: block;
}

.ceo-card h5 {
    color: #333;
    margin-top: 1rem;
}

.ceo-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.ceo-card .text-muted {
    color: #FF8C00 !important;
    font-weight: 500;
}

/* Contact Section */
#contact {
    background: var(--modern-pink);
    padding: 4rem 0;
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--modern-orange);
    opacity: 0.1;
    z-index: 0;
}

.contact-info {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.contact-info .fa-2x {
    color: var(--primary-color);
}

.contact-info h5 {
    color: var(--secondary-color);
}

.contact-info p {
    color: #666;
}

.contact-map, .contact-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Footer */
footer {
    background: var(--modern-blue);
    color: white;
    padding: 2rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--modern-purple);
    opacity: 0.2;
    z-index: 0;
}

footer a {
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

footer a:hover {
    color: var(--primary-color);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-2);
    border-radius: 3px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.2); }
    100% { transform: translateX(-50%) scale(1); }
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* About Section */
#about {
    padding: 4rem 0;
    background: var(--light-bg);
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--modern-green);
    opacity: 0.05;
    z-index: 0;
}

#about img {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

#about img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Pigmy App Section */
#pigmy-app {
    background: var(--modern-orange);
    padding: 4rem 0;
    position: relative;
}

#pigmy-app::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--modern-pink);
    opacity: 0.1;
    z-index: 0;
}

#pigmy-app .fa-2x {
    color: var(--primary-color);
}

#pigmy-app img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* School Management Section */
#school-management {
    padding: 4rem 0;
    background: var(--light-bg);
    position: relative;
}

#school-management::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--modern-cyan);
    opacity: 0.05;
    z-index: 0;
}

#school-management .fa-2x {
    color: var(--primary-color);
}

#school-management img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Hardware & Networking Section */
#hardware-networking {
    background: var(--modern-purple);
    padding: 4rem 0;
    position: relative;
}

#hardware-networking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--modern-blue);
    opacity: 0.1;
    z-index: 0;
}

#hardware-networking .fa-2x {
    color: var(--primary-color);
}

#hardware-networking img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Product Carousels */
#pigmyCarousel,
#schoolCarousel,
#hardwareCarousel {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
    max-height: 500px;
    display: flex;
    align-items: center;
}

#pigmyCarousel .carousel-item,
#schoolCarousel .carousel-item,
#hardwareCarousel .carousel-item {
    padding: 1rem;
    background: white;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pigmyCarousel img,
#schoolCarousel img,
#hardwareCarousel img {
    border-radius: 8px;
    transition: transform 0.3s ease;
    max-height: 400px;
    width: auto;
    object-fit: contain;
}

#pigmyCarousel .carousel-control-prev,
#schoolCarousel .carousel-control-prev,
#hardwareCarousel .carousel-control-prev,
#pigmyCarousel .carousel-control-next,
#schoolCarousel .carousel-control-next,
#hardwareCarousel .carousel-control-next {
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    height: 40px;
    width: 40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

#pigmyCarousel:hover .carousel-control-prev,
#schoolCarousel:hover .carousel-control-prev,
#hardwareCarousel:hover .carousel-control-prev,
#pigmyCarousel:hover .carousel-control-next,
#schoolCarousel:hover .carousel-control-next,
#hardwareCarousel:hover .carousel-control-next {
    opacity: 1;
}

#pigmyCarousel .carousel-control-prev {
    left: 10px;
}

#schoolCarousel .carousel-control-prev {
    left: 10px;
}

#hardwareCarousel .carousel-control-prev {
    left: 10px;
}

#pigmyCarousel .carousel-control-next {
    right: 10px;
}

#schoolCarousel .carousel-control-next {
    right: 10px;
}

#hardwareCarousel .carousel-control-next {
    right: 10px;
}

#pigmyCarousel:hover img,
#schoolCarousel:hover img,
#hardwareCarousel:hover img {
    transform: scale(1.02);
}

/* Adjust section padding for better alignment */
#pigmy-app,
#school-management,
#hardware-networking {
    padding: 4rem 0;
}

#pigmy-app .row,
#school-management .row,
#hardware-networking .row {
    align-items: center;
}

#pigmy-app .col-lg-6,
#school-management .col-lg-6,
#hardware-networking .col-lg-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#web-development {
    background: var(--light-bg);
    padding: 4rem 0;
}

#web-development .fa-2x {
    color: var(--primary-color);
}

#web-development img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#web-development img:hover {
    transform: scale(1.02);
}

#webDevCarousel {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#webDevCarousel .carousel-item {
    padding: 1rem;
    background: white;
}

#webDevCarousel .carousel-control-prev,
#webDevCarousel .carousel-control-next {
    width: 5%;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    height: 40px;
    width: 40px;
    top: 50%;
    transform: translateY(-50%);
}

#webDevCarousel:hover .carousel-control-prev,
#webDevCarousel:hover .carousel-control-next {
    background: rgba(0,0,0,0.5);
}

/* Downloads Section */
#downloads {
    background: var(--light-bg);
    padding: 4rem 0;
    position: relative;
}

#downloads::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--modern-green);
    opacity: 0.05;
    z-index: 0;
}

.download-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    height: 100%;
}

.download-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color);
}

.download-card .fa-3x {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.download-card:hover .fa-3x {
    transform: scale(1.1) rotate(5deg);
}

.download-card .btn {
    background: var(--gradient-1);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    background: var(--gradient-2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gradient-6);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-2);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-1);
} 