/* body {font-family: "Varela Round", sans-serif !important; overflow-x: hidden; font-size: 16px;}
body {margin: 0; line-height: 1.45;  color: #333;    background-color: #fff;} */

html,
body {margin: 0; line-height: 1.45;
      color: #e6e8ee;
      font-family:"Varela Round", "sans-serif !important", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
      overflow-x: hidden; font-size: 16px;
      /* Base dark gradient */
      background: radial-gradient(1200px 600px at 20% -10%, rgba(60,130,246,0.25), rgba(60,130,246,0) 60%),
                  radial-gradient(1000px 500px at 85% 10%, rgba(236,72,153,0.18), rgba(236,72,153,0) 60%),
                  radial-gradient(800px 400px at 50% 120%, rgba(16,185,129,0.18), rgba(16,185,129,0) 60%),
                  linear-gradient(180deg, #0b1020, #0a0f1c 40%, #090e1a 100%);
      min-height: 100%;
      position: relative;
      overflow-x: hidden;
      isolation: isolate; /* ensure blending doesn't leak */
    }

/* Subtle diagonal grid overlay */
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      background-image:
        repeating-linear-gradient(  0deg, rgba(255,255,255,0.035) 0 1px, rgba(255,255,255,0) 1px 38px),
        repeating-linear-gradient(-90deg, rgba(255,255,255,0.035) 0 1px, rgba(255,255,255,0) 1px 38px);
      mix-blend-mode: overlay;
      pointer-events: none;
      z-index: -1;
    }

    /* Soft animated glow blobs */
    .glow {
      position: fixed;
      filter: blur(70px);
      opacity: 0.8;
      pointer-events: none;
      z-index: -2;
      will-change: transform, opacity;
      animation: float1 21s ease-in-out infinite;
    }
    .glow.g2 { animation: float2 28s ease-in-out infinite; }
    .glow.g3 { animation: float3 34s ease-in-out infinite; }

    .g1 { width: 60vmax; height: 60vmax; left: -15vmax; top: -10vmax; background: radial-gradient(closest-side, rgba(59,130,246,0.55), rgba(59,130,246,0)); }
    .g2 { width: 55vmax; height: 55vmax; right: -10vmax; top: -5vmax; background: radial-gradient(closest-side, rgba(236,72,153,0.45), rgba(236,72,153,0)); }
    .g3 { width: 70vmax; height: 70vmax; left: 10vmax; bottom: -20vmax; background: radial-gradient(closest-side, rgba(16,185,129,0.45), rgba(16,185,129,0)); }

    @keyframes float1 {
      0%,100% { transform: translate3d(0,0,0) scale(1); }
      50%     { transform: translate3d(2vmax, -1vmax, 0) scale(1.05); }
    }
    @keyframes float2 {
      0%,100% { transform: translate3d(0,0,0) scale(1); opacity: 0.85; }
      50%     { transform: translate3d(-2vmax, 1vmax, 0) scale(1.08); opacity: 0.7; }
    }
    @keyframes float3 {
      0%,100% { transform: translate3d(0,0,0) scale(1); }
      50%     { transform: translate3d(0.5vmax, -1.5vmax, 0) scale(1.06); }
    }

    /* Optional tiny film grain for depth (pure CSS, no image) */
    .noise {
      position: fixed; inset: 0; pointer-events: none; z-index: -1;
      opacity: 0.06; mix-blend-mode: soft-light;
      background-image: radial-gradient(rgba(255,255,255,0.07) 0.5px, rgba(0,0,0,0) 0.5px);
      background-size: 2px 2px;
    }

    
header {background-color: #111827F2; color: white; display: flex; justify-content: space-between;  position: relative;  align-items: center;    padding: 10px 20px;}
#logo {font-size: 24px;    font-weight: bold;}
#logo a {color: #ffffff;    text-decoration: none;}

/* Remove background from all h2 */
h2 { color: inherit;  font-size: inherit;  padding: inherit;  background: none;}

/* Apply background image ONLY to h2.custom-style */
h2.custom-style {  color: #3a5909;  font-size: 20px;  padding: 0 0 60px 20px;
  background: url(../images/header_bg.png) no-repeat bottom center;}

h2, h3 {  margin-top: 40px;  margin-bottom: 15px;  font-weight: 600;}
p { font-size: 18px; color: #D1D5DB;  margin: 0 0 20px 0;  letter-spacing: 0.2px;  text-align: justify; }

.text-center { text-align: center;}
a { color: #713f1233;  text-decoration: none;}
a:hover {  text-decoration: underline;}


/* Dark Theme */
body.dark {background-color: #1a1a1a;    color: #ffffff;}
.switch {position: relative;    display: inline-block;    width: 40px;    height: 20px;}
.slider {position: absolute;    cursor: pointer;    top: 0;    left: 0;    right: 0;    bottom: 0;    background-color: #ccc;border-radius: 20px;transition: 0.4s;}
.slider:before {position: absolute;    content: "";    height: 16px;    width: 16px;    left: 2px;    bottom: 2px;    background-color: white;    border-radius: 50%;    transition: 0.4s;}
input[type="checkbox"] {    display: none;}
input[type="checkbox"]:checked + .slider {    background-color: #2196F3;}
input[type="checkbox"]:checked + .slider:before {    transform: translateX(20px);}

/* font + icon */

/* @font-face rule for icon font (e.g., Font Awesome) */
@font-face {font-family: "FontAwesome"; src: url("font/fontawesome-webfont.woff2") format("woff2"), url("font/fontawesome-webfont.woff") format("woff");    font-weight: normal;    font-style: normal;    font-display: swap;}
.fa { display: inline-block; font-family: FontAwesome; font-style: normal; font-weight: normal;    line-height: 1;    -webkit-font-smoothing: antialiased;    -moz-osx-font-smoothing: grayscale;}
.fa-search::before {    content: "\f002";}
.fa-eye::before {    content: "\f06e";}
.fa-map-marker::before {    content: "\f041";}
.fa-arrow-up::before {    content: "\f062";}
.fa-comment::before {    content: "\f075";}
.fa-thumbs-up::before {    content: "\f087";}

/* @font-face rule for main text font (e.g., Varela Round) */

@font-face {font-family: "Varela Round"; src: url("font/varela-round.ttf") format("truetype");    font-weight: normal;    font-style: normal;    font-display: swap;}

/* ------------------------- menu #FF5003------------------------- */

nav ul {display: flex; gap: 0px; align-items: center; list-style: none; }
nav ul li { position: relative;}

nav ul li a {
  display: flex;  flex-direction: column;  justify-content: center;  align-items: center;
  width: 115px;  height: 45px; /* enough space for 2 lines */
  padding: 0;  text-align: center;  font-size: 14px;  text-decoration: none;  color: #d1d5db;  font-weight: bold;}

nav ul li:hover > a { color: #333333; background: url(../images/menu_hover.png) no-repeat top; background-size: 120% 120%; }

/* Dropdown list */
nav ul li ul { display: none; position: absolute; top: 100%; left: 0; background:  #1F2937;  flex-direction: column; min-width: 160px;  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);   margin: 0;  padding: 0;   z-index: 999;    }
nav ul li:hover ul { display: flex;}
nav ul li ul li a { padding: 10px 15px; font-size: 14px; color: white;}
nav ul li ul li a:hover {  color: #333333; background: url(../images/menu_hover.png) no-repeat top; background-size: 120% 120%;}
.current_1 { color: #333333;  background: url(../images/menu_hover.png) no-repeat top; background-size: 120% 120%;}

/* ------------------------- end of menu -------------------------  */


.btn-danger { background-color: #dc3545;    color: #fff;    padding: 10px 20px;    font-size: 18px;    border-radius: 4px;    border: none;}
.btn-lg { font-size: 20px; padding: 12px 24px;}
.btn-danger:hover {background-color: #c82333;}
.btn-lg:hover {font-size: 22px;}

.breadcrumb-wrap {margin-left: 40px;margin-top: 0px;margin-bottom: -10px;}
.breadcrumb-wrap > ul { list-style-type: none;  padding: 0; overflow: auto;}
.breadcrumb-wrap > ul > li { padding-left: 30px; position: relative; float: left; height: 28px; line-height: 28px; transition: all ease 0.2s; background-color: #f6f6f6;}
.breadcrumb-wrap > ul > li:not(:last-child) { padding-left: 25px;}
.breadcrumb-wrap > ul > li > a { color: #005882; display: block; position: relative;  text-align: center; padding: 0; text-decoration: none; transition: all ease 0.2s;}
.breadcrumb-wrap > ul > li.current, .breadcrumb-wrap > ul > li.current:after { background-color: #3b5998;}
.breadcrumb-wrap > ul > li.current > a { cursor: default; color: #fff;}
.breadcrumb-wrap > ul > li:after { content: "";  display: inline-block; width: 17px; height: 100%; background-color: #f6f6f6; border-top-right-radius: 15px;    border-bottom-right-radius: 15px;    position: absolute;    top: 0;    right: -20px; z-index: 110;    border-right: 3px solid #f6f6f6;    overflow: hidden;    transition: all ease 0.2s;}
.breadcrumb-wrap > ul > li > a > svg {    fill: #3b5998; vertical-align: middle; margin-right: 5px; margin-bottom: 4px; display: inline-block;}
.breadcrumb-wrap > ul > li:hover,.breadcrumb-wrap > ul > li:hover:after { background-color: #3b5998;}
.breadcrumb-wrap > ul > li:hover a { color: #fff !important;}
.breadcrumb-wrap > ul > li:hover > a > svg { fill: #fff !important;}

/* ------------------------- content ------------------------- */

.container{box-sizing: border-box;}
.sidebar { width: 28%;    padding: 10px;    float: left;    box-sizing: border-box;}
.content { width: 70%;    padding: 10px;    float: left;    box-sizing: border-box;}

.generat-btn { background-color: none; font-size: 16px; color: #F1F0ED; padding: 8px 0px; width: 25%; float: left;    text-overflow: ellipsis;    overflow: hidden;    -webkit-line-clamp: 1;    display: block;    position: relative;    white-space: nowrap;    border-bottom: 1px solid #dddddd5e;    transition: 0.6s;}
.generat-btn:hover {    background-color: #713f1233;    color: #fff;}
.generat-btn i, ul > li > a > i { margin-left: 10px; margin-right: 10px; font-size: 16px;    color: #60A5FA;    transition: 0.5s;} a.generat-btn {    text-decoration: none !important;}
.generat-btn:hover i { color: #fff;}


#search-tools {   padding: 8px 12px;    border: 1px solid #d9534f6b;    width: 100%;}
#search-tools i { position: absolute;}
.search-box {   position: relative;}
.search-box i { position: absolute;    right: 15px;    color: #3b5998;    outline: 0;    font-size: 16px;    top: 8px;    transition: 0.3s;} input#search-tools:focus + .fa.fa-search {    color: #3b5998;}
.search-tools-wrap {    margin-left: 30px;    margin-top: 0px;    width: 80%;}
.search-tools-wrap > ul {    padding: 0;    border-top: 0;    max-height: 2000px;    overflow: auto;    display: -webkit-box;    display: -moz-box;    display: -ms-flexbox;    display: -webkit-flex;    display: flex;    flex-direction: column;    box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);}
.search-tools-wrap > ul > li:not(:last-child) {    border-bottom: 1px solid #e5e5e580;}
.search-tools-wrap > ul > li > a {    padding: 6px 10px;    display: inline-block;    font-size: 16px;    width: 100%;    line-height: 20px;    color: #F1F0ED;    background-color: none;    position: relative;    transition: 0.5s;    text-decoration: none;}
.search-tools-wrap > ul > li > a > i {    margin-right: 10px;    font-weight: bold;    font-size: 20px;    color: #60A5FA;   transition: 0.5s;}
.search-tools-wrap > ul > li.active > a > i {    color: #fff;}
.search-tools-wrap > ul > li > a:hover,li.cardsideber.active > a {    text-decoration: none;    color: #fff;    background-color: #284070;} li.cardsideber.active { order: -1;}
::-webkit-scrollbar {    width: 6px;    height: 5px;}
::-webkit-scrollbar-thumb {    background: #3b5998;}
::-webkit-scrollbar-thumb:hover {    background: #555;}


/* ------------------------- Main content -------------------------------*/

h1 {text-align: center;}
a { color: #337ab7; text-decoration: none;}

                            /* end of content */

/* #003F7D-------------------------#002347 footer ------------------------- */

#footer { background-color:  #713f1233; color: white !important; text-align: center; padding: 30px 85px; clear: both;}
#footer p { color: white;}
.footer-content { display: flex; justify-content: space-between; align-items: center;}
#footer hr { border: none; height: 1px; background-color: #7a7a7a; box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);}
.footer-menu {  list-style-type: none;    padding: 0;    margin: 0;}
.footer-menu li { display: inline;    margin-right: 10px;}
.footer-menu li a {    text-decoration: none;    color: #7a7a7a;    font-weight: bold;}
.footer-menu li a:hover {    color: #007bff; /* Change color on hover */}
.copyright {color: #7a7a7a;}

#toTop { position: fixed; bottom: 20px; right: 5px; width: 30px; height: 30px; background-color: #3b5998; color: #fff;    text-align: center;    line-height: 30px;    cursor: pointer;    display: none; }
#toTop.show { display: block;}
#toTop i { font-size: 20px; text-align: center;  flex: 1;}

/* ------------------------- end of footer ------------------------- */

/* ------------------------- Media query for mobile devices ------------------------- */

@media (max-width: 768px) {
    header {flex-direction: column; text-align: center; }
    #menu { display: none;  flex-direction: column; align-items: center; gap: 10px; margin-top: 10px;}
    #menu-toggle { display: block; }
    #menu-toggle.clicked + #menu { display: flex; flex-direction: column; }
    .container,
    .sidebar,
    .content { width: 100%; }}
    
/* ------------------------- End of Mobile Devices ------------------------- */


