* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --purple-400: #c084fc;
    --purple-600: #9333ea;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #000000;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--black);
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==================== NAVIGATION ==================== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--blue-400), var(--purple-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue-400);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(147, 51, 234, 0.2), rgba(59, 130, 246, 0.2), var(--black));
}

.particles {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.particle {
    position: absolute;
    background: var(--blue-500);
    border-radius: 50%;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--blue-400), var(--purple-400), #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.hero-tagline {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--blue-400);
    min-height: 5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--gray-300);
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(to right, var(--blue-500), var(--purple-600));
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    animation: fadeInUp 1.4s ease;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.5);
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.cta-btn:hover .cta-arrow {
    transform: translateX(4px);
}

/* ==================== SERVICES PREVIEW ==================== */
.services-preview {
    padding: 5rem 2rem;
    background: rgba(17, 24, 39, 0.5);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue-400);
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.service-card p {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--gray-900);
    border-top: 1px solid var(--gray-800);
    padding: 3rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 35px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--blue-400), var(--purple-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: white;
}

.footer-col p {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-col a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--blue-400);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--gray-400);
    transition: all 0.3s ease;
    display: inline-flex;
}

.social-links a:hover {
    color: var(--blue-400);
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-400);
}

/* ==================== PAGE CONTENT STYLES ==================== */
.page-content {
    min-height: 100vh;
    padding-top: 5rem;
}

.page-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.1), transparent);
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--gray-400);
    max-width: 800px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(to right, var(--blue-400), var(--purple-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-section {
    padding: 3rem 2rem;
}

/* ==================== ABOUT PAGE STYLES ==================== */
.content-card {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray-300);
}

.info-card {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    border: 2px solid transparent;
}

.info-card.blue-border {
    border-color: rgba(59, 130, 246, 0.3);
}

.info-card.purple-border {
    border-color: rgba(147, 51, 234, 0.3);
}

.info-card.gradient-bg {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blue-text {
    color: var(--blue-400);
}

.purple-text {
    color: var(--purple-400);
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-300);
}

.check-icon {
    flex-shrink: 0;
    color: var(--blue-400);
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* ==================== SERVICES PAGE STYLES ==================== */
.service-detail-card {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-5px);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-icon-large {
    font-size: 3rem;
}

.service-detail-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--blue-400);
}

.service-detail-desc {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue-400);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-btn:hover {
    color: var(--purple-400);
    transform: translateX(5px);
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    border-radius: 1rem;
    margin-top: 3rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
}

/* ==================== PROJECTS PAGE STYLES ==================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.3);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-400);
    margin-bottom: 1rem;
}

.project-desc {
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(59, 130, 246, 0.2);
    color: var(--blue-400);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ==================== BLOG PAGE STYLES ==================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-category {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-date {
    color: var(--gray-400);
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.blog-excerpt {
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ==================== CONTACT PAGE STYLES ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    padding: 2rem 0;
}

.contact-intro {
    font-size: 1.125rem;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 0.5rem;
    color: var(--blue-400);
    flex-shrink: 0;
}

.contact-method h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-method a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: var(--blue-400);
}

.contact-form-container {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-300);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .services-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}