:root{
	--green:#245706;
	--gold:#ffd000;
	--ink:#20252a;
	--muted:#667085
}
*{
	box-sizing:border-box
}
html{
	scroll-behavior:smooth
}
body{
	margin:0;
	font-family:Arial,Helvetica,sans-serif;
	color:var(--ink);
	line-height:1.6;
	background:#fff
}
a{
	color:inherit
}
img{
	max-width:100%;
	height:auto
}
.container,.hero-inner{
	width:min(1180px,92%);
	margin:auto
}
header{
	position:sticky;
	top:0;
	background:#fff;
	z-index:100;
	box-shadow:0 4px 20px #0001
}
.topbar{
	background:#245706;
	color:#fff;
	font-size:13px;
	padding:7px 0
}
.topbar .container{
	display:flex;
	justify-content:space-between;
	gap:15px
}
.head-inner{
	display:flex;
	align-items:center;
	gap:24px;
	justify-content:space-between;
	min-height:85px
}
.logo{
	height:70px;
	width:auto;
	max-width:110px;
	object-fit:contain
}
nav{
	display:flex;
	gap:24px;
	align-items:center
}
nav a{
	text-decoration:none;
	font-weight:600;
	font-size:14px
}
nav a:hover{
	color:var(--green)
}
.btn{
	display:inline-block;
	padding:10px 19px;
	text-decoration:none;
	background:var(--green);
	color:#fff;
	border-radius:4px;
	font-weight:600
}
.menu-toggle{
	display:none;
	border:0;
	background:var(--green);
	color:#fff;
	padding:8px 12px;
	border-radius:4px;
	font-size:22px
}
.section{
	padding:0px 0
}
.section:has(.hero-inner){
	padding:0
}
.hero{
	min-height:280px;
	background:linear-gradient(#1119,#1119),var(--hero) center/cover;
	display:flex;
	align-items:center;
	color:#fff;
	text-align:center;
	padding:65px 0!important
}
.hero h1{
	font-size:30px;
	margin:8px 0;
	color:#fff
}
.hero h2{
	font-size:22px;
	color:#fff;
	font-weight:500
}
.grid{
	display:flex;
	flex-wrap:wrap;
	gap:24px;
	margin:18px 0
}
.grid-col{
	min-width:0;
	flex:1 1 100%
}
.grid-col.half{
	flex-basis:calc(50% - 12px)
}
.grid-col.third{
	flex-basis:calc(33.333% - 16px)
}
.grid-col.quarter{
	flex-basis:calc(25% - 18px)
}
.grid-col.sixth{
	flex-basis:calc(16.666% - 20px)
}
.grid-col.twothirds{
	flex-basis:calc(66.666% - 12px)
}
h1,h2,h3{
	line-height:1.3
}
h1{
	font-size:32px;
	font-weight:500
}
h2{
	font-size:26px;
	font-weight:500
}
h3{
	font-size:20px
}
p{
	margin:10px 0
}
.feature{
	display:block;
	border:1px solid #e6e9ef;
	border-radius:7px;
	text-align:center;
	padding:22px;
	text-decoration:none;
	color:inherit;
	height:100%;
	box-shadow:0 4px 12px #00000009;
	transition:transform .2s
}
.feature:hover{
	transform:translateY(-4px);
	border-color:#245706
}
.feature h3{
	color:#245706
}
.pic{
	display:block;
	text-align:center
}
.pic img{
	max-height:280px;
	object-fit:contain
}
.richtext{
	max-width:100%
}
.sep{
	height:30px
}
.sep.small{
	height:15px
}
.metric{
	text-align:center;
	padding:15px
}
.metric strong{
	display:block;
	color:var(--green);
	font-size:32px
}
.notice{
	padding:15px;
	background:#f1f6ed;
	border-left:3px solid var(--green)
}
.tab{
	padding:20px;
	border:1px solid #eee
}
.course-list{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:18px
}
.course-list a{
	border:1px solid #e3e7dd;
	padding:18px 20px;
	border-radius:8px;
	text-decoration:none;
	font-weight:600
}
.course-list a:hover{
	background:#eef6e9;
	color:#245706
}
.page-heading{
	background:#f4f7f2;
	padding:34px 0
}
.page-heading h1{
	margin:0
}
.section a:not(.feature):not(.btn):not(.pic){
	color:#245706
}
footer{
	background:#111;
	color:#ddd;
	padding:42px 0 16px;
	margin-top:30px
}
footer a{
	color:#eee;
	text-decoration:none
}
footer .grid>div{
	flex:1
}
footer h3{
	color:#fff
}
.copyright{
	border-top:1px solid #333;
	padding-top:12px;
	font-size:12px;
	color:#aaa
}
/* Floating WhatsApp Image */
.whatsapp {
  position: fixed;
  bottom: 24px;
  left: 22px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 50%;
  box-shadow: none;
  text-decoration: none;
  z-index: 9999;
  transition: transform 0.3s ease;
}

.whatsapp img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.whatsapp:hover {
  transform: scale(1.1);
}

/* Mobile */
@media (max-width: 600px) {
  .whatsapp {
    width: 45px;
    height: 45px;
    bottom: 18px;
    left: 15px;
  }
}
.contact-card{
	background:#f5f8f3;
	padding:22px;
	border-radius:10px
}
.article-content{
	max-width:950px;
	margin:auto
}
.article-content img{
	border-radius:7px
}
.article-content a{
	overflow-wrap:anywhere
}
.form-grid{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:12px
}
.form-grid input,.form-grid textarea{
	width:100%;
	border:1px solid #d3d8d0;
	border-radius:4px;
	padding:12px;
	font:inherit
}
.form-grid textarea{
	grid-column:span 2;
	min-height:110px
}
.form-grid button{
	border:0;
	cursor:pointer
}
.search{
	padding:10px 12px;
	border:1px solid #ddd;
	border-radius:6px;
	max-width:100%
}
@media(max-width:850px){
	.menu-toggle{
		display:block
}
	nav{
		display:none;
		position:absolute;
		top:100%;
		left:0;
		right:0;
		background:#fff;
		flex-direction:column;
		gap:0;
		align-items:stretch;
		box-shadow:0 10px 15px #0002
}
	nav.open{
		display:flex
}
	nav a{
		padding:12px 5%;
		border-top:1px solid #eee
}
	.head-inner{
		min-height:72px
}
	.logo{
		height:58px
}
	.topbar .container{
		flex-wrap:wrap
}
	.grid-col.half,.grid-col.third,.grid-col.quarter,.grid-col.sixth,.grid-col.twothirds{
		flex-basis:calc(50% - 12px)
}
	.course-list{
		grid-template-columns:repeat(2,1fr)
}
}
@media(max-width:540px){
	.grid-col.half,.grid-col.third,.grid-col.quarter,.grid-col.sixth,.grid-col.twothirds{
		flex-basis:100%
}
	.course-list{
		grid-template-columns:1fr
}
	.hero{
		min-height:230px;
		padding:35px 0!important
}
	.hero h1{
		font-size:25px
}
	.hero h2{
		font-size:18px
}
	.section{
		padding:24px 0
}
	h1{
		font-size:27px
}
	h2{
		font-size:22px
}
	.form-grid{
		grid-template-columns:1fr
}
	.form-grid textarea{
		grid-column:1
}
}


/*-----new css----*/

.ae-affiliations {
  width: 100%;
  background: #ffffff;
  padding: 14px 20px 22px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.ae-affiliations * {
  box-sizing: border-box;
}

.ae-affiliations-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.ae-affiliations-title {
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  color: #222222;
  line-height: 1.4;
  margin: 0 0 16px;
}

/* Five images in one horizontal row */
.ae-affiliations-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 20px;
}

.ae-affiliations-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
}

.ae-affiliations-item img {
  display: block;
  width: 105px;
  height: 105px;
  max-width: 100%;
  object-fit: contain;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease;
}

.ae-affiliations-item:hover img {
  transform: translateY(-3px);
}

/* Tablet */
@media (max-width: 767px) {
  .ae-affiliations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .ae-affiliations {
    padding: 20px 12px;
  }

  .ae-affiliations-title {
    font-size: 19px;
  }

  .ae-affiliations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ACTON ENGINEERS - CONTACT STRIP */
.ae-contact-strip {
  width: 100%;
  background: #245706;
  padding: 14px 20px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.ae-contact-strip * {
  box-sizing: border-box;
}

.ae-contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 20px;
}

.ae-contact-info {
  text-align: center;
  color: #fff;
}

.ae-contact-info h5 {
  color: #fff;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 600;
  margin: 0;
}

.ae-contact-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ae-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #222;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 3px;
  border: 1px solid #fff;
  transition: background .25s ease, color .25s ease;
}

.ae-contact-button:hover {
  background: #eaeaea;
  color: #245706;
}

/* Mobile */
@media (max-width: 767px) {
  .ae-contact-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .ae-contact-strip {
    padding: 20px 15px;
  }

  .ae-contact-info h5 {
    font-size: 12px;
  }
}

/* ACTON ENGINEERS - PLACEMENTS */
.ae-placements {
  background: #fff;
  padding: 25px 20px 35px;
  color: #222;
  font-family: Arial, sans-serif;
}

.ae-placements * {
  box-sizing: border-box;
}

.ae-placements-container {
  max-width: 1120px;
  margin: 0 auto;
}

.ae-placements-heading {
  text-align: center;
  margin-bottom: 24px;
}

.ae-placements-heading h2 {
  font-size: 23px;
  font-weight: 400;
  color: #222;
  margin: 0 0 8px;
}

.ae-placements-heading p {
  font-size: 12px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* Original 25% / 75% layout */
.ae-placements-grid {
  display: grid;
  grid-template-columns: 25% 75%;
  align-items: start;
  gap: 0;
}

/* Image slider */
.ae-placement-slider {
  position: relative;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  text-align: center;
}

.ae-placement-frame {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ae-placement-slide {
  display: none;
  text-align: center;
}

.ae-placement-slide.active {
  display: block;
  animation: aeFadeIn .45s ease;
}

.ae-placement-slide img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 195px;
  object-fit: contain;
  margin: 0 auto;
}

.ae-placement-caption {
  min-height: 28px;
  padding-top: 4px;
  font-size: 12px;
  line-height: 1.4;
}

.ae-placement-caption strong {
  display: block;
  font-size: 12px;
}

.ae-placement-arrow {
  position: absolute;
  top: 85px;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255,255,255,.8);
  color: #aaa;
  font-size: 26px;
  width: 25px;
  height: 36px;
  cursor: pointer;
  z-index: 2;
}

.ae-placement-prev {
  left: 0;
}

.ae-placement-next {
  right: 0;
}

.ae-placement-arrow:hover {
  color: #245706;
}

/* Testimonial */
.ae-placement-text {
  padding: 20px 20px 0 15px;
}

.ae-placement-text p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 18px;
  color: #333;
}

.ae-placement-author {
  margin-bottom: 22px;
  font-size: 12px;
  line-height: 1.6;
  color: #111;
}

.ae-placement-author strong {
  display: block;
}

.ae-placement-btn {
  display: inline-block;
  padding: 11px 20px;
  background: #e7e7e7;
  color: #222;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: .25s;
}

.ae-placement-btn:hover {
  background: #245706;
  color: #fff;
}

@keyframes aeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Tablet and Mobile */
@media (max-width: 767px) {
  .ae-placements-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ae-placement-slider {
    max-width: 250px;
  }

  .ae-placement-text {
    padding: 0;
  }

  .ae-placements-heading h2 {
    font-size: 21px;
  }
}


.ae-stats-section {
  width: 100%;
  background: #19360d;
  padding: 25px 20px 22px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.ae-stats-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 20px;
}

.ae-stat-item {
  text-align: center;
  color: #fff;
}

.ae-stat-number {
  display: block;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.ae-stat-label {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .ae-stats-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }
}

@media (max-width: 420px) {
  .ae-stat-number {
    font-size: 27px;
  }

  .ae-stat-label {
    font-size: 11px;
  }
}

/* Engineering Course Cards */
.engineering-section {
  padding: 0 20px 30px;
  background: #fff;
}

.engineering-container {
  max-width: 1200px;
  margin: -15px auto 0;
  position: relative;
  z-index: 5;
}

.engineering-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.engineering-card {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  min-height: 128px;
  padding: 16px 20px;
  background: #245706;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
  transition: background .25s ease;
}

.engineering-card:hover {
  background: #326c0f;
}

.engineering-icon {
  flex: 0 0 42px;
  font-size: 27px;
  line-height: 1.4;
  color: #fff;
  text-align: center;
}

.engineering-content {
  flex: 1;
  min-width: 0;
}

.engineering-content h3 {
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 10px;
}

.engineering-content p {
  color: #fff;
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

/* Tablet */
@media (max-width: 900px) {
  .engineering-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .engineering-section {
    padding: 0 15px 25px;
  }

  .engineering-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .engineering-container {
    margin-top: 0;
  }

  .engineering-card {
    min-height: auto;
    padding: 20px;
  }
}

/*----end---*/
/* Isolated training counter section */
.ae-training-stats {
  width: 100%;
  background: #ffffff;
  padding: 0 20px 25px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.ae-training-stats *,
.ae-training-stats *::before,
.ae-training-stats *::after {
  box-sizing: border-box;
}

.ae-training-stats-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ae-training-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  align-items: stretch;
}

.ae-training-stat-card {
  background: #245706;
  color: #ffffff;
  padding: 17px 10px 22px;
  min-height: 107px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ae-training-stat-number {
  display: block;
  color: #ffffff;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 5px;
  font-variant-numeric: tabular-nums;
}

.ae-training-stat-label {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

/* Tablet */
@media (max-width: 767px) {
  .ae-training-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .ae-training-stats {
    padding: 0 12px 20px;
  }

  .ae-training-stat-card {
    min-height: 105px;
    padding: 15px 8px;
  }

  .ae-training-stat-number {
    font-size: 29px;
  }

  .ae-training-stat-label {
    font-size: 12px;
  }
}