:root {
    --primary-color: #00d4ff;
    --secondary-color: #0a0e1a;
    --accent-color: #1a1f2e;
    --text-light: #e1e8f0;
    --text-muted: #6b7280;
    --gradient-bg: linear-gradient(135deg, #0a0e1a 0%, #0f1419 50%, #1a1f2e 100%);
    --blue-glow: rgba(0, 212, 255, 0.3);
    --dark-blue: #001122;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

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

/* Navigation */
.navbar {
    background: rgba(10, 14, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

.dropdown-menu {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.dropdown-item {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-bg);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%231a1f2e" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

/* Floating particles animation */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--primary-color), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--primary-color), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--primary-color), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--primary-color), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--primary-color), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: float 20s linear infinite;
    opacity: 0.3;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), #0099cc, #66ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-button {
    background: linear-gradient(45deg, var(--primary-color), #0099cc);
    color: var(--dark-blue);
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.cta-button:hover {
    background: linear-gradient(45deg, #66ccff, var(--primary-color));
    color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.5);
}

/* Service Cards */
.service-card {
    background: linear-gradient(145deg, var(--secondary-color), var(--accent-color));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: all 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.service-features i {
    color: var(--primary-color);
    margin-right: 8px;
}

.service-btn {
    background: linear-gradient(45deg, var(--primary-color), #0099cc);
    color: var(--dark-blue);
    padding: 10px 25px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-top: auto;
}

.service-btn:hover {
    background: linear-gradient(45deg, #66ccff, var(--primary-color));
    color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Problem/Content Section */
.problem-section {
    padding: 100px 0;
    background: var(--accent-color);
}

.why-choose-section {
    padding: 100px 0;
    background: var(--gradient-bg);
}

.problem-card {
    background: linear-gradient(145deg, var(--secondary-color), var(--accent-color));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: all 0.5s ease;
}

.problem-card:hover::before {
    left: 100%;
}

.problem-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
}

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

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--gradient-bg);
}

.about-card {
    background: linear-gradient(145deg, rgba(26, 31, 46, 0.9), rgba(10, 14, 26, 0.9));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

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

.achievement-badge {
    background: linear-gradient(45deg, var(--primary-color), #0099cc);
    color: var(--dark-blue);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin: 8px;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.achievement-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: var(--accent-color);
}

.blog-card {
    background: linear-gradient(145deg, var(--secondary-color), var(--accent-color));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}

.blog-card:hover::before {
    width: 400px;
    height: 400px;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--gradient-bg);
}

.contact-form {
    background: linear-gradient(145deg, rgba(26, 31, 46, 0.9), rgba(10, 14, 26, 0.9));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.form-control {
    background: linear-gradient(145deg, var(--secondary-color), var(--accent-color));
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--text-light);
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.form-control:focus {
    background: linear-gradient(145deg, var(--accent-color), var(--secondary-color));
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25), inset 0 2px 5px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    background: linear-gradient(45deg, var(--primary-color), #0099cc);
    color: var(--dark-blue);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    font-size: 1.1rem;
}

.submit-btn:hover {
    background: linear-gradient(45deg, #66ccff, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
}

.rate-limit-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.success-message {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.error-message {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.countdown {
    font-weight: bold;
    color: var(--primary-color);
}

.submit-btn:disabled {
    background: #666 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Service Detail Pages Styles */
.service-hero {
    min-height: 80vh;
    background: var(--gradient-bg);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.service-hero::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%231a1f2e" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.methodology-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.tools-section {
    padding: 80px 0;
    background: var(--accent-color);
}

.deliverables-section {
    padding: 80px 0;
    background: var(--gradient-bg);
}

.methodology-step {
    background: linear-gradient(145deg, var(--accent-color), var(--secondary-color));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.methodology-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.methodology-step:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.step-number {
    background: var(--primary-color);
    color: var(--dark-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 15px;
}

.tool-card {
    background: linear-gradient(145deg, var(--secondary-color), var(--accent-color));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.2);
}

.deliverable-item {
    background: linear-gradient(145deg, rgba(26, 31, 46, 0.9), rgba(10, 14, 26, 0.9));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.deliverable-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.breadcrumb {
    background: rgba(26, 31, 46, 0.5);
    border-radius: 10px;
    padding: 10px 20px;
    margin-bottom: 30px;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Terminal Effect */
.terminal-text {
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.typing::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Icons */
.icon-large {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1, .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle, .service-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .methodology-step:hover {
        transform: none;
    }
}