/* 
* Bangalore Web Design Company - Main Stylesheet
* Modern, Clean, Professional
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
    --primary-color: #0d6efd;
    /* Trust Blue */
    --secondary-color: #fd7e14;
    /* Action Orange */
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-color: #495057;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --hero-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);
    --shadow-md: 0 .5rem 1rem rgba(0, 0, 0, .15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 16px;
    /* Increased from default */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-color);
    font-weight: 700;
}

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

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Navigation --- */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
}

.navbar-brand span {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    vertical-align: middle;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    padding: 10px 15px !important;
}

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

.navbar-toggler {
    border: none;
    outline: none;
}

.top-bar {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.9rem;
    padding: 8px 0;
}

.top-bar a {
    color: #fff;
    margin-left: 15px;
}

.top-bar i {
    margin-right: 5px;
}

/* --- Hero Section --- */
.hero-section {
    padding: 120px 0 80px;
    background: var(--hero-gradient);
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.btn-primary-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.btn-primary-custom:hover {
    background-color: #e86b02;
    transform: translateY(-2px);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin-left: 15px;
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* --- Services Card --- */
.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* --- Features Section --- */
.feature-box {
    text-align: center;
    padding: 40px 20px;
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* --- Testimonials --- */
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    margin: 15px 0;
    text-align: center;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
}

.stars {
    color: #ffc107;
    margin-bottom: 10px;
}

/* --- Footer --- */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: #777;
}

/* --- Floating Buttons --- */
.float-btn {
    position: fixed;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float {
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
}

.back-to-top {
    bottom: 90px;
    right: 30px;
    background-color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.float-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 100px 0 50px;
        text-align: center;
    }

    .hero-img {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* --- Form Improvements --- */
::placeholder {
    color: #bbb !important;
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #bbb !important;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #bbb !important;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.captcha-img {
    border: 1px solid #ced4da;
    border-radius: 5px;
    height: 38px;
    vertical-align: middle;
}

.refresh-captcha {
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.2rem;
    vertical-align: middle;
    margin-left: 10px;
}

.alert {
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 0.9rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}