/* 1. Define the Local Josefin Sans Regular Font */
@font-face {
    font-family: 'Josefin Sans Local';
    src: url('../fonts/JosefinSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* 2. Define the Local Josefin Sans Bold Font */
@font-face {
    font-family: 'Josefin Sans Local';
    src: url('../fonts/JosefinSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


/* Force the browser to strictly contain the width to the mobile screen */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #0d3b66; /* Deep Professional Blue */
    --secondary-color: #f4d35e; /* Premium Warm Gold/Yellow Accent */
    --dark-color: #081c33;
    --light-bg: #f8f9fa;
    --text-muted: #6c757d;
    --check-color: #2ec4b6; /* Commitment list checkmark accent */
}
/* Custom font targeting for the brand name */
.font-ekai {
    font-family: 'Josefin Sans Local', sans-serif;
    font-weight: 700; /* This automatically triggers the JosefinSans-Bold.ttf file */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* Sticky Navigation Styling */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 2px solid #f1f1f1;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    line-height: 1.2;
}

.navbar-brand span {
    font-size: 0.75rem;
    display: block;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--primary-color);
}

/* Compact Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.95) 0%, rgba(8, 28, 51, 0.98) 100%), 
                url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    padding: 60px 0 40px !important; /* Extremely compact vertical space */
    color: #fff;
    min-height: auto !important;
}

.hero h1 {
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 2px;
    
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 15px 20px !important; /* Compact inner card spacing */
    height: 100%;
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.hero-card h5 {
    font-size: 1.1rem !important;
    margin-bottom: 4px !important;
}

.hero-card p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
}

/* Section Headings with Dynamic Equal Yellow Line */
.section-title {
    display: inline-block; /* Forces width to match text exactly */
    position: relative;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 12px;  /* Space for the line */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; /* Stretches dynamically to match heading text size */
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Product Cards */
.product-card {
    background: #fff;
    border: 1px solid #eef2f5;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.product-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 10px;
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-list li {
    padding: 8px 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.product-list li i {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-right: 10px;
}

/* What Makes Us Different Cards */
.different-card {
    padding: 20px 10px;
    text-align: center;
    border: none;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.different-card .icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(13, 59, 102, 0.08);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

/* Strength Cards */
.strength-card {
    background: #fff;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    height: 100%;
}

/* Commitment Vertical Card */
.commitment-card {
    background: var(--dark-color);
    color: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(8, 28, 51, 0.15);
}

.commitment-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.commitment-list i {
    color: var(--check-color);
    margin-right: 10px;
}

/* Client Logo Bar */
.clients-section {
    background: #fdfdfd;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}

.client-logo {
    font-weight: 800;
    color: #abb5be;
    letter-spacing: 2px;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.client-logo:hover {
    color: var(--primary-color);
}

/* Footer Section */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 50px 0 30px;
}

footer a {
    color: #abb5be;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

.whatsapp-icon {
    font-size: 34px;
}

/* Floating Email Button */
.email-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 105px; /* Sits exactly 15px above WhatsApp */
    right: 30px;
    background-color: var(--primary-color);
    color: #FFF !important;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.email-float:hover {
    background-color: var(--dark-color);
    transform: scale(1.1);
}

.email-icon {
    font-size: 28px;
}

/* Optimized Mobile Responsiveness */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon {
        font-size: 30px;
    }
    .email-float {
        width: 55px;
        height: 55px;
        bottom: 85px;
        right: 20px;
    }
    .email-icon {
        font-size: 24px;
    }
}

/* Apply Josefin Sans to the main logo text */
.navbar-brand {
    font-family: 'Josefin Sans', sans-serif !important;
    font-weight: 700; /* Makes it bold */
    font-size: 2.2rem; /* Adjust size if needed */
}

/* Ensure the second line (the description) stays clear */
.navbar-brand span {
    font-family: 'Inter', sans-serif; /* Keeps your original font */
    font-size: 0.8rem; /* Makes the tagline smaller */
    display: block;    /* Forces it to the next line */
}