﻿/*
Theme Name: Winnex Child
Theme URI: https://academiawise.com
Description: Child theme for Winnex — AcademiaWise wording. Keep parent Winnex installed and active structure.
Author: AcademiaWise / Gaviasthemes
Template: winnex
Version: 1.5.0
Text Domain: winnex-child
*/

/* =========================================================
   AcademiaWise — Winnex child overrides
   Accent: Winnex green #93CB40 | Navy #1b2330 | Blue #374F99
   ========================================================= */

.aw-section { padding: 90px 0; }
.aw-section.bg-light { background: #f4f6f8; }
.aw-section.bg-dark { background: #1b2330; color: #fff; }
.aw-section.bg-dark h2,
.aw-section.bg-dark h3,
.aw-section.bg-dark p { color: #fff; }
.aw-section-head { margin: 0 auto 56px; max-width: 680px; text-align: center; }
.aw-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #93CB40 !important;
}
.aw-title { margin: 0 0 14px; font-size: 34px; line-height: 1.25; font-weight: 700; }
.aw-lead { font-size: 16px; margin-bottom: 28px; }

/* Hero */
.aw-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-color: #1b2330;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.aw-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,24,32,.82) 0%, rgba(20,24,32,.55) 50%, rgba(20,24,32,.3) 100%);
}
.aw-hero__inner { position: relative; z-index: 2; color: #fff; max-width: 740px; padding: 70px 0; }
.aw-hero__inner h1 { color: #fff !important; font-size: 44px; line-height: 1.18; margin: 0 0 18px; }
.aw-hero__inner .aw-kicker { color: #93CB40 !important; }
.aw-hero__inner p { color: rgba(255,255,255,.9); font-size: 17px; }
.aw-hero__btns { margin-top: 28px; }
.aw-hero__btns .btn-theme,
.aw-hero__btns .btn-white { margin-right: 10px; margin-bottom: 10px; }

.aw-quote { border-left: 4px solid #93CB40; background: #fff; padding: 22px 24px; margin: 24px 0; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.aw-quote p { font-size: 17px; font-style: italic; margin: 0 0 10px; }
.aw-quote cite { font-style: normal; font-weight: 700; color: #93CB40; }

/* =========================================================
   SERVICES — exact Insonis iconbox-five tiles (style-5)
   ========================================================= */
.aw-services-section {
  background: #01344A !important;
  padding: 100px 0 70px;
}
.aw-services-section .aw-section-head .aw-title,
.aw-services-section .aw-section-head p {
  color: #fff !important;
}
.aw-services-section .aw-kicker {
  color: #7eb8ff !important;
}

.aw-iconbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.iconbox-five {
  margin: 0;
  box-shadow: 6px 5px 15px 0 rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  position: relative;
  z-index: 9;
  max-width: none;
  height: 100%;
  --ib-primary: #4C8DF6;
  --ib-secondary: #7EB6FF;
  --ib-dark: #01344A;
}

.iconbox-five__wrap {
  position: relative;
  height: 100%;
}

.iconbox-five:after {
  content: '';
  background: linear-gradient(0deg, var(--ib-primary) 0%, var(--ib-secondary) 100%);
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: 100%;
  z-index: -1;
  transition: all 0.5s;
  border-radius: 8px;
  opacity: 0;
}

.iconbox-five__content {
  background: #fff;
  -webkit-mask-image: url("assets/img/iconbox-mask-3.png");
  mask-image: url("assets/img/iconbox-mask-3.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: top left;
  mask-position: top left;
  padding: 50px 40px 30px 40px;
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

@media (max-width: 1199px) {
  .iconbox-five__content {
    padding: 40px 18px 28px 20px;
  }
}

.iconbox-five__content:before {
  content: '';
  position: absolute;
  width: 136px;
  height: 140px;
  left: -40px;
  top: -40px;
  background: var(--ib-primary);
  filter: blur(50px);
  transition: all 0.6s;
  z-index: -1;
}

.iconbox-five__content:after {
  content: '';
  position: absolute;
  width: 10%;
  height: 10%;
  top: 0;
  left: 0;
  background: var(--ib-primary);
  transition: all 0.6s;
  z-index: -2;
  border-radius: 30px;
  opacity: 0;
}

.iconbox-five__icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--ib-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  transition: all 0.6s;
}

.iconbox-five__icon svg {
  width: 36px;
  height: 36px;
  fill: #fff;
  transition: all 0.5s;
}

.iconbox-five__title {
  font-size: 20px !important;
  margin: 0 0 25px !important;
  padding: 0 0 25px !important;
  transition: all 0.5s;
  position: relative;
  max-width: 160px;
  z-index: 9;
  color: #01344A !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.iconbox-five__title:after {
  content: '';
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.16);
  position: absolute;
  bottom: 0;
  left: 0;
}

.iconbox-five__desc {
  font-size: 15px;
  position: relative;
  transition: all 0.5s;
  color: #5a6a75;
  z-index: 9;
  flex: 1 1 auto;
}

.iconbox-five__desc ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.iconbox-five__desc ul li {
  position: relative;
  padding: 0 0 8px 14px;
  margin: 0 !important;
  font-size: 13.5px;
  line-height: 1.45;
  color: inherit;
}

.iconbox-five__desc ul li:last-child { padding-bottom: 0; }

.iconbox-five__desc ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ib-primary);
}

.iconbox-five__button {
  border-top: 1px solid rgba(0, 0, 0, 0.16);
  padding-top: 12px;
  margin-top: 28px;
  position: relative;
  z-index: 12;
}

.iconbox-five__button .btn-inline {
  color: #01344A !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 0.35s;
}

.iconbox-five__button .btn-inline span {
  display: inline-block;
  margin-left: 6px;
  transition: transform .3s ease;
}

.iconbox-five__button .btn-inline:hover span {
  transform: translateX(4px);
}

.iconbox-five__link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
}

.iconbox-five:hover .iconbox-five__content:before,
.iconbox-five:focus-within .iconbox-five__content:before {
  background: #01344A;
  opacity: 0.6;
}

.iconbox-five:hover .iconbox-five__content:after,
.iconbox-five:focus-within .iconbox-five__content:after {
  width: 100%;
  height: 100%;
  opacity: 1;
}

.iconbox-five:hover .iconbox-five__title,
.iconbox-five:focus-within .iconbox-five__title {
  color: #fff !important;
}

.iconbox-five:hover .iconbox-five__title:after,
.iconbox-five:focus-within .iconbox-five__title:after {
  background: rgba(255, 255, 255, 0.38);
}

.iconbox-five:hover .iconbox-five__icon,
.iconbox-five:focus-within .iconbox-five__icon {
  background: #fff;
}

.iconbox-five:hover .iconbox-five__icon svg,
.iconbox-five:focus-within .iconbox-five__icon svg {
  fill: var(--ib-primary);
}

.iconbox-five:hover .iconbox-five__desc,
.iconbox-five:focus-within .iconbox-five__desc {
  color: #fff;
}

.iconbox-five:hover .iconbox-five__desc ul li::before,
.iconbox-five:focus-within .iconbox-five__desc ul li::before {
  background: #fff;
}

.iconbox-five:hover .iconbox-five__button,
.iconbox-five:focus-within .iconbox-five__button {
  border-color: rgba(255, 255, 255, 0.38);
}

.iconbox-five:hover .iconbox-five__button .btn-inline,
.iconbox-five:focus-within .iconbox-five__button .btn-inline {
  color: #fff !important;
}

@media (max-width: 991px) {
  .aw-iconbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .aw-iconbox-grid { grid-template-columns: 1fr; }
  .iconbox-five { max-width: 420px; margin-left: auto; margin-right: auto; }
  .aw-hero__inner h1 { font-size: 28px; }
  .aw-title { font-size: 26px; }
}

/* Team / journal / form leftovers */
.aw-team { text-align: center; background: #fff; border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.06); padding: 30px 20px; margin-bottom: 30px; height: 100%; }
.aw-team h3 { margin: 12px 0 4px; font-size: 18px; }
.aw-team .uni { color: #93CB40; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 12px; }
.aw-team p { font-style: italic; font-size: 14px; }
.aw-avatar { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto; background: #e9eee3; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #374F99; font-size: 28px; }
.aw-journal { background: #1b2330; padding: 70px 0; text-align: center; }
.aw-journal h2, .aw-journal p { color: #fff; }
.aw-journal .aw-kicker { color: #FDBE00; }
.aw-cats .aw-cat { padding: 36px 28px; min-height: 220px; color: #fff; }
.aw-cats .aw-cat h3 { color: #fff; margin-top: 0; }
.aw-cats .aw-cat a { color: #fff; text-decoration: underline; }
.aw-cats .c1 { background: #93CB40; }
.aw-cats .c2 { background: #374F99; }
.aw-cats .c3 { background: #2b2b2b; }
.aw-post { background: #fff; border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.06); margin-bottom: 30px; height: 100%; }
.aw-post__body { padding: 22px; }
.aw-post h3 { font-size: 18px; margin: 10px 0; }
.aw-form { background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.07); padding: 32px; }
.aw-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.aw-form input[type=text],
.aw-form input[type=email],
.aw-form input[type=tel],
.aw-form input[type=date],
.aw-form select,
.aw-form textarea { width: 100%; height: 46px; border: 1px solid #ddd; padding: 0 12px; margin-bottom: 16px; background: #f7f7f7; border-radius: 6px; }
.aw-form textarea { height: 120px; padding-top: 10px; }
.aw-form .check { height: auto; margin-right: 8px; }
.aw-contact-box { background: #374F99; color: #fff; padding: 28px; margin-bottom: 24px; border-radius: 12px; }
.aw-contact-box h3, .aw-contact-box a, .aw-contact-box p { color: #fff; }

/* =========================================================
   FOOTER — dark modern layout (reference style)
   ========================================================= */
.aw-footer {
  background: #141820 !important;
  color: rgba(255,255,255,.78);
  margin-top: 0;
}
.aw-footer a { color: rgba(255,255,255,.82); text-decoration: none; transition: color .25s ease; }
.aw-footer a:hover { color: #93CB40 !important; }
.aw-footer__main { padding: 72px 0 48px; }
.aw-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.15fr;
  gap: 36px;
}
.aw-footer__brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.aw-footer__brand-mark span { color: #93CB40; }
.aw-footer__logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #1b2330;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.aw-footer__logo svg { width: 26px; height: 26px; }
.aw-footer p { font-size: 14px; line-height: 1.75; margin: 0; color: rgba(255,255,255,.68); }
.aw-footer h4 {
  margin: 0 0 18px !important;
  color: #93CB40 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.aw-footer__links { list-style: none; margin: 0; padding: 0; }
.aw-footer__links li { margin: 0 0 11px; }
.aw-footer__links a { font-size: 14px; }
.aw-footer__cta-text { margin-bottom: 18px !important; }
.aw-footer__btn {
  display: inline-block;
  padding: 12px 24px;
  background: #93CB40 !important;
  color: #141820 !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none !important;
}
.aw-footer__btn:hover { background: #a6d95a !important; color: #141820 !important; }

.aw-footer__bar {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 26px 0;
}
.aw-footer__bar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}
.aw-footer__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.aw-footer__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.aw-footer__icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; }
.aw-footer__meta strong {
  display: block;
  color: #fff;
  font-size: 13px;
  margin-bottom: 2px;
}
.aw-footer__meta span,
.aw-footer__meta a { font-size: 13px; color: rgba(255,255,255,.7); }
.aw-footer__social strong {
  display: block;
  color: #fff;
  font-size: 13px;
  margin-bottom: 10px;
}
.aw-footer__social-row { display: flex; gap: 8px; }
.aw-footer__social-row a {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.aw-footer__social-row a:hover { background: #93CB40; }
.aw-footer__social-row svg { width: 14px; height: 14px; fill: #fff; }

.aw-footer__copy {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 16px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
  text-align: center;
}

@media (max-width: 991px) {
  .aw-footer__grid { grid-template-columns: 1fr 1fr; }
  .aw-footer__bar-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .aw-footer__grid,
  .aw-footer__bar-grid { grid-template-columns: 1fr; }
}

.aw-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 9999; display: flex; align-items: center; gap: 10px; }
.aw-whatsapp a { width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(37,211,102,.35); }
.aw-whatsapp span { background: #fff; border: 1px solid #ddd; padding: 8px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.aw-notice { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 10000; padding: 12px 18px; background: #93CB40; color: #1b2330; font-weight: 700; border-radius: 6px; }

/* Hide empty/default parent footer chrome when our footer is present */
body.aw-has-custom-footer #wp-footer .footer-main,
body.aw-has-custom-footer #wp-footer .copyright { display: none !important; }


