/* Description: Master CSS file */

/*****************************************
Table Of Contents:
- General Styles
- Navigation
- Home
- Information
- Button
- Services
- Plans
- Testimonials
- Newsletter
- Back To Top Button
- Extra Pages
- Media Queries
******************************************/


/**************************/
/*     General Styles     */
/**************************/
:root {
	--primary: #1c262f;
	--primary-light: #212d37;
	--secondary: #9f3636;
	--tertiary: #00dabf;
	--gradient: linear-gradient(to right, #9f3636, #9f3636);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Poppins", sans-serif;
}

h1 {
	font-size: 60px;
	font-weight: 500;
}

button {
	font-family: sans-serif;
}

p,
ul,
h4 {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

/* li { */
/*   	list-style-type: none; */
/* } */

/* Section Background */
.home,
.about,
.services,
.plans,
.work,
.contact {
	height: 110vh;
	position: relative;
}

.services,
.work,
.contact,
.testimonial,
.footer {
  	background-color: var(--primary);
}

.about,
.plans,
.company,
.newsletter,
.location {
  	background-color: var(--primary-light);
}

.bottom {
  	background-color: black;
}

/* Gradient Border And Background On Icons */
.home_text,
.home .fas,
.plans .far,
.information .fas,
.work .fas,
.services .fas,
.location .far,
.location .fas {
	padding: 15px 0;
	/* background: -webkit-gradient( */
	/* 	linear, */
	/* 	left top, */
	/* 	left bottom, */
	/* 	/\* a51c1c *\/ */
	/* 	from(#0ee951), */
	/* 	/\* from(#a51c1c), *\/ */
	/* 	/\* from(#f4070700), *\/ */
	/* 	to(#00dabf) */
	/* 	/\* to(#a51c1c) *\/ */
	/* ); */
	background-color: #9f3636;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.navbar-nav a:hover,
.footer a:hover,
.footer .fab:hover {
	cursor: pointer;
	background: var(--gradient);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}


/**********************/
/*     Navigation     */
/**********************/
.navbar {
	font-weight: 500;
	font-size: 0.875rem;
	line-height: 0.875rem;
	background-color: var(--primary);
	box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.025);
}

.navbar .navbar-brand {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

.navbar .logo-image img {
	width: 108px;
	height: 32px;
}

.navbar .logo-text {
	color: #fff;
	font-weight: 500;
	line-height: 1rem;
	font-size: 1.575rem;
	text-decoration: none;
}

.offcanvas-collapse {
	position: fixed;
	top: 2.75rem; /* adjusts the height between the top of the page and the offcanvas menu */
	bottom: 0;
	left: 100%;
	width: 100%;
	overflow-y: auto;
	visibility: hidden;
	padding-right: 1rem;
	padding-left: 1rem;
	background-color: var(--primary);
	transition: transform 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.offcanvas-collapse.open {
	visibility: visible;
	transform: translateX(-100%);
}

.navbar .navbar-nav {
	margin-top: 0.75rem;
	margin-bottom: 0.5rem;
}

.navbar .dropdown-menu {
	border: none;
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
	background-color: var(--primary);
}

.navbar .dropdown-item {
	color: #eee;
	font-weight: 500;
	font-size: 0.875rem;
	line-height: 0.875rem;
	padding-top: 0.625rem;
	text-decoration: none;
	padding-bottom: 0.625rem;
}

.navbar .dropdown-item:hover {
  	background-color: var(--primary);
}

.navbar .dropdown-divider {
	width: 100%;
	height: 1px;
	border: none;
	margin: 0.5rem auto 0.5rem auto;
	background-color: var(--primary-light);
}

.navbar .nav-item .nav-link {
	color: #eee;
	text-decoration: none;
	padding-top: 0.625rem;
	padding-bottom: 0.625rem;
	transition: all 0.2s ease;
}

.navbar .fa-stack {
	width: 2em;
	font-size: 0.75rem;
	margin-right: 0.25rem;
}

.navbar .fa-stack-2x {
	/* background: -webkit-gradient( */
	/* 	linear, */
	/* 	left top, */
	/* 	left bottom, */
	/* 	from(#0ee951), */
	/* 	to(#00dabf) */
	/* ); */
	background-color: #9f3636;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: all 0.2s ease;
}

.navbar .fa-stack-1x {
	color: #ffffff;
	transition: all 0.2s ease;
}

.navbar .fa-stack:hover .fa-stack-2x {
  	color: var(--primary);
}

.navbar .fa-stack:hover .fa-stack-1x {
  	color: var(--primary);
}

.navbar .navbar-toggler {
	padding: 0;
	border: none;
	font-size: 1.25rem;
}


/****************/
/*     Home     */
/****************/
.home {
	background-image: url(../assets/images/background.jpeg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.para {
  	width: 50%;
}

.para-light {
  	opacity: 0.7;
}


/***********************/
/*     Information     */
/***********************/
.information .container-fluid .row div:first-child {
  	background-color: var(--primary);
}

.information .container-fluid .row div:last-child {
  	background-color: white;
}

.information .container-fluid .row div:nth-child(2) {
  	background-color: var(--primary-light);
}


/******************/
/*     Button     */
/******************/
.btn {
	color: white;
	border-radius: 0;
	border-width: 2px;
	padding: 10px 30px;
	border-image-slice: 1;
	background-image: none;
	background: transparent;
	border-image-source: var(--gradient);
	box-shadow: 5px 5px 0px 0px var(--secondary);
}

.btn:hover {
	color: white;
	box-shadow: none;
	border-radius: 0;
	padding: 10px 30px;
	transform: translate(5px, 5px);
}

/* Email - Newsletter Button */
.btn-secondary {
	color: black;
	border-width: 2px;
	padding: 10px 30px;
	border-image-slice: 1;
	background-image: none;
	background: transparent;
	border-image-source: var(--gradient);
}

.btn-secondary:hover {
	color: black;
	padding: 10px 30px;
	background-image: var(--gradient);
}

/* Other Pages Button */
.btn-tertiary {
	color: black;
	border-radius: 0;
	border-width: 2px;
	padding: 10px 30px;
	border-image-slice: 1;
	background-image: none;
	background: transparent;
	border-image-source: var(--gradient);
	box-shadow: 5px 5px 0px 0px var(--secondary);
}

.btn-tertiary:hover {
	color: black;
	box-shadow: none;
	border-radius: 0;
	padding: 10px 30px;
	transform: translate(5px, 5px);
}


/********************/
/*     Services     */
/********************/
.services .card {
	padding: 20px;
	border-radius: 0;
	border: 2px solid white;
}

.services .card:hover {
	border: 10px solid;
	transform: scale(1.01);
	border-image-slice: 1;
	border-width: 2px;
	border-image-source: var(--gradient);
	box-shadow: 5px 5px 0px 0px #9f3636;
}


/*****************/
/*     Plans     */
/*****************/
.plans .card {
	padding: 20px;
	border: 2px solid white;
}


/************************/
/*     Testimonials     */
/************************/
.slider-1 {
	padding-top: 8.25rem;
	padding-bottom: 8.5rem;
}

.slider-1 .section-title {
  	text-align: center;
}

.slider-1 .h2-heading {
	text-align: center;
	margin-bottom: 3rem;
}

.testimonial-card {
	border: 10px solid;
	border-image-slice: 1;
	border-width: 3px;
	border-image-source: var(--gradient);
}

.slider-1 .slider-container {
  	position: relative;
}

.slider-1 .swiper-container {
	width: 86%;
	position: static;
}

.slider-1 .swiper-button-prev,
.slider-1 .swiper-button-next {
  	color: var(--primary);
}

.slider-1 .swiper-button-prev:focus,
.slider-1 .swiper-button-next:focus {
	/* even if you can't see it chrome you can see it on mobile device */
	outline: none;
}

.slider-1 .swiper-button-prev {
	left: -14px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2028%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23707375'%2F%3E%3C%2Fsvg%3E");
	background-size: 18px 28px;
}

.slider-1 .swiper-button-next {
	right: -14px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2028%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23707375'%2F%3E%3C%2Fsvg%3E");
	background-size: 18px 28px;
}

.slider-1 .card {
	border: none;
	position: relative;
	background-color: transparent;
}

.slider-1 .card-image {
	width: 80px;
	height: 80px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 50%;
	margin-bottom: 1.25rem;
}

.slider-1 .card-body {
  	padding: 0;
}

.slider-1 .testimonial-text {
  	margin-bottom: 0.75rem;
}

.slider-1 .testimonial-author {
	margin-bottom: 0;
	color: #252c38;
}

.slider-1 .avatar {
	width: 70px;
	height: 70px;
	border-radius: 50%;
}

/* Dropdown Menu */
.navbar .dropdown .dropdown-menu {
  	animation: fadeDropdown 0.2s; /* required for the fade animation */
}

@-webkit-keyframes fadeDropdown {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes fadeDropdown {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}


/**********************/
/*     Newsletter     */
/**********************/
.form-control-input,
.form-control-textarea {
	width: 100%;
	appearance: none;
	border-radius: 4px;
	font-size: 0.875rem;
	line-height: 1.5rem;
	padding-left: 1.5rem;
	padding-top: 0.775rem;
	padding-bottom: 0.775rem;
}


/******************************/
/*     Back To Top Button     */
/******************************/
#myBtn {
	z-index: 99;
	right: 20px;
	width: 52px;
	height: 52px;
	bottom: 20px;
	border: none;
	outline: none;
	display: none;
	position: fixed;
	cursor: pointer;
	border-radius: 50%;
	background-color: #323137;
}

#myBtn:hover {
  	background-color: #0f0f11;
}

#myBtn img {
	width: 18px;
	margin-left: 0.125rem;
	margin-bottom: 0.25rem;
}


/***********************/
/*     Extra Pages     */
/***********************/
.ex-header {
	padding-top: 8.5rem;
	padding-bottom: 4rem;
	background-color: var(--primary);
}

.ex-header h1 {
  	color: #fff;
}

.ex-basic-1 .list-unstyled .fas {
	font-size: 0.375rem;
	line-height: 1.625rem;
}

.ex-basic-1 .list-unstyled .flex-grow-1 {
  	margin-left: 0.5rem;
}

.ex-basic-1 .text-box {
	padding: 1.25rem 1.25rem 0.5rem 1.25rem;
	background-color: #f7f9fd;
}

.ex-cards-1 .card {
	border: none;
	background-color: transparent;
}

.ex-cards-1 .card .fa-stack {
	width: 2em;
	font-size: 1.125rem;
}

.ex-cards-1 .card .fa-stack-2x {
  	color: var(--secondary);
}

.ex-cards-1 .card .fa-stack-1x {
	width: 2em;
	color: #ffffff;
	font-weight: 700;
	line-height: 2.125rem;
}

.ex-cards-1 .card .list-unstyled .flex-grow-1 {
  	margin-left: 2.25rem;
}

.ex-cards-1 .card .list-unstyled .flex-grow-1 h5 {
	margin-top: 0.125rem;
	margin-bottom: 0.5rem;
}


/*************************/
/*     Media Queries     */
/*************************/
@media only screen and (max-width: 1024px) {
	.services,
	.work,
	.testimonial,
	.about,
	.contact,
	.plans {
		height: 100%;
	}
}

@media (min-width: 992px) {
	.slider-1 .swiper-container {
		width: 92%;
	}

	.slider-1 .swiper-button-prev {
		left: -16px;
		width: 22px;
		background-size: 22px 34px;
	}

	.slider-1 .swiper-button-next {
		right: -16px;
		width: 22px;
		background-size: 22px 34px;
	}

	/* Navigation */
	.navbar {
		box-shadow: none;
		transition: all 0.2s;
		padding-top: 1.75rem;
		background-color: transparent;
	}

	.navbar.top-nav-collapse {
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
		background-color: var(--primary);
		box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.025);
	}

	.offcanvas-collapse {
		position: static;
		top: auto;
		bottom: auto;
		left: auto;
		width: auto;
		padding-right: 0;
		padding-left: 0;
		background-color: transparent;
		overflow-y: visible;
		visibility: visible;
	}

	.offcanvas-collapse.open {
		transform: none;
	}

	.navbar .navbar-nav {
		margin-top: 0;
		margin-bottom: 0;
	}

	.navbar .nav-item .nav-link {
		padding-right: 0.75rem;
		padding-left: 0.75rem;
	}

	.navbar .dropdown-menu {
		padding-top: 0.75rem;
		padding-bottom: 0.875rem;
		box-shadow: 0 3px 3px 1px rgba(0, 0, 0, 0.08);
	}

	.navbar .dropdown-divider {
		width: 90%;
	}

	.navbar .social-icons {
		margin-left: 0.5rem;
	}

	.navbar .fa-stack {
		margin-right: 0;
		margin-left: 0.25rem;
	}
}

@media only screen and (max-width: 540px) {
	h1 {
		font-size: 30px;
	}

	.para {
		width: 100%;
	}

	.swiper-container {
		width: 92%;
	}

	.swiper-button-prev {
		left: -16px;
		width: 22px;
		background-size: 22px 34px;
	}

	.swiper-button-next {
		right: -16px;
		width: 22px;
		background-size: 22px 34px;
	}
}

/* --- Blockquote Styles --- */
blockquote {
  background-color: #f8f8f8;          /* A light background color */
  border-left: 6px solid #ccc;      /* A solid grey bar on the left */
  margin: 1.5em 0;                  /* Space above/below the quote */
  padding: 1em 1.5em;               /* Space inside the quote box */
  color: #333;                       /* Text color */
  font-style: italic;               /* Italicize the text */
}

/* Remove extra margin from paragraphs inside the quote */
blockquote p {
  margin-bottom: 0.5em;
}

/* --- Article Styles --- */
.article-meta {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.meta-info .author, .meta-info .date, .meta-info .read-time {
  color: #6c757d;
  font-size: 0.9rem;
}

.meta-info i {
  margin-right: 0.3rem;
}

.article-tags .badge {
  font-size: 0.8rem;
  padding: 0.4rem 0.6rem;
}

.tag-link {
  text-decoration: none;
}

/* Social Sharing Buttons */
.social-sharing {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.share-buttons .btn {
  margin: 0.2rem;
  min-width: 120px;
  font-weight: 500;
}

.share-buttons .btn-outline-primary {
  color: #0d6efd;
  border-color: #0d6efd;
  background-color: white;
}

.share-buttons .btn-outline-primary:hover {
  color: white;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.share-buttons .btn-outline-success {
  color: #198754;
  border-color: #198754;
  background-color: white;
}

.share-buttons .btn-outline-success:hover {
  color: white;
  background-color: #198754;
  border-color: #198754;
}

/* Article Navigation */
.article-navigation {
  border-top: 1px solid #dee2e6;
}

.prev-article a, .next-article a {
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 300px;
}

.prev-article small, .next-article small {
  font-size: 0.75rem;
  line-height: 1.2;
}

/* --- Typography and Readability --- */
.article-content {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  max-width: 100%;
}

.article-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.article-content h1, 
.article-content h2, 
.article-content h3, 
.article-content h4, 
.article-content h5, 
.article-content h6 {
  font-family: "Poppins", sans-serif;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.article-content h2 {
  font-size: 1.8rem;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 0.5rem;
}

.article-content h3 {
  font-size: 1.5rem;
}

.article-content h4 {
  font-size: 1.3rem;
}

.article-content ul, .article-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.article-content blockquote {
  background-color: #f8f9fa;
  border-left: 4px solid var(--secondary);
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  font-style: italic;
  font-size: 1.05rem;
  color: #555;
}

.article-content blockquote p {
  margin-bottom: 0.5rem;
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-content a {
  color: var(--secondary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.article-content a:hover {
  color: var(--primary);
  text-decoration: none;
}

.article-content code {
  background-color: #f4f4f4;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
}

.article-content pre {
  background-color: #f4f4f4;
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.article-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-content iframe {
  max-width: 100%;
  margin: 1.5rem 0;
  border-radius: 5px;
}

/* Improve readability on smaller screens */
@media (max-width: 768px) {
  .article-content {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .article-content h2 {
    font-size: 1.5rem;
  }
  
  .article-content h3 {
    font-size: 1.3rem;
  }
  
  .article-content h4 {
    font-size: 1.1rem;
  }
  
  .article-content blockquote {
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
  }
  
  /* Mobile-optimized social sharing buttons */
  .share-buttons .btn {
    min-width: 100px;
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    margin: 0.1rem;
  }
  
  /* Better touch targets for mobile */
  .navbar .nav-item .nav-link {
    padding: 1rem 0.75rem;
    font-size: 1rem;
  }
  
  .navbar-toggler {
    padding: 0.5rem;
    font-size: 1.5rem;
  }
  
  /* Improved mobile spacing */
  .article-meta {
    padding: 1rem;
  }
  
  .meta-info {
    text-align: center;
    margin-bottom: 0.5rem;
  }
  
  .article-tags {
    text-align: center;
  }
  
  .social-sharing {
    padding: 1rem;
    text-align: center;
  }
}

/* --- Unified Article Styling --- */
/* Article Cards for Listing Page */
.article-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e9ecef !important;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

/* Unified Article Titles */
.article-title a,
.ex-header h1 {
  transition: color 0.3s ease;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.article-title a:hover {
  color: var(--secondary) !important;
}

.article-card .article-title h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.ex-header h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0;
}

/* Unified Metadata Styling */
.article-meta-inline,
.meta-info {
  font-size: 0.9rem;
}

.article-meta-inline i,
.meta-info i {
  margin-right: 0.4rem;
  color: var(--secondary);
}

.article-meta-inline .text-muted,
.meta-info .author,
.meta-info .date,
.meta-info .read-time {
  color: #6c757d;
}

/* Unified Article Summary and Content */
.article-summary {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Enhanced Tag Badges - Unified */
.article-tags .badge {
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  font-weight: 500;
  border-radius: 15px;
  transition: all 0.2s ease;
  background-color: var(--secondary) !important;
}

.article-tags .tag-link:hover .badge {
  background-color: var(--primary) !important;
  transform: scale(1.05);
}

/* Ensure consistent tag styling in both contexts */
.article-meta .article-tags .badge,
.article-card .article-tags .badge {
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  font-weight: 500;
  border-radius: 15px;
}

/* Responsive Video Embeds */
.article-content iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .article-content iframe {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .article-content iframe {
    height: 200px;
  }
}

/* Read More Button Styling */
.btn-outline-primary {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
  background-color: transparent;
  font-weight: 500;
}

.btn-outline-primary:hover {
  color: white !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

/* Unified Mobile Optimizations */
@media (max-width: 768px) {
  /* Article Cards Mobile */
  .article-card {
    margin-bottom: 2rem !important;
    padding: 1.5rem !important;
  }
  
  .article-card .article-title h2 {
    font-size: 1.3rem;
  }
  
  /* Single Article Mobile */
  .ex-header h1 {
    font-size: 2rem;
  }
  
  /* Unified Metadata Mobile */
  .article-meta-inline,
  .meta-info {
    text-align: center;
  }
  
  .article-meta-inline .d-flex,
  .meta-info .d-flex {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .article-meta-inline span,
  .meta-info span {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  
  /* Tags Mobile */
  .article-tags {
    text-align: center;
  }
  
  .article-tags .badge {
    margin: 0.2rem;
  }
}
}
