/* Force hide Blazor error UI */
#blazor-error-ui {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove all list styles globally */
ul, ol, li {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    margin: 0;
    padding: 0;
}

:root {
    --gold-primary: #D4AF37;
    --gold-secondary: #C19B2C;
    --gold-light: #E6D5AA;
    --gold-dark: #9B7F28;
    --gold-subtle: #F4E4C1;
    --cyan-primary: #22d3ee;
    --cyan-dark: #0891b2;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.navbar {
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--cyan-dark) 0%, var(--gold-primary) 50%, var(--cyan-dark) 100%);
    border-image-slice: 1;
    color: #cbd5e1;
    padding: 0.7rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 1px 20px rgba(30, 41, 59, 0.1), 0 2px 10px rgba(255, 215, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo-img {
    height: 65px;
    width: auto;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
}

.logo-img:hover {
    filter: brightness(1.2) contrast(1.2);
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1;
    padding-top: 2px;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-menu a:hover {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.15);
}

.phone-link {
    background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--cyan-dark) 100%);
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
    transform: translateY(0);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.phone-link i {
    margin-right: 0.3rem;
}

.phone-link:hover {
    background: linear-gradient(135deg, #0891b2 0%, #22d3ee 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.6);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    position: relative;
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.15) 0%, transparent 70%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%2322d3ee" fill-opacity="0.08" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.company-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #22d3ee;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #cbd5e1 0%, #ffffff 50%, #e2e8f0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: none;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.9);
}

.hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.8);
}

.location {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.3);
    border: 2px solid rgba(34, 211, 238, 0.5);
}

.cta-button.primary {
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #22d3ee;
    color: #22d3ee;
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
    color: white;
}

.cta-button i {
    margin-right: 0.5rem;
}

.cta-button:hover {
    background: linear-gradient(135deg, #0891b2 0%, #22d3ee 100%);
    border-color: #22d3ee;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 211, 238, 0.4);
}

/* Section Styling */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #1e293b;
    text-align: center;
    font-weight: 700;
    position: relative;
    text-transform: none;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan-dark) 0%, var(--gold-primary) 35%, var(--gold-light) 50%, var(--gold-primary) 65%, var(--cyan-dark) 100%);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
}

/* About Section */
.about p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    text-align: left;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: #22d3ee;
    text-align: center;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #22d3ee;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    text-transform: lowercase;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item, .service-block {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-icon {
    color: var(--cyan-primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    display: block;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.2));
}

.service-item::before, .service-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
}

.service-item:hover, .service-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: rgba(34, 211, 238, 0.3);
}

.service-item:hover .service-icon, .service-block:hover .service-icon {
    transform: scale(1.1) rotateY(360deg);
    color: #0891b2;
}

.service-item h3, .service-block h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-item p, .service-block p {
    color: #64748b;
    line-height: 1.7;
    font-size: 15px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-block {
    text-align: left;
}

.service-content {
    padding: 2rem;
}

.service-cta {
    display: inline-block;
    color: #22d3ee;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid #22d3ee;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.service-cta:hover {
    background: #22d3ee;
    color: white;
}

/* Experience Section */
.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.achievements ul {
    list-style: none;
}

.achievements li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.achievements li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #38a169;
    font-weight: bold;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.achievement-icon {
    font-size: 1.5rem;
    color: #22d3ee;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: rgba(34, 211, 238, 0.3);
}

.skill-category h4 {
    color: #1e293b;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.skill-category p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.contact-item i {
    color: #22d3ee;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: rgba(34, 211, 238, 0.3);
}

.contact-item strong {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: #1e293b;
    font-weight: 600;
}

.contact-item a {
    color: #22d3ee;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #1e293b;
    font-weight: 600;
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f9fafb;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #22d3ee;
    background: white;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.contact-form button {
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
    color: white;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.4);
}

.contact-form button i {
    margin-right: 0.5rem;
}

.contact-form button:hover:not(:disabled) {
    background: linear-gradient(135deg, #0891b2 0%, #22d3ee 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.6);
}

.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #cbd5e1;
    text-align: center;
    padding: 3rem 0;
    font-size: 15px;
}

/* Client showcase */
.client-showcase {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 20px;
}

.client-showcase h4 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.client-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.client-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.client-icon {
    font-size: 2rem;
    color: #22d3ee;
}

.client-info h5 {
    color: #1e293b;
    margin-bottom: 0.3rem;
}

.client-info p {
    color: #64748b;
    font-size: 0.9rem;
}

.about-cta {
    text-align: center;
    margin-top: 2rem;
}

.cta-link {
    color: #22d3ee;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #22d3ee;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.cta-link:hover {
    color: #0891b2;
    border-color: #0891b2;
}

.section-intro {
    text-align: center;
    color: #64748b;
    font-size: 1.2rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero {
        padding: 60px 0 80px; /* Reduced top padding since navbar is not fixed */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .company-name {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .experience-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .service-item,
    .skill-category,
    .contact-item,
    .contact-form {
        padding: 1.5rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0 60px; /* Reduced top padding since navbar is not fixed */
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .company-name {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .service-item,
    .skill-category,
    .contact-item,
    .contact-form {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .phone-link {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Smooth scrolling and modern additions */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0891b2 0%, #22d3ee 100%);
}

/* Selection styling */
::selection {
    background: rgba(34, 211, 238, 0.3);
    color: #1e293b;
}

/* Focus states */
*:focus {
    outline: 2px solid rgba(34, 211, 238, 0.6);
    outline-offset: 2px;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--cyan-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

/* Hamburger animation when active */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    /* Make navbar non-sticky on mobile */
    .navbar {
        position: relative !important;
        top: auto !important;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        right: -100%;
        top: 100%;
        flex-direction: column;
        background: rgba(30, 41, 59, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(34, 211, 238, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(34, 211, 238, 0.1);
        padding-left: 2.5rem;
    }
    
    .phone-link {
        margin: 1rem 2rem;
        display: inline-block;
        width: calc(100% - 4rem);
    }
    
    /* Adjust logo on mobile */
    .logo {
        flex: 1;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 0.95rem;
        padding: 0.7rem 1rem;
    }
    
    .phone-link {
        padding: 10px 18px !important;
        font-size: 0.9rem;
    }
}