/* -----------------------------------------------------------
   THEME VARIABLES
   ----------------------------------------------------------- */
:root {
    /* Dark Theme (Shiftwave Style) */
    --bg-body: #030712;
    --text-heading: #ffffff;
    --text-body: #9ca3af;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-ui: rgba(255, 255, 255, 0.1);
    --nav-blur-bg: rgba(3, 7, 18, 0.8);
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --glow-strength: 0.15;
    --btn-outline-color: #ffffff;
    --purple-primary: #5b21b6; /* Deep Royal Purple */
    --purple-hover: #4c1d95;
    --purple-light: #f5f3ff;
    --navy: #0f172a;
    --slate: #64748b;
    --border-gray: #e2e8f0;
}

[data-theme="light"] {
    /* Light Theme (Professional High-Contrast) */
    --bg-body: #ffffff;
    --text-heading: #0f172a;
    --text-body: #334155; /* Darker for better visibility */
    --card-bg: #f1f5f9;
    --border-ui: #e2e8f0;
    --nav-blur-bg: rgba(255, 255, 255, 0.8);
    --glow-strength: 0.06;
    --btn-outline-color: #0f172a;
}

/* -----------------------------------------------------------
   GLOBAL STYLES
   ----------------------------------------------------------- */
body {
    background-color: var(--bg-body);
    color: var(--text-body);
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    margin: 0;
}

h1, h2, h3, h4, .brand-text-main {
    color: var(--text-heading);
}

.fw-extra-bold { font-weight: 800; }

/* Background Glows */
.glow-sphere {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: var(--glow-strength);
    transition: opacity 0.4s ease;
}
.sphere-1 { background: #6366f1; top: -200px; right: -100px; }
.sphere-2 { background: #a855f7; bottom: -200px; left: -100px; }

/* -----------------------------------------------------------
   NAVIGATION
   ----------------------------------------------------------- */
.navbar {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: var(--nav-blur-bg) !important;
    border-bottom: 1px solid var(--border-ui);
    padding: 1rem 0;
}

.text-primary-accent { color: #818cf8; }

.nav-link {
    color: var(--text-body) !important;
    transition: 0.3s;
}

.nav-link:hover { color: var(--text-heading) !important; }

.btn-theme-icon {
    color: var(--text-heading);
    font-size: 1.2rem;
}

/* -----------------------------------------------------------
   HERO & BUTTONS
   ----------------------------------------------------------- */
.hero-section { padding: 180px 0 100px; }

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    max-width: 750px;
    font-size: 1.25rem;
    color: var(--text-body);
}

.badge-custom {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #818cf8;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.btn-shift-action {
    background: var(--primary-gradient);
    color: #ffffff !important;
    border: none;
    border-radius: 14px;
    padding: 16px 36px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-shift-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.btn-outline-themed {
    border: 2px solid var(--btn-outline-color);
    color: var(--text-heading);
    border-radius: 14px;
    font-weight: 700;
}

/* -----------------------------------------------------------
   CARDS
   ----------------------------------------------------------- */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-ui);
    border-radius: 30px;
    padding: 50px;
    height: 100%;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-15px);
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.02);
}

.icon-box {
    width: 65px;
    height: 65px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.glass-card p {
    line-height: 1.8;
}

/* -----------------------------------------------------------
   SOLUTIONS PAGE - DETAILED STYLES
   ----------------------------------------------------------- */

.mini-feature {
    background: var(--card-bg);
    border: 1px solid var(--border-ui);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-feature i {
    font-size: 1.2rem;
}

.mini-feature h6 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
}

.bg-primary-grad-subtle {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(168, 85, 247, 0.05));
    border-left: 4px solid #6366f1;
}

.process-step {
    padding: 20px;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 10px;
}

.process-step h6 {
    font-weight: 800;
    color: var(--text-heading);
}

.process-step p {
    font-size: 0.85rem;
}

/* Specific Spacing */
.mb-100 {
    margin-bottom: 100px;
}

/* -----------------------------------------------------------
   NEW COMPONENTS - SOLUTIONS PAGE
   ----------------------------------------------------------- */

/* Metric Cards */
.metric-card {
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-ui);
    border-radius: 20px;
}
.metric-card h2 { font-weight: 800; margin-bottom: 5px; }
.metric-card p { font-size: 0.8rem; margin: 0; font-weight: 600; }

/* Lifecycle Boxes */
.lifecycle-box {
    padding: 30px;
    background: var(--bg-body);
    border: 1px solid var(--border-ui);
    border-radius: 20px;
    transition: 0.3s;
}
.lifecycle-box:hover { transform: translateY(-5px); border-color: #6366f1; }
.step-num { 
    font-size: 2.5rem; 
    font-weight: 800; 
    background: var(--primary-gradient); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    opacity: 0.4;
}

/* Vertical Timeline */
.timeline-container {
    max-width: 600px;
    margin: 0 auto;
    border-left: 2px solid var(--border-ui);
    padding-left: 30px;
    position: relative;
}
.timeline-item {
    position: relative;
    padding-bottom: 40px;
}
.timeline-dot {
    position: absolute;
    left: -41px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    border: 4px solid var(--bg-body);
}
.timeline-content h6 { font-weight: 800; color: var(--text-heading); }

/* Theme Helpers */
.bg-card-themed { background: var(--card-bg); }
.bg-primary-grad-subtle {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(168, 85, 247, 0.05)) !important;
}
/* -----------------------------------------------------------
   WEB ENGINEERING SPECIFIC STYLES
   ----------------------------------------------------------- */

.tech-stack-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--card-bg);
    border: 1px solid var(--border-ui);
    border-radius: 16px;
    height: 100%;
    transition: 0.3s ease;
}

.tech-stack-item:hover {
    border-color: #6366f1;
    transform: translateX(5px);
}

.tech-stack-item i {
    font-size: 1.4rem;
    margin-top: 3px;
}

.tech-stack-item strong {
    display: block;
    color: var(--text-heading);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.tech-stack-item p {
    font-size: 0.75rem;
    line-height: 1.4;
}

.tech-visual-card {
    border-left: 4px solid #6366f1;
    background: linear-gradient(135deg, var(--card-bg), transparent);
}

/* Ensure bullet icons are colored */
.solution-list i.text-primary-accent {
    color: #818cf8 !important;
}
/* -----------------------------------------------------------
   ENGINEERING LIFECYCLE CUSTOM STYLES
   ----------------------------------------------------------- */

.lifecycle-card {
    background: var(--card-bg);
    border: 1px solid var(--border-ui);
    padding: 35px;
    border-radius: 24px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lifecycle-card:hover {
    transform: translateY(-10px);
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.02);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    opacity: 0.15;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-header i {
    font-size: 1.8rem;
    color: var(--text-heading);
    opacity: 0.8;
}

.lifecycle-card h5 {
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 15px;
}

.step-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    border-top: 1px solid var(--border-ui);
    padding-top: 15px;
}

.step-list li {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.step-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #818cf8;
}

.bg-card-themed {
    background: var(--card-bg);
}
/* -----------------------------------------------------------
   TECH & AI ENHANCEMENTS
   ----------------------------------------------------------- */

.mb-100 { margin-bottom: 100px; }

.tech-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-ui);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 4px;
    color: var(--text-heading);
}

.value-highlight {
    background: rgba(99, 102, 241, 0.08);
    padding: 15px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.border-primary-glow {
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.05);
}

.ai-capability-list li {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-heading);
}

.ai-visual-box {
    padding: 50px;
    background: var(--primary-gradient);
    border-radius: 30px;
    color: white;
    display: inline-block;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.ai-icon-glow {
    font-size: 4rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.synergy-card {
    padding: 25px;
    background: var(--bg-body);
    border: 1px solid var(--border-ui);
    border-radius: 20px;
    height: 100%;
}

.synergy-card h6 {
    font-weight: 800;
    color: var(--text-heading);
}
/* -----------------------------------------------------------
   CORPORATE FOOTER STYLES
   ----------------------------------------------------------- */
.footer-corporate {
    background-color: #0f172a; /* Deep Navy */
    color: #ffffff;
    padding-top: 40px;
    font-family: 'Inter', sans-serif;
}

.text-accent {
    color: #2563eb; /* Cobalt Blue */
}

.text-slate {
    color: #94a3b8; /* Professional Gray */
}

.footer-bio {
    line-height: 1.7;
    font-size: 0.95rem;
}

.tracking-wider {
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

/* Links and Hover States */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover, .hover-white:hover {
    color: #ffffff;
}

/* Social Buttons */
.social-btn {
    width: 38px;
    height: 38px;
    background-color: #1e293b;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Footer Bottom */
.border-secondary-dark {
    border-color: #1e293b !important;
}

.footer-contact i {
    font-size: 1rem;
}
/* -----------------------------------------------------------
   CORPORATE MODAL & FORM STYLES
   ----------------------------------------------------------- */
/* Theme Touches */
.text-purple { color: var(--purple-primary) !important; }

.accent-line-purple {
    width: 50px;
    height: 3px;
    background-color: var(--purple-primary);
    margin-top: 10px;
}

/* Button Styling */
.btn-purple-corporate {
    background-color: var(--purple-primary);
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px;
    transition: all 0.3s ease;
}

.btn-purple-corporate:hover {
    background-color: var(--purple-hover);
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(91, 33, 182, 0.2);
}

/* Input Fields */
.corporate-field-purple {
    border: 1px solid var(--border-gray);
    border-radius: 0;
    padding: 14px 18px;
    font-size: 0.95rem;
    color: var(--navy);
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.corporate-field-purple:focus {
    border-color: var(--purple-primary);
    background-color: var(--purple-light);
    box-shadow: none;
    outline: none;
}

/* Label Styling */
.corporate-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* Modal Specifics */
.corporate-modal-v2 {
    border-top: 5px solid var(--purple-primary); /* Adds a subtle purple bar at the very top */
    border-radius: 0;
}