/* ==============================================================
   E-Tech Solvers - Premium IT Theme (Inspired by ITN)
   ============================================================== */

/* Google Fonts Import (Modern Tech Font) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: #333;
    line-height: 1.7;
}

/* --- Top Bar & Navbar Styling --- */
.bg-dark {
    background-color: #1a1a2e !important; /* Deep Tech Blue/Dark */
}

.navbar {
    background-color: var(--primary-color) !important;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 5px;
    position: relative;
}

/* Hover Underline Effect for Menu */
@media (min-width: 992px) {
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--secondary-color);
        transition: width 0.3s ease;
    }
    .nav-link:hover::after {
        width: 100%;
    }
}

/* --- Buttons Styling --- */
.btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 10px 25px;
    border-radius: 6px; /* Professional slight curve */
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff;
}

.btn-primary:hover {
    background-color: #222 !important; /* Dark on hover */
    border-color: #222 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Cards Styling (Services & Blog) --- */
.card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
}

.hover-shadow:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-color: var(--secondary-color);
}

.card .display-4 {
    transition: all 0.3s ease;
}

.card:hover .display-4 {
    transform: scale(1.1);
    color: var(--secondary-color) !important; /* Icon changes color on hover */
}

/* --- Headings & Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #222;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Section Title Accent Line */
h2.fw-bold::after, h3.fw-bold::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* --- Slider Customization --- */
.carousel-caption {
    bottom: 25%;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--secondary-color);
}

/* --- Custom Dropdown Animation --- */
.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Service Detail Page Formatting */
.service-full-content img, .blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}