/*
 ==========================================================================
  Custom CSS Starter Template
 ==========================================================================
  Use this file alongside the FlexiGrid system to style your website.
  It provides sensible defaults for typography, forms, buttons, and more.
  Customize the CSS variables in the :root to easily change the theme.
*/
/* @import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/*
 ==========================================================================
  1. CSS Custom Properties (Theme Variables)
 ==========================================================================
  Define your project's color palette and fonts here for easy customization.
*/
:root {
    /* Color Palette */
    --color-primary: #4D648D;      /* A nice, standard blue */
    --color-primary-hover: #3A506B; /* A slightly darker blue for hover states */
    --color-secondary: #6A994E;    /* Light Green */
    --color-success: #198754;     /* Dark Green */
    --color-danger: #dc3545;       /* Red for errors */
    --color-light: #f8f9fa;        /* Light gray for backgrounds */
    --color-dark: #283655;         /* Dark gray for primary text */
    --color-border: #dee2e6;      /* A light gray for borders */

    /* Typography */
	 --font-family: "Inter", sans-serif;
	/* --font-family: "Raleway", sans-serif; */
    --font-size-base: 1.2rem;  /* Equivalent to 16px by default */
    --line-height-base: 1.6;

    /* Transitions */
    --transition-base: all 0.2s ease-in-out;
}
    

/*
 ==========================================================================
  2. Global & Body Styles
 ==========================================================================
  Sets up box-sizing and basic styles for the entire page.
*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: var(--line-height-base);
    color: var(--color-dark);
    background-color: #F3F4F4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.dark {
    background-color:#283655;
    color:#ffffff;
}
section {padding:2rem 0}
section.no-pad-top {padding-top:0;}
section.no-pad-bot {padding-bottom:0;}
@media (min-width: 991.98px) {
section {padding:4rem 0}
section.no-pad-top {padding-top:0;}
section.no-pad-bot {padding-bottom:0;}
}
section, div, a, img, span, p, h1, h2, h3, i {
    transition: var(--transition-base);
}
/* Center the column */
.row.centered-col {justify-content:center;}
/* Vertically center content */
.row.vert-center-col {align-items:center;}
/* Vertically stretch content */
.row.vert-stretch-col {align-items:stretch}
/* Full height row */
.full-height {height:100%}
.row-reverse-mobile {
  flex-direction: column-reverse;
}
@media (min-width: 768px) {
  .row-reverse-mobile {
    flex-direction: row;
  }
}
/******* ANIMATE *********/
.animate-down {
    opacity: 0;
    transform: translateY(-24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-up {
	opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-fade {
	opacity: 0;
    transition: opacity 0.6s ease-out;
}
.animate-down.is-visible, .animate-up.is-visible, .animate-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}
:is(.animate-up, .animate-down, .animate-fade).delay-1 { transition-delay: 0.1s; }
:is(.animate-up, .animate-down, .animate-fade).delay-2 { transition-delay: 0.2s; }
:is(.animate-up, .animate-down, .animate-fade).delay-3 { transition-delay: 0.3s; }
:is(.animate-up, .animate-down, .animate-fade).delay-4 { transition-delay: 0.4s; }
:is(.animate-up, .animate-down, .animate-fade).delay-5 { transition-delay: 0.5s; }
:is(.animate-up, .animate-down, .animate-fade).delay-6 { transition-delay: 0.6s; }
:is(.animate-up, .animate-down, .animate-fade).delay-7 { transition-delay: 0.7s; }
:is(.animate-up, .animate-down, .animate-fade).delay-8 { transition-delay: 0.8s; }
:is(.animate-up, .animate-down, .animate-fade).delay-9 { transition-delay: 0.9s; }
:is(.animate-up, .animate-down, .animate-fade).delay-10 { transition-delay: 1s; }
/*
 ==========================================================================
  3. Typography
 ==========================================================================
  Styles for headings, paragraphs, links, and lists.
*/
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 1rem; }

p {
    margin-top: 0;
    margin-bottom: 1.4rem;
	font-size:1.1rem;
	line-height:1.9rem;
	letter-spacing:-0.02rem;
}
li {letter-spacing:-0.02rem;}
p.large {font-size:1.3rem;}
@media (min-width: 991.98px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.5rem; }
    h5 { font-size: 1.25rem; }
    h6 { font-size: 1rem; }
	p { font-size: 1.2rem; line-height:2.1rem;}
    p.large {font-size:1.4rem;}
}

a {
    color: var(--color-dark);
    transition: color 0.15s ease-in-out;
}

a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
	pointer-events: none;
}
.gray-bg {background-color:#F4F4F4;}
.blue-bg {background-color:#4D648D;}
.centered-text {text-align:center;}


/*
 ==========================================================================
  4. Buttons
 ==========================================================================
  A simple, reusable button system.
*/
.btn {
    display: inline-block;
    font-weight: 600;
    line-height: var(--line-height-base);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.7rem 2.4rem;
    font-size: var(--font-size-base);
    border-radius: 2rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    text-decoration:none;
}
.btn.small {
	padding:0.4rem 1.4rem;
	font-size:1rem;
}

/* Button Style */
.btn-hero {
    font-size:1.1rem;
	background-color:#6988BF;
    color:#ffffff;
	display:block;
}
.btn-hero:hover {
	background-color: transparent;
	border-color:#fff;
	color:#ffffff;
    text-decoration:none;
}
.btn-secondary {
    color:#ffffff;
    background-color: #A4C93C;
    border: 2px solid #A4C93C;
}
.btn-secondary:hover {
    color: #fff;
    background-color: rgba(0,0,0,0);
    border-color: #A4C93C;
    text-decoration: none;
}
.btn-outline {
    color:#4D648D;
    border:2px solid #4D648D;
}
.btn-outline:hover {
    color:#ffffff;
    background-color:#4D648D;
    border:2px solid #4D648D;
    text-decoration:none;
}
.btn.bigger {
    padding:1.2rem 4rem;
    font-size:1.4rem;
    border-radius:3rem;;
}
@media (min-width: 767px) {
	.btn-hero {display:inline-block;}
}


/*
 ==========================================================================
  5. Forms
 ==========================================================================
  Basic styling for form elements to make them look clean and consistent.
*/
label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

input,
button,
select,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: var(--line-height-base);
    color: var(--color-dark);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--color-border);
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: var(--color-dark);
    background-color: #fff;
    border-color: #86b7fe; /* Lighter version of primary color */
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

textarea.form-control {
    min-height: calc(1.5em + 0.75rem + 2px);
}

/*
 ==========================================================================
  Header + Home Hero
 ==========================================================================
*/
#int-header {
    background-color:#283655;
	z-index:999;
	position:relative;
}
#hp-header-hero {
	z-index:999;
	position:relative;
}
.knick-logo img {
    width:100%;
    max-width:236px;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:1rem 0;
}
.home-hero {
    color:#ffffff;
    height:auto;
	padding:1.4rem 1rem 3rem;
}
.home-hero p {margin-bottom:1.8rem;}
.home-hero .hero-img {text-align:center;}
.home-hero .hero-img img {
	width:100%;
	position:relative;
	height:auto;
	max-width:280px;
	right:-6%;
	z-index:2;
}
/********/
.custom-shape-divider-bottom-1768607837 {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1768607837 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1768607837 .shape-fill {
    fill: #F3F4F4;
}

@media (min-width: 767px) {
	.home-hero .hero-img {text-align:right;}
	.home-hero .hero-img img {
	max-width:100%;
	bottom:-30px;
	left:auto;
}
}

@media (min-width: 991px) {
    .header-inner {
        padding:2rem 1rem;
    }
    .knick-logo img {
        max-width:300px;
    }
	.home-hero .hero-img {text-align:right;}
    .home-hero .hero-img img {
		max-width:100%;
		bottom:auto;
		margin-bottom:auto;
	}
	.home-hero {padding:0;}	
    .home-hero h1 {font-size:2.6rem; font-weight:600; margin-top:1rem;}
	.home-hero p {font-size:1.3rem;}
    .home-hero .row {height:100%; align-items:start;}
	.overlap-adjustment {margin-top:40px}
}
@media (min-width: 1200px) {
	.home-hero {padding:1.4rem 0 0;}
	.home-hero .hero-img img {
		position:relative;
		bottom:-160px;
		margin-top:-160px;
		max-width:610px;
	}
	.home-hero h1 {margin-top:2rem;}
	.overlap-adjustment {margin-top:80px}
/******/

}
/* Hamburger Menu Button */
.mobile-nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    padding: 0.5rem 0;
    cursor: pointer;
    z-index: 1001; /* Must be above the flyout menu */
}

.mobile-nav-toggle .icon-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-light);
    border-radius: 1px;
    transition: all 0.2s ease-in-out;
}

.mobile-nav-toggle .icon-bar + .icon-bar {
    margin-top: 5px;
}

/* Main Navigation Menu */
.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex; /* For desktop horizontal layout */
    align-items: center;
    gap: 2.2rem;
}
.main-navigation li {
    position: relative;
}
.main-navigation a {
    color: var(--color-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
    display: block; /* Ensures padding and positioning work correctly */
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #A4C93C;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}


/*
==========================================================================
 Dropdown Menu Styles (Desktop)
==========================================================================
*/
.main-navigation .sub-menu {
    display: none; /* Hide dropdowns by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-dark); /* Or a different background */
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    min-width: 200px;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

/* Show dropdown on hover */
.main-navigation li:hover > .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Style for dropdown links */
.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation .sub-menu a {
    color: var(--color-light);
    padding: 0.5rem 1rem;
    width: 100%;
    white-space: nowrap; /* Prevent links from wrapping */
}

.main-navigation .sub-menu a:hover {
    background-color: var(--color-primary);
}

/* Remove the underline effect from dropdown links */
.main-navigation .sub-menu a::after {
    display: none;
}

/* Add an indicator for items that have children */
.main-navigation .menu-item-has-children > a::after {
    content: ' \f078'; /* Font Awesome down arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7em;
    margin-left: 0.5em;
    display: inline-block;
    vertical-align: middle;
    /* Reset the underline style */
    position: static;
    height: auto;
    width: auto;
    background-color: transparent;
    transition: none;
	color:#A4C93C;
}

/*
==========================================================================
 Header Button Styles
==========================================================================
*/

.main-navigation li.btn-header a::after {height:0;}
.main-navigation li.btn-header a:hover::after {width:0;}
.main-navigation li.btn-header a {
    background-color:transparent;
    font-weight: 600;
    line-height: var(--line-height-base);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid #ffffff;
    padding: 0.6rem 1.2rem;
    font-size: var(--font-size-base);
    border-radius: 2rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    text-decoration:none;
}
.main-navigation li.btn-header a:hover {
    background-color:#4D648D;
    border-color:#4D648D;
}

/*
==========================================================================
 Mobile Navigation Styles
==========================================================================
*/
@media (max-width: 991.98px) {
    /* Style mobile dropdowns to appear inside the panel */
    .main-navigation .sub-menu {
        display: block; /* Always show sub-menus on mobile */
        position: static; /* Remove absolute positioning */
        background-color: transparent;
        box-shadow: none;
        padding: 0 0 0 0.4rem; /* Indent the sub-menu */
        margin-top: 1.4rem; /* Space below the parent link */
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        transition: none;
    }

    /* Adjust spacing for sub-menu items */
    .main-navigation .sub-menu li {
        margin-bottom: 0.8rem;
    }
    .main-navigation .sub-menu a {padding: 0rem 0.4rem;}
    .main-navigation .sub-menu li:last-child {
        margin-bottom: 0;
    }
    .main-navigation .sub-menu a:hover {
    background-color: transparent;
}
    
    /* Remove underline effect from ALL links on mobile */
    .main-navigation a::after {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
		position: relative;
        z-index: 1001;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen */
        width: 300px;
        max-width: 80%;
        height: 100vh;
        padding: 6rem 2rem 2rem;
        background-color: var(--color-dark);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
        transition: right 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .main-navigation.is-active {
        right: 0; /* Slide in */
    }

    .main-navigation ul {
        flex-direction: column; /* Stack links vertically */
        align-items: flex-start;
        gap: 2rem;
    }

    .mobile-nav-toggle.is-active .icon-bar {
        background-color: var(--color-light);
    }
    /* Animate hamburger to an 'X' */
    .mobile-nav-toggle.is-active .icon-bar:nth-child(2) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-nav-toggle.is-active .icon-bar:nth-child(3) {
        opacity: 0;
    }
    .mobile-nav-toggle.is-active .icon-bar:nth-child(4) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Page Overlay 
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.4);
        z-index: 999;
    } */
}

/*
 ==========================================================================
  Interior Hero
 ==========================================================================
*/
.int-hero {padding:0}
.int-hero .container-fluid {padding:0}
.int-hero .container-fluid .row {margin:0}
.int-hero .hero-img.left,
.int-hero .hero-txt.left {
    border-radius:0 0 50px 0;
}
.int-hero .hero-img.right,
.int-hero .hero-txt.right {
    border-radius:0 0 0 50px;
}
.int-hero .hero-img {
    background-size:cover;
    background-repeat:no-repeat;
    background-position: center center;
}
.int-hero .hero-txt {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    padding:1.8rem 2rem;
    color:#ffffff;
    min-height:auto;
}
.int-hero .hero-txt h1,
.int-hero .hero-txt p {
    max-width:600px
}
.int-hero.title-only .hero-txt h1 {margin:0; font-size:2.8rem; font-weight:500 }
.int-hero .hero-serv-blocks {
	padding:0 2rem;
	text-align:center;
}
.int-hero .hero-serv-blocks img {
	width:100%;
	height:auto;
	position:relative;
	max-width:400px;
	bottom:-48px;
	margin-top:-52px;
}
.int-overlap-adjustment {margin-top:30px}
@media (min-width: 767px) {
	.int-hero .hero-serv-blocks {
		padding:2rem 3rem 0 0;
		text-align:right;
	}
	.int-hero .hero-serv-blocks img {
		bottom:0;
		margin-top:0;
	}
}
@media (min-width: 991px) {
    .int-hero .hero-txt {padding:4rem; min-height:400px;}
    .int-hero.title-only .hero-txt h1 {font-size:3.6rem;}
    .int-hero.title-only .hero-txt {padding:3rem 1rem 3rem 3rem; min-height:0;}
	.int-overlap-adjustment {margin-top:0}
	
}
@media (min-width: 1200px) {
	.int-hero .hero-serv-blocks {
		padding:0 3rem 0 0;
	}
	.int-hero .hero-serv-blocks img {
		bottom:-120px;
		margin-top:-80px;
		max-width:620px;
	}
	.int-overlap-adjustment {margin-top:30px}
}

/*
 ==========================================================================
  Landing Hero
 ==========================================================================
*/
.landing-img-bg {
    background-size:cover;
    background-repeat:no-repeat;
    background-position: center center;
    padding:2rem 0;
}
.landing-left h1 {
    color:#ffffff;
    font-size:3rem;
    line-height:3rem;
    font-weight:800;
    text-shadow: 0px 0px 12px rgba(0, 0, 0, 0.30);
}
.landing-left ul {
    list-style:none;
    color:#ffffff;
    margin:0 0.4rem 2rem; padding:0;
}
.landing-left ul li {
    font-size:1.2rem;
    font-weight:500;
    padding-left:1.8rem;
    position:relative;
    margin-bottom:0.2rem;
}
.landing-left ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
}
.landing-right .lp-form-box {
    padding:1.4rem; 
	background-color:rgba(40, 54, 85, 0.95);
    border-radius:12px;
    box-shadow: 0px 0px 19px rgba(0, 0, 0, 0.30);
}
.landing-right .lp-form-box h2 {
    color:#ffffff;
    font-weight:500;
	margin:0 0 2rem;
}
@media (min-width: 991px) {
.landing-img-bg {padding:4rem 0;}
.landing-left h1 {
    font-size:4.8rem;
    line-height:4.6rem;
}
.landing-left ul li {
    font-size:1.4rem; margin-bottom:0.4rem;
}
.landing-right .lp-form-box {padding:2rem;}

}

/*
==========================================================================
 Portfolio
==========================================================================
*/
.kn-port.hero {
    height:auto;
    background-size:cover;
    background-repeat:no-repeat;
    background-position: center center;
    padding:3rem 0 0;
}
.hello {
    display:inline-block;
    background:#198754;
    padding:10px 20px;
    border-radius:6px 6px 6px 0;
    font-size:1rem; line-height:1rem;
    font-weight:600;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.30);
    margin:0 0 1rem;
}
.kn-port.hero h1 {
    font-size:3rem;
    line-height:auto;
    font-weight:400;
    margin:0;
    text-shadow: 0px 0px 12px rgba(0, 0, 0, 0.30);
}
.kn-port.hero h2 {
    font-size:1.4rem;
    line-height:1.4rem;
    font-weight:600;
    color:#c7c7c7;
    /* margin:0 0 2rem; */
    text-shadow: 0px 0px 12px rgba(0, 0, 0, 0.30);
}
.kn-port.hero p {margin:2.2rem 0 2.8rem }
.kn-port.hero .profile-pic {text-align:center;}
.kn-port.hero .profile-pic img {border-radius:100%; border:6px solid #4D648D; max-width:200px;position:relative; bottom:-60px}
ul.meta-nav {list-style:none;margin:0; padding:0;}
ul.meta-nav li {display:inline-block;}
ul.meta-nav li a {
    color:#ffffff;
    display:block;
    font-size:1rem;
    border:1px solid #198754;
    border-radius:4px;
    padding:6px 12px;
    margin:0 6px 12px 0;
    text-decoration:none;
    transition: var(--transition-base);
}
ul.meta-nav li a:hover {background:#198754;}
.kn-port.aboutme {padding:6rem 0 0}
.kn-port.aboutme h2 {margin:0 0 1.6rem;}
.kn-port.aboutme p {margin:0 0 2rem;}
.kn-port.aboutme img {display:none;}
.kn-port.skills {padding:6rem 0 4rem }
.kn-port.skills h2 {margin:0 0 2rem; text-align:center;}
.kn-port.skills .skills-panel {
    background-color:#38486C;
    padding:30px 20px;
    margin:0 0 2rem;
    text-align:center;
    
}
.kn-port.skills .skills-panel h3 {font-size:1.3rem; margin:0 0 2rem;}
ul.meta-skills {list-style:none;margin:0; padding:0;}
ul.meta-skills li {
    display:inline-block;
    color:#ffffff;
    font-weight:500;
    font-size:0.9rem;
    border:1px solid #ffffff;
    border-radius:4px;
    padding:4px 10px;
    margin:0 4px 12px;
    text-decoration:none;
    transition: var(--transition-base);
}
ul.meta-skills li.gd0 {background-color:rgba(105,136,191,0);}
ul.meta-skills li.gd1 {background-color:rgba(105,136,191,0.25);}
ul.meta-skills li.gd2 {background-color:rgba(105,136,191,0.5);}
ul.meta-skills li.gd3 {background-color:rgba(105,136,191,0.75);}
ul.meta-skills li.gd4 {background-color:rgba(105,136,191,1);}

.kn-port.port {
    padding:8rem 0;
    background-size:cover;
    background-repeat:no-repeat;
    background-position: center center;
    background-attachment: fixed;
}
.kn-port.port {}
.simple-fade-carousel {
    position: relative;
    transition: height 0.25s ease-in-out;
}
.simple-fade-carousel > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; 
}

.simple-fade-carousel > *.is-active {
    opacity: 1;
    position: relative;
}

.kn-port.contact {
    padding:0 0 12rem;
}
@media (min-width: 991px) {
    .kn-port.hero {height:800px; padding:2rem 0;}
    .kn-port.hero h1 {font-size:4rem;}
    .kn-port.hero h2 {font-size:1.7rem;}
    .kn-port.hero .profile-pic img {max-width:248px;}
    .kn-port.skills .skills-panel {margin:0 4px 8px; height:100%}

    }
@media (min-width: 767px) {
    .kn-port.hero {padding:3rem 0;}
    .kn-port.hero .profile-pic img {bottom:auto;}
    .kn-port.aboutme img {display:block; width:100%; height:auto; max-width:500px;}
    .kn-port.aboutme {padding:8rem 0 0}
    .kn-port.skills {padding:8rem 0}
    .kn-port.skills h2 {margin:0 0 3rem;}
}

/*
 ==========================================================================
  Branding Strip
 ==========================================================================
*/
.branding-strip {
    padding:1.6rem 0; 
    background-color:#283655;
    color:#ffffff;
}
.branding-strip .tagline {
    text-align:left;
    margin:0.6rem 0 0 0;
}
@media (min-width: 991px) {
.branding-strip .tagline {
    text-align:right;
    margin:0;
}
}

/*
 ==========================================================================
  Centered Text
 ==========================================================================
*/
.centered-text {text-align:center;}
.centered-text h2 {
    font-size:2rem;
}
.centered-text .narrow {margin:0 auto; max-width:600px}
.centered-text .icon {
    display:block;
    margin:0 auto 1rem;
    max-width:90px;
}
.blue-bg .centered-text h1,
.blue-bg .centered-text h2,
.blue-bg .centered-text p {color:#ffffff;}
@media (min-width: 991px) {
    .centered-text h2 {
        font-size:2.5rem;
    }
    .centered-text p {
        font-size:1.4rem;
    }
}

/*
 ==========================================================================
  Services Section
 ==========================================================================
*/
.hp-srv-item {
	margin-bottom:2.5rem; 
	text-align:center;
}
.hp-srv-item a {text-decoration:none;}
.hp-srv-item h3 {
    text-align:center;
    margin-bottom:1.4rem;
    padding:0;
    text-decoration:none;
}
.hp-srv-item h3 span {
       display:none; 
}
.srv-icon {
    display:flex;
    justify-content:center;
    align-items:center;
    width:100px; height:100px;
    margin:0 auto 1rem;
    border-radius:10rem;
}
.srv-icon.website-management {background-color:#bdbdbd}
.srv-icon.graphic-design {background-color:#6988BF}
.srv-icon.web-development {background-color:#4D648D}
.srv-icon.marketing-strategy {background-color:#A7C957}

.hp-srv-item ul {
    margin:0 0 1rem; 
    display:none; 
    text-align:left; 
    /*border-top:1px solid #D9D9D9;*/
	background-color:#ffffff;
	font-size:1rem;
	border-radius:12px;
	padding:1.4rem 1rem;
	line-height:1.5rem;
	flex-grow:1;
}
.hp-srv-item li {
    list-style:none;
    padding:0; margin:0 0 0.7rem;
	position:relative;
}
.hp-srv-item li.checkbox {
	padding-left:1.4rem;
}
.hp-srv-item li.checkbox::before {
	content:'\f058';
	font-family:FontAwesome;
	color:#a7c957;
	position:absolute;
	left:0;
	top:0;
}
.hp-srv-item li strong {display:block; font-weight:600;}
.hp-srv-item li a {font-weight:700; text-decoration:underline;}
.hp-srv-item li a i {font-size:12px; margin-left:4px;}
.hp-srv-item .btn {display:inline-block; margin:0 auto;}

.fine-print p {padding:1rem 0 0; font-size:1rem;}

 

@media (min-width: 991px) {
    .hp-srv-item {
        margin:0 0.6rem;
		display:flex;
		flex-direction:column;
		height:100%;
    }
    .hp-srv-item h3 span {
       display:block; 
    }
    .hp-srv-item ul {display:block;}
    .hp-srv-item .btn {display:none;}
    .fine-print p {padding:1rem 10rem 0;}
}

/*
 ==========================================================================
  Offerings
 ==========================================================================
*/
#offerings .col-12 {padding-bottom:2rem;} 
.int-serv-item {
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.10);
    padding-bottom:1.6rem;
	height:100%;
}
.int-serv-item h3 {
    border-radius: 16px 16px 0px 0px;
    background: #4D648D;
    color:#ffffff;
    text-align:center;
    padding:16px;
    font-size:1.4rem;
    margin:0;
}
.int-serv-item h3 span {
    display:block; font-size:0.6rem;
}
.int-serv-item p,
.int-serv-item ul {
    margin-left:1.6rem; margin-right:1.6rem;
    padding:0;
}
.int-serv-item ul {
    margin-bottom:1rem;
}
.int-serv-item li {
    list-style: none;
    padding:0; 
	margin:0 0 0.7rem;
	line-height:1.7rem;
}
.int-serv-item li strong {display:block;}
.int-serv-item .pricing {
    text-align:center;
    font-size:1.2rem;
    margin-top:1rem;
    margin-bottom:1.2rem;
    padding-bottom:1rem;
    border-bottom:1px solid #D9D9D9;
}
.int-serv-item .pricing strong {font-weight:700; color:#4D648D;}
.int-serv-item .hours {text-align:center; margin-bottom:1.2rem;}
.int-serv-item li.checkbox {
	position:relative;
	padding-left:1.7rem;
}
.int-serv-item li.checkbox::before {
	content:'\f058';
	font-family:FontAwesome;
	color:#a7c957;
	position:absolute;
	left:0;
	top:0;
}
@media (min-width: 991px) {
.int-serv-item {
    margin:0 1rem;
}
}

/*
 ==========================================================================
  About (Wooden) Section
 ==========================================================================
*/

.hp-about {
    background-attachment: fixed; /* Fallback for simple parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* For positioning content inside */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius:0;
    color:#ffffff;
}
.hp-about .container {height:100%;}
.hp-about .row {
    height:100%;
    align-items:flex-end;
}
.hp-about h2 {font-size:2.5rem}
.hp-about p {font-weight:500;}
.hp-about a {color:#ffffff; text-decoration:underline;}
.hp-about-txt {padding:2rem 2rem 0;}
.hp-about-txt .panel {
    border-radius:12px;
    padding:1.4rem;
    background-color:rgba(0,0,0,0.6);
}
.hp-about-img {padding:2rem; text-align:center;}
.hp-about-img img {border-radius:12px; width:100%; height:auto;}

@media (min-width: 576px) {
    .hp-about-txt {padding:2rem;}
    .hp-about {border-radius:16px}
}
/*
 ==========================================================================
  About (long copy)
 ==========================================================================
*/
.long-copy img {display:none;}
.long-copy h1 {
    color:#4D648D;
    font-size:3em;
    font-weight:500;
}
.long-copy p, .long-copy ul li {
    font-size:1.1rem;
    font-weight:500;
}
.long-copy p.large {font-size:1.2rem;}
.long-copy ul {margin:0 0 1.4rem; padding:0 2rem;}
.long-copy ul li {margin:0 0 0.4rem;}

@media (min-width: 991px) {
    .long-copy h1 {font-size:3.6rem;}
    .long-copy p.large {font-size:1.4rem;}
    .long-copy img {
        display:block;
        width:100%;
        height:auto;
    }
}

/*
 ==========================================================================
  Panel Content
 ==========================================================================
*/
.panel-stack {width:100%;}
.panel-stack .panel {
    background-color:#ffffff;
    border-radius:16px;
    box-shadow: 1px 1px 30px 0px rgba(0, 0, 0, 0.10);
    padding:2rem;
    width:100%;
    display:block;
    margin:0 auto 3rem;
}
.panel-stack .panel p {margin:0 0 1rem;}
.panel-stack .panel ul {padding:0 1rem 0; margin:0;}
.panel-stack .challenges img {
    max-width:180px; 
    margin:0 auto 16px;
    width:100%; 
    height:auto;
}
.panel-stack .challenges .ln-item {
    padding:0 0 1.2rem;
    margin:0 0 1.2rem;
    border-bottom:1px solid #D9D9D9;
}
.panel-stack .challenges .ln-item.tbl-header {background-color:#F4F4F4}
.panel-stack .challenges h2 {margin:0 0 2rem;}
.panel-stack .challenges .ln-item:last-child {border-bottom:none;}
.panel-stack .challenges .row.reverse {flex-direction:column-reverse;}
@media (min-width: 767px) { 
    .panel-stack .panel {width:80%;}
    .panel-stack .panel.full {width:100%;}
    .panel-stack .challenges .row.reverse {flex-direction:row;}
    .panel-stack .challenges img {
        max-width:220px; width:100%; height:auto;
    }
}
/*
 ==========================================================================
  Contact button
 ==========================================================================
*/

.scroll-to-contact-btn {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 998;
    background-color: #6988BF;
    color: white;
    height:60px; width:60px;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration: none;
    font-size:1.4rem;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-radius:100px;
    /* Initially hidden */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.scroll-to-contact-btn:hover {
    color:#ffffff;
    background-color: #4D648D;
    text-decoration:none;
}
.scroll-to-contact-btn.is-visible {
    opacity: 1;
    visibility: visible;
}

/*
 ==========================================================================
 Testimonial
 ==========================================================================
*/
#testimonials.reverse {
	color:#ffffff; 
	padding:8rem 0;
}
#testimonials.reverse.bluebg {padding:0;}
#testimonials .panel {
	background-color:#ffffff;
	border-radius:16px;
    box-shadow: 1px 1px 30px 0px rgba(0, 0, 0, 0.10);
    padding:2rem;
    width:100%;
    display:block;
    margin:0 auto 3rem;
}
#testimonials h3 {
    text-align:center;
    font-size:1.5rem;
    letter-spacing:4px;
}
#testimonials .hr-1 {
    display:block;
    margin:30px auto 30px;
    background-color:#4D648D;
	opacity:0.4;
    height:2px;
    width:100px;
}
.testimonial-carousel-container {
    position: relative;
    width: 100%;
    text-align:center;
}
.testimonial-carousel {
    position: relative;
    overflow: hidden; /* This clips the overflowing slides */
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    /* Height is set by JS to prevent collapse */
}
.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 1; /* Default layer */
    transition: none !important;
}
.testimonial-slide.is-active {
    z-index: 2; /* Active slide is on top */
}
.testimonial-slide blockquote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5;
    color: #343a40;
    margin: 0 0 1rem 0;
    border: none;
    padding: 0;
}
#testimonials.reverse .testimonial-slide blockquote {color: #ffffff;}
.testimonial-slide cite {
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    font-style: normal;
}
#testimonials.reverse .testimonial-slide cite {color:#B6C7C7;}
.testimonial-slide cite::before {
    content: "- ";
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(77, 100, 141, 0);
    color: #4D648D;
    border: 2px solid #4D648D;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1rem; /* Adjusted for icon */
    cursor: pointer;
    transition: background-color 0.2s ease;
    z-index: 10;
    display:flex;
    align-items:center;
    justify-content:center;
}
#testimonials.reverse .carousel-btn {
    color:rgba(99,136,191,1);
    border-color:rgba(99,136,191,1);
}
.carousel-btn:hover {
    background-color: #4D648D;
    border-color:#ffffff;
    color:#ffffff;
}
#testimonials.reverse .carousel-btn:hover {
    color:#ffffff;
    background-color:rgba(99,136,191,1);
}
.carousel-btn.prev {
    left: 20px;
}
.carousel-btn.next {
    right: 20px;
}
@media (max-width: 991px) {
   #testimonials .hr-1 {margin:20px auto 10px;}
    .carousel-btn {
    position:relative;
    top:100%;
    bottom:0;
    display:inline-block;
    margin:40px 6px 0;
    text-align:center;
   }
    .carousel-btn.prev { left:0; }
    .carousel-btn.next { right:0; }
}
@media (max-width: 600px) {
	#testimonials.reverse {color:#ffffff; padding:6rem 0 4rem;}
    .testimonial-slide blockquote { font-size: 1.2rem; }
}
/*
 ==========================================================================
 Forms
 ==========================================================================
*/
#footer-form {
    background-color:#F4F4F4
}
#footer-form.blue {
    background-color:#4D648D;
    color:#ffffff;
}
#footer-form.dkblue {
    background-color:#38486C;
    color:#ffffff;
    padding-top:4rem;
}
@media (min-width: 767px) {
    #footer-form.dkblue {padding-top:8rem;}
}
.hs-error-msgs label {color: #FF0000 !important;}

/*
==========================================================================
 Blog
==========================================================================
*/
.entry-content.blog-post {
	max-width:900px;
	margin:0 auto;
}
.beautiful-box {
	padding:2.6rem 2.4rem;
}
.beautiful-list {margin:0;}
.beautiful-list li {margin:0 0 1.8rem 0;}
.beautiful-list li:last-child {margin-bottom:0;}
.no-bullet {list-style-type: none;}
ol.beautiful-list {
	list-style: none;
    counter-reset: my-counter;
    padding: 0;
    margin: 0;
}
ol.beautiful-list li, .beautiful-item {
	counter-increment: my-counter;
	position: relative;
	padding-left: 2.8rem;
	min-height: 32px;
	display: flex;
	flex-direction:column;
}
ol.beautiful-list li::before, .beautiful-item::before {
	content: counter(my-counter); /* Display the current count */
	position: absolute;
	left: 0;
	width: 32px;
	height: 32px;
	background-color: #4B648D;
	color: #fff;
	border-radius: 50%;
	font-size: 1.2rem;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family:Arial,sans-serif;
}

.beautiful-item.one::before   { content: '1'; }
.beautiful-item.two::before   { content: '2'; }
.beautiful-item.three::before { content: '3'; }
.beautiful-item.four::before  { content: '4'; }
.beautiful-item.five::before  { content: '5'; }

.float-right, .float-left {float:none; width:100%; height:auto; margin:0 0 1rem;}
.float-right img, .float-left img {width:100%; height:auto;}
ul.wp-block-post-template {margin:0;}
.addtoany_shortcode {margin-top:0.6rem;}
.white-list-items li {background-color:#ffffff;border-radius:12px;}
@media (min-width: 767px) {
.float-right {float:right; margin:0 0 1rem 1rem; width:auto;}
.float-left {float:left; margin:0 1rem 1rem 0; width:auto;}
	
}


/*
 ==========================================================================
 Footer
 ==========================================================================
*/
#main-footer {
    padding:3rem 1rem;
    color:#A2B5BB;
    background-color:#283655;
}
#main-footer a {color:#A2B5BB;}
#main-footer a:hover {color:#ffffff;}
.mf-left img {
    display:block;
    margin:0 0 1rem;
    width:100%;
    max-width:240px;
    height:auto;
}
.mf-left p {
    font-size:1rem;
    margin:0 0 0.2rem;
    font-weight:600;
}
.mf-left span {display:none;}
.mf-left a {display:block;}
.mf-right {
    text-align:left;
    padding-top:1.6rem
}
.mf-right ul {list-style:none; margin:0; padding:0;}
.mf-right li {margin:0 16px 0 0; padding:0; display:inline-block;}
.mf-right li a {
    display:flex;
    justify-content:center;
    align-items:center;
    background-color:#4B648D;
    width:54px; height:54px;
    border-radius:100px;
    text-decoration:none;
}
.mf-right li a:hover {background-color:#6988BF;}
.mf-right li a i {font-size:1.6rem; color:#ffffff;}

@media (min-width: 767px) {
    #main-footer {padding:4rem 2rem;}
    .mf-left span {display:inline;}
    .mf-left a {display:inline;}
    .mf-right {
        text-align:right;
        padding-top:0;
    }
   .mf-right li {margin:0 0 0 16px;}
   .mf-left img {max-width:240px;}

}

/* --- Carousel Styles --- */
.thumbnail-carousel-container {
	position: relative;
	width: 100%;
	margin: 0 auto;
	padding:0 1rem;
	max-width: 1000px;
}

.thumbnail-carousel-window {
	overflow: hidden; /* This is the magic part that clips the track */
	width: 100%;
}

.thumbnail-carousel-track {
	display: flex;
	transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1); /* Smooth sliding effect */
}

.thumbnail-slide {
	flex: 0 0 100%; /* Mobile: 1 slide visible */
	padding: 0;
	box-sizing: border-box;
	cursor: pointer;
}

.thumbnail-slide img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	border:1px solid #D9D9D9;
	transition: transform 0.3s ease;
}

/*.thumbnail-slide:hover img {
	transform: scale(1.05);
}*/

/* Responsive Breakpoints for Visible Slides */
@media (min-width: 768px) { /* Tablet */
	.thumbnail-slide {
		flex: 0 0 33.333%; /* 3 slides visible */
		padding: 0 16px;
	}
}
@media (min-width: 1360px) { /* Desktop */
	.thumbnail-carousel-container {padding:0; max-width: 1220px;}
	.thumbnail-slide {
		flex: 0 0 25%; /* 4 slides visible */
	}
}


/* Carousel Navigation */
.carousel-btn.thumbs {display:none;}
.carousel-btn.thumbs.prev {left:-60px;}
.carousel-btn.thumbs.next {right:-60px;}
.carousel-dots {
	text-align: center;
	padding-top: 1.5rem;
}
.carousel-dot {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 0 5px;
	background-color: #ccc;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
.carousel-dot.is-active {
	background-color: #333;
}
@media (min-width: 992px) {
	.carousel-btn.thumbs {top:42%; display:inline;}
	.carousel-btn.thumbs.prev {left:-36px;}
	.carousel-btn.thumbs.next {right:-36px;}
}
@media (min-width: 1360px) {
	.carousel-btn.thumbs.prev {left:-60px;}
	.carousel-btn.thumbs.next {right:-60px;}
}

/* --- Lightbox Styles --- */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	display: none; /* Hidden by default */
	justify-content: center;
	align-items: center;
	z-index: 1000;
	padding: 20px;
	box-sizing: border-box;
}
.lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 90%;
}
.lightbox-content img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	border-radius: 12px;
}
.lightbox-close {
	position: absolute;
	top: -32px;
	right: -0px;
	font-size: 4rem;
	color: white;
	cursor: pointer;
	background: none;
	border: none;
}

/*
==========================================================================
 HubSpot Form Loader Styles
==========================================================================
*/

.form-loader-container {
    position: relative;
    /* IMPORTANT: Adjust this height! 
     This should be the approximate height of your fully loaded form.
     You can find this by inspecting the form with your browser's dev tools.
    */
    min-height: 450px; 
    background-color: #f8f9fa; /* A light background color */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

/* When the HubSpot iframe loads, it will be the only direct child.
 This rule will then make the container's background transparent.
*/
.form-loader-container:has(iframe) {
    background-color: transparent;
    /* THE FIX: Revert to a standard block container so it doesn't interfere
       with the form's internal layout. */
    display: block;
}

/* Hides the loading spinner once the iframe is loaded.
*/
.form-loader-container:has(iframe)::before {
    display: none;
}


/* Pure CSS Loading Spinner */
.form-loader-container::before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #4D648D; /* Use your primary color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/*
==========================================================================
 Typing Container
==========================================================================
*/
.typing-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    }

    .typing-container h2 {
        padding-right: 0.2rem; /* Space for the cursor */
        margin:0;
    }
    .typing-cursor {
        width: 1px;
        height: 1.7rem; /* Match the h2 line-height */
        background-color: #ffffff;
        animation: blink 0.9s infinite;
    }

    /* Blinking animation */
    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0; }
    }
    @media (max-width: 768px) {
        .typing-container h2 {
            font-size: 2rem;
        }
        .typing-cursor {
            height: 2.2rem;
        }
    }
    @media (max-width: 480px) {
        .typing-container h2 {
            font-size: 1.5rem;
        }
        .typing-cursor {
            height: 1.7rem;
        }
    }