/* Asha24 footer — styles the Divi Theme Builder footer sections with a24f-* classes. */
.et-l--footer .a24f-main {
	--f-navy: #071330;
	--f-text: #a9b6cc;
	--f-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-sans: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(800px 360px at 100% 0%, rgba(20, 184, 166, .16), transparent 60%),
		radial-gradient(700px 360px at 0% 100%, rgba(26, 86, 219, .22), transparent 60%),
		linear-gradient(180deg, #0a1a3a 0%, var(--f-navy) 100%) !important;
	padding: 72px 0 0 !important;
	font-family: var(--f-sans);
	color: var(--f-text);
}
.et-l--footer .a24f-main::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
	background: linear-gradient(90deg, #14b8a6, #1a56db);
}
.et-l--footer .a24f-main .et_pb_row { padding: 0 !important; }
.et-l--footer .a24f-main .et_pb_module { margin-bottom: 0 !important; }
.et-l--footer .a24f-main p, .et-l--footer .a24f-main li { color: var(--f-text) !important; font-family: var(--f-sans) !important; padding: 0 !important; }
.et-l--footer .a24f-main a { transition: color .15s, background-color .15s, border-color .15s, transform .15s; }

/* Brand column */
.et-l--footer .a24f-logo img { max-width: 170px !important; height: auto; }
.et-l--footer .a24f-logo { margin-bottom: 20px !important; }
.et-l--footer .a24f-about { font-size: 15px !important; line-height: 1.7 !important; max-width: 360px; margin: 0 0 22px !important; }
.et-l--footer ul.a24f-contact { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.et-l--footer ul.a24f-contact li { list-style: none !important; display: flex; align-items: center; gap: 12px; font-size: 15px !important; line-height: 1.4 !important; }
.et-l--footer ul.a24f-contact li::before {
	content: ""; flex: none; width: 36px; height: 36px; border-radius: 10px;
	background: rgba(255,255,255,.07) var(--ic) center / 17px no-repeat; border: 1px solid rgba(255,255,255,.1);
}
.et-l--footer ul.a24f-contact li.is-phone { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.et-l--footer ul.a24f-contact li.is-mail { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.et-l--footer ul.a24f-contact a { color: #e2e8f0 !important; }
.et-l--footer ul.a24f-contact a:hover { color: #5eead4 !important; }

/* Link columns */
.et-l--footer .a24f-col h4 {
	font: 600 13px/1 var(--f-head) !important; letter-spacing: .12em; text-transform: uppercase;
	color: #fff !important; margin: 6px 0 20px !important; padding: 0 !important;
}
.et-l--footer .a24f-col ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.et-l--footer .a24f-col li { list-style: none !important; margin: 0 0 12px !important; line-height: 1.4 !important; }
.et-l--footer .a24f-col a { color: var(--f-text) !important; font-size: 15px; display: inline-block; }
.et-l--footer .a24f-col a:hover { color: #fff !important; transform: translateX(3px); }

/* Popular courses */
.et-l--footer .a24f-courses-row { margin-top: 48px !important; padding: 32px 0 !important; border-top: 1px solid rgba(255,255,255,.08) !important; border-bottom: 1px solid rgba(255,255,255,.08) !important; }
.et-l--footer .a24f-courses h4 { font: 600 13px/1 var(--f-head) !important; letter-spacing: .12em; text-transform: uppercase; color: #fff !important; margin: 0 0 16px !important; padding: 0 !important; }
.et-l--footer .a24f-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.et-l--footer .a24f-pills a {
	font-size: 14px; line-height: 1; color: #cbd5e1 !important; padding: 9px 14px; border-radius: 999px;
	background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
}
.et-l--footer .a24f-pills a:hover { color: #fff !important; background: rgba(20,184,166,.18); border-color: rgba(94,234,212,.45); }

/* Bottom bar */
.et-l--footer .a24f-bottom-row { padding: 22px 0 28px !important; }
.et-l--footer .a24f-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 14px; }
.et-l--footer .a24f-bottom p { margin: 0 !important; font-size: 14px !important; color: #8291ab !important; }
.et-l--footer .a24f-bottom-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.et-l--footer .a24f-bottom-links a { color: #8291ab !important; font-size: 14px; }
.et-l--footer .a24f-bottom-links a:hover { color: #fff !important; }
.et-l--footer .a24f-bottom img { height: 26px; width: auto; display: block; opacity: .85; }

/* Layout */
.et-l--footer .a24f-cols { display: flex; flex-wrap: wrap; }
@media (max-width: 980px) {
	.et-l--footer .a24f-main { padding-top: 56px !important; }
	.et-l--footer .a24f-cols > .et_pb_column { width: 47.25% !important; margin-right: 5.5% !important; margin-bottom: 36px !important; }
	.et-l--footer .a24f-cols > .et_pb_column:first-child { width: 100% !important; margin-right: 0 !important; }
	.et-l--footer .a24f-cols > .et_pb_column:nth-child(odd):not(:first-child) { margin-right: 0 !important; }
	.et-l--footer .a24f-courses-row { margin-top: 8px !important; }
}
@media (max-width: 640px) {
	.et-l--footer .a24f-main { padding-top: 44px !important; }
	.et-l--footer .a24f-cols > .et_pb_column { width: 100% !important; margin-right: 0 !important; margin-bottom: 30px !important; }
	.et-l--footer .a24f-bottom { flex-direction: column; align-items: flex-start; }
	.et-l--footer .a24f-bottom-row { padding-bottom: 90px !important; } /* room for the sticky callback bar */
}

/* Desktop column widths: wide brand column + three link columns */
@media (min-width: 981px) {
	.et-l--footer .a24f-cols { align-items: flex-start; }
	.et-l--footer .a24f-cols > .et_pb_column { margin-right: 4% !important; width: calc((100% - 34% - 12%) / 3) !important; }
	.et-l--footer .a24f-cols > .et_pb_column:first-child { width: 34% !important; }
	.et-l--footer .a24f-cols > .et_pb_column:last-child { margin-right: 0 !important; }
}

/* Remove the empty 64px strip under the footer (was reserved for the old sticky callback bar). */
body.et-tb-has-footer { padding-bottom: 0 !important; }
