:root {
    --primary-blue: #0058AA;
    --secondary-blue: #4194E0;
    --accent-orange: #FF6B35;
    --light-gray: #F8F9FA;
    --dark-gray: #212529;
    --light-blue: #76CCFF;
    --white: #ffffff;
    --shadow-light: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-heavy: 0 8px 32px rgba(0,0,0,0.16);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    font-weight: 400;
    scroll-behavior: smooth;
}

/* Typography Scale */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 600; line-height: 1.3; }
p { font-size: clamp(1rem, 2vw, 1.125rem); line-height: 1.7; }

/* Header Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-blue) !important;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-nav .nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    margin: 0 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}

.main-logo {
    width: clamp(180px, 25vw, 250px);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 88, 170, 0.95) 0%, rgba(65, 148, 224, 0.9) 100%);
    color: var(--white);
    padding: clamp(120px, 15vh, 160px) 0 clamp(80px, 10vh, 120px);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="1000" cy="100" r="200" fill="%23ffffff" opacity="0.05"/><circle cx="200" cy="500" r="150" fill="%23ffffff" opacity="0.03"/><rect x="800" y="300" width="300" height="200" rx="20" fill="%23ffffff" opacity="0.02"/></svg>') no-repeat center;
    background-size: cover;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upper-title {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: bold !important;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-blue);
    margin-bottom: 1rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-content .sub-title {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: bold !important;
    opacity: 0.95;
    font-weight: 400;
    margin-bottom: 0;
}

.btn-demo {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #e55a2b 100%);
    border: none;
    padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 32px);
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, #e55a2b 0%, var(--accent-orange) 100%);
}

.demo-form {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(10px);
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Features Section */
.features-section {
    padding: clamp(60px, 10vh, 100px) 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f0f2f5 100%);
}

.section-title {
    text-align: center;
    margin-bottom: clamp(3rem, 6vh, 5rem);
    animation: fadeInUp 0.6s ease-out;
}

.section-title h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--secondary-blue));
    border-radius: 2px;
}

.feature-item {
    padding: clamp(1rem, 2vh, 1.5rem) 0;
    transition: var(--transition);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.feature-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.7);
    padding-left: 1rem;
    box-shadow: var(--shadow-light);
}

.feature-icon {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--accent-orange);
    margin-right: 1.5rem;
    width: clamp(50px, 8vw, 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    height: clamp(50px, 8vw, 60px);
    flex-shrink: 0;
}

.feature-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--dark-gray);
    font-weight: 500;
}

/*.features-section .col-md-6{
    width: 50%;
}*/

/* Testimonials Section */
.testimonials-section {
    padding: clamp(60px, 10vh, 100px) 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    margin: 0 10px;
    box-shadow: var(--shadow-medium);
    text-align: left;
    border: 1px solid rgba(0, 88, 170, 0.08);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 350px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: clamp(50px, 8vw, 60px);
    height: clamp(50px, 8vw, 60px);
    border-radius: 50%;
    margin-right: 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 0.25rem;
}

.testimonial-position {
    color: #666;
    font-size: clamp(0.875rem, 1.5vw, 0.95rem);
    font-weight: 500;
}

.testimonial-title {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 500;
    color: var(--dark-gray);
    line-height: 1.6;
    flex: 1;
}

.testimonial-rating {
    display: flex;
    margin-bottom: 1rem;
}

.testimonial-rating .star {
    color: #FFD700;
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-right: 2px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Owl Carousel Enhancements */
.owl-carousel .owl-stage {
    display: flex;
    padding: 20px 0 40px;
}

.owl-carousel .owl-item {
    display: flex;
    height: auto;
}

.owl-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.owl-carousel .owl-nav button {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)) !important;
    color: var(--white) !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition) !important;
    box-shadow: var(--shadow-light) !important;
}

.owl-carousel .owl-nav button:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-medium) !important;
}

.owl-carousel .owl-nav button:disabled {
    background: #ddd !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.owl-carousel .owl-nav button span {
    font-size: 24px;
    font-weight: 700;
}

/* Partners Section */
.partners-section {
    padding: clamp(50px, 8vh, 80px) 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f0f2f5 100%);
    text-align: center;
}

.partners-section h3 {
    color: var(--primary-blue);
    margin-bottom: clamp(2rem, 5vh, 4rem);
    font-weight: 600;
}

.partner-logo {
    width: clamp(120px, 20vw, 150px);
    height: clamp(60px, 10vw, 80px);
    background-color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    color: var(--primary-blue);
    font-weight: 600;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0, 88, 170, 0.08);
}

.partner-logo img {
    max-width: 90%;
    max-height: 70%;
    object-fit: contain;
    display: block;
    /*filter: grayscale(100%) opacity(0.7);*/
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: clamp(60px, 10vh, 100px) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><circle cx="100" cy="100" r="100" fill="%23ffffff" opacity="0.03"/><circle cx="1100" cy="300" r="150" fill="%23ffffff" opacity="0.05"/></svg>') no-repeat center;
    background-size: cover;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: var(--white);
    padding: clamp(50px, 8vh, 80px) 0 30px;
}

.footer h4 {
    color: var(--light-blue);
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--white);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
}

.footer-links a:hover {
    color: var(--light-blue);
    padding-left: 5px;
}

.app-download {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.app-download a {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.875rem, 1.5vw, 0.95rem);
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-download a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.app-download i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
    transition: var(--transition);
}

.footer-logo:hover img {
    transform: scale(1.05);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .demo-form {
        margin-top: 3rem;
    }
    
    .feature-item {
        text-align: center;
        flex-direction: column;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .testimonial-card {
        margin: 0 5px;
    }
    
    .app-download {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .main-logo {
        width: 160px;
    }
    
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .owl-carousel .owl-nav button {
        width: 40px !important;
        height: 40px !important;
    }
    
    .partner-logo {
        width: 100px;
        height: 60px;
    }

    .footer .col-sm-3{
        width: 30% !important;
    }

    .footer .col-sm-9{
        width: 70% !important;
    }

    .app-download {
        justify-content: left;
        gap: 0.75rem;
    }
    
    .app-download a {
        flex: 1;
        max-width: 140px;
        font-size: 0.8rem;
        padding: 10px 12px;
        text-align: center;
    }


}

/* Loading animations */
.feature-item:nth-child(odd) {
    animation: fadeInLeft 0.6s ease-out;
}

.feature-item:nth-child(even) {
    animation: fadeInRight 0.6s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Accessibility improvements */
.btn:focus,
.btn-demo:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

.nav-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .testimonials-section,
    .partners-section,
    .cta-section,
    .footer {
        display: none;
    }
}