/* Root Variables */
:root {
    --primary-color: #0984e3;
    --secondary-color: #00b894;
    --text-color: #2d3436;
    --light-text: #636e72;
    --background-light: #f8f9fa;
    --gradient: linear-gradient(45deg, #0984e3, #00b894);
}

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: #2d3436;
}

.gradient-text {
    background: linear-gradient(45deg, #0984e3, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(9,132,227,0.1) 0%, rgba(0,184,148,0.05) 100%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0984e3, #00b894);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 80px 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #0984e3, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #0984e3, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.stat-subtext {
    font-size: 0.9rem;
    color: #636e72;
}

/* Solutions Section */
.solutions-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-features li {
    margin-bottom: 0.8rem;
    color: #636e72;
    display: flex;
    align-items: center;
}

.solution-features li i {
    color: #00b894;
}

.solution-card h4 {
    color: #2d3436;
    margin-bottom: 1rem;
}

.solution-card p {
    color: #636e72;
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0984e3, #00b894);
    color: white;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%);
    background-size: 3px 3px;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-buttons {
    margin-bottom: 2rem;
}

.cta-buttons .btn {
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 10px;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cta-buttons .btn-outline-light {
    border-width: 2px;
}

.cta-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.cta-feature i {
    color: #4ade80;
}

/* Buttons */
.btn-gradient {
    background: linear-gradient(45deg, #0984e3, #00b894);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(9,132,227,0.2);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.nav-link {
    font-weight: 500;
    padding: 10px 20px !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0984e3;
}

/* Search Icon Styles */
.nav-link .fa-search {
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-link:hover .fa-search {
    color: #0984e3;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .nav-link .fa-search {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .nav-link:hover .fa-search {
        color: #0984e3;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Security Section Styles */
.security-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.security-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.security-icon-wrapper {
    text-align: left;
}

.security-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #0984e3, #00b894);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    margin: 0 auto;
}

.security-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #2d3436;
}

.security-list li:last-child {
    margin-bottom: 0;
}

/* Contact Section Styles */
.contact-section {
    background: white;
}

.contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.form-floating {
    margin-bottom: 0;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    padding: 1rem;
    height: auto;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: #0984e3;
    box-shadow: none;
}

.form-floating label {
    padding: 1rem;
}

.btn-gradient {
    padding: 0.5rem 2.5rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .security-card, .contact-card {
        padding: 1.5rem;
    }
}

/* Time Saving Card Styles */
.time-saving-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.time-saving-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.time-saving-content {
    padding: 3rem !important;
}

.time-saving-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.time-saving-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.time-saving-image {
    position: relative;
}

@media (max-width: 768px) {
    .time-saving-content {
        padding: 2rem !important;
    }
    
    .time-saving-image::before {
        font-size: 1.2rem;
        padding: 0.8rem 1.2rem;
    }
}

/* Analytics Dashboard Styles */
.analytics-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.analytics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.analytics-content {
    padding: 3rem !important;
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #0984e3, #00b894);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.analytics-features {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.analytics-feature {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    padding: 1rem;
    background: rgba(9,132,227,0.05);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.analytics-feature:hover {
    transform: translateX(10px);
    background: rgba(9,132,227,0.1);
}

.analytics-feature i {
    font-size: 1.2rem;
    background: linear-gradient(45deg, #0984e3, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.analytics-image img {
    border: 10px solid white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .analytics-content {
        padding: 2rem !important;
    }
    
    .analytics-feature {
        font-size: 1rem;
        padding: 0.8rem;
    }
}

/* Enhanced Placeholder Styles */
.placeholder-image {
    background: linear-gradient(135deg, #0984e3, #00b894);
    border-radius: 20px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%);
    animation: shine 3s linear infinite;
}

.placeholder-image i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.placeholder-image span {
    font-size: 1.2rem;
    text-align: center;
    font-weight: 500;
}

@keyframes shine {
    0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}

/* Specific placeholder styles */
.dashboard-preview {
    background: linear-gradient(135deg, #0984e3, #00b894);
}

.time-saving {
    background: linear-gradient(135deg, #00b894, #0984e3);
}

.analytics {
    background: linear-gradient(135deg, #6c5ce7, #0984e3);
}

/* General Section Spacing */
section {
    padding: 50px 0;
    position: relative;
}

section:not(.hero-section) {
    margin-top: 0;
}

/* Section Background Alternation */
/* section:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
} */

/* section:nth-child(odd) {
    background: white;
} */

/* Section Headings Consistency */
.section-heading {
    margin-bottom: 4rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-heading p {
    font-size: 1.1rem;
    color: #636e72;
    margin: 0 auto;
}

/* Card Spacing */
.feature-card, .solution-card, .security-card {
    height: 100%;
}

/* Container Max-Width */
.container {
    max-width: 1200px;
}

/* Responsive Spacing */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .section-heading {
        margin-bottom: 3rem;
    }

    .section-heading h2 {
        font-size: 2rem;
    }
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed navbar */
}

/* Footer improvements */
footer {
    background: #f8f9fa;
    padding: 80px 0 30px;
    color: #2d3436;
}

/* Carousel Styles */
#featuresCarousel {
    border-radius: 20px;
    overflow: hidden;
}

#featuresCarousel .carousel-item {
    min-height: 300px;
}

#featuresCarousel .placeholder-image {
    min-height: 300px;
    border-radius: 0;
}

#featuresCarousel .placeholder-image p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 80%;
}

#featuresCarousel .carousel-indicators {
    bottom: 20px;
}

#featuresCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

#featuresCarousel .carousel-control-prev,
#featuresCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
}

#featuresCarousel .carousel-control-prev:hover,
#featuresCarousel .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.stat-circle {
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: pulse 2s infinite;
}

.stat-circle .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-circle .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.stat-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.analytics-dashboard {
    width: 100%;
    height: 100%;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: white;
}

.dashboard-header i {
    font-size: 1.5rem;
}

.dashboard-header span {
    font-size: 1.2rem;
    font-weight: 600;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-icon {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.metric-trend {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.metric-trend.positive {
    color: #4ade80;
}

.metric-trend.negative {
    color: #f87171;
}

.metric-trend span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.metric-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

/* Expense Tracking specific styles */
/* .feature-card i.fa-file-invoice-dollar {
    background: linear-gradient(45deg, #0984e3, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
} */

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .metric-card {
        padding: 1rem;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
}

/* Mobile App Feature styles */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    color: #636e72;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

/* .feature-card i.fa-mobile-alt {
    background: linear-gradient(45deg, #0984e3, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.2em;
} */

.feature-card:hover .feature-list li {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Stats Section Improvements */
.stats-section {
    background: white;
    padding: 80px 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #0984e3, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #0984e3, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.stat-subtext {
    font-size: 0.9rem;
    color: #636e72;
}

@media (max-width: 768px) {
    .stats-section {
        padding: 60px 0;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

/* About Section Styles */
.about-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #0984e3, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-highlight {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0984e3;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #0984e3, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #0984e3, #00b894);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image i {
    font-size: 4rem;
    color: white;
}

.team-card .position {
    color: #0984e3;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-card .bio {
    color: #636e72;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .about-card, .feature-highlight, .value-card, .team-card {
        padding: 1.5rem;
    }
}

/* Footer Styles */
.footer {
    background: #f8f9fa;
    padding: 80px 0 30px;
    color: #2d3436;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #2d3436;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2d3436;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #636e72;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0984e3;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #636e72;
}

.footer-contact i {
    color: #0984e3;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0984e3;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.social-link:hover {
    background: #0984e3;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #636e72;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #0984e3;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .footer {
        padding: 50px 0 30px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Responsive Design Improvements */
@media (max-width: 992px) {
    /* General */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }

    .section-heading {
        margin-bottom: 3rem;
    }

    /* Navigation */
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-top: 1rem;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .btn-gradient {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }

    /* Hero Section */
    .hero-section {
        padding: 120px 0 60px;
        text-align: center;
    }

    .hero-section .btn {
        width: 100%;
        margin: 0.5rem 0;
    }

    .hero-section .d-flex {
        flex-direction: column;
    }

    /* Features Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* Stats Section */
    .stat-card {
        margin-bottom: 1rem;
    }

    /* Solutions Section */
    .solution-card {
        height: auto;
        margin-bottom: 1.5rem;
    }

    /* Analytics Section */
    .analytics-dashboard {
        margin-top: 2rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    /* About Section */
    .about-card, 
    .feature-highlight, 
    .value-card, 
    .team-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* General */
    section {
        padding: 60px 0;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    /* Carousel */
    .carousel-item {
        height: 300px;
    }

    /* Stats Section */
    .stat-number {
        font-size: 2rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }

    /* Footer */
    .footer {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    /* General */
    .container {
        padding: 0 20px;
    }

    /* Navigation */
    .navbar-brand {
        font-size: 1.2rem;
    }

    /* Feature Cards */
    .feature-card,
    .solution-card,
    .stat-card,
    .about-card {
        padding: 1.25rem;
    }

    /* Stats */
    .stat-icon {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    /* Team Section */
    .team-image {
        width: 100px;
        height: 100px;
    }

    .team-image i {
        font-size: 3rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .feature-card:hover,
    .solution-card:hover,
    .stat-card:hover,
    .about-card:hover {
        transform: none;
    }

    .nav-link:hover {
        color: inherit;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .gradient-text {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }

    .container {
        width: 100%;
        max-width: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .navbar {
        background: rgba(33, 33, 33, 0.95);
    }

    .navbar-light .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .navbar-light .navbar-toggler {
        background: rgba(255, 255, 255, 0.1);
    }

    .navbar-collapse {
        background: rgba(33, 33, 33, 0.98);
        border-radius: 10px;
        padding: 10px;
        margin-top: 10px;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link:focus {
        color: #0984e3 !important;
        background: rgba(255, 255, 255, 0.05);
    }

    /* Mobile Menu Styles */
    @media (max-width: 991px) {
        .navbar-collapse {
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .nav-link {
            padding: 12px 20px !important;
            margin: 5px 0;
            border-radius: 8px;
        }
    }
}

/* Privacy Policy Styles */
.privacy-policy-section {
    padding: 120px 0 60px;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-section {
    margin-bottom: 3.5rem;
}

.policy-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 2rem 0 1rem;
}

.policy-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 1.5rem 0 1rem;
}

.policy-section ul {
    padding-left: 1.25rem;
    margin: 1rem 0 1.5rem;
}

.policy-section li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--light-text);
}

.policy-section p {
    line-height: 1.7;
    color: var(--light-text);
    margin-bottom: 1.25rem;
}

.contact-info {
    background: var(--background-light);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .privacy-policy-section {
        padding: 100px 20px 40px;
    }

    .policy-section {
        margin-bottom: 2rem;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }

    .policy-section h3 {
        font-size: 1.2rem;
    }

    .contact-info {
        padding: 1.25rem;
    }
}

/* Terms of Service Styles */
/* .terms-section {
    padding: 120px 0 60px;
} */

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.terms-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.terms-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 1.5rem 0 1rem;
}

.terms-section p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.terms-section ul {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

@media (max-width: 768px) {
    .terms-section {
        padding: 100px 20px 40px;
    }

    .terms-section h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }

    .terms-section h3 {
        font-size: 1.2rem;
    }
}

/* Cookie Policy Styles */
.cookie-policy-section {
    padding: 120px 0 60px;
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-section {
    margin-bottom: 3.5rem;
}

.cookie-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 2rem 0 1rem;
}

.cookie-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 1.5rem 0 1rem;
}

.cookie-section p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cookie-section ul {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.cookie-section li {
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.browser-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.browser-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.browser-item:hover {
    transform: translateY(-3px);
}

.browser-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.browser-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.browser-item a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .cookie-policy-section {
        padding: 100px 20px 40px;
    }

    .cookie-section {
        margin-bottom: 2rem;
    }

    .cookie-section h2 {
        font-size: 1.5rem;
    }

    .cookie-section h3 {
        font-size: 1.2rem;
    }

    .browser-settings {
        grid-template-columns: 1fr;
    }
}

/* General Content Alignment Fixes */
.privacy-policy-section,
.cookie-policy-section {
    padding: 120px 0 60px;
}

.privacy-content,
.terms-content,
.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Headers */
.privacy-content h1,
.terms-content h1,
.cookie-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* Section Spacing */
.policy-section,
.terms-section,
.cookie-section {
    margin-bottom: 3.5rem;
}

/* Section Headers */
.policy-section h2,
.terms-section h2,
.cookie-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 2rem 0 1rem;
}

.policy-section h3,
.terms-section h3,
.cookie-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 1.5rem 0 1rem;
}

/* Lists */
.policy-section ul,
.terms-section ul,
.cookie-section ul {
    padding-left: 1.25rem;
    margin: 1rem 0 1.5rem;
}

.policy-section li,
.terms-section li,
.cookie-section li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--light-text);
}

/* Paragraphs */
.policy-section p,
.terms-section p,
.cookie-section p {
    line-height: 1.7;
    color: var(--light-text);
    margin-bottom: 1.25rem;
}

/* Contact Info Box */
.contact-info {
    background: var(--background-light);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Browser Settings Grid */
.browser-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

/* Footer Alignment */
.footer-links,
.footer-contact {
    padding-left: 0;
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .privacy-policy-section,
    .terms-section,
    .cookie-policy-section {
        padding: 100px 20px 40px;
    }

    .privacy-content h1,
    .terms-content h1,
    .cookie-content h1 {
        font-size: 2rem;
    }

    .policy-section h2,
    .terms-section h2,
    .cookie-section h2 {
        font-size: 1.5rem;
    }

    .policy-section h3,
    .terms-section h3,
    .cookie-section h3 {
        font-size: 1.2rem;
    }

    .contact-info {
        padding: 1.25rem;
    }

    .browser-settings {
        grid-template-columns: 1fr;
    }
}

/* Container Width Control */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Text Alignment */
.text-justify {
    text-align: justify;
}

/* List Style Improvements */
.policy-section ul,
.terms-section ul,
.cookie-section ul {
    list-style-type: none;
}

.policy-section ul li,
.terms-section ul li,
.cookie-section ul li {
    position: relative;
    padding-left: 1.5rem;
}

.policy-section ul li:before,
.terms-section ul li:before,
.cookie-section ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* Multiple Select Styling */
.custom-select {
    height: 150px !important;
    padding: 10px !important;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #fff;
}

.custom-select option {
    padding: 10px;
    margin: 2px 0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-select option:hover {
    background-color: rgba(0, 188, 212, 0.1);
}

.custom-select option:checked {
    background: linear-gradient(45deg, #0984e3, #00b894) !important;
    color: white;
}

.form-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

/* Remove floating label styles for multiple select */
.form-group {
    margin-bottom: 1rem;
}

/* Focus state */
.custom-select:focus {
    border-color: #0984e3;
    box-shadow: 0 0 0 0.25rem rgba(9, 132, 227, 0.25);
    outline: 0;
}

/* Scrollbar styling */
.custom-select::-webkit-scrollbar {
    width: 8px;
}

.custom-select::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.custom-select::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.custom-select::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Onboarding Journey Styles */
.onboarding-journey-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%)
}

/* Journey Container */
.journey-container {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    align-items: flex-start;
}

/* Navigation Styles */
.journey-nav {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
}

.sticky-progress {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 100;
}

/* Progress Track */
.progress-track {
    width: 4px;
    height: 100%;
    background: #e9ecef;
    border-radius: 2px;
    position: absolute;
    left: 47px;
    top: 0;
}

.progress-bar {
    width: 100%;
    background: linear-gradient(180deg, #0984e3, #00b894);
    border-radius: 2px;
    transition: height 0.5s ease;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    padding: 20px 0;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.step-icon {
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-icon i {
    font-size: 1.2rem;
    color: #6c757d;
    transition: all 0.3s ease;
}

/* Active Step Styles */
.progress-step.active {
    background: rgba(9,132,227,0.1);
}

.progress-step.active .step-icon {
    background: linear-gradient(45deg, #0984e3, #00b894);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(9,132,227,0.3);
}

.progress-step.active .step-icon i {
    color: white;
}

.progress-step.active span {
    color: #0984e3;
    font-weight: 600;
}

/* Content Area */
.journey-content {
    flex: 1;
    max-width: 900px;
}

.journey-step {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: none;
}

.journey-step.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step Content Styles */
.step-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step-details {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.step-details li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
}

.step-details li i {
    color: #0984e3;
    font-size: 1.2rem;
    margin-top: 3px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .journey-container {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .journey-container {
        flex-direction: column;
        gap: 30px;
    }

    .journey-nav {
        width: 100%;
    }

    .sticky-progress {
        position: sticky;
        top: 60px;
    }

    .progress-track {
        display: none;
    }

    .progress-steps {
        flex-direction: row;
        overflow-x: auto;
        padding: 10px;
        gap: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .progress-steps::-webkit-scrollbar {
        display: none;
    }

    .progress-step {
        flex: 0 0 auto;
        flex-direction: column;
        text-align: center;
        min-width: 120px;
        padding: 15px 10px;
    }

    .step-icon {
        margin: 0 auto 10px;
    }

    .progress-step span {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .onboarding-journey-section {
        padding: 30px 0;
    }

    .journey-container {
        padding: 0 15px;
    }

    .journey-step {
        padding: 20px;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .step-details li {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .progress-step {
        min-width: 100px;
    }

    .step-icon {
        width: 40px;
        height: 40px;
    }

    .step-icon i {
        font-size: 1rem;
    }
}

/* Onboarding Intro Styles */
.onboarding-intro {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.intro-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.intro-card .lead {
    font-size: 1.2rem;
    color: #2d3436;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Journey Highlights */
.journey-highlights {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: rgba(9,132,227,0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.highlight i {
    font-size: 28px;
    color: #0984e3;
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(9,132,227,0.1);
}

.highlight span {
    font-size: 1rem;
    color: #2d3436;
    font-weight: 500;
}

/* Responsive Styles for Intro Section */
@media (max-width: 992px) {
    .journey-highlights {
        gap: 20px;
    }

    .highlight {
        padding: 12px 20px;
    }

    .highlight i {
        font-size: 24px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .onboarding-intro {
        padding: 60px 0 30px;
    }

    .intro-card {
        padding: 30px 20px;
    }

    .intro-card .lead {
        font-size: 1.1rem;
    }

    .journey-highlights {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .highlight {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .highlight {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .highlight i {
        margin-bottom: 10px;
    }
}

/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #2d3436;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-consent.hiding {
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes slideDown {
    from { transform: translateY(0); }
    to { transform: translateY(100%); }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .cookie-consent {
        background: rgba(33, 33, 33, 0.98);
    }

    .cookie-content p {
        color: rgba(255, 255, 255, 0.9);
    }
}

/* Google Custom Search Styles */
.search-container {
    display: none; /* Hide the default search in header */
}

/* Show search only on search page */
.search-results-section .search-container {
    display: block;
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 15px;
}

/* Search Results Page Styles */
.search-results-section {
    padding-top: 120px;
    min-height: calc(100vh - 200px);
}

.search-results {
    margin: 20px 0;
}

.gsc-result {
    margin-bottom: 20px !important;
    padding: 15px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.gsc-result:hover {
    background: rgba(9,132,227,0.05) !important;
}

.gs-title {
    color: #0984e3 !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
}

.gs-snippet {
    color: #2d3436 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .gsc-result:hover {
        background: rgba(255,255,255,0.05) !important;
    }

    .gs-snippet {
        color: rgba(255,255,255,0.9) !important;
    }
}