/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
:root {
	--font-display: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	--font-body: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

body {
	font-family: var(--font-body);
	letter-spacing: 0.2px;
}

.hero-title,
.section-title,
.about-text h2 {
	font-family: var(--font-display);
	letter-spacing: -0.5px;
}

.hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); }

/* Eyebrow label */
.eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.8rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #94a3b8;
	margin-bottom: 0.75rem;
	position: relative;
	padding-left: 2.25rem;
}

.eyebrow::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 2px;
	background: #2563eb;
	border-radius: 2px;
	opacity: 0.8;
}

.hero-eyebrow { color: #a5b4fc; }

/* Section header spacing */
.section-header { margin-bottom: 3rem; }
.section-subtitle {
	font-family: var(--font-body);
	font-size: 1rem;
	color: #6b7280;
}

/* Card typography */
.service-card h3 {
	font-family: var(--font-display);
	font-size: 1.25rem;
	letter-spacing: -0.2px;
}

.service-card p,
.service-details li { font-size: 0.98rem; }

/* Nav */
.nav-logo span {
	font-family: var(--font-display);
	letter-spacing: -0.2px;
}

/* Buttons */
.btn { font-family: var(--font-display); letter-spacing: 0; }

/* Lists in footer */
.footer-section ul li a {
	color: #9ca3af;
	text-decoration: none;
}
.footer-section ul li a:hover { color: #cbd5e1; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(45deg, #fff, #f0f9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-icons {
    position: relative;
    width: 300px;
    height: 300px;
}

.floating-icons i {
    position: absolute;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

.floating-icons i:nth-child(1) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.floating-icons i:nth-child(2) {
    top: 20%;
    right: 20%;
}

.floating-icons i:nth-child(3) {
    bottom: 20%;
    left: 20%;
}

/* Animations */
.pulse {
    animation: pulse 2s infinite;
}

.bounce {
    animation: bounce 2s infinite;
}

.rotate {
    animation: rotate 3s linear infinite;
}

.spin {
    animation: spin 4s linear infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    color: #10b981;
    font-size: 1.2rem;
}

.feature span {
    color: #374151;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.tech-animation i {
    position: absolute;
    font-size: 3rem;
    color: #2563eb;
}

.tech-animation i:nth-child(1) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tech-animation i:nth-child(2) {
    top: 20%;
    right: 20%;
}

.tech-animation i:nth-child(3) {
    bottom: 20%;
    left: 20%;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #64748b;
    line-height: 1.5;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-section p,
.footer-section li {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 1rem;
    }
}

/* Smooth scrolling and animations */
.service-card,
.contact-item,
.btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }
.service-card:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects */
.service-card:hover .service-icon {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Additional animations and effects */
.animate-in {
    animation: slideInUp 0.8s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced hover effects */
.service-card:hover .service-icon i {
    animation: bounce 0.6s ease;
}

.contact-item:hover .contact-icon i {
    animation: pulse 0.6s ease;
}

/* Gradient text animation */
.text-gradient {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Floating animation for hero icons */
.floating-icons i:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}

.floating-icons i:nth-child(2) {
    animation: float 6s ease-in-out infinite reverse;
    animation-delay: 2s;
}

.floating-icons i:nth-child(3) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 4s;
}

/* Enhanced button animations */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Service card shine effect */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

/* Enhanced form inputs */
.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

/* Social media hover effects */
.social-links a:hover i {
    animation: bounce 0.6s ease;
}

/* Notification styles */
.notification {
    font-family: 'Poppins', sans-serif;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.notification-close:hover {
    opacity: 1;
}

/* Mobile menu animations */
.nav-menu.active {
    animation: slideInDown 0.3s ease forwards;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced scroll animations */
.service-card,
.contact-item,
.about-content,
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.service-card.animate-in,
.contact-item.animate-in,
.about-content.animate-in,
.section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Particle effects */
.particle {
    pointer-events: none;
    z-index: 1;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.feature-item i {
    color: #fbbf24;
    font-size: 1.1rem;
}

/* Service Details */
.service-details {
    list-style: none;
    margin-top: 1rem;
    text-align: left;
}

.service-details li {
    color: #64748b;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Company Stats */
.company-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Certifications */
.certifications {
    margin-top: 2rem;
}

.certifications h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: #f1f5f9;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.cert-item i {
    color: #2563eb;
    font-size: 1.2rem;
}

.cert-item span {
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: #2563eb;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.pricing-card.featured {
    border-color: #2563eb;
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Eng mashhur';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: #64748b;
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    color: #64748b;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Enhanced Contact Form */
.contact-form h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: white;
}

.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .floating-icons {
        width: 200px;
        height: 200px;
    }
    
    .floating-icons i {
        font-size: 2.5rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }

    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }

    .company-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

/* Corporate tone adjustments */
.hero.hero-solid {
	background: #0f172a;
}

.text-gradient.no-animate {
	background: none;
	color: #e2e8f0;
	-webkit-text-fill-color: inherit;
}

.hero-description {
	opacity: 0.85;
}

.hero-features.muted .feature-item {
	color: #cbd5e1;
}

.floating-icons.subdued i {
	color: rgba(255, 255, 255, 0.35);
	font-size: 3rem;
}

.tech-animation.minimal i {
	color: #2563eb;
	opacity: 0.7;
}

/* Reduce motion for a serious tone */
@media (prefers-reduced-motion: no-preference) {
	.pulse, .bounce, .rotate, .spin, .float { animation-duration: 4s; }
}

/* Nav and buttons more sober */
.navbar { background: rgba(255,255,255,0.98); }
.btn-primary { box-shadow: none; }
.btn-primary:hover { box-shadow: none; }

/* Remove pricing visuals if present */
.pricing, .pricing-grid, .pricing-card { display: none; }

/* Footer tone */
.footer { background: #0b1220; }
.footer-section h3 { color: #e5e7eb; }
.footer-section p, .footer-section li { color: #9ca3af; }

/* Links */
.footer a { color: #9fb7ff; text-decoration: none; }
.footer a:hover { color: #cfe0ff; }

/* ===== Professional Color System ===== */
:root {
  /* Brand (accessible blue) */
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-900: #1e3a8a;

  /* Neutrals (slate) */
  --surface-0: #ffffff;
  --surface-1: #f8fafc; /* section backgrounds */
  --surface-2: #f1f5f9; /* subtle alt */
  --surface-900: #0b1220; /* footer/hero */

  /* Text */
  --text-strong: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-on-dark: #e2e8f0;

  /* Borders and shadows */
  --border-subtle: #e2e8f0;
  --shadow-rgb: 15, 23, 42; /* slate-900 for shadows */

  /* Hero */
  --hero-bg: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
}

/* ===== Theme Application (overrides) ===== */
body { color: var(--text-body); }

.navbar { background: rgba(255,255,255,0.98); }
.nav-link { color: var(--text-strong); }
.nav-link:hover { color: var(--brand-600); }

.hero.hero-solid { background: var(--hero-bg); }
.hero-content { color: var(--text-on-dark); }
.hero-description { color: rgba(226,232,240,0.9); }
.hero-features.muted .feature-item { color: #cbd5e1; }
.floating-icons.subdued i { color: rgba(255,255,255,0.35); }

.section-header .section-title { color: var(--text-strong); }
.section-subtitle { color: var(--text-muted); }

.services { background: var(--surface-1); }
.about { background: var(--surface-0); }
.contact { background: var(--surface-1); }

.service-card {
  background: var(--surface-0);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 6px 20px rgba(var(--shadow-rgb), 0.06);
}
.service-card:hover {
  box-shadow: 0 14px 30px rgba(var(--shadow-rgb), 0.12);
}

.service-icon { background: linear-gradient(135deg, var(--brand-600), var(--brand-500)); }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--brand-700), var(--brand-600)); }
.service-card h3 { color: var(--text-strong); }
.service-card p, .service-details li { color: var(--text-muted); }

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover { background: var(--brand-700); }

.btn-secondary {
  border: 2px solid var(--text-on-dark);
  color: var(--text-on-dark);
}
.btn-secondary:hover {
  background: var(--text-on-dark);
  color: var(--brand-700);
}

.footer { background: var(--surface-900); }
.footer-section h3 { color: #e5e7eb; }
.footer-section p, .footer-section li { color: #9ca3af; }
.footer a { color: #a5b4fc; }
.footer a:hover { color: #c7d2fe; }

/* Subtle alternating background helper (optional) */
.section-alt { background: var(--surface-2); }

/* Borders between major sections for structure */
.services, .about, .contact { border-top: 1px solid var(--border-subtle); }

/* ===== Preloader ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--surface-900);
  display: grid;
  place-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; color: var(--text-on-dark); }
.preloader-logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.3px;
}
.preloader-logo i { color: var(--brand-500); font-size: 1.4rem; }
.preloader-bars { margin-top: 1rem; display: inline-flex; gap: 6px; }
.preloader-bars span {
  width: 8px; height: 28px; border-radius: 4px;
  background: linear-gradient(180deg, var(--brand-400), var(--brand-600));
  animation: pre-bar 0.9s ease-in-out infinite;
}
.preloader-bars span:nth-child(2) { animation-delay: 0.15s; }
.preloader-bars span:nth-child(3) { animation-delay: 0.3s; }
@keyframes pre-bar { 0%,100%{ transform: scaleY(0.5); opacity:.7 } 50%{ transform: scaleY(1); opacity:1 } }

/* ===== Caret and selection ===== */
:root { caret-color: var(--brand-600); }
::selection { background: var(--brand-200); color: var(--text-strong); }

/* ===== Hero background ornaments ===== */
.bg-ornaments { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(60px); opacity: 0.25; }
.blob.b1 { background: var(--brand-600); top: -100px; left: -80px; animation: floatXY 18s ease-in-out infinite; }
.blob.b2 { background: var(--brand-400); bottom: -140px; right: -120px; animation: floatXY 22s ease-in-out infinite reverse; }
.blob.b3 { background: var(--brand-800); top: 30%; right: 35%; width: 300px; height: 300px; opacity: 0.18; animation: floatXY 26s ease-in-out infinite; }
@keyframes floatXY {
  0%,100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(40px,-20px) scale(1.05); }
  50% { transform: translate(-20px,30px) scale(0.98); }
  75% { transform: translate(-40px,-10px) scale(1.03); }
}

/* Ensure hero positioning context */
.hero { position: relative; }
