/*
Composite Template 
http://www.templatemo.com/preview/templatemo_444_composite
*/

body
{
	background: #FFF;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	position: relative;
}

/* start templatemo page container */
@media (min-width: 768px) {
	.container { width: 700px; }
}
@media (min-width: 992px) {
	.container { width: 900px; }
}
@media (min-width: 1200px) {
	.container { width: 1000px;	}
}
/* end templatemo page container */

.blue {
	color: #06C;
}

.green {
	color: #090;
}

/* start templatemo navigation */
.navbar-default
{
	background: #FFF;
	border: none;
	box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.08);
	margin: 0;
}
.navbar-default .navbar-brand
{
	font-weight: 600;
	font-size: 30px;
	padding: 10px 0 0 0;
	height: 65px;
	line-height: 40px;
}
.navbar-default .navbar-brand:hover { color: #ffa400; }
.navbar-default .nav li a
{
	color: #333;
	font-size: 14px;
	font-weight: 700;
	height: 65px;
	line-height: 38px;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.navbar-default .nav li a:hover
{
	background-color: #ffa400;
	color: #FFF;
}
.navbar-default .nav li a:focus { color: #303030; }
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
	color: #FFF;
	background-color: #ffa400;
}
.navbar-default .navbar-toggle
{
	border: none;
	padding-top: 18px;
}
.navbar-default .navbar-toggle .icon-bar
{
	background: #ffa400;
	border-color: transparent;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background-color: transparent }
/* end templatemo navigation */

/* start templatemo header background slideshow */
#home { padding-top: 65px; }
.flexslider {
	margin: 0 0 60px;
	background: #fff;
	padding: 0;
	position: relative;
	zoom: 1;
	background-color: #371604;
	overflow: hidden;
	margin: 0;
}
.flexslider .slides {
	padding: 0;
	zoom: 1;
}
.flexslider .slides img {
	width: 100%;
	min-width: 648px;
	min-height: 270px;
	display: block;
}
.flexslider .slides > li {
	display: none;  
	padding: 0;
	position: relative;
	-webkit-backface-visibility: hidden;
}
.flexslider img {
	position: relative;
	width: 100%;
}
.slider-caption {
	color:white;
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	text-transform: uppercase;
	z-index: 7;
	width: 100%;
	height: 100%;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}
.templatemo-slider-btn
{
	background: #ffa400;
	border-radius: 0;
	border: 2px solid transparent;
	color: #FFFFFF;
	font-weight: bold;
	margin: 40px 0 0 0;
	-webkit-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	height: 50px;
	width: 250px;
	padding: 12px 10px 10px 10px;
}
.templatemo-slider-btn:hover,
.templatemo-slider-btn:focus {
	background: #fff;
	color: #ffa400;
	border: 2px solid transparent;
}

/* =========================
   Templatemo - categories CSS
   Ensures 4 icons per row on md+ screens,
   2 per row on small screens, and stacked on xs.
   ========================= */

/* --- Base page styles (keep as-is / adjust to your site) --- */
body {
    background: #FFF;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    position: relative;
}

/* --- categories section --- */
.categories {
    background: #F9F9F9;
    border-bottom: 1px solid #f0f0f0;
    padding: 60px 0;
}

/* section heading */
.categories h2 {
    font-weight: 400;
    padding-bottom: 20px;
    text-align: center;
    margin: 0 0 10px;
    color: #2b2b2b;
}

/* small intro / subtitle (if present) */
.categories p {
    text-align: center;
    margin: 0 0 30px;
    color: #6b6b6b;
    font-size: 13px;
}

/* make the .row behave reliably as a flexible grid for this section */
.categories .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    align-items: stretch;
}

/* ensure bootstrap-like column gutters are preserved */
.categories .col-sm-6,
.categories .col-md-3 {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px; /* vertical spacing between rows */
    box-sizing: border-box;
}

/* Column sizing rules for this categories grid (override if needed) */
/* Small screens (sm) -> 2 columns (50% each) */
@media (min-width: 576px) {
    .categories .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Medium and up (md) -> 4 columns (25% each) */
@media (min-width: 768px) {
    .categories .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* Extra: ensure xs screens stack full width */
@media (max-width: 575.98px) {
    .categories .col-sm-6,
    .categories .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* --- Individual feature item --- */
/* Wrapper to center icon + title vertically and horizontally */
.categories .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;            /* stretch to equal height inside the column */
    padding: 6px 10px;
}

/* Anchor around icon (makes the whole icon area clickable) */
.categories .feature-item a {
    display: block;
    width: 100%;
    text-decoration: none;
}

/* Icon image styling */
.categories .feature-item img {
    width: 88px;             /* consistent icon size */
    height: 88px;
    object-fit: contain;     /* maintain aspect ratio */
    display: block;
    margin: 0 auto 12px;
    transition: transform 0.35s ease, filter 0.35s ease;
    -webkit-transition: transform 0.35s ease, filter 0.35s ease;
}

/* Hover / focus affordance */
.categories .feature-item a:hover img,
.categories .feature-item a:focus img {
    transform: translateY(-4px) scale(1.06) rotate(6deg);
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.06));
}

/* Feature title */
.categories .feature-item h3 {
    font-weight: 600;
    font-size: 13px;
    margin: 0;
    color: #243b55;
    line-height: 1.3;
    padding: 4px 6px;
}

/* If titles are long, break cleanly */
.categories .feature-item h3 {
    white-space: normal;
    word-break: break-word;
}

/* Optional: small icon above / badge style (if you ever use font-icons) */
.categories .fa {
    background: #ffa400;
    border-radius: 50%;
    color: #FFF;
    font-size: 28px;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    transition: all 0.4s ease;
}
.categories .fa:hover {
    background: #303030;
    transform: rotate(360deg);
}

/* Accessibility: focus ring for keyboard users */
.categories .feature-item a:focus {
    outline: 3px solid rgba(33,150,243,0.18);
    outline-offset: 4px;
    border-radius: 6px;
}

/* Tweak spacing for very long headings so grid stays neat */
.categories .feature-item h3 {
    max-height: 3.9em; /* ~3 lines */
    overflow: hidden;
}

/* Small visual polish for very wide screens */
@media (min-width: 1200px) {
    .categories {
        padding: 80px 0;
    }
    .categories .feature-item img {
        width: 96px;
        height: 96px;
    }
    .categories .feature-item h3 {
        font-size: 14px;
    }
}


/* ---------- Force vertical stacking: one-after-another feature cards ---------- */
/* Replace your existing #about .categories-grid and .feature-card rules with these */

#about .categories-grid {
  /* single column layout always (stack vertically) */
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  justify-items: stretch; /* make cards expand to column width */
  width: 100%;
  box-sizing: border-box;
}

/* Individual feature card - full width of the column */
#about .feature-card {
  width: 100%;
  max-width: none; /* allow the card to take full available width */
  background: #fffaf4;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.04);
  padding: 24px;
  text-align: left; /* left-align content for better reading on stacked cards */
  box-shadow: 0 10px 20px rgba(30,30,30,0.03);
  display: flex;
  flex-direction: row; /* icon + text side-by-side inside the card */
  gap: 18px;
  align-items: flex-start;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* ================================
   ABOUT US - FEATURE CARDS GRID
   ================================ */

#about .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

/* Feature card styling */
#about .feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

/* Hover effect */
#about .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Icon styling */
#about .feature-card img {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

#about .feature-card:hover img {
    transform: scale(1.1);
}

/* Text content */
#about .feature-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

#about .feature-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    #about .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #about .categories-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    #about .feature-card {
        padding: 25px 20px;
    }
}

/* Container adjustments */
#about .about-categories {
    width: 100%;
    margin-top: 20px;
}

/* Ensure proper spacing between sections */
#about .about-text + .about-categories {
    margin-top: 40px;
}
/* ABOUT SECTION - TYPOGRAPHY OVERRIDES ONLY (no layout changes) */
#about h2 {
  font-size: 44px;      /* larger main heading */
  line-height: 1.1;
}

#about h3 {
  font-size: 22px;      /* larger subheadings */
  line-height: 1.25;
}

#about p,
#about .about-text p,
#about .feature-card p {
  font-size: 17px;      /* larger body text for readability */
  line-height: 1.7;
}

/* Feature card titles */
#about .feature-card h3 {
  font-size: 18.5px;
  line-height: 1.3;
}

/* Ensure smaller helper text (if any) doesn't blow up */
#about .feature-card small,
#about .about-text small {
  font-size: 14px;
  line-height: 1.5;
}

/* Responsive scaling (keeps layout rules intact) */
@media (max-width: 1024px) {
  #about h2 { font-size: 40px; }
  #about h3 { font-size: 21px; }
  #about p, #about .feature-card p { font-size: 16.5px; }
  #about .feature-card h3 { font-size: 18px; }
}

@media (max-width: 768px) {
  #about h2 { font-size: 34px; }
  #about h3 { font-size: 20px; }
  #about p, #about .feature-card p { font-size: 16px; }
  #about .feature-card h3 { font-size: 17px; }
}


/* start templatemo team */
#team
{
	background: #F9F9F9;
	border-top: 1px solid #f0f0f0;
	border-bottom: 1px solid #f0f0f0;
	padding: 60px 0 60px 0;
}
#team .col-md-3 { margin-bottom: 20px; }
#team h2
{
	font-weight: 400;
	padding: 0 0 20px 0;
}
#team h3
{
	background: #FFF;
	color: #ffa400;
	font-weight: 600;
	padding: 10px;
}
#team img
{
	cursor: pointer;
	display: inline-block;
	margin-top: 60px;
	margin-bottom: 10px;
	position: relative;
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
#team img:hover
{
	border-radius: 50%;
	-webkit-transform: scale(0.9);
	-ms-transform: scale(0.9);
	transform: scale(0.9);
	opacity: 0.7;
}
/* end templatemo team */

/* start templatemo portfolio */
#portfolio {
    padding: 60px 0;
    background-color: #f8f9fa;
}

#portfolio .calendar-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    max-width: 800px;
}

#portfolio .calendar-form-card h1 {
    font-family: 'Neuton', serif;
    color: #003e52;
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 8px;
    font-weight: 400;
}

#portfolio .calendar-form-card h3 {
    font-size: 15px;
    color: #666;
    font-weight: 400;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

#portfolio .required-star {
    color: #d9534f;
    margin-left: 3px;
}

#portfolio .form-group {
    margin-bottom: 20px;
    text-align: left;
}

#portfolio .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

#portfolio .form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
    height: 40px;
}

#portfolio .form-control:focus {
    border-color: #003e52;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 62, 82, 0.15);
}

/* Phone input group */
#portfolio .phone-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

#portfolio .flag-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
    min-width: 110px;
    cursor: pointer;
    position: relative;
    height: 40px;
    box-sizing: border-box;
}

#portfolio .flag-dropdown img.flag-img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.05);
}

#portfolio .flag-dropdown .dial {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

/* Radio buttons */
#portfolio .form-note {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

#portfolio .radio-row {
    margin: 0 -10px;
}

#portfolio .radio-inline {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 14px;
}

#portfolio .radio-inline input[type="radio"] {
    margin-right: 6px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* Submit button */
#portfolio .download-btn {
    background: #003e52;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    width: 100%;
    max-width: 200px;
    transition: background-color 0.2s;
    margin-top: 10px;
}

#portfolio .download-btn:hover {
    background: #002b3a;
}

/* Footer text */
#portfolio .disclaimer {
    margin-top: 20px;
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    #portfolio .calendar-form-card {
        padding: 25px 20px;
    }
    
    #portfolio .phone-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    #portfolio .flag-dropdown {
        width: 100%;
        justify-content: space-between;
    }
    
    #portfolio .radio-inline {
        display: block;
        margin: 5px 0;
    }
    
    #portfolio .download-btn {
        max-width: 100%;
    }
}
/* end templatemo portfolio */

/* start templatemo contact */
#contact
{
	background: #303030;
	color: #EEE;
	padding: 80px 0 80px 0;
}
#contact h2 { font-weight: 400; }
#contact .text-center p { padding: 0 0 60px 0; }
#contact h2, #contact h3 { padding: 0 0 20px 0; }
#contact .form-control
{
	background: transparent;
	border: 1px solid #444;
	border-radius: 0px;
	color: #FFF;
	margin: 10px 0 10px 0;
}
#contact input { height: 60px; }
#contact .form-control:focus
{
	background: #444444;
	border-color: transparent;
	box-shadow: none;
}
#contact input[type="submit"]
{
	color: #FFF;
	font-weight: 600;
	letter-spacing: 1px;
	width: 220px;
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
#contact input[type="submit"]:hover
{
	background: #ffa400;
	border-color: transparent;
	color: #FFF;
}
#contact .address
{
	padding: 20px;
	padding-top: 0;
	margin: 0;
}
#contact .fa
{
	color: #ffa400;
	font-size: 20px;
	padding: 6px 10px 6px 0;
}

a {	color: #ffa400; }
a:hover, a:active 
{
	color: #ffd485;
	text-decoration: none;
}
/* end templatemo contact */

/* start templatemo footer */
footer
{
	border-top: 1px solid #404040;
	background: #202020;
	color: #FFF;
	padding: 80px 0 40px 0;
}
footer .social_icon a
{
	border: 1px solid #FFF;
	border-radius: 50%;
	color: #FFF;
	font-size: 16px;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	text-decoration: none;
	-webkit-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
	margin: 0 4px 24px 6px;
}
footer .social_icon a:hover
{
	border-color: transparent;
	background: #ffa400;
}
/* end templatemo footer */

/* starttemplatemo  go top */
.go-top 
{
	background-color: #ffa400;
	border-radius: 50%;
	bottom: 2em;
	right: 2em;
	color: #FFF;
	display: none;
	position: fixed;
	text-decoration: none;
	width: 60px;
	height: 60px;
	line-height: 60px;
	text-align: center;
}
.go-top:hover {	color: #F9F9F9; }
/* end templatemo go top */

@media only screen and (max-width: 1199px) {
	.flexslider h1 { font-size: 30px; }
	.flexslider h2 { font-size: 24px; }
}

/* start templatemo 768 media quires */
@media only screen and ( max-width: 768px ) {
	.navbar-default .navbar-brand {	margin-left: 20px; }
	.navbar-default .navbar-nav	{ margin: 0; }
	.navbar-default .navbar-collapse
	{
		padding-left: 20px;
		padding-right: 20px;
	}
	.flexslider h1 { font-size: 26px; }
	.flexslider h2 { font-size: 18px; }
	.templatemo-slider-btn { 
		margin-top: 10px; 
		width: 180px;
		height: 40px;
		padding-top: 8px;
	}
}
/* end templatemo 768 media quires */

/* start templatemo 680 media quires */
@media only screen and ( max-width: 680px ) {
	.navbar-default .navbar-nav li a { border-bottom: 1px solid #f6f6f6; line-height: normal; height: 40px; }
/* end templatemo 680 media quires */

/* start templatemo 600 media quires */
@media only screen and ( max-width: 640px ) {	
	.flexslider h1 { font-size: 20px; }
	.flexslider h2 { font-size: 14px; }
	.templatemo-slider-btn {
		width: auto;
		height: auto;
		padding: 10px 20px;
		margin-top: 10px; 
	}
}
/* end templatemo 600 media quires */
