/* Cybrun Technologies - Main Stylesheet */
/* Color Theme: Primary #002f62 (80%), White (20%) */
/* Slogan: Engineered for Excellence */

:root {
    /* Primary Colors */
    --primary-color: #002f62;
    --primary-dark: #001f42;
    --primary-light: #004a8f;
    --secondary-color: #0056b3;
    --accent-color: #00a8ff;
    --accent-light: #66d1ff;
    
    /* Neutral Colors */
    --light-color: #f8f9fa;
    --light-gray: #e9ecef;
    --medium-gray: #6c757d;
    --dark-color: #343a40;
    --dark-gray: #495057;
    
    /* Status Colors */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.2);
    --shadow-primary: 0 8px 16px rgba(0, 47, 98, 0.15);
    
    /* Borders */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    
    /* Spacing */
    --section-padding: 100px;
    --section-padding-md: 60px;
    --section-padding-sm: 40px;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    padding-top: 80px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding) 0;
}

.section-padding-md {
    padding: var(--section-padding-md) 0;
}

.section-padding-sm {
    padding: var(--section-padding-sm) 0;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar.navbar-scrolled {
    padding: 0.7rem 0;
    box-shadow: var(--shadow-xl);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    transition: height 0.3s ease;
}

.navbar-scrolled .navbar-brand img {
    height: 35px;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 8px !important;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color) !important;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.dropdown-menu {
    background-color: white;
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding-left: 25px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.1;
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
    margin-right: 10px;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.8; }
}

.animate-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Dashboard Preview */
.dashboard-preview {
    position: relative;
    perspective: 1000px;
}

.dashboard-card {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 20px;
    box-shadow: 0 30px 60px rgba(0, 47, 98, 0.3);
    transform: rotateY(-10deg) rotateX(5deg);
    animation: float 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes float {
    0%, 100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-10deg) rotateX(5deg) translateY(-20px); }
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dashboard-header .dots {
    display: flex;
    gap: 8px;
}

.dashboard-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 310px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 15px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    min-height: 10px;
    transition: height 0.3s ease;
}

.chart-bar:nth-child(1) { height: 40%; }
.chart-bar:nth-child(2) { height: 70%; }
.chart-bar:nth-child(3) { height: 85%; }
.chart-bar:nth-child(4) { height: 60%; }
.chart-bar:nth-child(5) { height: 90%; }

.stats-display {
    display: flex;
    gap: 20px;
}

.stat {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.floating-element {
    position: absolute;
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    animation: floatElement 8s ease-in-out infinite;
    z-index: 2;
}

.floating-element i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.floating-element span {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.element-1 {
    top: -20px;
    left: -30px;
    animation-delay: 0s;
}

.element-2 {
    top: 50%;
    right: -40px;
    animation-delay: 2s;
}

.element-3 {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    margin: 0 auto;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    padding: 10px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-light:hover {
    background-color: var(--light-gray);
    border-color: var(--light-gray);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats-section {
    background: var(--light-color);
    position: relative;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-content {
    margin-bottom: 15px;
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: var(--medium-gray);
    font-weight: 500;
    margin-bottom: 10px;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0;
}

.stat-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    opacity: 0.1;
}

/* ==========================================================================
   SaaS Showcase
   ========================================================================== */

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.saas-showcase {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.device-frame {
    background: #1a1a1a;
    border-radius: 30px;
    padding: 20px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-10deg);
}

.device-screen {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
}

.dashboard-mock {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dash-header {
    background: var(--primary-color);
    color: white;
    padding: 15px;
}

.dash-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.dash-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dash-tabs span {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.dash-tabs span.active {
    background: rgba(255, 255, 255, 0.3);
}

.dash-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.metric-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
}

.metric-title {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 5px;
}

.metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.metric-change {
    font-size: 0.8rem;
    font-weight: 600;
}

.metric-change.positive {
    color: var(--success-color);
}

.metric-change.negative {
    color: var(--danger-color);
}

.feature-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.9rem;
    animation: float 5s ease-in-out infinite;
    z-index: 2;
}

.feature-badge i {
    font-size: 1rem;
}

.feature-badge.badge-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.feature-badge.badge-2 {
    top: 50%;
    right: -40px;
    animation-delay: 2s;
}

.feature-badge.badge-3 {
    bottom: 30%;
    left: -40px;
    animation-delay: 4s;
}

.saas-features .feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.saas-features .feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.saas-features .feature-content h4 {
    color: white;
    margin-bottom: 10px;
}

.saas-features .feature-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 47, 98, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.section-title.text-left::after {
    left: 0;
    transform: none;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Services Tabs */
.services-tabs .nav-pills {
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 10px;
}

.services-tabs .nav-link {
    background: transparent;
    color: var(--medium-gray);
    padding: 10px 25px;
    margin: 0 5px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.services-tabs .nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 47, 98, 0.1);
}

.services-tabs .nav-link.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-primary);
}

/* Service Cards */
.service-card-hover {
    position: relative;
    height: 300px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    cursor: pointer;
}

.service-card-hover:hover {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--border-radius-xl);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-card-front {
    background: white;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
}

.service-card-back {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(180deg);
}

.service-icon-lg {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card-hover:hover .service-icon-lg {
    transform: scale(1.1) rotate(360deg);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-desc {
    color: var(--medium-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: auto;
}

.service-card-back .service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
}

.service-card-back .service-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-card-back .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-comparison {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-table {
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-table:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-table.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-table.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-color);
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

.pricing-header {
    padding: 40px 30px;
    text-align: center;
    background: var(--gradient-primary);
    color: white;
    position: relative;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.plan-price {
    margin: 20px 0;
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.plan-price .period {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
    margin-top: 5px;
}

.plan-desc {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.pricing-features {
    padding: 30px;
}

.pricing-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-features .feature:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.pricing-features .feature.disabled {
    opacity: 0.5;
}

.pricing-features .feature i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* ==========================================================================
   Industries Section
   ========================================================================== */

.industry-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid transparent;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.industry-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.1) rotate(10deg);
}

.industry-content h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.industry-content p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */

.bg-dark {
    background-color: var(--primary-dark) !important;
}

.why-us-features {
    margin-top: 30px;
}

.why-us-features .feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.why-us-features .feature-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    min-width: 60px;
}

.why-us-features .feature-content h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.why-us-features .feature-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.tech-stack-display {
    background: rgba(255, 255, 255, 0.1);
    color: yellow;
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-xl);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.tech-item i {
    font-size: 2rem;
    color: white;
}

.tech-item span {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.tech-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tech-item:hover .tech-tooltip {
    opacity: 1;
}

.tech-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    position: relative;
    z-index: 1;
}

.cta-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.cta-stats .stat-item {
    text-align: center;
}

.cta-stats .stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.cta-stats .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-container {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-gray);
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 47, 98, 0.25);
    outline: none;
}

.form-control.is-invalid {
    border-color: var(--danger-color);
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 5px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: var(--primary-color);
    color: white;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer h5 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer .social-icons a:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    text-decoration: none;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

.contact-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.contact-info {
    margin-top: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-info-content h5 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-info-content p {
    margin-bottom: 0;
    color: var(--medium-gray);
}

/* ==========================================================================
   Careers Page Styles
   ========================================================================== */

.job-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.job-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.job-tag {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.job-details {
    margin-top: 20px;
}

.job-details h5 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.job-details ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.job-details li {
    margin-bottom: 8px;
    color: var(--medium-gray);
}

/* ==========================================================================
   Partnership Page Styles
   ========================================================================== */

.partner-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.partner-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.partner-benefits {
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit-content h5 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.benefit-content p {
    margin-bottom: 0;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 47, 98, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1200px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 992px) {
    body { padding-top: 70px; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    
    .section-padding { padding: 80px 0; }
    .section-padding-md { padding: 50px 0; }
    
    .pricing-comparison {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-table.popular {
        transform: none;
    }
    
    .pricing-table.popular:hover {
        transform: translateY(-10px);
    }
    
    .popular-badge {
        right: -25px;
        padding: 6px 30px;
        font-size: 10px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-preview {
        margin-top: 40px;
    }
    
    .feature-badge {
        display: none;
    }
    
    .floating-element {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.2rem; }
    
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    
    .section-padding { padding: 60px 0; }
    .section-padding-md { padding: 40px 0; }
    .section-padding-sm { padding: 30px 0; }
    
    .navbar-nav {
        padding: 20px 0;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .counter { font-size: 2.5rem; }
    
    .service-card-hover {
        height: 250px;
    }
    
    .service-icon-lg {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    
    .hero-title { font-size: 1.8rem; }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .job-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .job-meta {
        flex-wrap: wrap;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.9rem; }
    
    .section-badge {
        font-size: 12px;
        padding: 6px 15px;
    }
    
    .pricing-header {
        padding: 30px 20px;
    }
    
    .plan-price .amount {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .btn {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    .container {
        max-width: 100%;
    }
}


/* Enhanced Logo Styles */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.logo-img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    max-width: 100%;
    height: auto;
}

/* Large Logo State */
.logo-large .logo-img {
    width: 220px !important;
    height: auto !important;
}

/* Small Logo State */
.logo-small .logo-img {
    width: 50px !important;
    height: auto !important;
}

/* Logo Animations */
@keyframes logoBounce {
    0%, 100% { 
        transform: translateY(0) scale(1); 
    }
    50% { 
        transform: translateY(-25px) scale(1.05); 
    }
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    25% { 
        transform: translateY(-10px) rotate(-1deg); 
    }
    75% { 
        transform: translateY(-5px) rotate(1deg); 
    }
}

@keyframes logoPulse {
    0% { 
        filter: drop-shadow(0 4px 6px rgba(0, 47, 98, 0.1));
    }
    50% { 
        filter: drop-shadow(0 6px 12px rgba(0, 168, 255, 0.3));
    }
    100% { 
        filter: drop-shadow(0 4px 6px rgba(0, 47, 98, 0.1));
    }
}

.logo-bounce {
    animation: logoBounce 2s ease-in-out;
}

.logo-float {
    animation: logoFloat 6s ease-in-out infinite;
}

.logo-pulse {
    animation: logoPulse 3s ease-in-out infinite;
}

/* Logo Glow Effect */
.logo-glow {
    position: relative;
    display: inline-block;
}

.logo-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.logo-glow.active::after {
    opacity: 1;
}

/* Brand Text Animations */
.brand-text {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    max-width: 300px;
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-slogan {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Small state for brand text */
.logo-small .brand-text {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
    overflow: hidden;
}

.logo-small .brand-name,
.logo-small .brand-slogan {
    font-size: 0;
    opacity: 0;
    height: 0;
    margin: 0;
}

/* Logo Shadow */
.logo-shadow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
    transform: translateX(-50%);
    z-index: -1;
    opacity: 0.5;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-small .logo-shadow {
    width: 40%;
    opacity: 0.3;
}

/* Logo Container Hover Effect */
.logo-container:hover .logo-img {
    transform: scale(1.05) rotate(-2deg);
}

.logo-container:hover .logo-shadow {
    width: 90%;
    opacity: 0.6;
}

/* Navbar adjustment for large logo */
.navbar:not(.navbar-scrolled) {
    padding-top: 30px;
    padding-bottom: 30px;
    background: linear-gradient(to bottom, rgba(0, 47, 98, 0.95), rgba(0, 47, 98, 0.85));
    backdrop-filter: blur(10px);
}

.navbar.navbar-scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
    background: rgba(0, 47, 98, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Smooth navbar hide/show on scroll */
.navbar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

/* Enhanced responsive design */
@media (max-width: 1200px) {
    .logo-large .logo-img {
        width: 200px !important;
    }
    
    .brand-name {
        font-size: 1.6rem;
    }
    
    .brand-slogan {
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .logo-large .logo-img {
        width: 180px !important;
    }
    
    .brand-text {
        margin-left: 15px;
    }
    
    .brand-name {
        font-size: 1.4rem;
    }
    
    .brand-slogan {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .logo-large .logo-img {
        width: 150px !important;
    }
    
    .logo-small .logo-img {
        width: 40px !important;
    }
    
    .brand-text {
        margin-left: 10px;
        max-width: 200px;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .brand-slogan {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 576px) {
    .logo-large .logo-img {
        width: 120px !important;
    }
    
    .brand-text {
        display: none;
    }
}

/* Special effects for logo */
.logo-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

/* Logo click ripple effect */
.logo-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}