﻿
/* Generic */

:root {
    --kh-primary-colour: #008000;
    --kh-secondary-colour: #82C736;
    --kh-text-colour: #3C3C37;
    --kh-yellow: #FFD56D;
    --kh-pink: #FD8681;
    --kh-sage: #E2ECE3;
    --kh-clay: #9D9C93;
    --bg-circle-colour: #D1EBB5;
    --primary-highlight-colour: var(--kh-primary-colour);
    --primary-text-colour: var(--kh-text-colour);
    --secondary-highlight-colour: #ADC64F;
    --secondary-text-colour: #FFFFFF;
    --kingshay-green: #5CAD80;
    --hero-gradient-start: #E8F4F8;
    --hero-gradient-end: #D1E7DD;
    --cta-red: var(--kh-pink);
    --packages-gradient-start: #FFF8E7;
    --packages-gradient-end: #F0F8F0;
    --premium-blue: #4A90B8;
    --about-bg: #FFFEF8;
}

/* Shared Styles */

/* Common button styles */
.btn-feature,
.btn-packages-cta,
.btn-about,
.btn-about-kingshay {
    background-color: var(--kh-primary-colour);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-feature:hover,
.btn-packages-cta:hover,
.btn-about:hover,
.btn-about-kingshay:hover {
    background-color: #006600;
    color: white;
    text-decoration: none;
}

/* Section titles */
.features-title,
.packages-title,
.about-title,
.testimonials-title,
.about-kingshay-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--kh-primary-colour);
    margin-bottom: 0.5rem;
}

@media (max-width: 991px) {
    .features-title,
    .packages-title,
    .about-title,
    .testimonials-title,
    .about-kingshay-title {
        font-size: 2rem;
    }
}

/* Background decorative circles */
.decorative-bg {
    position: relative;
    overflow: hidden;
}

.decorative-bg .container {
    position: relative;
    z-index: 2;
}

.decorative-bg::before,
.decorative-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.decorative-bg.yellow-green::before {
    top: 20%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 213, 109, 0.4) 0%, transparent 70%);
}

.decorative-bg.yellow-green::after {
    bottom: 5%;
    right: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(226, 236, 227, 0.6) 0%, transparent 70%);
}

.decorative-bg.yellow-green-alt::before {
    top: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 213, 109, 0.15) 0%, transparent 70%);
}

.decorative-bg.yellow-green-alt::after {
    bottom: 5%;
    right: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(226, 236, 227, 0.2) 0%, transparent 70%);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
    padding-top: 0;
}

/* Navigation */
.navbar {
    background: transparent;
    padding: 1rem 0;
}

.brand-logo {
    height: 70px;
    width: auto;
}

.brand-text {
    font-size: 2rem;
    font-weight: 600;
    color: var(--kingshay-green);
    letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
    color: #2C3E50;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    color: var(--kingshay-green);
}

.signin-btn {
    background-color: var(--kingshay-green);
    border: none;
    border-radius: 25px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    color: white;
}

.signin-btn:hover {
    background-color: #4a9970;
    color: white;
}

    .signin-btn:active {
        background-color: #E2ECE3 !important;
        border-color: #E2ECE3 !important;
        color: black !important;
    }

.signup-btn {
    border: 1px solid #6c757d;
    border-radius: 25px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    color: #6c757d;
}

.signup-btn:hover {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}


/* Hero Content */
.hero-content {
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.hero-text-col {
    z-index: 2;
    position: relative;
    padding-right: 0;
}

@media (min-width: 992px) {
    .hero-text-col {
        margin-right: 0;
        padding-right: 15px;
    }
}

.hero-image-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 100%;
}

@media (min-width: 992px) {
    .hero-image-container {
        transform: perspective(1000px) rotateY(-3deg);
        transform-origin: center center;
    }
}

.hero-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom left;
    transition: opacity 1.2s ease-in-out;
    opacity: 0;
}

.hero-image.active {
    opacity: 1;
}

.hero-text-container {
    position: relative;
}

.hero-text-container:first-child {
    min-height: 12.6rem; /* 3.5rem × 3 lines × 1.2 line-height = 12.6rem for 3 lines */
    margin-bottom: 1.5rem;
}

.hero-text-container:nth-child(2) {
    min-height: 6rem; /* 1.25rem × 3 lines × 1.6 line-height = 6rem for 3 lines */
    margin-bottom: 2.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2C3E50;
    line-height: 1.2;
    margin-bottom: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transition: opacity 1.2s ease-in-out;
    opacity: 0;
}

.hero-title.active {
    opacity: 1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #5A6C7D;
    line-height: 1.6;
    margin-bottom: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 1.2s ease-in-out;
    opacity: 0;
}

.hero-subtitle.active {
    opacity: 1;
}

.btn-cta {
    background-color: var(--cta-red);
    border: none;
    border-radius: 15px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-align: center;
    line-height: 1.3;
}

.btn-cta:hover {
    background-color: #c0392b;
    color: white;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        text-align: center;
        padding-top: 2rem;
    }
    
    .hero-text-col {
        margin-right: 0;
        padding-right: 15px;
        margin-bottom: 2rem;
    }
    
    .hero-image-container {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-image-container {
        min-height: 250px;
    }
}

/* Features Section */
.features-section {
    padding: 3.5rem 0;
    background-color: #ffffff;
}


.feature-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--kh-primary-colour);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-description {
    color: var(--kh-text-colour);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-feature {
    align-self: flex-start;
}

/* Responsive adjustments for features */
@media (max-width: 767px) {
    .features-section {
        padding: 4rem 0;
    }
    
    
    .feature-content {
        padding: 1.5rem;
    }
}

/* Packages Section */
.packages-section {
    background: linear-gradient(135deg, var(--packages-gradient-start) 0%, var(--packages-gradient-end) 100%);
    padding: 3.5rem 0;
}


.package-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.package-header {
    padding: 1.5rem;
    text-align: center;
    color: white;
    font-weight: 700;
}

.package-header h3 {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.package-main {
    background: white;
    padding: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-main h4 {
    color: var(--kh-text-colour);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.package-features {
    padding: 2rem 1.5rem;
    color: white;
    flex-grow: 1;
}

.package-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.2rem;
}

.package-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Package Color Schemes */
.package-starter .package-header,
.package-starter .package-features {
    background: linear-gradient(180deg, var(--kh-primary-colour) 0%, #006600 100%);
}

.package-regular .package-header,
.package-regular .package-features {
    background: linear-gradient(180deg, var(--kh-secondary-colour) 0%, #6B9E2D 100%);
}

.package-premium .package-header,
.package-premium .package-features {
    background: linear-gradient(180deg, var(--premium-blue) 0%, #3A729A 100%);
}

.package-premium-plus .package-header,
.package-premium-plus .package-features {
    background: linear-gradient(180deg, var(--kh-clay) 0%, #7A7871 100%);
}

/* Packages Contact Section */
.packages-contact {
    margin-top: 0rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-text {
    font-size: 1.1rem;
    color: var(--kh-text-colour);
    margin-bottom: 1rem;
}

.contact-link {
    color: inherit;
    text-decoration: none;
}

.contact-link:hover {
    color: var(--kh-primary-colour);
    text-decoration: underline;
}

.signup-text {
    font-size: 1.2rem;
    color: var(--kh-text-colour);
    margin: 0;
}

.btn-packages-cta {
    margin-left: 0.5rem;
}

/* Responsive adjustments for packages */
@media (max-width: 991px) {
    .packages-section {
        padding: 4rem 0;
    }
    
    
    .package-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .package-header,
    .package-main,
    .package-features {
        padding: 1rem;
    }
    
    .packages-contact {
        padding: 1.5rem;
    }
    
    .contact-text,
    .signup-text {
        font-size: 1rem;
    }
}

/* About Section */
.about-section {
    background-color: var(--about-bg);
    padding: 3.5rem 0;
}


.about-content {
    padding-right: 2rem;
}

.about-content p {
    color: var(--kh-text-colour);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.about-subtitle {
    color: var(--kh-text-colour);
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.btn-about {
    margin-top: 1rem;
}

/* About Icons */
.about-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.icon-button {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--kh-primary-colour) 0%, #006600 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 128, 0, 0.2);
}

.icon-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 128, 0, 0.3);
    color: white;
    text-decoration: none;
}

.icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.icon-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.icon-title {
    font-size: 1rem;
    font-weight: 600;
}

.icon-subtitle {
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive adjustments for about */
@media (max-width: 991px) {
    .about-section {
        padding: 4rem 0;
    }
    
    
    .about-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .about-icons {
        gap: 0.75rem;
    }
    
    .icon-button {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 576px) {
    .about-content p {
        font-size: 0.95rem;
    }
    
    .about-subtitle {
        font-size: 1.2rem;
    }
    
    .icon {
        width: 35px;
        height: 35px;
        margin-right: 0.75rem;
    }
    
    .icon-title,
    .icon-subtitle {
        font-size: 0.9rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, var(--packages-gradient-end) 0%, var(--packages-gradient-start) 100%);
    padding: 3.5rem 0;
}


.testimonials-container {
    position: relative;
    height: 245px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 3rem;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s ease-in-out;
    text-align: center;
    padding: 2rem;
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial.exit {
    opacity: 0;
    transform: translateX(-120%);
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--kh-text-colour);
    margin: 0 0 1.5rem 0;
    position: relative;
}

.testimonial-quote::before {
    content: "\201C";
    font-size: 3rem;
    color: var(--kh-primary-colour);
    position: absolute;
    top: -1rem;
    left: -2rem;
    font-family: Georgia, serif;
}

.testimonial-quote::after {
    content: "\201D";
    font-size: 3rem;
    color: var(--kh-primary-colour);
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: block;
    text-align: right;
    font-size: 1rem;
    color: var(--kh-primary-colour);
    font-weight: 600;
    font-style: normal;
}

/* Responsive adjustments for testimonials */
@media (max-width: 991px) {
    .testimonials-section {
        padding: 4rem 0;
    }
    
    
    .testimonials-container {
        height: 250px;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .testimonials-container {
        height: 280px;
    }
    
    .testimonial {
        padding: 1rem;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
    
    .testimonial-quote::before,
    .testimonial-quote::after {
        font-size: 2rem;
    }
    
    .testimonial-quote::before {
        top: -0.5rem;
        left: -1rem;
    }
    
    .testimonial-quote::after {
        bottom: -1.5rem;
        right: -1rem;
    }
}

/* About Kingshay Section */
.about-kingshay-section {
    background-color: var(--about-bg);
    padding: 3.5rem 0;
}

.about-kingshay-image {
    margin-bottom: 2rem;
}

.about-kingshay-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 85%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.about-kingshay-content {
    padding-left: 2rem;
}

.about-kingshay-content p {
    color: var(--kh-text-colour);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-about-kingshay {
    display: block;
    float: right;
}

/* Responsive adjustments for About Kingshay */
@media (max-width: 991px) {
    .about-kingshay-section {
        padding: 4rem 0;
    }
    
    .about-kingshay-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .about-kingshay-image {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .about-kingshay-content p {
        font-size: 1rem;
    }
}

/* Company Logos Section */
.company-logos-section {
    background: linear-gradient(135deg, var(--packages-gradient-start) 0%, var(--packages-gradient-end) 100%);
    padding: 3.5rem 0;
    overflow-x: hidden;
}

.company-logos-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--kh-primary-colour);
    margin-bottom: 0.5rem;
}

.marquee-container {
    height: 160px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    animation: scroll-left 70s linear infinite;
    gap: 3rem;
    height: 100%;
}

.company-logo-container {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo-container:hover {
    transform: scale(1.05);
}

.company-logo {
    max-height: 80px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    overflow: hidden;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments for company logos */
@media (max-width: 991px) {
    .company-logos-section {
        padding: 3rem 0;
    }
    
    .company-logos-title {
        font-size: 1.75rem;
    }
    
    .marquee-container {
        height: 130px;
    }
    
    .company-logo-container {
        padding: 0.75rem;
    }
    
    .company-logo {
        max-height: 60px;
        max-width: 150px;
    }
    
    .marquee-content {
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .company-logos-title {
        font-size: 1.5rem;
    }
    
    .marquee-container {
        height: 110px;
    }
    
    .company-logo-container {
        padding: 0.5rem;
    }
    
    .company-logo {
        max-height: 50px;
        max-width: 120px;
    }
    
    .marquee-content {
        gap: 1.5rem;
    }
}

/* Footer Section */
.footer-section {
    background: linear-gradient(180deg, #339933 0%, var(--kh-primary-colour) 100%);
    color: white;
    padding: 1.5rem 0 1.5rem;
}

.footer-logo {
    max-height: 80px;
    width: auto;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-subheading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

.footer-link {
    color: white;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--kh-yellow);
    text-decoration: underline;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-brand > div:first-child {
    flex-shrink: 0;
}

.footer-legal {
    margin-top: auto;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-contact p,
.location-details p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact i {
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.location-details {
    margin-top: auto;
}

.footer-customer {
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-connect {
    margin-top: auto;
    text-align: center;
}

.social-icons {
    justify-content: center;
}

.btn-login {
    background-color: var(--kh-yellow);
    color: var(--kh-text-colour);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.btn-login:hover {
    background-color: #E6C055;
    color: var(--kh-text-colour);
    text-decoration: none;
    transform: translateY(-2px);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive adjustments for footer */
@media (max-width: 991px) {
    .footer-section {
        padding: 3rem 0 2rem;
    }
    
    .footer-logo {
        max-height: 50px;
    }
}

@media (max-width: 767px) {
    .footer-section {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}
