/* ----------------------------------

Template Name: Edufix - Education HTML Template
Author: validtheme
Description:
Version: 1.0

Main Font    : Outfit
Main Color   : #2f57ef

-------------------------------------

[Typography]

Body copy:    15px 'Outfit', sans-serif
Header:     36px 'Outfit', sans-serif
Input, textarea:  15px 'Outfit', sans-serif
Sidebar heading:  20px 'Outfit', sans-serif

>>> TABLE OF CONTENTS:
=======================
        
    01. Template default css
        - Animations
        - General
        - Section Title
        - Video Button
        - Typography
        - Tables
        - Forms
        - Buttons
        - Pagination
        - Colors
        - Accordion
        - Tabs
    02. Preloader
    03. Topbar
    04 Navbar
        - Navbar Default
        - Navbar Transparent
        - Navbar Sticky
        - Navbar Box
    05. Banner
        - Banner Style One
        - Banner Style Two
        - Banner Style Three
        - Banner Style Four
        - Banner Style Five
        - Banner Style Six
        - Banner Style Seven
        - Banner Style Eight
    06. About Us
        - Version One
        - Version Two
        - Version Three
        - Version Four
    07. Category
        - Version One
        - Version Two
        - Version Three
    08. Courses
        - Version One
        - Version Two
        - Version Three
        - Version Four
        - Version Five
        - Version Six
        - Course Single
    09. Gallery
    10. Advisor
        - Version One
        - Version Two
        - Advisor Details
    11. Event
        - Version One
        - Version Two
        - Version Three
        - Version Four
        - Event Details
    12. Zoom Meeting
        - Version One
        - Zoom Meeting Details
    13. Testimonials
        - Version One
        - Version Two
        - Version Three
    14. Why Choose Us
    15. Privacy Policy
    16. Fun Factor
    17. FAQ
    18. Login
    19. Register
    20. Blog
        - Standard
        - Left Sidebar
        - Right Sidebar
        - Single
    21. Error 404
    22. Footer
    23. PHP Contact Form
    24. Others

*/

/*
** General Styles for HTML tags
*/

/* CMS gallery cards use the site's existing spacing, type and color palette. */
.gallery-category-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 40px;
}

.gallery-category-filters a {
	padding: 9px 18px;
	border: 1px solid #e7e7e7;
	border-radius: 30px;
	color: var(--color-heading, #232323);
}

.gallery-category-filters a.active,
.gallery-category-filters a:hover {
	border-color: var(--color-primary, #2f57ef);
	background: var(--color-primary, #2f57ef);
	color: #fff;
}

.gallery-cms-grid {
	row-gap: 30px;
}

.gallery-cms-item {
	height: 100%;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

.gallery-cms-image,
.gallery-cms-item video {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: cover;
}

.gallery-cms-image img {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: cover;
}

.gallery-cms-info {
	padding: 20px 24px 24px;
}

.gallery-cms-info h4 {
	margin: 0 0 8px;
}

.gallery-cms-info span {
	color: var(--color-primary, #2f57ef);
}

.gallery-cms-info p {
	margin: 10px 0 0;
}

.gallery-empty {
	padding: 30px 0;
}

/* ===== Full-width hero banner (reference: palegreen-alligator hostingersite) =====
   Removes left/right white gaps: slide image is the section background (cover, 100vw).
   Text + button are overlaid, never hidden behind the image. */
.hero-fullwidth-area {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #0e2a47;
}

.hero-fullwidth-area .hero-slides-swiper {
	width: 100%;
	margin: 0;
	padding: 0;
}

.hero-full-slide {
	position: relative;
	width: 100%;
	min-height: 820px;
	height: 100vh;
	max-height: 1120px;
	display: flex;
	align-items: center;
	background-position: center center !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-color: #0e2a47;
	margin: 0;
	padding: 0;
}

.hero-full-slide.hero-no-bg {
	background-image: linear-gradient(120deg, #0e2a47 0%, #1cb098 100%) !important;
}

.hero-full-container {
	position: relative;
	z-index: 2;
}

.hero-full-content {
	max-width: 680px;
	padding: 60px 0;
}

.hero-full-content .hero-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 18px;
}

.hero-full-content .hero-eyebrow img {
	width: 34px;
	height: auto;
}

.hero-full-content h2 {
	color: #fff;
	font-size: 56px;
	line-height: 1.08;
	font-weight: 700;
	margin-bottom: 18px;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-full-content h2 strong {
	color: #fff;
	font-weight: 700;
}

.hero-full-content p {
	color: rgba(255, 255, 255, 0.88);
	font-size: 18px;
	line-height: 1.7;
	margin-bottom: 30px;
	max-width: 560px;
}

.hero-fullwidth-area .hero-slides-pagination .swiper-pagination-bullet {
	background: rgba(255, 255, 255, 0.55);
	opacity: 1;
}

.hero-fullwidth-area .hero-slides-pagination .swiper-pagination-bullet-active {
	background: #fff;
	width: 32px;
	border-radius: 6px;
}

.hero-fullwidth-area .hero-slides-prev,
.hero-fullwidth-area .hero-slides-next {
	color: #fff;
}

.hero-fullwidth-area .hero-slides-prev::after,
.hero-fullwidth-area .hero-slides-next::after {
	font-size: 22px;
	color: #fff;
}

/* Kill legacy boxed-banner side gaps if template CSS still targets it */
.banner-style-nine-area {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

@media (max-width: 991px) {
	.hero-full-slide {
		min-height: 560px;
		height: 72vh;
	}
	.hero-full-content h2 {
		font-size: 40px;
	}
}

@media (max-width: 767px) {
	.hero-full-slide {
		min-height: 660px;
		height: auto;
		padding: 120px 0 60px;
		align-items: flex-end;
	}
	/* Mobile-specific banner image uploaded from admin (data-mobile=1 only) */
	.hero-full-slide[data-mobile="1"] {
		background-image: var(--hero-mobile-bg) !important;
		background-position: center top !important;
	}
	.hero-full-container {
		width: 100%;
	}
	.hero-full-content {
		padding: 30px 0 10px;
		margin-top: auto;
	}
	.hero-full-content h2 {
		font-size: 32px;
	}
	.hero-full-content p {
		font-size: 16px;
	}
	/* Admin align option: right pushes content to the right */
	.hero-full-content.align-right {
		margin-left: auto;
		text-align: right;
	}
	.hero-full-content.align-right .hero-eyebrow {
		justify-content: flex-end;
	}
	.hero-full-content.align-right p {
		margin-left: auto;
	}
}

/* Desktop/tablet align-right (admin option) */
.hero-full-content.align-right {
	margin-left: auto;
	text-align: right;
}
.hero-full-content.align-right .hero-eyebrow {
	justify-content: flex-end;
}
.hero-full-content.align-right p {
	margin-left: auto;
}

/* ===== Slim navbar (reduced height) ===== */
nav.navbar.validnavs .navbar-brand img.logo {
	height: 48px !important;
	width: auto !important;
}
nav.navbar.validnavs .navbar-nav > li > a {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}
nav.navbar.validnavs .attr-nav > ul > li.button > a {
	padding: 10px 22px !important;
}
@media (max-width: 767px) {
	nav.navbar.validnavs .navbar-brand img.logo {
		height: 42px !important;
	}
}

/* ===== Floating Call + WhatsApp buttons (home page, right bottom) ===== */
.floating-contact-buttons {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
}
.float-call-btn,
.float-whatsapp-btn {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* FA6 class compatibility with local FA Pro 5.15 (fa-brands -> fab, fa-light -> fal) */
.fa-brands {
	font-family: "Font Awesome 5 Brands";
	font-weight: 400;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
}
.fa-light {
	font-family: "Font Awesome 5 Pro";
	font-weight: 300;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
}
/* phone-arrow-right is an FA6-era glyph, missing in local FA 5.15:
   fall back to the light phone glyph so the button never shows blank */
.fa-phone-arrow-right:before {
	content: "\f095";
}
.float-call-btn {
	background: #0e2a47;
	color: #fff;
	font-size: 24px;
}
.float-whatsapp-btn {
	font-size: 30px;
	color: #fff;
}
.float-call-btn:hover {
	transform: scale(1.08);
	color: #fff;
	box-shadow: 0 10px 28px rgba(14, 42, 71, 0.5);
}
.float-whatsapp-btn {
	background: #25d366;
	position: relative;
}
.float-whatsapp-btn:hover {
	transform: scale(1.08);
	box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}
.float-whatsapp-btn::before {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid rgba(37, 211, 102, 0.6);
	animation: whatsapp-pulse 2s ease-out infinite;
	pointer-events: none;
}
@keyframes whatsapp-pulse {
	0% { transform: scale(0.9); opacity: 1; }
	100% { transform: scale(1.25); opacity: 0; }
}
@media (max-width: 767px) {
	.floating-contact-buttons {
		right: 16px;
		bottom: 16px;
	}
	.float-call-btn,
	.float-whatsapp-btn {
		width: 52px;
		height: 52px;
	}
}
