/* ======================
   CSS VARIABLES
   ====================== */

:root {
    --primary-color: #5A189A;
    --secondary-color: #9D4EDD;
    --accent-color: #95A5B2;
    --cta-color: #3A0CA3;
    --text-color: #2d3748;
    --light-bg: #F8F9FA;
    --gradient-start: #5A189A;
    --gradient-end: #9D4EDD;
}

.pd-bg-primary-color { background-color: #5A189A; }
.pd-bg-secondary-color { background-color: #9D4EDD; }
.pd-bg-accent-color { background-color: #95A5B2; }
.pd-bg-cta-color { background-color: #3A0CA3; }
.pd-bg-text-color { background-color: #2d3748; }
.pd-bg-light-bg { background-color: #F8F9FA; }
.pd-bg-gradient { background: linear-gradient(to right, #5A189A, #9D4EDD); }

/* ======================
   GLOBAL STYLES
   ====================== */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ======================
   ANIMATED BACKGROUND ELEMENTS
   ====================== */

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    color: rgba(157, 78, 221, 0.1);
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-element-1 { top: 10%; left: 10%; animation-delay: 0s; }
.floating-element-2 { top: 20%; right: 10%; animation-delay: 1s; }
.floating-element-3 { bottom: 30%; left: 5%; animation-delay: 2s; }
.floating-element-4 { bottom: 20%; right: 20%; animation-delay: 3s; }
.floating-element-5 { top: 50%; left: 50%; animation-delay: 4s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    25% { opacity: 0.3; }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.1;
    }
    75% { opacity: 0.2; }
}

/* ======================
   PAGE LOADER
   ====================== */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.loader-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--accent-color);
    border-radius: 2px;
    animation: loadProgress 3s ease-in-out infinite;
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ======================
   NAVIGATION STYLES
   ====================== */

.navbar {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(90, 24, 154, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(90, 24, 154, 0.4);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    color: white !important;
    text-decoration: none;
}

.navbar-brand:hover {
    color: white !important;
}

.navbar-brand img {
    height: 35px;
    width: auto;
    margin-right: 10px;
    filter: brightness(1.1);
}

.navbar-brand .brand-text {
    background: linear-gradient(45deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--accent-color) !important;
}

.services-dropdown {
    background: rgba(90, 24, 154, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 10px;
}

.services-dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 2px 5px;
    display: flex;
    align-items: center;
}

.services-dropdown .dropdown-item:hover {
    background: rgba(254, 228, 64, 0.1);
    color: var(--accent-color);
    transform: translateX(10px);
}

.cloud-portal-link {
    background: rgba(254, 228, 64, 0.1);
    border-radius: 20px;
    margin-left: 10px;
}

.cloud-portal-link:hover {
    background: rgba(254, 228, 64, 0.2);
    box-shadow: 0 0 15px rgba(254, 228, 64, 0.3);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
}

.language-switcher button {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(254, 228, 64, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.language-switcher button:hover {
    background: rgba(254, 228, 64, 0.2);
    border-color: var(--accent-color);
    transform: translateY(-1px);
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(254, 228, 64, 0.6);
}

.language-switcher button.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 0 15px rgba(254, 228, 64, 0.5);
}

/* ======================
   HERO SECTION
   ====================== */

.hero-section {
    background: linear-gradient(135deg, rgba(90, 24, 154, 0.9), rgba(157, 78, 221, 0.9)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(254,228,64,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(254, 228, 64, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(157, 78, 221, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--accent-color), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--secondary-color), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--accent-color), transparent);
    background-repeat: repeat;
    background-size: 100px 100px;
    animation: particleMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes particleMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, -100px); }
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(254, 228, 64, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(254, 228, 64, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    position: relative;
    margin-bottom: 2rem;
}

.title-line-1,
.title-line-2 {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(90, 24, 154, 0.3);
    background: linear-gradient(45deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(254, 228, 64, 0.5); }
    to { text-shadow: 0 0 30px rgba(254, 228, 64, 0.8); }
}

.title-accent {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    margin-top: 1rem;
    color: var(--accent-color);
}

.pulse-icon {
    margin-right: 1rem;
    animation: pulse 2s infinite;
}

.accent-text {
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    margin: 3rem 0;
}

.tech-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.tech-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tech-stats .stat-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.tech-stats .stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.tech-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ======================
   HERO ILLUSTRATION
   ====================== */

.hero-illustration {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-orbit {
    position: relative;
    width: 300px;
    height: 300px;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(90, 24, 154, 0.5);
}

.main-chip {
    font-size: 2.5rem;
    color: var(--accent-color);
    animation: pulse 3s infinite;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(157, 78, 221, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 180px;
    height: 180px;
    animation: rotate 15s linear infinite;
}

.ring-2 {
    width: 260px;
    height: 260px;
    animation: rotate 20s linear infinite reverse;
}

.orbit-item {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.3);
    transition: all 0.3s ease;
}

.orbit-item:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.2);
}

.item-1 { top: -25px; left: 50%; transform: translateX(-50%); }
.item-2 { top: 50%; right: -25px; transform: translateY(-50%); }
.item-3 { bottom: -25px; left: 50%; transform: translateX(-50%); }
.item-4 { top: -25px; left: 50%; transform: translateX(-50%); }
.item-5 { top: 50%; right: -25px; transform: translateY(-50%); }
.item-6 { bottom: -25px; left: 50%; transform: translateX(-50%); }

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ======================
   SCROLL INDICATOR
   ====================== */

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.scroll-arrow i {
    font-size: 1.5rem;
    animation: arrowBounce 1.5s infinite;
}

@keyframes arrowBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ======================
   BUTTONS
   ====================== */

.btn-custom {
    background: linear-gradient(45deg, var(--cta-color), var(--primary-color));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(254, 228, 64, 0.4), transparent);
    transition: left 0.5s;
}

.btn-custom:hover::before {
    left: 100%;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(58, 12, 163, 0.4);
    color: white;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    text-decoration: none;
}

/* Enhanced Button Variants */
.btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.4);
    transform: translateY(-2px);
}

.btn-outline-success:hover {
    box-shadow: 0 0 15px rgba(25, 135, 84, 0.4);
    transform: translateY(-2px);
}

.btn-outline-info:hover {
    box-shadow: 0 0 15px rgba(13, 202, 240, 0.4);
    transform: translateY(-2px);
}

.btn-outline-warning:hover {
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
    transform: translateY(-2px);
}

/* ======================
   SECTION TITLES
   ====================== */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(254, 228, 64, 0.5);
}

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* ======================
   SERVICE CARDS
   ====================== */

.services-preview {
    background: var(--light-bg);
}

.modern-card {
    background: white;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(90, 24, 154, 0.1);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.modern-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(90, 24, 154, 0.2);
}

.card-header {
    padding: 2rem 2rem 1rem;
    background: transparent;
    border: none;
}

.service-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.service-icon-wrapper .service-icon {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    color: var(--secondary-color);
    transition: all 0.4s ease;
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1), rgba(254, 228, 64, 0.1));
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
}

.modern-card:hover .icon-bg {
    transform: scale(1);
}

.modern-card:hover .service-icon {
    color: var(--accent-color);
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(254, 228, 64, 0.5);
}

.card-body {
    padding: 0 2rem 2rem;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1), rgba(254, 228, 64, 0.1));
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(157, 78, 221, 0.2);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.cloud-portal-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.cloud-portal-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.3);
}

/* Legacy Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(90, 24, 154, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(90, 24, 154, 0.15);
    border-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--accent-color);
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(254, 228, 64, 0.6);
}

/* ======================
   STATS SECTION
   ====================== */

.stats-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 80%, rgba(254, 228, 64, 0.1) 0%, transparent 50%);
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 2;
}

.stat-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: inline-block;
}

.stat-plus,
.stat-separator {
    font-size: 2rem;
    color: var(--accent-color);
    margin: 0 0.2rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    display: block;
}

/* ======================
   TECHNOLOGY SHOWCASE
   ====================== */

.technology-showcase {
    background: var(--light-bg);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.tech-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(90, 24, 154, 0.1);
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(90, 24, 154, 0.15);
}

.category-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

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

.tech-icon i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.tech-icon:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.tech-icon span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.tech-icon:hover span {
    color: var(--primary-color);
}

/* ======================
   PROCESS TIMELINE
   ====================== */

.process-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.process-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color), rgba(254, 228, 64, 0.3));
}

.process-step {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    position: relative;
    z-index: 2;
}

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

.step-content {
    flex: 1;
    padding-bottom: 2rem;
}

.step-content h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.step-content p {
    opacity: 0.9;
    line-height: 1.6;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    left: -10px;
    top: -10px;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--accent-color);
}

/* ======================
   CTA SECTION
   ====================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(254, 228, 64, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.cta-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    animation: pulse 3s infinite;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ======================
   ABOUT PAGE STYLES
   ====================== */

.about-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border: 1px solid rgba(157, 78, 221, 0.1);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-item i {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.feature-item:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.feature-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ======================
   SERVICE DETAIL PAGES
   ====================== */

.service-detail {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(157, 78, 221, 0.1);
    transition: all 0.3s ease;
}

.service-detail:hover {
    transform: translateY(-5px);
}

.service-detail h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-detail ul {
    list-style: none;
    padding-left: 0;
}

.service-detail ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.service-detail ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-detail ul li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.service-detail ul li:hover::before {
    color: var(--accent-color);
}

/* ======================
   FOOTER STYLES
   ====================== */

.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(157, 78, 221, 0.1), transparent);
}

.newsletter-section {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1), rgba(254, 228, 64, 0.1));
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(157, 78, 221, 0.2);
    margin-bottom: 3rem;
}

.newsletter-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 0;
}

.newsletter-form .input-group {
    max-width: 400px;
    margin-left: auto;
}

.newsletter-form .form-control {
    border: 2px solid rgba(157, 78, 221, 0.2);
    border-right: none;
    background: white;
}

.newsletter-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
}

.newsletter-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0.5rem 1.5rem;
}

.footer-section {
    position: relative;
    z-index: 2;
}

.footer-brand {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-section h5 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section img {
    filter: brightness(0.9);
}

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

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #1da1f2; }
.social-link.linkedin { background: #0077b5; }
.social-link.instagram { background: #e4405f; }
.social-link.github { background: #333; }
.social-link.youtube { background: #ff0000; }

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 1rem;
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.footer-contact strong {
    display: block;
    color: white;
    margin-bottom: 0.2rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.quick-contact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.quick-contact-btn {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-contact-btn.whatsapp {
    background: #25d366;
    color: white;
}

.quick-contact-btn.email {
    background: var(--secondary-color);
    color: white;
}

.quick-contact-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.quick-contact-btn i {
    margin-right: 0.5rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 3rem 0 2rem;
}

.footer-bottom {
    padding-top: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.legal-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.legal-link:hover {
    color: var(--accent-color);
}

/* ======================
   CONTACT PAGE STYLES
   ====================== */

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(157, 78, 221, 0.1);
}

.contact-info {
    padding: 1rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.contact-item:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.contact-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-color);
    transition: color 0.3s ease;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    padding: 1rem;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.contact-method i {
    display: block;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-method:hover i {
    transform: scale(1.1);
}

.contact-method h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color) !important;
    transform: translateY(-3px);
}

/* ======================
   FORM STYLES
   ====================== */

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background-color: white;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(157, 78, 221, 0.25);
    background-color: white;
}

.form-select {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background-color: white;
}

.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(157, 78, 221, 0.25);
    background-color: white;
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* ======================
   BACK TO TOP BUTTON
   ====================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.3);
}

/* ======================
   ANIMATION UTILITIES
   ====================== */

.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.animate-on-scroll.hidden {
    opacity: 0;
    transform: translateY(30px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(254, 228, 64, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(254, 228, 64, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(254, 228, 64, 0);
    }
}

/* Bounce animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* ======================
   NOTIFICATION STYLES
   ====================== */

.notification {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    border-left: 4px solid #198754;
    color: #155724;
}

.alert-info {
    background-color: rgba(157, 78, 221, 0.1);
    border-left: 4px solid var(--secondary-color);
    color: var(--primary-color);
}

/* ======================
   FOCUS STYLES FOR ACCESSIBILITY
   ====================== */

.btn:focus,
.nav-link:focus,
.language-switcher button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ======================
   CUSTOM SCROLLBAR
   ====================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ======================
   UTILITY CLASSES
   ====================== */

.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-secondary-custom {
    color: var(--secondary-color) !important;
}

.text-accent-custom {
    color: var(--accent-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary-color) !important;
}

.bg-accent-custom {
    background-color: var(--accent-color) !important;
}

/* ======================
   RESPONSIVE DESIGN
   ====================== */

@media (max-width: 768px) {
    .hero-title .title-line-1,
    .hero-title .title-line-2 {
        font-size: 2.5rem;
    }
    
    .title-accent {
        font-size: 1.2rem;
        margin-top: 0.5rem;
    }
    
    .tech-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .hero-illustration {
        height: 300px;
        margin-top: 2rem;
    }
    
    .tech-orbit {
        width: 250px;
        height: 250px;
    }
    
    .ring-1 {
        width: 150px;
        height: 150px;
    }
    
    .ring-2 {
        width: 220px;
        height: 220px;
    }
    
    .orbit-item {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .process-timeline {
        padding-left: 0;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        margin-right: 1.5rem;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-section {
        padding: 2rem;
    }
    
    .newsletter-form .input-group {
        margin-left: 0;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .quick-contact {
        justify-content: center;
    }
    
    .footer-legal {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand img {
        height: 28px;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .about-content {
        padding: 2rem;
    }
    
    .service-detail {
        padding: 1.5rem;
    }
    
    .language-switcher {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .hero-title .title-line-1,
    .hero-title .title-line-2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn-custom {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .navbar-brand img {
        height: 25px;
        margin-right: 8px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-bottom: 0.5rem;
    }
    
    .tech-icons {
        grid-template-columns: 1fr;
    }
    
    .orbit-item {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
    
    .cta-icon {
        font-size: 3rem;
    }
}

/* ======================
   PRINT STYLES
   ====================== */

@media print {
    .navbar,
    .footer,
    .btn,
    .language-switcher,
    .animated-bg,
    .page-loader {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
        background: white !important;
        color: black !important;
    }
    
    .service-card,
    .contact-form,
    .about-content {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
    
    * {
        color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

/* ======================
   HIGH CONTRAST MODE SUPPORT
   ====================== */

@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid var(--primary-color);
    }
    
    .btn-custom {
        border: 2px solid white;
    }
    
    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* ======================
   REDUCED MOTION SUPPORT
   ====================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-section::before {
        animation: none;
    }
    
    .hero-title {
        animation: none;
    }
    
    .floating-element {
        animation: none;
    }
    
    .orbit-ring {
        animation: none;
    }
}