/* 
------------------------------------------ 
Misc. imports
------------------------------------------ 
*/

/*

@import url('https://fonts.googleapis.com/css?family=Poppins:300,600');

*/

/* 
------------------------------------------ 
Font imports
------------------------------------------ 
*/
@font-face {
  font-family: 'DS Indigo Bold';
  src: url('https://assets.swoogo.com/themes/5f46c5932c5e2/DSIndigo-Bold.woff2') format('woff2'),
    url('https://assets.swoogo.com/themes/5f46c5932c5e2/DSIndigo-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'DS Indigo SemiBold';
  src: url('https://assets.swoogo.com/themes/5f46c5932c5e2/DSIndigo-SemiBold.woff2') format('woff2'),
    url('https://assets.swoogo.com/themes/5f46c5932c5e2/DSIndigo-SemiBold.woff') format('woff');
  font-weight: 600;
  font-display: block;
}

@font-face {
  font-family: 'DS Indigo Medium';
  src: url('https://assets.swoogo.com/themes/5f46c5932c5e2/DSIndigo-Medium.woff2') format('woff2'),
    url('https://assets.swoogo.com/themes/5f46c5932c5e2/DSIndigo-Medium.woff') format('woff');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'DS Indigo Regular';
  src: url('https://assets.swoogo.com/themes/5f46c5932c5e2/DSIndigo-Regular.woff2') format('woff2'),
    url('https://assets.swoogo.com/themes/5f46c5932c5e2/DSIndigo-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

/* 
------------------------------------------ 
Globals and mains
------------------------------------------ 
*/

/* Custom CSS Variables */
:root {
    --dark-green-1: #1b2c22;
    --dark-green-2: #14281c;
    --light-green: #33e99e;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --primary-color: #191823;
    --primary-hover-color: #33e99e;
    --secondary-color: #E5BEF4;
    --gray: #F3F3F3;
    --bg-dark: #191823;
    --bg-dark-navbar: #292b2c;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    /*font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;*/
    font-family: "DS Indigo Regular", Helvetica, Arial, sans-serif;
    padding-top: 3rem;
    line-height: 1.6;
    color: var(--dark-green-1);
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 20px rgba(27, 44, 34, 0.1);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-green-1) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-green-1) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--light-green) !important;
    background: rgba(51, 233, 158, 0.1);
    transform: translateY(-2px);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(27, 44, 34, 0.15);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 0.25rem 0;
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--light-green);
    color: var(--dark-green-1);
    transform: translateX(5px);
}

.dropdown-divider {
    margin: 1rem 0;
    border-color: rgba(27, 44, 34, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-green-1) 0%, var(--dark-green-2) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(51, 233, 158, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(51, 233, 158, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(51, 233, 158, 0.12) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

/* Styling for embedded web form JS and API content */

.full-width-div {
  width: 100vw;
  height: 50px;
  background-color: #153026;
  margin-left: calc(50% - 50vw);
}

.webform-text-header {
    font-family: "DS Indigo Semibold", Helvetica, Arial, sans-serif;  
    margin-top: 50px !important;
    color: #2a2a2a;
    /*border-style: solid;
    color: red;*/
  }

.web-form-wrapper-styling {
    position: relative; /* Make the parent a positioning context */
    margin: auto;
    width: 80%;
}

/*
.web-form-wrapper-styling::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    mask-image: linear-gradient(to right, transparent 5%, white 25%, white 75%, transparent 95%);
    mask-mode: alpha;
    z-index: -1;
}
*/

.web-form-wrapper-styling::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    /* This single gradient defines both vertical and horizontal fades */
    mask-image: linear-gradient(
        to bottom,
        /* Top fade */
        transparent 0%,      /* Start fully transparent at the very top */
        rgba(255, 255, 255, 0.5) 2%, /* Slight fade in to half-transparent */
        white 5%,            /* Solid white at 5% from the top */
        
        /* Main body with side fades */
        white 5%,            /* Solid white continues */
        white calc(100% - 5%), /* Solid white until 5% from the bottom */
        
        /* Bottom (optional, if you want to keep it solid) */
        white 100%           /* Keep solid white at the bottom if desired */
    );
    /* For the side fade, we need to create a mask-composite effect */
    mask-composite: intersect; /* This is crucial for combining the masks */
    
    /* Re-add the side gradient you liked, but as a separate mask */
    -webkit-mask-image: linear-gradient(to right, transparent 5%, white 25%, white 75%, transparent 95%), 
                        linear-gradient(to bottom, transparent 0%, white 5%, white 95%, transparent 100%);
    -webkit-mask-composite: source-in;
    
    mask-mode: alpha;
    z-index: -1;
}

.web-form-content {
    position: relative;
    z-index: 1; /* Keep the content on top */
}

.hero-for-web-form {
    min-height: 100vh;
    /*background: linear-gradient(135deg, var(--dark-green-1) 0%, var(--dark-green-2) 100%);*/
    background: radial-gradient(circle at 20% 50%, rgba(51, 233, 158, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(51, 233, 158, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(51, 233, 158, 0.12) 0%, transparent 50%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-for-web-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(51, 233, 158, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(51, 233, 158, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(51, 233, 158, 0.12) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

/* End styling for embedded web form. */

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--light-green), #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
}

.btn-primary-custom {
    background: var(--light-green);
    color: var(--dark-green-1);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: #22c55e;
    color: var(--dark-green-1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(51, 233, 158, 0.4);
}

.btn-outline-custom {
    color: var(--white);
    border: 2px solid var(--white);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    margin-left: 1rem;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--dark-green-1);
    transform: translateY(-3px);
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--white);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-green-1);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    color: var(--gray-medium);
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(27, 44, 34, 0.08);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(51, 233, 158, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(27, 44, 34, 0.15);
    border-color: var(--light-green);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-green), #22c55e);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: var(--light-green);
    border-radius: 50%;
    opacity: 0.6;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-green-1);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-medium);
    line-height: 1.7;
}

/* Solutions Section */
.solutions {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
}

.solution-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(27, 44, 34, 0.08);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(27, 44, 34, 0.15);
}

.solution-card h3 {
    color: var(--light-green);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Stats Section */
.stats {
    padding: 6rem 0;
    background: var(--dark-green-1);
    color: var(--white);
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-green);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--white);
}

.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(27, 44, 34, 0.08);
}

.form-control {
    border: 2px solid rgba(27, 44, 34, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--light-green);
    box-shadow: 0 0 0 0.2rem rgba(51, 233, 158, 0.25);
}

/* Footer */
.footer {
    background: var(--dark-green-2);
    color: var(--white);
    padding: 3rem 0 2rem;
    text-align: center;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-outline-custom {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(51, 233, 158, 0.3);
    border-top: 3px solid var(--light-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}