
/* Base Styles */
:root {
    --primary: #008080;
    --primary-dark: #006666;
    --secondary: #00a8e8;
    --dark: #0a192f;
    --dark-light: #172a45;
    --gray: #8892b0;
    --light: #ccd6f6;
    --white: #e6f1ff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: #f8f9fa;
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(to right, #00c6ff, #0072ff); /* Teal to blue */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 168, 232, 0.2);
    color: white;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--dark);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(0, 168, 232, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 168, 232, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 168, 232, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 168, 232, 0);
    }
}

/* Navigation */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.3s ease;
        background: rgba(0, 0, 0, 0.7); /* semi-transparent black */
    backdrop-filter: blur(5px); /* optional: adds a blur effect for a modern look */
}

.navbar.scrolled {
    padding: 1rem 0;
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.logo-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-badge {
    background: var(--gradient);
    color: white;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    margin-left: 0.5rem;
    position: relative;
    top: -3px;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.1) 0%, rgba(0, 168, 232, 0.1) 100%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;   
    
}

.hero-subtitle {
    font-size: 1.25rem;
    color:rgb(9, 39, 48);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-cta {
    margin-top: 2rem;
}

.hero-image-container {
    position: relative;
    z-index: 1;
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.floating-animation {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.circle-animation {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 168, 232, 0.1);
    z-index: 1;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
    animation: pulse-circle 4s infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
    animation: pulse-circle 5s infinite 0.5s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    bottom: 50px;
    right: -30px;
    animation: pulse-circle 3s infinite 1s;
}

@keyframes pulse-circle {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.5; }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    color: #fff;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    z-index: -1;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 168, 232, 0.15);
}

.feature-card:hover:before {
    opacity: 0.05;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: var(--gradient);
    color: white;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 168, 232, 0.1);
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-arrow {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--secondary);
}

.feature-card:hover .feature-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* Solutions Section */
.solutions-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #fff 100%);
}

.solution-card {
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 168, 232, 0.2);
}

.solution-card-left {
    flex-direction: row;
}

.solution-card-right {
    flex-direction: row-reverse;
}

.solution-image {
    flex: 1;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-content {
    flex: 1;
    padding: 2.5rem;
}

.solution-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.solution-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://workdaygenai.cloudtrelliis.com/assets/css/assets/images/digital-world.jpg') center/cover no-repeat;
    opacity: 0.1;
}

.stat-item {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonial-slider {
    position: relative;
}

.testimonial-item {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin: 0 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--dark-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info h5 {
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.author-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://workdaygenai.cloudtrelliis.com/assets/css/assets/images/network.jpg') center/cover no-repeat;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Page Hero */
.page-hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    color: white;
}

.page-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.9) 0%, rgba(0, 168, 232, 0.9) 100%);
    z-index: -1;
}

.talent-hero:before {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.9) 0%, rgba(0, 168, 232, 0.9) 100%), url('https://workdaygenai.cloudtrelliis.com/assets/css/assets/images/talent-management.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: #f8f9fa;
}

.steps {
    position: relative;
}

.step {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    padding-top: 0.5rem;
}

.step-content h4 {
    margin-bottom: 0.5rem;
}

.ai-visualization {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.network-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.node {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.center-node {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    font-size: 2rem;
    background: var(--gradient);
    color: white;
    animation: pulse 3s ease-in-out infinite;
}

.node-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0.5s;
}

.node-2 {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.node-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1.5s;
}

.node-4 {
    bottom: 20%;
    right: 20%;
    animation-delay: 2s;
}

.node-5 {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    animation-delay: 2.5s;
}

.connector {
    position: absolute;
    background: rgba(0, 168, 232, 0.2);
    transform-origin: left center;
    height: 2px;
    z-index: -1;
}

.c-1 {
    width: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    animation: connect 3s ease-in-out infinite;
}

.c-2 {
    width: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(30deg);
    animation: connect 3s ease-in-out infinite 0.5s;
}

.c-3 {
    width: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-150deg);
    animation: connect 3s ease-in-out infinite 1s;
}

.c-4 {
    width: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(150deg);
    animation: connect 3s ease-in-out infinite 1.5s;
}

.c-5 {
    width: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: connect 3s ease-in-out infinite 2s;
}

@keyframes connect {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Case Study */
.case-study {
    padding: 100px 0;
}

.case-study-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-study-image img {
    width: 100%;
    height: auto;
    display: block;
}

.stats-overlay {
  position: absolute;
  top: 10%;           /* adjust position */
  left: 10%;
  color: #fff;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent bg for readability */
  padding: 10px 20px;
  border-radius: 8px;
}

.stat {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-left: 1rem;
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #00c6ff;
    margin-bottom: 0.5rem;
}
.stat-unit {
  display: inline-block;
  font-size: 2rem; /* match or slightly smaller than number */
  font-weight: 700;
  color: #00c6ff;
  margin-left: 2px;
  vertical-align: baseline;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.case-study-content {
    padding-left: 3rem;
}

.case-study-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.case-study-content p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.case-study-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.case-study-content li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .solution-card, .solution-card-left, .solution-card-right {
        flex-direction: column;
    }
    
    .solution-image {
        height: 250px;
    }
    
    .case-study-content {
        padding-left: 0;
        padding-top: 3rem;
    }
    
    .stats-overlay {
        position: static;
        justify-content: flex-start;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 150px 0 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* Particles JS */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #f8f9fa;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 5px 20px rgba(0, 168, 232, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 168, 232, 0.4);
}

/* Animations */
[data-aos="custom-fade"] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos="custom-fade"].aos-animate {
    opacity: 1;
}

/* CountUp Animation */
.stat-number {
    visibility: hidden;
}

.stat-number.visible {
    visibility: visible;
}