/* =====================================================
   ROOT VARIABLES
===================================================== */
:root {
  --primary: #2C4964;
  --primary-light: #395C7F;
  --primary-lighter: #517799;
  --secondary: #555D50;

  --bg-body: silver;
  --bg-accent1: #ffffff;
  --bg-accent2: #E1F6FF;

  --text-color: #333;
  --heading-color: #2C4964;
  --muted-color: silver;

  --font-size-base: 16px;
  --line-height-base: 25px;

  --font-size-h1: 2.5rem;
  --font-size-h2: 1.5rem;
  --font-size-h3: 1.5rem;
  --font-size-p: 1.1rem;

  --font-weight-bold: 700;

  --btn-font-size: 0.875rem;
  --btn-padding-y: 5px;
  --btn-padding-x: 10px;

  --border-radius-pill: 30px;
  --border-radius-sm: 5px;

  --box-shadow-primary: 0 4px 8px rgba(16, 163, 127, 0.2);

  --z-top: 99999;
  --z-super: 9999999999;
}

/* =====================================================
   BASE RESET
===================================================== */
* {
  -webkit-text-size-adjust: none;
}

html {
  width: 100%;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: var(--bg-body);
  color: var(--text-color);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1%;
  padding-bottom: 1%;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', serif;
  font-weight: 600;
  font-weight: var(--font-weight-bold);
  color: var(--heading-color);
}

h1 {
  font-size: var(--font-size-h1);
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--font-size-h2);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: var(--font-size-h3);
}

p {
  font-size: var(--font-size-p);
  margin-bottom: 1.8rem;
  text-align: justify;
}

label {
  font-weight: var(--font-weight-bold);
  font-size: 0.875rem;
  color: var(--primary);
}
.highlight{
  font-family: 'DM Serif Display', serif;
  font-weight: 600;    
  font-size:1.5rem;
}
.bg-accent1{
    background-color: var(--bg-accent1);
}
.bg-accent2{
    background-color: var(--bg-accent2);
}
/* =====================================================
   LINKS & UTILITIES
===================================================== */
a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}

.border-primary {
  border-color: var(--primary) !important;
}

/* =====================================================
   DECORATIVE UNDERLINE
===================================================== */

.my-bottom-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  color: #222;
}

.my-bottom-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;       /* align at bottom of parent */
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, #2C4964, #395C7F, #517799, #2C4964);
  border-radius: 2px;

  animation: pulseWidth 3s ease-in-out infinite;
  transform-origin: center;   /* better for horizontal scaling */
}
@keyframes pulseWidth {
  0%, 100% {
    transform: scaleX(0.8);
    opacity: 0.7;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}


/* =====================================================
   BUTTONS
===================================================== */
.btn {
  padding: var(--btn-padding-y) var(--btn-padding-x);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  background-color: transparent;
  border: 2px solid var(--primary);
  border-radius: var(--border-radius-pill);
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover,
.btn.active {
  color: #fff;
  background-color: var(--primary);
  transform: scale(1.05);
}

.carousel-caption .btn {
  background-color: #fff;
  border-color: #fff;
}

.carousel-caption .btn:hover,
.carousel-caption .btn.active {
  background-color: var(--primary);
  color: #fff;
}

/* =====================================================
   HEADER & NAV
===================================================== */
#site-pre-header {
  padding: 10px;
  background-color: var(--primary);
}

#site-pre-header .bi {
  font-style: normal;
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  margin:1px;
  color: #fff;
}
#site-header-top{
	padding-bottom:0;
}
#site-header-top .navbar-brand{
	font-weight:bold;
	color:var(--primary);
}
#site-header {
  position: relative;
  align-items: center;
  justify-content: center;
}

#site-header .navbar-fixed-top,
#site-header-top .fixed-top {
  box-shadow: var(--box-shadow-primary);
}
#site-banner-carousel .carousel-inner {
}
#site-banner-carousel .carousel-inner .carousel-item .carousel-img{
	width: 100%; 
	height:100%;
	object-fit: cover; 
}	
#site-banner-carousel .front-page{
	top:80%;
}
#collapsible-navbar .nav-item .nav-link{
  font-size:18px;
  font-weight:normal;
  color: var(--primary);  
}
#collapsible-navbar .nav-link:hover {
    border-bottom: 3px solid var(--primary);
}
#collapsible-navbar .nav-link.active {
  border-bottom: 3px solid var(--primary);
  
}

/* =====================================================
   BRAND
===================================================== */
.navbar-brand {
  font-weight: var(--font-weight-bold);
  color: var(--primary);
  align-items: center;
}
.brand-logo {
  height: 32px;
  display: block;
}

.brand-text {
  font-size: 22px;
  color: var(--primary);
  margin-left: 2px;
  margin-top:1px;
  line-height: 1;
 }

/* =====================================================
   CONTENT & FOOTER
===================================================== */
#site-contents-container {
  background-color: var(--bg-accent1);
  margin:0;
  padding: 1%;
}

#site-banner{	
	margin-bottom:0;
	padding:0;
}
#site-banner-carousel .carousel-inner {
}
#site-banner-carousel .carousel-inner .carousel-item img{
	width: 100%; 
	height:100%;
	min-height:200px;
	object-fit: cover; 
}	
#site-banner-carousel .front-page{
	top:80%;
}
#site-banner-carousel .carousel-caption h1{
	font-size: 2.5rem;
    margin-bottom: 1rem;
}
#site-banner-carousel .carousel-caption h3{
	font-size: 2.5rem;
    margin-bottom: 1rem;
}
#contact-section img{
	max-height:300px;
}
#contact-section .carousel-caption{
	left:5%;
	top:20%;
	color:white;
	font-weight:bold;
}
#contact-section .carousel-caption h5{
	color:white;
	font-size:2.5rem;
}
#contact-section .carousel-caption p{
	text-align:center;
}
#site-breadcrumb, .breadcrumb{
	background-color:#f1f7fd;
}

#site-footer-container {
  background-color: #454545;
  color: var(--muted-color);
  border-top: 2px solid #000;
}

#site-footer-container hr{
    border: 1px solid white;
    margin:0;
}

#site-footer h5 { color: #fff; }
#site-footer .bi { font-size: 1.5rem;}
#site-footer a { color: var(--muted-color); }
#site-footer-bottom a { color: var(--muted-color); }

/* =====================================================
   BACK TO TOP
===================================================== */
#back-to-top {
    position: fixed;
    bottom: 45px;
    right: 10px;
    z-index: 999;
}
#back-to-top a {
    width: 40px;
    display: block;
    text-align: center;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
    opacity: 0.7;
}
#back-to-top a:hover {
    opacity: 1;
}
#back-to-top span {
    width: 40px;
    height: 40px;
    display: block;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	background-color:var(--primary);
}
#back-to-top span:before {
    font-family: 'FontAwesome';
    content: "\f106";
    line-height: 40px;
    font-size: 25px;
    color: #fff;
}

/* =====================================================
   RESPONSIVE CSS
===================================================== */

/* Extra Small devices */
@media (min-width: 320px) and (max-width: 480px) {
	body{
		margin:0%;	
	}
	h1{
	   font-size:1.8rem;
	   font-weight:bold;
	}
	.btn {
		font-size: 0.7rem;
		padding: 8px 16px;
	}
	.brand-text {
	    
	}
    .front-page .carousel-caption{
        top:55%;
	}
	#site-breadcrumb {
	   display:none;
	}
	#site-banner-carousel .carousel-caption h3{
    	font-size: 1.8rem;
        margin-bottom: 0rem;
    }
	#lnk-assign-project{
	    display:none;
	}
	#lnk-close-project{
	    display:none;
	}
	#contact-section .carousel-caption h5{
		display:none; 
	}
	#contact-section .carousel-caption p{
			/* display:none; */
	}
	#contact-section .carousel-caption p{
	    display:flex;
	    font-size:16px;
	    margin-bottom:2px;
	}
	#contact-section .carousel-caption {
		opacity:0.7;	
		width:45%;
		padding-top:0%;
	}
}

/* Small devices */
@media (min-width: 481px) and (max-width: 768px) {
	
	body{
		margin:2%;	
	}
	.btn {
		font-size: 0.7rem;
		padding: 8px 16px;
	}
	#site-pre-header .bi{
		font-size:0.875rem;
	}
	.front-page .carousel-caption{
        top:60%;
	}
	#site-breadcrumb {
	   display:none;
	}
	#site-banner-carousel .carousel-caption h3{
    	font-size: 1.8rem;
        margin-bottom: 0rem;
    }
	#contact-section .carousel-caption h5{
		display:none; 
	}
	#contact-section .carousel-caption p{
			/* display:none; */
	}
	#contact-section .carousel-caption p{
	    display:flex;
	    font-size:18px;
	    margin-bottom:4px;
	    margin-left:2%;
	}
	#contact-section .carousel-caption {
		opacity:0.7;	
		width:45%;
		padding-top:0%;
		
	}
}

/* Medium devices */
@media (min-width: 769px) and (max-width: 1024px) {
	body{
		margin:2%;	
	}
	.btn {
		font-size: 0.875rem;
		padding: 8px 16px;
	}
	#site-pre-header .bi{
		font-size: 1.2rem;
	}
	.front-page .carousel-caption{
        top:70%;
	}
	#contact-section img{
		height:25vh;
	}
}

/* Large devices */
@media (min-width: 1025px) {
	}

/* Ends Responsive CSS 
************************************************/