/* Bootstrap Strive Template - Custom Styles */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --accent-color: #667eea;
    --contrast-color: #ffffff;
    --heading-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    scroll-behavior: smooth;
    background-image: linear-gradient(to top, #6a85b6 0%, #bac8e0 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand-text {
    color: #ff6b35;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-brand-text:hover {
    color: #ff8c42;
}

.navbar-brand img {
    filter: brightness(0) invert(1);
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 15px;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35 0%, #ff8c42 100%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: #ff8c42 !important;
}

/* Custom Button Styles */
.btn-get-started {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    border: none;
    text-decoration: none;
}

.btn-get-started:hover {
    background: #5568d3;
    color: var(--contrast-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-get-started:active {
    transform: translateY(-1px);
}

/* Hero Title Styles */
.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-accent {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.hero-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35 0%, #ff8c42 100%);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-accent::after {
        width: 80px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: 
        linear-gradient(135deg, rgba(13, 110, 253, 0.95) 0%, rgba(102, 126, 234, 0.95) 50%, rgba(118, 75, 162, 0.95) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: cover, 60px 60px;
    background-position: center, center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: backgroundShift 15s ease-in-out infinite;
}

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

@keyframes backgroundShift {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.bg-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #667eea 50%, #764ba2 100%);
}

.animate-fade-in {
    animation: fadeInUp 1s ease;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease 0.2s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease 0.4s backwards;
}

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

/* Section Title Underline */
.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), #764ba2);
    border-radius: 2px;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.service-icon i {
    font-size: 3rem;
}

/* Why Us Cards */
.why-us-card {
    transition: all 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.card-top-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.why-us-card:hover .card-top-border {
    transform: scaleX(1);
}

/* Stats Counter */
.counter::after {
    content: '+';
}

/* Contact Section */
.contact-info-box {
    padding: 0;
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

/* Footer */
.footer a:hover {
    color: white !important;
}

/* Smooth Scroll Padding */
section {
    scroll-margin-top: 70px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding-top: 80px;
    }
    
    .hero h1 {
        font-size: 2rem !important;
    }
    
    .hero .lead {
        font-size: 1rem !important;
    }
}

/* Animation on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading State */
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}
