/* Custom Styling for Dhan Sanchai Website */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fcfcfc;
}

/* Colors */
:root {
    --primary-color: #0056b3;
    --secondary-color: #dc3545;
    --dark-color: #1a1a1a;
}

.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); }

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #333 !important;
    transition: all 0.3s ease;
}

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

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.page-banner h1 {
    color: #333;
    letter-spacing: -1px;
}

/* Hero Section */
#heroCarousel .carousel-item {
    height: 400px;
}

#heroCarousel .carousel-item img {
    height: 400px;
    object-fit: cover;
}

#heroCarousel .carousel-caption {
    bottom: 20%;
}

@media (max-width: 768px) {
    #heroCarousel .carousel-item,
    #heroCarousel .carousel-item img {
        height: 250px;
    }
    #heroCarousel .carousel-caption {
        bottom: 10%;
    }
    #heroCarousel .carousel-caption h2 {
        font-size: 1.5rem;
    }
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Contact Cards */
.contact-card {
    background-color: #fff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #eee !important;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover::after {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    border-color: var(--primary-color) !important;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 86, 179, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.contact-card:hover .icon-wrapper {
    background-color: var(--primary-color);
}

.contact-card:hover .icon-wrapper i {
    color: #fff !important;
}

/* Form Styling */
.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.btn-danger {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #b02a37;
}

/* Footer */
footer {
    background-color: var(--dark-color) !important;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #333;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    transition: all 0.3s ease;
    color: #fff !important;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

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

