:root {
    --primary-blue: #0096ff;
    --primary-gold: #ffa500;
    --secondary-blue: #0070f3;
    --accent-blue: #1e40af;
    --accent-silver: #64748b;
    --accent-charcoal: #374151;
    --background-dark: #000000;
    --background-card: #1a1a1a;
    --background-lighter: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: rgba(0, 150, 255, 0.2);
    --shadow-primary: rgba(0, 150, 255, 0.3);
    --shadow-blue: rgba(0, 112, 243, 0.3);
    --shadow-charcoal: rgba(55, 65, 81, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    --gradient-elegant: linear-gradient(135deg, var(--accent-charcoal), var(--accent-silver));
    --gradient-professional: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    --gradient-subtle: linear-gradient(135deg, #1e293b, #334155);
    --transition-smooth: all 0.3s ease;
    --border-radius: 15px;
    --spacing-small: 1rem;
    --spacing-medium: 2rem;
    --spacing-large: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Skip to main content for accessibility */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-blue);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    z-index: 2000;
}

.skip-to-main:focus {
    top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--background-dark) 0%, #1a1a1a 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-primary);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    background: white;
    -webkit-background-clip: text;
    color: white;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo a:hover {
    text-shadow: 0 0 20px var(--shadow-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-medium);
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: var(--transition-smooth);
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 150, 255, 0.1) 0%, transparent 70%);
    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="%230096ff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: -1;
}
 .hero-content img{width: 450px};
.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-small);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
 
    background-clip: text;
    text-shadow: 0 0 30px var(--shadow-primary);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: var(--spacing-medium);
    color: var(--text-secondary);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-professional);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 20px var(--shadow-blue);
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px var(--shadow-blue);
}

/* Page Hero for inner pages */
.page-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--background-dark), #1a1a1a);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: white;
    -webkit-background-clip: text;

    background-clip: text;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    background: white;
    -webkit-background-clip: text;
  
    background-clip: text;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-medium);
    margin-bottom: 3rem;
}

/* Service Cards */
.service-card,
.feature-card,
.about-card {
    background: linear-gradient(135deg, var(--background-card), var(--background-lighter));
    padding: var(--spacing-medium);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before,
.feature-card::before,
.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.service-card:hover,
.feature-card:hover,
.about-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 5px 5px white;
    border-color: var(--primary-blue);
}

.service-card:nth-child(even)::before {
    background: var(--gradient-elegant);
}

.service-card:nth-child(3n)::before {
    background: var(--gradient-subtle);
}

.service-card:nth-child(even):hover {
    box-shadow: 0 25px 50px var(--shadow-charcoal);
}

.service-card:nth-child(3n):hover {
    box-shadow: 0 25px 50px rgba(30, 41, 59, 0.4);
}

.service-icon,
.feature-icon,
.card-icon {
    width: 150px;
    height: 150px;
    background: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-small);
    font-size: 1.8rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card:nth-child(even) .service-icon,
.feature-card:nth-child(even) .feature-icon {
    background: var(--gradient-elegant);
}

.service-card:nth-child(3n) .service-icon,
.feature-card:nth-child(3n) .feature-icon {
    background: var(--gradient-subtle);
}

.service-icon::before,
.feature-icon::before,
.card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.service-card:hover .service-icon::before,
.feature-card:hover .feature-icon::before,
.about-card:hover .card-icon::before {
    transform: translateX(100%);
}

.service-card h3,
.feature-card h3,
.about-card h2 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-small);
    font-size: 1.5rem;
}

.service-card p,
.feature-card p,
.about-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-small);
}

.learn-more {
    display: inline-block;
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-gold);
    border-radius: 25px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    background: transparent;
}

.learn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-elegant);
    transition: width 0.3s ease;
    z-index: -1;
}

.learn-more:hover::before {
    width: 100%;
}

.learn-more:hover {
    color: white;
    border-color: var(--accent-silver);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-charcoal);
}

/* Service Categories */
.service-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 1rem 0;
}

.service-subcategory {
    margin-bottom: 3rem;
}

.subcategory-title {
    font-size: 1.5rem;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.card h5 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* About Page Specific */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-medium);
}

.about-card {
    text-align: left;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 150, 255, 0.1);
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-gold);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-medium);
}

.team-member {
    background: linear-gradient(135deg, var(--background-card), var(--background-lighter));
    padding: var(--spacing-medium);
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.team-member:nth-child(even)::before {
    background: var(--gradient-elegant);
}

.team-member:nth-child(3n)::before {
    background: var(--gradient-subtle);
}

.team-member:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px var(--shadow-primary);
}

.team-member:nth-child(even):hover {
    box-shadow: 0 20px 40px var(--shadow-charcoal);
}

.team-member:nth-child(3n):hover {
    box-shadow: 0 20px 40px rgba(30, 41, 59, 0.4);
}

.member-photo {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.team-member:nth-child(even) .member-photo {
    background: var(--gradient-elegant);
}

.team-member:nth-child(3n) .member-photo {
    background: var(--gradient-subtle);
}

.member-photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.team-member:hover .member-photo::after {
    transform: translateX(100%);
}

.member-title {
    color: var(--primary-gold);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-medium);
}

.benefit-item {
    text-align: center;
    padding: var(--spacing-medium);
    background: linear-gradient(135deg, var(--background-card), var(--background-lighter));
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.benefit-item:nth-child(even)::before {
    background: var(--gradient-elegant);
}

.benefit-item:nth-child(3n)::before {
    background: var(--gradient-subtle);
}

.benefit-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px var(--shadow-primary);
}

.benefit-item:nth-child(even):hover {
    box-shadow: 0 20px 40px var(--shadow-charcoal);
}

.benefit-item:nth-child(3n):hover {
    box-shadow: 0 20px 40px rgba(30, 41, 59, 0.4);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.benefit-item:nth-child(even) .benefit-icon {
    background: var(--gradient-elegant);
}

.benefit-item:nth-child(3n) .benefit-icon {
    background: var(--gradient-subtle);
}

.benefit-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.benefit-item:hover .benefit-icon::after {
    transform: translateX(100%);
}

.benefit-item:hover .benefit-icon {
    transform: rotate(360deg) scale(1.1);
}


.submit-btn {
    background: var(--gradient-elegant);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px var(--shadow-charcoal);
}

/* Navigation styles update */
.nav-links a:hover,
.nav-links a.active {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

/* Portfolio Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-medium);
}

.portfolio-item {
    background: linear-gradient(135deg, var(--background-card), var(--background-lighter));
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 2;
}

.portfolio-item:nth-child(even)::before {
    background: var(--gradient-elegant);
}

.portfolio-item:nth-child(3n)::before {
    background: var(--gradient-subtle);
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px var(--shadow-primary);
}

.portfolio-item:nth-child(even):hover {
    box-shadow: 0 25px 50px var(--shadow-charcoal);
}

.portfolio-item:nth-child(3n):hover {
    box-shadow: 0 25px 50px rgba(30, 41, 59, 0.4);
}

.portfolio-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.portfolio-item:nth-child(even) .portfolio-image {
    background: var(--gradient-elegant);
}

.portfolio-item:nth-child(3n) .portfolio-image {
    background: var(--gradient-subtle);
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s;
}

.portfolio-item:hover .portfolio-image::after {
    transform: translateX(100%);
}

.portfolio-content {
    padding: var(--spacing-medium);
}

.portfolio-content h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: rgba(0, 150, 255, 0.2);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--primary-blue);
    transition: var(--transition-smooth);
}

.tag:nth-child(even) {
    background: rgba(100, 116, 139, 0.2);
    color: var(--accent-silver);
    border-color: var(--accent-silver);
}

.tag:nth-child(3n) {
    background: rgba(255, 165, 0, 0.2);
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.tag:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 5px 10px var(--shadow-primary);
}

/* Footer */
footer {
    background: var(--background-card);
    padding: var(--spacing-large) 0 var(--spacing-medium);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-medium);
    margin-bottom: var(--spacing-medium);
}

.footer-section h4 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-small);
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.footer-section nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-medium);
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom nav {
    display: flex;
    gap: 1rem;
}

.footer-bottom nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.particle {
    pointer-events: none;
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

/* Error Messages */
.error-message {
    color: #ff4444;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.25rem;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-secondary: #ffffff;
        --border-color: rgba(255, 255, 255, 0.5);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    header,
    .mobile-menu,
    .cta-button,
    .social-links {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    main {
        margin-top: 0;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    .service-card,
    .feature-card,
    .about-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}