/* --- Polished CSS --- */

/* 1. Global Theme & Font */
body {
    
    background-color: #FFFFFF;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 2. Main Content Container */
#contentArea {
    
    background: #f9fcff;
    max-width: 1400px;
    margin: 40px auto;
    padding: 64px;
    border-radius: 25px;
    /*box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);*/
    /*border: 1px solid #E5E7EB; */
}

/* 3. Header & Main Headline & Search Bar */
/* Header Size */
a.brand > img {
    max-width: 100%;
    vertical-align: middle;
    border: 0;
    height: 60px;
    margin-left: 15px;
    width: auto;
}
.navbar .navbar-inner {
    /* background: #ffffff; */
    height: 60px;
}
.navbar .navbar-inner .container-fluid {
    padding: 0;
    height: 60px;
}
.navbar .brand {
    float: left;
    display: block;
    padding: 0px;
    margin-left: -20px;
    /*font-size: 20px;
    font-weight: 200; */
    color: #777;
    text-shadow: 0 1px 0 #fff;
}

/* how can we help */
#docsSearch h1  {
    font-size: 44px;
    font-weight: 750;
    text-align: center;
    margin-bottom: 16px;
    color: #1f1f1f;
    white-space: nowrap; 
}
/* On screens smaller than 768px (like mobile phones) */
@media (max-width: 768px) {
    #docsSearch h1 {
        font-size: 28px; /* A smaller font size for mobile */
    }
}
/*searchbar */
#docsSearch {
    /*background: url(https://i.pinimg.com/originals/56/bd/a9/56bda966671fcfe38bb32cc522fa7941.gif)  no-repeat center;*/
    background: #FFFFFF;
    /*height: 200px;*/
    border-bottom: none;
	padding-top: 75px;
	position: relative; 
}

#searchBar .search-query { 
    height: 52px; 
    font-size: 16px; 
    border-radius: 25px; 
   /* background: #F9FAFB; */
    border: 1px solid #D1D5DB;
    color: #3378FF; 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
    letter-spacing: 1px;
    padding-left: 20px;
}
#searchBar button { 
    height: 52px; 
    width: 120px;
    font-size: 16px; 
    font-weight: 700!important;
    border-radius: 25px;
    border: none; 
    background: #1f1f1f; 
    color: white; 
    
}
#searchBar button:hover { 
    background: #444444; 
    color: #FFFFFF;
}

/* 4. Final Flexbox Layout for a Centered 2x2 Grid */
.category-list {
    display: flex ;
    flex-wrap: wrap ;
    justify-content: center ;
    gap: 20px ;
    
}
.category-list > section {
    display: flex ;
    flex: 1 1 450px ;
    max-width: 480px ;
}

/* 5. Category Cards with Polished Hover Effect */
.category {
    background-color: #FFFFFF ;
    border: 1px solid #FFFFFF !important;
    border-radius: 25px !important ;
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) ;*/
    transition: all 0.2s ease-in-out !important;
    padding: 40px 32px 32px 32px !important;
    display: flex !important;
    flex-direction: column ;
    width: 100%;
}
.category:hover {
    background-color: #FFFFFF !important; 
    border:1px solid #FFFFFF!important;  
    transform: translateY(-5px)!important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}


/* 6. Typography inside cards with full text display */
.category h3 {
    font-size: 22px ;
    font-weight: 700 ;
    margin-bottom: 16px ;
    color: #1f1f1f ;
}
.category:hover h3 {
    color:#636363;
    
}
.category p.description {
    line-height: 1.7 ;
    font-size: 16px ;
    color: #6B7280;
    flex-grow: 1;
    transition: color 0.2s ease-in-out; 
}
.category:hover p.description {
    color: #636363 ;
}
.category .article-count {
    color: #6B7280 ;
    font-weight: 500 ;
    margin-top: 24px ; 
}
.category:hover .article-count {
    color: #3378FF!important;
}

/* 7. Article Blockquote Styling */
.article-body blockquote {
    background-color: #F0F6FF;
    border-left: 4px solid #3378FF;
    border-radius: 20px !important;
    padding: 16px 20px;
}

