/* ==========================================================================
   Web Corsair Brand Stylesheet - 2026 Fluid Structure Theme
   ========================================================================== */

:root {
    --bg-primary: #1A1A2E;         /* Deep Ocean Charcoal */
    --bg-secondary: #22223B;       /* Layered Card Container Charcoal */
    --accent-teal: #00F2FE;        /* Cyber Teal Neon Action */
    --accent-mint: #4FFFB0;        /* Electric Mint Variant */
    --text-light: #EAEFF2;         /* Steel Gray Base Copy */
    --text-muted: #9EAFBC;         /* Soft Descriptive Gray */
    --white: #FFFFFF;
    
    --font-main: 'Oswald', sans-serif;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Optimization */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-light);
    font-family: var(--font-main);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.centered { text-align: center; }

/* Global Typography & Gradients */
h1, h2, h3, h4 {
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Oswald';
}

p {
    color: var(--text-muted);
    font-weight: 400;
    font-family: 'Inter';
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* UI Elements */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--accent-teal);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald';
    padding: 0.8rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-teal);
    color: var(--bg-primary);
    border: 1px solid var(--accent-teal);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-teal);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-secondary-outline {
    background: transparent;
    color: var(--accent-teal);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.btn-secondary-outline:hover {
    border-color: var(--accent-teal);
    background: rgba(0, 242, 254, 0.05);
}

.full-width { width: 100%; }

/* Section Header Structure */
.section-header {
    margin-bottom: 4rem;
}
.section-subtitle {
    text-transform: uppercase;
    color: var(--accent-teal);
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.max-width-text {
    max-width: 700px;
    margin: 0 auto;
}

/* Header/Nav Layout */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo-img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--accent-teal);
    font-weight: 300;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-teal);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Interface Layout */
.hero-section {
    padding: 180px 0 100px 0;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.abstract-graphic-container {
    position: relative;
    width: 320px;
    height: 320px;
}

.floating-hero-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: floating-logo 6s ease-in-out infinite;
}

.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0,242,254,0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* About Grid Layout */
.about-section { padding: 100px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}
.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}
.about-stats {
    display: grid;
/*    grid-template-columns: 1fr 1fr;*/
    gap: 2rem;
}
.stat-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    text-align: center;
}
.stat-card h3 {
    font-size: 2.5rem;
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
}

.stat-card p{
	margin-bottom: 0;
}

/* Services Dynamic Cards */
.services-section {
    padding: 100px 0;
    background: rgba(0,0,0,0.1);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 8px;
    transition: all 0.3s var(--transition-smooth);
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 242, 254, 0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
}
.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}
.problem-tag {
    font-size: 0.9rem;
    color: #ef4444; /* Standard alert color context */
    margin-bottom: 0.75rem;
    border-left: 2px solid #ef4444;
    padding-left: 0.5rem;
}
.solution-tag {
    font-size: 0.9rem;
    color: var(--accent-mint);
    margin-bottom: 0;
    border-left: 2px solid var(--accent-mint);
    padding-left: 0.5rem;
}

/* Why Choose Us Grid */
.why-section { padding: 100px 0; }
.why-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.why-list {
    list-style: none;
}
.why-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}
.why-list li i {
    color: var(--accent-mint);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}
.callout-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #2A2A4A 100%);
    padding: 3rem;
    border-radius: 12px;
    border-right: 4px solid var(--accent-teal);
}
.callout-card h4 {
    margin-bottom: 1rem;
    color: var(--accent-teal);
}
.callout-card p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Timeline Layout */
.process-section { padding: 100px 0; }
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    position: relative;
}
.process-step {
    position: relative;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2rem 1.5rem;
    border-radius: 6px;
}
.step-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(0, 242, 254, 0.15);
    margin-bottom: 1rem;
}
.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

/* Tech Badges Container */
.tech-section {
    padding: 80px 0;
    background: rgba(0,0,0,0.1);
}
.tech-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.tech-badge {
    background: var(--bg-secondary);
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.03);
    font-size: 0.95rem;
}

/* Portfolio Work Cases */
.portfolio-section { padding: 100px 0; }
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}
.project-card {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    border: 1px solid rgba(255,255,255,0.02);
    transition: transform 0.3s ease;
}
.project-card:hover {
    transform: scale(1.01);
}
.project-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-teal);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.project-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.project-tech {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.project-tech span {
    font-size: 0.8rem;
    background: rgba(255,255,255,0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    color: var(--white);
}

/* Testimonial Panel */
.testimonials-section {
    padding: 100px 0;
    background: rgba(0,0,0,0.1);
}
.testimonial-container {
    max-width: 800px;
    margin: 3rem auto 0 auto;
}
.testimonial-container blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.testimonial-container cite {
    font-style: normal;
    color: var(--accent-teal);
    font-weight: 500;
}

/* Strategic Interface Form Contact Grid */
.contact-section { padding: 100px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}
.contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}
.contact-methods {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.method-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s ease;
}
.method-link i {
    color: var(--accent-teal);
    font-size: 1.3rem;
}
.method-link:hover {
    color: var(--accent-teal);
}

.contact-form-holder {
    background: var(--bg-secondary);
    padding: 3.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.02);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.85rem 1rem;
    border-radius: 6px;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
}

/* Footer Section styling */
.main-footer {
    background: #0F0F1E;
    padding: 50px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.03);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}
.footer-brand p { margin-top: 1rem; max-width: 300px; }
.footer-links h4, .footer-socials h4 { margin-bottom: 1.25rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; color: var(--white); }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 0.75rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent-teal); }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { width: 40px; height: 40px; background: rgba(255,255,255,0.03); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--white); text-decoration: none; transition: background 0.2s ease; }
.social-icons a:hover { background: var(--accent-teal); color: var(--bg-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.03); padding-top: 2rem; font-size: 0.9rem; }

/* Native High Performance Keyframe Web Animations */
@keyframes floating-logo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-fade-in {
    opacity: 0;
    animation: simpleFade 1s forwards ease-out 0.2s;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: simpleSlide 1s forwards cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

@keyframes simpleFade { to { opacity: 1; } }
@keyframes simpleSlide { to { opacity: 1; transform: translateY(0); } }

/* Base Scroll Reveal Classes mapped cleanly via JS Execution */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Media Controls styling */
@media (max-width: 992px) {
    .hero-container, .about-grid, .why-wrapper, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-visual { order: -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    .nav-menu {
        display: none; /* Can be enhanced easily into toggle slide list if needed */
    }
    .mobile-nav-toggle { display: block; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

.hero-title {
    font-family: 'Oswald';
    font-weight: 700;             /* Bold weight */
    text-transform: uppercase;    /* Forces all caps */
    letter-spacing: 0.5px;        /* Keeps letters tightly but cleanly packed */
    font-size: 2.5rem;
    color: #FFFFFF;
}

/* Body Text Style (The Paragraph) */
.hero-body {
    font-family: 'Oswald';
    font-weight: 300;             /* Light/Book weight for high contrast */
    line-height: 1.4;             /* Tighter vertical stacking */
    color: rgba(255, 255, 255, 0.7); /* Slightly faded white for hierarchy */
}

/* Core Terminal Container */
.hero-terminal {
  width: 100%;
  max-width: 540px;
  background: #0B120E; /* Deep dark code background from image_1de200.png */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 
              0 0 40px rgba(16, 185, 129, 0.03); /* Subtle matrix glow tint */
  overflow: hidden;
  font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', Consolas, monospace;
  animation: word-in 0.8s 0.5s ease both;
}

/* macOS Top Window Header Bar */
.term-bar {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  background: #0F1813; /* Slightly lighter header tint */
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
}

/* Window Control Dots */
.term-dots {
  display: flex;
  gap: 8px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dr { background: #FF5F56; } /* Apple Red */
.dy { background: #FFBD2E; } /* Apple Yellow */
.dg { background: #27C93F; } /* Apple Green */

/* Tab/Window File Title */
.term-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: #61756A; /* Muted olive tech-gray text */
  letter-spacing: 0.5px;
}

/* Terminal Internal Content Area */
.term-body {
  padding: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #D1D5DB; /* Clean bone white for generic code structures */
  text-align: left;
}

/* Precise Syntax Highlighting Matrix Classes */
.tc { color: #4B6354; font-style: italic; }       /* Comments: Dark forest gray */
.tk { color: #58A6FF; }                            /* Keywords/Controls: Cyber Blue */
.tprop { color: #79C0FF; }                         /* Properties: Soft Ice Blue */
.tstr { color: #A5D6FF; }                          /* Strings: Elegant Soft Blue Tint */
.tv { color: #D2A8FF; }                            /* Variables: Light Royal Lavender */
.tsg { color: #56D364; }                           /* Global Functions: Neon Mint Mint */
.tout { color: #8B949E; margin-right: 8px; }       /* Command prompt symbol */

/* Blinking Terminal Cursor Element */
.cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: #56D364;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}