:root {
    /* Main color palette */
    --joshee-primary: #014844;
    --joshee-primary-light: #008577;
    --joshee-primary-dark: #267C42;
    --joshee-secondary: #455a64;
    --joshee-light: #f5f5f5;
    --joshee-dark: #263238;
    --joshee-text: #333333;
    --joshee-text-light: #757575;
    --joshee-white: #ffffff;
    --joshee-black: #000000;
    --joshee-danger: #f44336;
    --joshee-success: #4caf50;
    --joshee-warning: #ff9800;
    --joshee-info: #2196f3;

    /* Layout variables */
    --header-height: 70px;
    --footer-height: 120px;
    --section-padding: 80px 0;
    --container-padding: 2rem;

    /* Typography */
    --font-primary: 'Montserrat', sans-serif, ExtraLight 200;
    --font-secondary: 'Montserrat', sans-serif;
    --font-heading: 'Montserrat', sans-serif, Black 900;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1450px) {
  .container {
    max-width: 1400px;
  }
}

@media (min-width: 992px) {
    .app-screen img {
        max-width: 120%; /* Slightly enlarge for better overlap effect */
    }
}

/*
@font-face {
	font-family: "Roboto";
	src: url("../fonts/Roboto-VariableFont_wdth,wght.ttf") format('truetype');  
	font-display: swap;
}

@font-face {
	font-family: "Roboto";
	src: url("../fonts/Roboto-Italic-VariableFont_wdth,wght.ttf") format('truetype');
	font-style: italic;
	font-display: swap;
}
*/

/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--joshee-text);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--joshee-white);
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--joshee-dark);
}

.btn-outline-light:hover {
  color: #fff;
  background-color: transparent;
  border-color: var(--joshee-primary-light);
}

.btn-light {
  color: ar(--joshee-primary);
  background-color: #fff;
}

.btn-light:hover {
  color: #fff;
  background-color: var(--joshee-primary-light);
  border-color:transparent;
}
.side {
	text-align: left;
}

.nav-scrollbar .nav, .nav-scrollbar .navbar-nav {
  justify-content: center;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--joshee-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--joshee-primary-dark);
    text-decoration: none;
}

/* Container with more breathing room */
.container-fluid {
    padding: 0 var(--container-padding);
}

/* Section styling */
.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title_hero {
    text-align: left;
}

.section-title h2 {
    font-size: 3.5rem;
    font-weight: 800 !important;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background-color: var(--joshee-primary);
}

.section-title h2 {
    display: inline-block;
}

/* Header/Navbar */
.navbar {
    background-color: var(--joshee-white);
    padding: 15px 0;
    transition: all var(--transition-normal);
}

.navbar-brand img {
    height: 40px;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-nav .nav-link {
    color: var(--joshee-text);
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
    transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--joshee-primary);
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--joshee-primary);
    transition: width var(--transition-normal);
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    width: 70%;
}

/* Buttons */

.btn-secondary {
  color: #f5f7fa;
  background-color: #014844;
  border-color:#014844;
}

.btn-secondary:hover{
	background-color: #3fa857;
    border-color:#3fa857;
}

.btn {
    border-radius: 4px;
    padding: 12px 28px;
    font-weight: 500;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-small);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--joshee-primary);
    border-color: var(--joshee-primary);
	color: #fff;
}

.btn-primary:hover, 
.btn-primary:focus {
    background-color: var(--joshee-primary-light);
    border-color: var(--joshee-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
	color: #fff;
}

.btn-outline-primary {
    color: var(--joshee-primary);
    border-color: var(--joshee-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--joshee-white);
    border-color: var(--joshee-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
	color: var(--joshee-primary-light);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Dynamic Heading Animation */
.dynamic-words {
    height: 80px;
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    margin-left: 0px;
}

.dynamic-word {
    display: block;
    height: 100%;
    color: var(--joshee-primary-light);
    position: relative;
    animation: cycle-words 25s cubic-bezier(.68,-0.05,.265,1.55) infinite;
}

@keyframes cycle-words {
    0%, 12.5% { transform: translateY(0); }
    14.28%, 26.78% { transform: translateY(-100%); }
    28.57%, 41.07% { transform: translateY(-200%); }
    42.85%, 55.35% { transform: translateY(-300%); }
    57.14%, 69.64% { transform: translateY(-400%); }
    71.42%, 83.92% { transform: translateY(-500%); }
    85.71%, 98.21% { transform: translateY(-600%); }
    100% { transform: translateY(-700%); }
}

/* Hero Section */
#hero {
    padding: 150px 0 100px;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95));
    background-size: cover;
    position: relative;
    overflow: hidden;
}

section#hero .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700 !important;
    margin-bottom: 25px;
    color: var(--joshee-dark);
    letter-spacing: 0.02em;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    text-transform: initial;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--joshee-text-light);
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
}


/* Features Section */
.feature-box {
    padding: 30px;
    border-radius: 10px;
    background-color: var(--joshee-white);
    box-shadow: var(--shadow-small);
    transition: all var(--transition-normal);
    margin-bottom: 30px;
    border-bottom: 3px solid transparent;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-bottom: 3px solid var(--joshee-primary-light);
}

.feature-icon {
    margin: 10px;
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    font-size: 30px;
    color: var(--joshee-primary);
    background-color: rgba(0, 133, 119, 0.1);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.card-linehight {
	line-height: 1.8;
}

.feature-box:hover .feature-icon {
    background-color: var(--joshee-primary-light);
    color: var(--joshee-white);
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
}

/* App Showcase Section 
.app-showcase {
    background-color: rgba(0, 133, 119, 0.05);
    padding: 100px 0;
}
*/

.app-screen {
    position: relative;
    max-width: 100%;
    transition: transform var(--transition-normal);
}
/* 
.app-screen:hover {
    transform: scale(1.05);
}
*/

/* Testimonials */
.testimonial-item {
    padding: 30px;
    margin: 20px 15px;
    border-radius: 10px;
    background-color: var(--joshee-white);
    box-shadow: var(--shadow-small);
    transition: all var(--transition-normal);
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-author-name {
    font-weight: 600;
    margin-bottom: 0;
}

.testimonial-author-position {
    color: var(--joshee-text-light);
    font-size: 0.85rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-color: var(--joshee-primary);
    color: var(--joshee-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--joshee-white);
    margin-bottom: 30px;
}

.cta-section p {
    margin-bottom: 40px;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Form */
.contact-info-box {
    background-color: var(--joshee-white);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-small);
    transition: all var(--transition-normal);
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 133, 119, 0.1);
    color: var(--joshee-primary);
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-form {
    background-color: var(--joshee-white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow-medium);
}

.form-control {
    height: 50px;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #e1e1e1;
    transition: all var(--transition-normal);
}

.form-control:focus {
    border-color: var(--joshee-primary);
    box-shadow: none;
}

textarea.form-control {
    height: 150px;
    padding: 15px 20px;
}

/* Footer */
.footer {
    background-color: var(--joshee-dark);
    color: var(--joshee-white);
    padding: 80px 0 20px;
}

.footer-logo {
    margin-bottom: 50px;
}

.footer-about {
    margin-bottom: 25px;
}

.footer-menu h5 {
    color: var(--joshee-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-menu h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--joshee-primary);
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu ul li {
    margin-bottom: 12px;
}

.footer-menu ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-menu ul li a:hover {
    color: var(--joshee-primary);
    padding-left: 5px;
}

.social-links {
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--joshee-white);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background-color: var(--joshee-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Shop Section */
.product-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-small);
    margin-bottom: 30px;
    transition: all var(--transition-normal);
    background-color: var(--joshee-white);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--joshee-primary);
    margin-bottom: 15px;
}

.product-category {
    font-size: 14px;
    color: var(--joshee-text-light);
    margin-bottom: 15px;
}

/* Blog Section */
.page-header {
    padding: 6rem 0 3rem;
    background: linear-gradient(rgba(240, 240, 240, 0.9), rgba(240, 240, 240, 0.9)), url('/static/img/pattern.svg');
    background-size: cover;
    margin-bottom: 2rem;
}

.blog-card {
    transition: all var(--transition-normal);
    border: 1px solid #eee;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

.blog-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--joshee-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .navbar-collapse {
        background-color: var(--joshee-white);
        padding: 20px;
        border-radius: 10px;
        box-shadow: var(--shadow-medium);
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 50px 0;
    }

    section#hero .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
    }

    #hero {
        padding: 100px 0 80px;
    }

    .feature-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
    }
}