/* Custom CSS for Rabash Technologies Website */

:root {
    --primary-color: #0056b3;
    --secondary-color: #00356e;
    --accent-color: #00c2ff;
    --dark-color: #121921;
    --light-color: #f8f9fa;
    --text-color: #333;
    --light-text: #f8f9fa;
    --border-radius: 5px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: #f5f7fa;
    overflow-x: hidden;
}

/* Navbar Styling */
.navbar {
    background-color: var(--dark-color);
    padding: 15px 0;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(18, 25, 33, 0.95);
}

.navbar-brand {
    font-weight: 700;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text {
    font-size: 1.8rem;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.brand-subtext {
    font-size: 0.8rem;
    color: var(--light-text);
    letter-spacing: 2px;
}

.nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

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

.request-btn {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-color) !important;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    margin-left: 15px;
}

.request-btn:hover {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
    color: var(--light-text);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%),
                radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.6;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-btn {
    background-color: var(--accent-color);
    color: var(--dark-color);
    border: 2px solid var(--accent-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 15px;
}

.hero-btn:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.hero-btn.outline {
    background-color: transparent;
    color: var(--light-text);
    border-color: var(--light-text);
}

.hero-btn.outline:hover {
    background-color: var(--light-text);
    color: var(--dark-color);
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: #6c757d;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Card Styling */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    overflow: hidden;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.card-text {
    color: #6c757d;
    margin-bottom: 20px;
}

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

/* Feature Box */
.feature-box {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Brand Logos */
.brand-logo {
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.brand-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Testimonial */
.testimonial {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-author-info p {
    color: #6c757d;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-control {
    border: 1px solid #ced4da;
    padding: 12px 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}

.btn-submit {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

/* Contact Info */
.contact-info {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 40px;
    border-radius: var(--border-radius);
    height: 100%;
}

.contact-info h3 {
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-info-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 15px;
}

.contact-info-content h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-info-content p {
    margin: 0;
}

.contact-info-content a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-content a:hover {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 70px 0 20px;
}

.footer h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 25px;
}

.footer p {
    margin-bottom: 20px;
}

.footer a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color);
}

.footer ul li {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.footer hr {
    margin: 30px 0;
    border-color: rgba(255, 255, 255, 0.1);
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease forwards;
}

/* Blog Card Styles */
.blog-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.blog-card-image {
    overflow: hidden;
}

.blog-card-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.blog-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.blog-card-content h3 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-card-content h3 a:hover {
    color: var(--primary-color);
}

.blog-card-content .blog-meta {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 0.875rem;
    color: #6c757d;
}

.blog-card-content .blog-meta span {
    margin-right: 15px;
}

.blog-card-content .blog-meta i {
    margin-right: 5px;
}

.blog-card-content p {
    margin-bottom: 15px;
    flex-grow: 1;
}

.blog-card-content .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.blog-card-content .read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-card-content .read-more:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--dark-color);
        padding: 20px;
        border-radius: var(--border-radius);
        margin-top: 15px;
    }
    
    .nav-link {
        margin: 10px 0;
    }
    
    .request-btn {
        margin: 10px 0;
        display: inline-block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .contact-info {
        margin-top: 30px;
    }
}
