/*
Theme Name: Steen Media
Theme URI: https://steenmedia.dk/
Author: Steen Media
Author URI: https://steenmedia.dk/
Description: A custom single-page theme built with Bootstrap.
Version: 1.0
*/

@import "assets/css/fonts.css";

body{
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #212529;
    overflow-x: hidden ;
}

/* Define CSS Variables */
:root {
    --primary-color: #0A0A23;
    --light-blue: #1E90FF;
    --white: #FFFFFF;
    --light-gray: #EAEAEA;

    --bs-primary: var(--primary-color);
    --bs-primary-rgb: 10, 10, 35;
    --bs-primary-bg: var(--primary-color);
    --bs-primary-border: var(--primary-color);
    --bs-primary-hover-bg: rgba(var(--bs-primary-rgb), 0.85);
    --bs-primary-hover-border: rgba(var(--bs-primary-rgb), 0.85);
    --bs-primary-active-bg: rgba(var(--bs-primary-rgb), 0.75);
    --bs-primary-active-border: rgba(var(--bs-primary-rgb), 0.75);
}

/* Override Bootstrap Primary Styles */
.btn-primary,
.bg-primary,
.text-primary,
.border-primary {
    background-color: var(--primary-color) !important;
    color: var(--white) !important; /* Ensure white text on primary background */
    border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.bg-primary:hover,
.text-primary:hover,
.border-primary:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.85) !important;
    border-color: rgba(var(--bs-primary-rgb), 0.85) !important;
}

.btn-primary:active,
.bg-primary:active,
.text-primary:active,
.border-primary:active {
    background-color: rgba(var(--bs-primary-rgb), 0.75) !important;
    border-color: rgba(var(--bs-primary-rgb), 0.75) !important;
}

/* Additional Styling for Components */
.navbar.bg-primary {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.card.border-primary {
    border-color: var(--primary-color) !important;
}

.alert-primary {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    border-color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

.bg-light-blue {
    background-color: var(--light-blue) !important;
}

.bg-light-blue-2 {
    background-color: #EAEAEA !important;
}

.section-padding {
    padding: 2rem 5%;
	margin-right: auto;
	margin-left: auto;
	max-width: 1680px;
}

#section-1 {
    transition: all 1s ease-in-out, transform 3s ease-in-out;
    transform: translateX(100%);
    position: relative;
    border-top: none;
    border-bottom: none;
    background-color: var(--light-gray);
    scale: 1.1;
}

#section-1 .container, #section-1 .row {
    position: static;
}

.hero-right-img {
    max-height: 25vh;
    display: block;
}

.duck-img {
    position: absolute;
    width: 150px;
}

#section-1 #duck-section-1 {
    left: -150px;
    top: 50%;
    bottom: 50%;
    transform: translateY(-50%) scaleX(-1);
}

@keyframes duckJump1 {
    0%, 100% {
        transform: translateY(-50%) scaleX(-1);
    }
    50% {
        transform: translateY(calc(-50% - 20px)) scaleX(-1);
    }
}

#section-1 #duck-section-1 {
    animation: duckJump1 900ms infinite ease-in-out;
}

.home-heading-1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.home-heading-2, .home-heading-3, .home-heading-3-no-anim {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
}

#section-2 {
    transition: all 1s ease-in-out, transform 4s ease-in-out;
    transform: translateX(-100%);
    position: relative;
    border-top: none;
    border-bottom: none;
}


#section-2 .container, #section-2 .row {
    position: static;
}

#section-2 #duck-section-2 {
    right: 0;
    top: 50%;
    bottom: 50%;
    transform: translateY(-50%);
    transition: all 2s ease-in-out, transform 200s ease-in-out;
}

@keyframes duckJump2 {
    0%, 100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(calc(-50% - 20px));
    }
}

#section-2 #duck-section-2 {
    animation: duckJump2 900ms infinite ease-in-out;
}

.section-2-image{
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.max-width-600{
    max-width: 600px;
}

.section-3-image:not(.no-animation){
    visibility: hidden;
    transition: all 1s ease-in-out;
}

.section-3-image img{
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.section-3-image.visible{
    visibility: visible;
}

.g-2.5{
	--bs-gutter-y: 12px;
	--bs-gutter-x: 12px;
}

#duck-section-3{
    position: absolute;
    transform: scaleX(-1);
    z-index: -1;
}


/* ------------------ CTA Box Start ------------------ */
.cta-box {
  	background-color: #f5f5f7;
  	border-radius: 30px;
  	padding: 32px;
	margin: auto;
  	text-align: left;
	display: flex;
	flex-flow: column;
	gap: 30px;
}

.cta-heading {
  	font-size: 1rem;
  	font-weight: 600;
  	color: #000;
    margin-bottom: -15px;
}

.cta-box h4{
    margin-bottom: -15px;
}

.cta-box h4 .cta-price {
  	font-size: 3rem;
  	font-weight: 500;
  	margin: 0 0 0.5rem;
  	line-height: 1.2;
    color: #000;
}

.cta-price-extension {
  	font-size: 1rem;
  	color: rgb(133, 133, 147);
  	margin-left: 0.25rem;
    font-weight: 300;
}

.cta-description {
	font-size: 1.37rem;
	margin-bottom: 1.25rem;
    color: rgb(133, 134, 148);
}

.cta-btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	background-color: rgba(0, 2, 24, 0); 
	color: #000;
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	text-align: center;
	transition: background-color 0.2s ease;
    border-radius: 30px;
    border: 1px solid rgba(0, 2, 24, 0.16);
}

.cta-btn:hover {
  	background-color: #D1D5DB;
}

/* ------------------ CTA Box END ------------------ */

/* Testimonial Card Styles */
.testimonial-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e5e5;
  background-color: #ffffff;
  padding: 1.5rem;
  margin: 0 auto;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.testimonial-block:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.testimonial-heading {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.testimonial-bottom {
  margin-top: 1rem;
  text-align: center;
}

.testimonial-image img {
  max-width: 80px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #f5f5f5;
  object-fit: cover;
  margin: auto;
}

.testimonial-subtext {
	font-size: 0.875rem;
	color: #666666;
  	margin-top: 0.5rem;
	min-height: 42px;
}

.testimonial-top {
	overflow: hidden;
	position: relative;
	transition: max-height 0.3s ease;
	min-height: 151px;
}

.testimonial-heading {
	max-height: 7em;
	overflow: hidden;
	line-height: 1.4em;
	transition: all 0.5s ease;
}

.testimonial-heading.expanded {
  max-height: none;
}


.show-more {
  display: inline-block;
  margin-top: 0.5em;
  color: #007bff; 
  cursor: pointer;
  font-size: 0.9rem;
}

.show-more.disabled {
  color: #999999; 
  cursor: not-allowed;
}

.section-1-description p:last-of-type {
    margin-bottom: 0;
}


@media (min-width: 1200px){
	.company-logo-img{
		max-width: 11.11%;
	}
}

@media (max-width: 1200px){
	.section-padding{
		padding: 2rem 3%;
	}
}

@media (max-width: 768px){
	.section-padding{
		padding: 2rem 1rem;
	}
	
	.home-heading-1{
		font-size: 1.6rem;
	}

	.home-heading-2, .home-heading-3, .home-heading-3-no-anim{
		font-size: 1.3rem;
	}

    .section2-preview{
        overflow: hidden;
        max-width: 100%;
        display: block;
    }

    .section2-preview .section-2-image{
        width: 165%;
        max-width: initial;
    }
	
	.hero-right-img{
		margin: auto;
	}
	
	.cta-description{
		font-size: 0.9rem;
		line-height: 1.2em;
	}
	
	.testimonials-carousel {
		margin-top: 30px;
	}
	
	.testimonial-block {
		margin: 0 10px;
	}
		
}