@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --ap-gold:        #f0b429;
  --ap-gold-lt:     #f7cc6a;
  --ap-gold-dk:     #c9952e;
  --ap-navy:        #07152e;
  --ap-navy-mid:    #0d2149;
  --ap-blue:        #1a3a7a;
  --ap-white:       #ffffff;
  --ap-slate:       #8a9ab5;
  --ap-off:         #f5f0e8;
  --ap-header-h:    72px;
  --ap-top-strip-h: 32px;
}

.ap-top-strip {
  background: var(--ap-navy);
  height: var(--ap-top-strip-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  border-bottom: 1px solid rgba(240, 180, 41, 0.2);
  position: relative;
  overflow: hidden;
}

.ap-top-strip::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--ap-gold) 30%, var(--ap-gold) 70%, transparent 100%);
  opacity: 0.4;
}

.ap-strip-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ap-strip-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: capitalize;
  letter-spacing: 0.8px;
  text-decoration: none;
}

.ap-strip-item i {
  color: var(--ap-gold);
  font-size: 0.7rem;
}

.ap-strip-item:hover { color: var(--ap-gold); }

.ap-strip-divider {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.15);
}

.ap-strip-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ap-strip-badge {
  background: rgba(240,180,41,0.12);
  border: 1px solid rgba(240,180,41,0.3);
  color: var(--ap-gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: capitalize;
  letter-spacing: 1.2px;
  padding: 3px 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.ap-strip-badge:hover {
  background: rgba(240,180,41,0.22);
}

header {
  background: var(--ap-white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--ap-navy);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--ap-header-h);
  gap: 0;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
}

.brand-icon {
  width: 52px;
  height: 52px;
  background: var(--ap-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.brand-icon::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--ap-gold);
}

.brand-icon i {
  font-size: 1.5rem;
  color: var(--ap-gold);
  position: relative;
  z-index: 1;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  padding: 0 14px;
  border-left: 3px solid var(--ap-gold);
  margin-left: 10px;
}

.site-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ap-blue);
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
}

.site-name em {
  font-style: normal;
  color: var(--ap-gold);
}

.site-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--ap-slate);
  text-transform: capitalize;
  letter-spacing: 2px;
  margin-top: 3px;
  display: block;
}

.header-sep {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(7,21,46,0.15), transparent);
  margin: 0 1.5rem;
  flex-shrink: 0;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
  height: var(--ap-header-h);
}

.nav-links li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-links > li > a {
  font-family: 'DM Sans', sans-serif;
  color: var(--ap-navy);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: capitalize;
  white-space: nowrap;
  position: relative;
  transition: color 0.15s;
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--ap-gold);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links > li > a:hover {
  color: var(--ap-navy);
}

.nav-links > li > a:hover::after {
  width: 100%;
}

.nav-links > li > a i {
  font-size: 0.95rem;
  color: var(--ap-gold);
  flex-shrink: 0;
}

.nav-links > li.active > a {
  color: var(--ap-blue);
}

.nav-links > li.active > a::after {
  width: 100%;
  background: var(--ap-blue);
}

.nav-links li.has-dropdown > a::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--ap-navy);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 101;
}

.nav-links li.has-dropdown:hover > a::before {
  opacity: 1;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  background: var(--ap-navy);
  border-top: 3px solid var(--ap-gold);
  border-left: 1px solid rgba(240,180,41,0.15);
  border-right: 1px solid rgba(240,180,41,0.15);
  border-bottom: 1px solid rgba(240,180,41,0.15);
  min-width: 240px;
  z-index: 100;
  padding: 0;
  overflow: hidden;
  animation: dropIn 0.18s ease-out both;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-links li.has-dropdown:hover .nav-dropdown {
  display: block;
}

.nav-dropdown-inner {
  padding: 8px 0;
}

.dropdown-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  color: rgba(240,180,41,0.5);
  text-transform: capitalize;
  letter-spacing: 2px;
  padding: 10px 20px 6px;
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  text-decoration: none;
  position: relative;
  transition: background 0.15s;
  border-left: 2px solid transparent;
}

.dropdown-item::after {
  display: none;
}

.dropdown-item:hover {
  background: rgba(240,180,41,0.08);
  border-left-color: var(--ap-gold);
}

.dropdown-item-icon {
  width: 32px;
  height: 32px;
  background: rgba(240,180,41,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-item-icon i {
  font-size: 0.9rem;
  color: var(--ap-gold);
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-item-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ap-white);
  letter-spacing: 0.2px;
}

.dropdown-item-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  color: var(--ap-slate);
  font-weight: 400;
}

.dropdown-divider {
  height: 1px;
  background: rgba(240,180,41,0.08);
  margin: 6px 20px;
}

.dropdown-new {
  margin-left: auto;
  background: var(--ap-gold);
  color: var(--ap-navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: capitalize;
  letter-spacing: 0.8px;
  padding: 2px 7px;
  flex-shrink: 0;
}

.nav-dropdown.mega {
  left: auto;
  right: 0;
  min-width: 560px;
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.mega-col {
  padding: 16px 0;
  border-right: 1px solid rgba(240,180,41,0.08);
}

.mega-col:last-child { border-right: none; }

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 1rem;
  flex-shrink: 0;
}

.nav-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.8px;
  padding: 0 20px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  line-height: 1;
}

.nav-btn-ghost {
  background: transparent;
  color: var(--ap-navy);
  border: 2px solid var(--ap-navy);
}

.nav-btn-ghost:hover {
  background: var(--ap-navy);
  color: var(--ap-white);
}

.nav-btn-primary {
  background: var(--ap-gold);
  color: var(--ap-navy);
  border: 2px solid var(--ap-gold);
  position: relative;
  overflow: hidden;
}

.nav-btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--ap-navy);
  transition: left 0.25s cubic-bezier(0.4,0,0.2,1);
  z-index: 0;
}

.nav-btn-primary:hover::before { left: 0; }

.nav-btn-primary span,
.nav-btn-primary i {
  position: relative;
  z-index: 1;
  transition: color 0.25s;
}

.nav-btn-primary:hover span,
.nav-btn-primary:hover i {
  color: var(--ap-gold);
}

.nav-btn i { font-size: 0.85rem; }

.hamburger-menu {
  display: none;
  background: var(--ap-navy);
  border: none;
  cursor: pointer;
  padding: 0;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.hamburger-menu i {
  font-size: 1.4rem;
  color: var(--ap-gold);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.2s ease;
}

.hamburger-menu.active i.bi-list {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.hamburger-menu.active i.bi-x-lg {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

.hamburger-menu i.bi-x-lg {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(7,21,46,0.7);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay.active {
  display: block;
  opacity: 1;
}

@media screen and (max-width: 1280px) {
  .nav-links > li > a {
    padding: 0 0.8rem;
    font-size: 0.75rem;
  }

  .nav-btn {
    padding: 0 14px;
    font-size: 0.68rem;
  }

  .header-sep { display: none; }
}

@media screen and (max-width: 1024px) {
  .nav-links > li > a {
    padding: 0 0.65rem;
    font-size: 0.72rem;
  }

  .ap-top-strip { padding: 0 1.2rem; }
  .ap-strip-left .ap-strip-item:not(:first-child) { display: none; }
}

@media screen and (max-width: 850px) {
  .header-container {
    height: 62px;
    padding: 0 1.2rem;
  }

  .hamburger-menu {
    display: flex;
    z-index: 1001;
  }

  .nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 88%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: var(--ap-navy);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
    border-left: 3px solid var(--ap-gold);
    display: flex;
  }

  .nav-container.active {
    right: 0;
  }

  .nav-container::before {
    content: 'ACADEMIXPOINT';
    display: block;
    flex-shrink: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 900;
    color: var(--ap-gold);
    letter-spacing: 2px;
    padding: 22px 24px 16px;
    border-bottom: 1px solid rgba(240,180,41,0.15);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    height: auto;
    flex-shrink: 0;
    gap: 0;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(240,180,41,0.07);
    flex-direction: column;
  }

  .nav-links > li > a {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 24px;
    color: rgba(255,255,255,0.8);
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    height: auto;
    text-transform: capitalize;
  }

  .nav-links > li > a::after { display: none; }

  .nav-links > li > a:hover {
    background: rgba(240,180,41,0.08);
    color: var(--ap-gold);
    border-left: 3px solid var(--ap-gold);
    padding-left: 21px;
  }

  .nav-links > li > a i {
    min-width: 20px;
  }

  .nav-dropdown {
    position: static;
    background: rgba(13,33,73,0.8);
    border: none;
    border-top: 1px solid rgba(240,180,41,0.1);
    border-bottom: 1px solid rgba(240,180,41,0.1);
    animation: none;
    display: none;
  }

  .nav-links li.has-dropdown:hover .nav-dropdown { display: none; }
  .nav-links li.has-dropdown.open .nav-dropdown { display: block; }

  .nav-dropdown.mega { min-width: unset; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-col { border-right: none; }

  .dropdown-item { padding: 10px 28px; }
  .dropdown-item-name { color: rgba(255,255,255,0.75); }

  .nav-cta-group {
    flex-direction: column;
    margin: 16px 24px 24px;
    gap: 10px;
  }

  .nav-btn {
    width: 100%;
    justify-content: center;
    height: 44px;
    font-size: 0.75rem;
  }

  .brand-icon {
    width: 44px;
    height: 44px;
  }

  .site-name { font-size: 1.1rem; }

  .ap-top-strip { display: none; }
}

@media screen and (max-width: 480px) {
  .nav-container {
    width: 100%;
    max-width: 100%;
    border-left: none;
    border-top: 3px solid var(--ap-gold);
  }
}

#error-page, #error-post {
    width: 80%;
    margin: 30px auto;
    padding: 20px;
    background-color: #f7f7f7;
    border: 2px solid #d1d1d1;
    font-family: 'Arial', sans-serif;
}

#error-page h1, #error-post h1 {
    text-align: center;
    font-size: 36px;
    color: #333;
    font-weight: 700;
    padding: 15px 0;
    margin-bottom: 20px;
    text-transform: capitalize;
    letter-spacing: 1px;
    background-color: #ffcc00;
}

#error-page p, #error-post p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    text-align: center;
}

#error-page ul, #error-post ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-top: 20px;
}

#error-page ul li, #error-post ul li { margin-bottom: 10px; }

#error-page a, #error-post a {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
}

#error-page a:hover, #error-post a:hover {
    color: #e04e00;
    text-decoration: underline;
}

.social-btn {
    display: block;
    position: fixed;
    bottom: 20%;
    right: 1%;
    background: grey;
    padding: 7px;
    margin: 0px auto;
    z-index: 999;
}

#globe { display: block; padding: 10px 2px; color: white; text-align: center; }
#close { display: none; padding: 10px 2px; color: white; text-align: center; }
#whatsapp, #facebook, #x, #sms, #share { display: none; padding: 10px 2px; text-align: center; color: white; }

.crossed-lines { position: relative; width: 30px; height: 30px; }
.line { position: absolute; background-color: white; top: 50%; left: 50%; transform-origin: center; transform: translate(-50%, -50%); }
.line-1 {
    width: 100%; height: 2px; display: flex; justify-content: space-between;
    transform: rotate(55deg); border: 2px solid white; transform-origin: center; top: 50%; left: 50%;
    padding: 1px 0px; position: absolute; transform: translate(-50%, -50%) rotate(55deg);
}
.line-1 div { width: 2px; height: 100%; }
.line-2 {
    width: 100%; height: 3px;
    background: linear-gradient(to right, white 20%, transparent 50%, white 80%);
    transform: rotate(-55deg); top: 50%; left: 50%;
    position: absolute; transform: translate(-50%, -50%) rotate(-55deg);
}

#header-abvnav {
    font-size: 2.0em;
    text-align: center;
    color: white;
    margin: 0 0 -3px 0;
    padding: 30px 15px;
    text-transform: capitalize;
    letter-spacing: 2.5px;
    font-weight: 900;
    background: white;
    cursor: pointer;
}

@media screen and (max-width: 800px) {
    #header-abvnav { font-size: 1.6em; }
}

.comments, .feed-links { display: none; }

.comments .comment-form {
    display: none; background: #f9f9f9; border: 1px solid #ddd;
    padding: 15px; margin: 10px auto; width: 100%; max-width: 100%;
    box-sizing: border-box;
}

.comments .comment { margin-bottom: 10px; padding: 10px; background: #fff; border: 1px solid #eee; }
.comments .comment-author { font-weight: bold; color: #333; }
.comments .comment-body { font-size: 0.95em; line-height: 1.4; color: #555; }

@media (max-width: 768px) {
    .comments .comment-form, .comments .comment { padding: 10px; margin: 5px auto; }
    .comments .comment-author { font-size: 1em; }
    .comments .comment-body { font-size: 0.9em; }
}

.post-author, .page-author, .post-title, .page-title { display: none; }

@keyframes headerBgAnimation {
    0%   { background: radial-gradient(circle, #2466f2, #ffffff); }
    25%  { background: radial-gradient(circle, #3177e8, #b3d1ff); }
    50%  { background: radial-gradient(circle, #1e5ddf, #ffffff); }
    75%  { background: radial-gradient(circle, #2466f2, #dbe9ff); }
    100% { background: radial-gradient(circle, #9e9906, #c7a614); }
}

h2 { text-align: left; font-size: 120%; text-transform: capitalize; color: black; margin: 15px 10px -5px 10px; }
h3 { text-align: left; font-size: 90%; text-transform: capitalize; }

.title-intro { text-align: left; font-size: 70%; line-height: 20px; letter-spacing: 0.5px; }

.slider-container { width: 90%; overflow: hidden; position: relative; margin: 20px auto; margin-top: 5px; }
.slider-wrapper { display: flex; transition: transform 0.5s ease-in-out; width: 100%; }
.slider-wrapper img { width: 100%; flex-shrink: 0; height: 100vh; object-fit: cover; }

.navigation { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); }
.navigation button { background-color: rgba(0,0,0,0); border: none; color: white; padding: 10px 20px; cursor: pointer; font-size: 16px; margin: 0px 6px; }
.navigation button:hover { background-color: rgba(0,0,0,0.2); }

@media (max-width: 500px) {
    .slider-container { width: 98%; height: 60vh; margin-top: -30px; margin-bottom: -40px; }
    .navigation button { margin: -10px; }
    .slider-wrapper img { height: 60vh; object-fit: scale-down; }
}

.middle-section {
    background: linear-gradient(120deg, #a6c0fe, #f68084); height: auto; padding: 10px;
    margin-bottom: -10px; position: relative; background-size: 400% 400%;
    animation: gradientFlow 8s ease infinite; transition: transform 0.5s ease;
    width: calc(100% - 20px);
}

.middle-section.scroll-effect { animation: gradientFlow 8s ease infinite, scrollBackground 12s linear infinite; }

@keyframes gradientFlow {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 50% 50%; }
    50%  { background-position: 100% 50%; }
    75%  { background-position: 50% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes scrollBackground {
    0%   { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.middle-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.2); transition: opacity 0.3s ease; z-index: -1;
}

.static-content {
    display: flex; flex-wrap: wrap; justify-content: space-between;
    padding: 10px; margin: 10px auto; margin-bottom: 40px; width: 90%; gap: 2px;
}

.static-post { perspective: 1000px; flex: 1 1 calc(22% - 15px); max-width: 22%; height: 350px; text-align: center; margin: 5px 0; position: relative; margin-bottom: 40px; }
.card { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 0.6s; }
.static-post:hover .card { transform: rotateY(180deg); }

.front, .back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; padding: 17px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.front { background: #96a3a8; }
.back { background: #1fc6f0; transform: rotateY(180deg); font-size: 100%; font-weight: bold; margin-left: -30px; }

.static-post img { width: 100%; height: auto; display: block; }
.static-post a { text-align: center; font-size: 1rem; color: black; font-weight: bold; text-decoration: none; text-transform: capitalize; }

@media (max-width: 760px) { .static-content { gap: 10px; } .static-post { flex: 1 1 calc(48% - 15px); max-width: 48%; height: 250px; } }
@media (max-width: 600px) { .static-content { gap: 10px; } .static-post { flex: 1 1 calc(42% - 25px); max-width: 42%; margin: 10px 10px 20px -10px; height: 250px; } }

.nmgtc-homepage { width: 90%; display: none; background: white; min-height: 100vh; margin: 10px auto; box-sizing: border-box; }

body.post .post-content, body.static_page .static_page { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.post-area img, .page-area img { max-width: 100%; height: auto; }
.post-area p, .page-area p { line-height: 1.6; font-size: 1em; color: #333; }

.overlay-ms-bx { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255,255,255,1); z-index: 9999; display: flex; justify-content: center; align-items: center; padding: 20px; box-sizing: border-box; }
.overlay-message-box { background-color: white; color: black; padding: 20px; font-size: 1.5rem; text-align: center; font-family: Arial, sans-serif; max-width: 400px; width: 100%; line-height: 1.5; overflow-wrap: break-word; }

@media (max-width: 768px) { .overlay-message-box { font-size: 1.2rem; padding: 16px; } }
@media (max-width: 480px) { .overlay-message-box { font-size: 1rem; padding: 12px; } }

#login-form { display: none; padding: 0; margin: 0; width: 100%; height: 100%; position: relative; }
.form-container { width: 370px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 10px; display: none; }
#inside-form { margin: 20px 0px; background: white; width: calc(100% - 20px); padding: 15px 10px; }
.login-form { display: none; width: 40%; margin: 10px auto; }
form { display: block; transition: opacity 0.5s ease-in-out; }
.login-form .form-head { font-size: 2em; text-align: center; }
form.active { display: block; opacity: 1; }
.login-form label { margin: 10px; color: #333; font-weight: bold; }
.login-form input, .login-form select { width: calc(100% - 18px); padding: 8px; margin: 10px; border: 1px solid #ddd; box-sizing: border-box; position: relative; line-height: 20px; outline: none; }
.login-form .login-form input:focus { border-color: #4caf50; outline: none; }
.login-form .password-container { position: relative; }
.password-container i { position: absolute; top: 50%; right: 4%; transform: translateY(-50%); background: none; border: none; cursor: pointer; outline: none; color: #555; }

.message-box { display: none; padding: 10px; margin: 10px 0; text-align: center; }
.message-box.success { display: block; background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.message-box.error { display: block; background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

.submit { margin: 10px; padding: 10px 20px; font-size: 100%; border: none; cursor: pointer; background-color: #4caf50; color: #fff; transition: background-color 0.3s ease; width: 100px; }

#app-btn { display: block; text-align: center; margin: 15px auto; padding: 10px; background: #6b6b6b; color: white; width: 75%; font-size: 90%; }
#app-btn i { font-weight: 900; }

@media screen and (max-width: 500px) {
    .form-container { width: calc(100% - 30px); }
    #inside-form { width: calc(100% - 10px); margin: 10px 0px; padding: 15px 10px; }
    .login-form { width: 90%; }
    .submit { margin: 10px; width: 100px; }
    #signup-form input { width: calc(100% - 10px); padding: 4px; margin: 5px 10px; border: 1px solid #ddd; box-sizing: border-box; position: relative; line-height: 9px; }
    #signup-form label { font-size: 80%; margin: 5px 10px; color: #333; font-weight: bold; }
    #signup-form .submit { margin: 5px 10px; padding: 5px 20px; font-size: 80%; border: none; cursor: pointer; background-color: #4caf50; color: #fff; transition: background-color 0.3s ease; width: 100px; }
    .popup { width: 50%; }
}

.account-button { display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-align: center; cursor: pointer; font-family: Arial, sans-serif; }

.contact-popup, .popup { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1000; width: 300px; padding: 10px; height: 300px; background-color: #e6e3e3; text-align: center; }
.overlay1 { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 999; }
.contactpop-container, .pop-container { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; }

#contactCall1, #contactCall2 { display: block; margin: 20px auto; width: 60%; padding: 15px 30px; background-color: grey; color: white; border: none; cursor: pointer; text-transform: capitalize; }
.popup button { margin: 10px; padding: 15px 30px; background-color: #007bff; color: white; border: none; cursor: pointer; text-transform: capitalize; }
.popup button:hover { background-color: #0056b3; }

@media screen and (max-width: 500px) { .popup { width: calc(100% - 30px); } }

.footer { width: calc(100% - 20px); display: flex; justify-content: space-around; align-items: left; padding: 10px; background-color: #365c69; color: #fff; margin: 10px auto; }
.footer-section { flex: 1 1 (33.33% - 40px); align-items: left; }
.footer-section h3 { margin-bottom: 15px; font-size: 18px; color: #f39c12; text-align: left; }
.footer-section p, .footer-section ul { margin: 0; padding: 0; list-style: none; }
.footer-section ul li { margin: 5px 0; }
.footer-section ul li a { text-decoration: none; color: #fff; transition: color 0.3s; }
.footer-section ul li a:hover { color: #f39c12; }

a { text-decoration: none; color: inherit; }

.footer-bottom { text-align: center; background-color: black; color: #fff; padding: 10px 0; font-size: 14px; margin-top: -10px; }

@media screen and (max-width: 600px) { .footer { width: calc(100% - 40px); flex-direction: column; padding: 20px; } }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.post-container { animation: fadeIn 1s ease-in-out; opacity: 0; animation-fill-mode: forwards; }
.post-container:hover { transform: scale(1.05); transition: transform 0.3s ease; }
.post-title:hover { text-decoration: underline; transition: all 0.3s ease-in-out; }
.welcome-message, .home-page-content { animation: fadeIn 1.5s ease-in-out; animation-delay: 0.2s; }

.pagination button { transform: translateY(0); transition: transform 0.3s ease, background-color 0.3s ease; }
.pagination button:hover { transform: translateY(-5px); background-color: #ffcc00; }

footer { animation: fadeIn 2s ease-in-out; }
a:hover { text-decoration: none; }
