/* ==========================================================================
   Modern Refresh - Aesthetic & Responsive Upgrade
   ========================================================================== */

/* --- 1. Global Polish --- */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #4a4a4a;
    line-height: 1.7;
}

/* Base Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Highlight Text color overrides (assuming red #ff4f5a is used) */
.text-primary,
.what_taital {
    color: #1b5a8d;
    /* Deep Blue brand color */
    font-weight: 700;
}

/* --- 2. Navbar / Glassmorphism --- */
.policy-nav,
.header_section {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #333 !important;
    position: relative;
    padding-bottom: 5px !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ff4f5a !important;
    /* Brand Red hover */
}

/* Underline Animation on Hover */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: #ff4f5a;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* --- 3. Buttons (Gradients & Shadows) --- */
.btn.btn-primary,
.subscribe_bt a,
.send_bt button,
.read_bt a,
.about_bt a {
    background: linear-gradient(135deg, #1b5a8d 0%, #123e63 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(27, 90, 141, 0.3) !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn.btn-primary:hover,
.subscribe_bt a:hover,
.send_bt button:hover,
.read_bt a:hover,
.about_bt a:hover {
    background: linear-gradient(135deg, #ff4f5a 0%, #d93d47 100%) !important;
    box-shadow: 0 8px 25px rgba(255, 79, 90, 0.4) !important;
    transform: translateY(-2px);
}

/* --- 4. Cards & Interactive Elements --- */
.card,
.contact-card,
.services_box,
.testimonial_box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.card:hover,
.services_box:hover,
.testimonial_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Forms */
.form-control {
    border-radius: 8px !important;
    padding: 12px 16px !important;
    border: 1px solid #e1e5eb !important;
    background-color: #f8f9fa !important;
    color: #333 !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.form-control:focus {
    background-color: #ffffff !important;
    border-color: #1b5a8d !important;
    box-shadow: 0 0 0 4px rgba(27, 90, 141, 0.1) !important;
}

/* --- 5. Footer Polish --- */
.footer_section {
    background: #111111;
    border-top: 5px solid #ff4f5a;
}

.footer_links ul li a {
    position: relative;
    color: #fffcf4 !important;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.footer_links ul li a:hover {
    color: #ff4f5a !important;
    padding-left: 8px;
    /* Slides right slightly */
}

/* --- 6. Mobile Responsiveness Adjustments --- */
@media (max-width: 991px) {
    .policy-nav {
        padding: 0 20px !important;
        height: auto !important;
        min-height: 80px;
    }

    .policy-nav .logo img {
        height: 60px !important;
    }

    .navbar-collapse {
        background: #ffffff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }

    h1 {
        font-size: 28px !important;
    }

    h2 {
        font-size: 24px !important;
    }

    .layout_padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}