@font-face {
    font-family: 'MainFont';
    src: url('https://moduulz.com/!assets/font/Sen-VariableFont_wght.ttf') format('truetype');
}

:root {
    --primary-color: #007BFF;
    --secondary-color: #FFA500;
    --background-color: #F4F4F4;
    --bg-secondary-color: #FFFFFF;
    --bg-tertiary-color: #E0F7FA;
    --bg-gradient: linear-gradient(190deg,#00C6FF,#0072FF);
    --bg-secondary-gradient: linear-gradient(190deg,#FFA500,#ff8000);
    --text-color: #333333;
    --header-bg: #FFFFFF;
    --footer-bg: #0A1931;
    --footer-text: #FFFFFF;
    --border-color: #E0E0E0;

    --theme-transition-duration: 1s;
}

[data-theme="dark"] {
    --background-color: #252525;
    --bg-secondary-color: #1c1c1c;
    --bg-tertiary-color: #002d4d;
    --text-color: #FFFFFF;
    --header-bg: #1F1F1F;
    --border-color: #333333;
}

.miniWaved {
    display: flex;
    height: 20px;
    width: 100%;
    padding: 0;
    margin: 0;
}
.wavedEnd, .wavedStart {
    display: flex;
    height: 100px;
    width: 100%;
    padding: 0;
    margin: 0;
}
.wavedEnd > path, .wavedStart > path, .miniWaved > path {
    transition: fill var(--theme-transition-duration)
}

body {
    font-family: 'MainFont', 'Roboto', sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color var(--theme-transition-duration), color var(--theme-transition-duration);
}

.dashboard {
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    flex-wrap: wrap;
    display: flex;
}
.dashDiv {
    max-width: 1300px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    transition: background-color var(--theme-transition-duration), border-color var(--theme-transition-duration);
    border-bottom: 1px solid var(--border-color);
    background-color: var(--header-bg);
    position: fixed;
    padding: 20px 0;
    z-index: 100;
    right: 0;
    left: 0;
}
.header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2em;
    font-weight: bold;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    transition: color var(--theme-transition-duration);
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
}

.btn {
    background-image: var(--bg-gradient);
    transition: transform 0.3s;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    padding: 10px 20px;
    color: white;
}
.btn.secondary {
    background-image: var(--bg-secondary-gradient);
}
.btn:hover {
    transform: scale(1.05);
}

.hero {
    text-align: center;
    position: relative;
    padding: 48px 0;
}

.hero h1 {
    background-image: linear-gradient(
        -45deg,
        #ff5900,
        #ff6a00,
        #ff7b00,
        #ff8c00,
        #ffe100,
        #ff8c00,
        #ff7b00,
        #ff6a00,
        #ff5900
    );
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 3em;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 20px auto;
}

.absCntr {
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
}

.dashboard-preview {
    transition: opacity 1s, height 1s;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
}
.dashboard-preview > div {
    transition: opacity 1s;
    opacity: 1;
}
.dashboard-preview > div.hidden {
    pointer-events: none;
    user-select: none;
    overflow: hidden;
    opacity: 0;
    height: 0;
}

.dark-mode-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.dark-mode-toggle > span {
    margin-right: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.features > .container-div > .container {
    align-items: stretch;
    flex-wrap: wrap;
    display: flex;
}
.features > .container-div {
    transition: background-color var(--theme-transition-duration), color var(--theme-transition-duration);
    background-color: var(--bg-secondary-color);
}

.features-content {
    min-width: 450px;
    flex: 1;
}

.features h2 {
    font-size: 2.5em;
}

.features ul {
    list-style: none;
    padding: 0;
}
.features li {
    padding-left: 42px;
    position: relative;
    font-size: 1.1em;
    margin: 20px 0;
}
.features li::before {
    content: url("https://moduulz.com/!assets/img/check.svg");
    position: absolute;
    height: 1.6em;
    width: 1.6em;
    left: 0;
}

.features-icons {
    justify-content: center;
    align-items: center;
    display: grid;
    flex: 1;
}
.features-icons-div {
    position: relative;
    height: 300px;
    width: 300px;
}

.icon {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    background-color: var(--bg-tertiary-color);
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: absolute;
    display: flex;
}
.icon.navy {
    background-color: #2c3e50;
    height: 45%;
    z-index: 1;
    width: 45%;
    left: 5%;
    top: 15%;
}
.icon.blue {
    background-color: #3498db;
    height: 55%;
    z-index: 2;
    width: 55%;
    right: 0;
    top: 0;
}
.icon.orange {
    background-color: #f39c12;
    height: 50%;
    width: 50%;
    z-index: 0;
    bottom: 5%;
    left: 28%;
}
.icon > img {
    height: auto;
    width: 85%;
}

.tertBg {
    transition: background-color var(--theme-transition-duration);
    background-color: var(--bg-tertiary-color);
}
.testimonial {
    transition: background-color var(--theme-transition-duration);
    background-color: var(--bg-tertiary-color);
    padding: 24px 0 100px 0;
    text-align: center;
}

blockquote {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2em;
    font-style: italic;
}

blockquote footer {
    margin-top: 20px;
    font-weight: bold;
    font-style: normal;
}

.cta {
    background-color: var(--secondary-color);
    padding: 50px 0;
    text-align: center;
    color: white;
}

.cta h2 {
    margin: 0 0 20px 0;
    font-size: 2em;
}

footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 50px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
}

.footer-logo {
    flex: 1;
}

.footer-logo p {
    margin: 10px 0 20px 0;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    line-height: 2;
}




.thank-you-popup {
    pointer-events: none;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: -200px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 30px 50px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    width: 80%;
    max-width: 450px;
    opacity: 0;
    transition: top 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.7s ease-in-out;
}
.thank-you-popup.show {
    pointer-events: all;
    top: 30px;
    opacity: 1;
}
.thank-you-popup h1 {
    margin: 0;
    font-size: 2.8em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.thank-you-popup p {
    margin: 10px 0 0;
    font-size: 1.2em;
}
.thank-you-popup .tickIcon {
    font-size: 3em;
    line-height: 1;
    margin-bottom: 15px;
    animation: bounceIn 1s ease;
    animation-delay: 0.5s;
}
@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% {
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(.9, .9, .9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(.97, .97, .97);
    }
    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}