/* =============================================================================
   HTML5 CSS Reset Minified - Eric Meyer
   ========================================================================== */

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}
li{list-style:none}


/* =============================================================================
   My CSS
   ========================================================================== */

/* ---- base ---- */

html,body{
  margin:0;
  padding:0;
	width:100%;
	height:100%;
	background:#111;
/*overflow-x: hidden;*/
}

html{
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body{
  font:normal 75% Arial, Helvetica, sans-serif;
}

.ailecs canvas{
  display:block;
  vertical-align:bottom;
}

.ailecs .gradient-bg {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 100, 128, 0.2),
    rgba(0, 48, 128, 0.8) 60%,
    #000814 100%
  );
}

.ailecs .content {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: white;
  text-align: center;
  font-size: 3em;
  font-family: 'Arial', sans-serif;
}

.ailecs .center-logo {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  z-index: 10;
}

.center-logo img {
  pointer-events: none;
  width: 100%;
  max-width: 400px;
  height: auto;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
  animation-delay: 0.5s;
}
@media (max-width: 768px){
  .center-logo {
    top:40%;
  }
}

.ailecs .logo-wrapper {
  pointer-events: none;
  background: rgba(255, 255, 255, 0.1);         /* Slightly darker for more contrast */
  /*padding: 30px 40px;*/
  padding: 20px;
  border-radius: 16px;
  display: inline-block;
  box-shadow:
    0 0 20px rgba(0, 255, 128, 0.4),
    0 0 40px rgba(0, 255, 128, 0.2);       /* Stronger layered glow */
  backdrop-filter: blur(6px);             /* Optional: adds soft glass effect */
  border: 1px solid rgba(0, 255, 128, 0.2);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.logo-wrapper img {
  width: 500px;
  height: auto;
  display: block;
}

.ailecs .tagline {
  font-size: 2.2rem;
  font-weight: 100;
  color: white;
  margin-top: 0px;
  line-height: 1.0;
  text-align: right;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
  animation-delay: 1s;
}

.tagline .ai {
  color: #00ff80; /* glowing green to match brand */
  font-weight: 600;
  text-shadow: 0 0 6px #00ff80;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


.ailecs-about-section {
  background: linear-gradient(to bottom, #000814, #001f3f);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.ailecs-about-section .section-title h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.ailecs-about-section .section-title p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-wrapper video {
  width: 90%;
  max-width: 960px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,255,128,0.3);
}


/* ---- stats.js ---- */

.ailecs .count-particles{
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13E8E9;
  font-size: .8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.js-count-particles{
  font-size: 1.1em;
}

#stats,
.count-particles{
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}

#stats{
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles{
  border-radius: 0 0 3px 3px;
}


/* ---- particles.js container ---- */

#particles-js{
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(0, 255, 128, 0.2),    /* Soft green glow */
    rgba(0, 48, 128, 0.8) 60%, /* Mid blue */
    #000814 100%               /* Dark navy at edges */
  );
  background-image: url('');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  pointer-events: auto;
}

/* --- Styling for the iFrame PDF Viewer --- */

.pdf-viewer {
  margin-top: 60px; /* Adds space above the PDF section */
  margin-bottom: 60px; /* Adds space below */
  text-align: center;
  /* THIS IS THE FIX for making the iframe clickable */
  pointer-events: auto;
}

.pdf-viewer h3 {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
}

.pdf-viewer iframe {
  width: 100%;
  max-width: 900px; /* Adjust this to make the viewer wider or narrower */
  height: 750px;     /* Adjust this to make the viewer taller or shorter */

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

