/* 
   FutureTech IT Pvt Ltd - Enterprise Design System
   Modern Glassmorphism, Vibrant Gradients & Micro-animations
*/

:root {
    --primary-blue: #0052D4;
    --primary-cyan: #00F2FE;
    --primary-gradient: linear-gradient(135deg, #0052D4 0%, #4364F7 50%, #6FB1FC 100%);
    --cyan-gradient: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
    --dark-navy: #050B14;
    --dark-surface: #0B162C;
    --dark-card: rgba(18, 32, 60, 0.65);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --text-main: #F8FAFC;
    --text-muted: #CBD5E1;
    --accent-gold: #FFB800;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Override Bootstrap text-muted for high contrast on dark background */
.text-muted {
    color: var(--text-muted) !important;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--dark-navy);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--dark-navy);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
    border: 2px solid var(--dark-navy);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Gradients & Text Effects */
.text-gradient {
    background: var(--cyan-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-navy {
    background-color: var(--dark-surface);
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 82, 212, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary-custom:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.5);
    color: #fff;
}

.btn-outline-custom {
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary-cyan);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    background: var(--primary-cyan);
    color: var(--dark-navy);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
    transform: translateY(-2px);
}

/* Navbar */
.navbar-custom {
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    transition: all 0.4s ease;
}
.navbar-custom.scrolled {
    padding: 10px 0;
    background: rgba(5, 11, 20, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff !important;
}
.navbar-brand span {
    color: var(--primary-cyan);
}
.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    padding: 8px 4px !important;
}
.nav-link:hover, .nav-link.active {
    color: #fff !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

.dropdown-menu {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}
.dropdown-item {
    color: var(--text-muted);
    border-radius: 8px;
    padding: 8px 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary-cyan);
    transform: translateX(5px);
}

/* Hero Section & Slider */
.hero-slider {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    margin-top: 70px;
    overflow: hidden;
}
.carousel, .carousel-inner, .carousel-item {
    height: 100%;
    min-height: 85vh;
}
.carousel-item {
    background-size: cover;
    background-position: center;
    position: relative;
}
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5,11,20,0.92) 0%, rgba(5,11,20,0.7) 60%, rgba(5,11,20,0.4) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 40px 0;
}
.hero-badge {
    display: inline-block;
    background: rgba(0, 242, 254, 0.15);
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

/* Glass Cards & Section Styling */
.glass-card {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: all 0.6s ease;
}
.glass-card:hover::before {
    left: 100%;
}
.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 20px 40px rgba(0, 82, 212, 0.25);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}
.section-subtitle {
    color: var(--primary-cyan);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
}

/* Solutions Partners Grid */
.partner-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}
.partner-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 35px rgba(0, 242, 254, 0.3);
    border-color: var(--primary-blue);
}
.partner-logo-text {
    font-family: 'Outfit', sans-serif;
    text-align: center;
    line-height: 1.1;
}

/* Industries Hover Grid */
.industry-card {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.industry-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: all 0.4s ease;
}
.industry-card:hover::after {
    opacity: 1;
}
.industry-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
}
.industry-icon {
    font-size: 2.5rem;
    color: var(--primary-cyan);
    margin-bottom: 15px;
    transition: all 0.4s ease;
}
.industry-card:hover .industry-icon,
.industry-card:hover h5 {
    color: #fff;
}

/* Testimonials Carousel */
.testimonial-card {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    margin: 15px;
    position: relative;
    box-shadow: var(--glass-shadow);
}
.quote-icon {
    font-size: 3rem;
    color: rgba(0, 242, 254, 0.2);
    position: absolute;
    top: 20px;
    right: 30px;
}
.star-rating {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Footer */
.footer-custom {
    background: #03070E;
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
    position: relative;
}
.footer-title {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-cyan);
    border-radius: 2px;
}
.branch-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}
.branch-item:hover {
    border-color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.05);
}

/* Animations & Floats */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(0, 242, 254, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 242, 254, 0.7); }
    100% { box-shadow: 0 0 15px rgba(0, 242, 254, 0.3); }
}
.glow-pulse {
    animation: pulseGlow 3s infinite;
}

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.floating-img {
    animation: floatAnim 4s ease-in-out infinite;
}

/* Urgent Alert Badge */
.urgent-banner {
    background: linear-gradient(90deg, #ff416c 0%, #ff4b2b 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(255, 65, 108, 0.4);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title { font-size: 2.3rem; }
    .section-title { font-size: 2rem; }
    .hero-slider, .carousel, .carousel-inner, .carousel-item { min-height: 75vh; }
}
