/*
Theme Name: The Kipsoen National Polytechnic
Theme URI: https://kipsoenpoly.ac.ke
Author: Wesley Rotich
Author URI: https://kipsoenpoly.ac.ke
Description: Official WordPress theme for The Kipsoen National Polytechnic. A modern, responsive Bootstrap 5.3.8 theme developed specifically for technical and vocational education.
Version: 1.0.5
Requires at least: 6.8
Tested up to: 7.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teknp-theme
Tags: education, college, polytechnic, tvet, bootstrap, responsive, custom-logo, custom-menu, featured-images, translation-ready
*/

/*==================================================
THE KIPSOEN NATIONAL POLYTECHNIC
Official WordPress Theme

Website:
https://kipsoenpoly.ac.ke

Framework:
Bootstrap 5.3.8

Developer:
Wesley Rotich

====================================================*/


/*==================================================
ROOT VARIABLES
==================================================*/

:root {

	/* Brand Colours */

	--primary-color: #0056A6;
	--secondary-color: #F4B400;
	--success-color: #00A651;
	--danger-color: #D32F2F;

	/* Neutral Colours */

	--white: #ffffff;
	--light: #F8FAFC;
	--border: #E5E7EB;
	--gray: #6B7280;
	--dark: #1F2937;

	/* Typography */

	--heading-font: "Montserrat", sans-serif;
	--body-font: "Inter", sans-serif;

	/* Border Radius */

	--radius-sm: 8px;
	--radius: 12px;
	--radius-lg: 18px;
	--radius-xl: 30px;

	/* Shadows */

	--shadow-sm: 0 5px 15px rgba(0, 0, 0, .05);
	--shadow: 0 10px 30px rgba(0, 0, 0, .08);
	--shadow-lg: 0 20px 45px rgba(0, 0, 0, .15);

	/* Animation */

	--transition: .35s ease;

}


/*==================================================
RESET
==================================================*/

*,
*::before,
*::after {

	margin: 0;
	padding: 0;
	box-sizing: border-box;

}

html {

	scroll-behavior: smooth;

}

body{

    font-family:var(--body-font);

    font-size:16px;

    line-height:1.8;

    color:var(--dark);

    background:var(--white);

    overflow-x:hidden;

    padding-top:116px;

}

img {

	display: block;
	max-width: 100%;
	height: auto;

}

a {

	color: inherit;
	text-decoration: none;
	transition: var(--transition);

}

ul,
ol {

	list-style: none;
	margin: 0;
	padding: 0;

}

button {

	border: 0;
	outline: 0;

}


/*==================================================
TYPOGRAPHY
==================================================*/

h1,
h2,
h3,
h4,
h5,
h6 {

	font-family: var(--heading-font);
	font-weight: 700;
	line-height: 1.25;
	color: var(--dark);
	margin-bottom: 20px;

}

h1 { font-size: 64px; }

h2 { font-size: 46px; }

h3 { font-size: 34px; }

h4 { font-size: 28px; }

h5 { font-size: 22px; }

h6 { font-size: 18px; }

p {

	margin-bottom: 20px;
	color: var(--gray);

}


/*==================================================
SECTIONS
==================================================*/

.section {

	padding: 100px 0;

}

.section-header {

	text-align: center;
	margin-bottom: 70px;

}

.section-subtitle {

	display: inline-block;
	margin-bottom: 15px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--secondary-color);

}

.section-title {

	margin-bottom: 20px;
	font-size: 46px;

}

.section-description {

	max-width: 750px;
	margin: auto;
	color: var(--gray);

}


/*==================================================
BUTTONS
==================================================*/

.btn {

	padding: 15px 35px;
	border-radius: 50px;
	font-weight: 600;
	transition: var(--transition);

}

.btn-primary {

	background: var(--primary-color);
	border-color: var(--primary-color);

}

.btn-primary:hover {

	background: var(--secondary-color);
	border-color: var(--secondary-color);
	color: #000;

}

.btn-outline-light:hover {

	background: var(--secondary-color);
	border-color: var(--secondary-color);
	color: #000;

}


/*==================================================
CARDS
==================================================*/

.card-box {

	padding: 35px;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: var(--transition);

}

.card-box:hover {

	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);

}


/*==================================================
UTILITIES
==================================================*/

.bg-primary {

	background: var(--primary-color) !important;

}

.bg-light {

	background: var(--light) !important;

}

.text-primary {

	color: var(--primary-color) !important;

}

.text-secondary {

	color: var(--secondary-color) !important;

}

.shadow-custom {

	box-shadow: var(--shadow);

}

.rounded-custom {

	border-radius: var(--radius);

}


/*==================================================
ANIMATIONS
==================================================*/

.fade-up {

	animation: fadeUp .8s ease forwards;

}

@keyframes fadeUp {

	from {

		opacity: 0;
		transform: translateY(40px);

	}

	to {

		opacity: 1;
		transform: translateY(0);

	}

}


/*==================================================
SCROLLBAR
==================================================*/

::-webkit-scrollbar {

	width: 10px;

}

::-webkit-scrollbar-thumb {

	background: var(--primary-color);

}

::-webkit-scrollbar-track {

	background: #f3f4f6;

}


/*==================================================
RESPONSIVE
==================================================*/

@media (max-width: 992px) {

	h1 { font-size: 48px; }

	h2 { font-size: 36px; }

}

@media (max-width: 768px) {

	.section {

		padding: 70px 0;

	}

	h1 { font-size: 38px; }

	h2 { font-size: 30px; }

	h3 { font-size: 26px; }

}
/*==================================================
PAGE LAYOUT
==================================================*/

.page-main {
	min-height: 60vh;
}

.page-header {
	background: var(--primary-color);
	color: #fff;
	padding: 70px 0;
}

.page-header h1 {
	margin: 15px 0 0;
	color: #fff;
}

.breadcrumb-nav {
	display: flex;
	align-items: center;
	gap: .6rem;
	font-size: .9rem;
	color: rgba(255,255,255,.78);
}

.breadcrumb-nav a:hover {
	color: var(--secondary-color);
}

.page-entry {
	max-width: 980px;
	margin-inline: auto;
}

.page-entry > *:last-child {
	margin-bottom: 0;
}

.page-entry img {
	border-radius: var(--radius);
}
