/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.875rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #0066ff;
    border: 2px solid #0066ff;
}

.btn-secondary:hover {
    background: #0066ff;
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo h2 {
    color: #1a2332;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    overflow: visible;
}

.nav-link {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0066ff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2d3748;
    margin: 3px 0;
    transition: 0.3s;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Create invisible bridge to prevent dropdown from disappearing */
.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    z-index: 1001;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background: #f8fafc;
    color: #0066ff;
    border-left-color: #0066ff;
    padding-left: 1.75rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.9), rgba(0, 102, 255, 0.1)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* padding-top: 80px; */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.card-4 {
    bottom: 10%;
    right: 20%;
    animation-delay: 4.5s;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.floating-card h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a2332;
    margin: 0;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #1a2332;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.service-card h3 {
    color: #1a2332;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.service-link {
    color: #0066ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #00d4ff;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #1a2332;
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: 1.25rem;
    color: #0066ff;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #0066ff;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 300px;
}

.tech-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #1a2332;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-4px);
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: white;
}

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

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    color: #1a2332;
    margin-bottom: 1rem;
}

.step-content p {
    color: #6b7280;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #1a2332;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #cbd5e0;
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item h4 {
    color: white;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #cbd5e0;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    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: #0066ff;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

/* Footer */
.footer {
    background: #1a2332;
    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,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #cbd5e0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00d4ff;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #cbd5e0;
    margin: 0;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .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;
        overflow: visible;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}


/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.nav-logo h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2332;
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .logo-img {
        height: 32px;
    }
    
    .nav-logo h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .nav-logo h2 {
        display: none; /* Hide text on very small screens, show only logo */
    }
    
    .logo-img {
        height: 36px;
    }
}

/* Service Pages Styles */
.service-hero {
    background: linear-gradient(135deg, #1a2332, #0066ff);
    color: white;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding-top: 80px;
}

.service-hero .container {
    width: 100%;
}

.service-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    /* padding: 0 20px; */
}

.service-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.service-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.service-hero-stats .stat {
    text-align: center;
}

.service-hero-stats .stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.service-hero-stats .stat p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

.service-details {
    padding: 80px 0;
    background: #f8fafc;
}

.service-content {
    max-width: 1000px;
    margin: 0 auto;
}

.service-overview {
    text-align: center;
    margin-bottom: 4rem;
}

.service-overview h2 {
    color: #1a2332;
    margin-bottom: 1.5rem;
}

.service-overview p {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.service-features-detailed {
    margin-bottom: 4rem;
}

.service-features-detailed h3 {
    text-align: center;
    color: #1a2332;
    margin-bottom: 2rem;
}

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

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #1a2332;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-item p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.service-offerings,
.transformation-areas,
.consulting-areas,
.industry-expertise {
    margin-bottom: 4rem;
}

.service-offerings h3,
.transformation-areas h3,
.consulting-areas h3,
.industry-expertise h3 {
    color: #1a2332;
    margin-bottom: 2rem;
    text-align: center;
}

.offerings-list {
    display: grid;
    gap: 1.5rem;
}

.offering-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #0066ff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.offering-item h4 {
    color: #1a2332;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.offering-item p {
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

.tech-stack-section {
    margin-bottom: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tech-stack-section h3 {
    text-align: center;
    color: #1a2332;
    margin-bottom: 2rem;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.tech-category h4 {
    color: #1a2332;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

.tech-item {
    background: #f1f5f9;
    color: #0066ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.areas-grid,
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.area-item,
.industry-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.area-item h4,
.industry-item h4 {
    color: #1a2332;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.area-item p,
.industry-item p {
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

.success-metrics,
.consulting-benefits {
    margin-bottom: 4rem;
}

.success-metrics h3,
.consulting-benefits h3 {
    text-align: center;
    color: #1a2332;
    margin-bottom: 2rem;
}

.metrics-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.metric-item,
.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.metric-item h4,
.benefit-item h4 {
    color: #1a2332;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.metric-item ul {
    list-style: none;
    padding: 0;
}

.metric-item ul li {
    color: #4a5568;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.metric-item ul li:before {
    content: "✓";
    color: #0066ff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.benefit-item p {
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

.service-cta {
    background: linear-gradient(135deg, #1a2332, #0066ff);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments for service pages */
@media (max-width: 768px) {
    .service-hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .service-hero-content {
        padding: 0 15px;
    }
    
    .service-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .areas-grid,
    .industries-grid,
    .metrics-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-stack-section {
        padding: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Portfolio Styles */
.portfolio-showcase {
    padding: 80px 0;
    background: #f8fafc;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.portfolio-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.portfolio-icon {
    font-size: 4rem;
    opacity: 0.8;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background: white;
    color: #0066ff;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    color: #1a2332;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.portfolio-category {
    color: #0066ff;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.portfolio-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: #f1f5f9;
    color: #0066ff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.portfolio-external-link {
    color: #0066ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.portfolio-external-link:hover {
    color: #1a2332;
}

.portfolio-stats {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    color: #0066ff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #4a5568;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

/* Active navigation state */
.nav-link.active {
    color: #0066ff;
    font-weight: 600;
}

/* Responsive adjustments for portfolio */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-image {
        height: 200px;
    }
    
    .portfolio-icon {
        font-size: 3rem;
    }
    
    .portfolio-content {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    

    
    /* Mobile dropdown adjustments */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8fafc;
        border-radius: 0;
        margin-top: 0.5rem;
        display: none;
        z-index: auto;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .dropdown-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        border-left: none;
    }
    
    .dropdown-link:hover {
        background: #e2e8f0;
        padding-left: 1rem;
    }
}

