/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', 'Roboto', Arial, sans-serif;
}

body {
    background: #1a1a2e;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(34, 34, 62, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.nav-logo {
    color: #98d7c2;
    font-size: 1.7rem;
    text-decoration: none;
    font-weight: 700;
}

.nav-logo i {
    margin-right: 0.5rem;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar li {
    margin: 0 1.5rem;
}

.navbar a {
    color: #a3bffa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #fff;
}

/* Portfolio Hero */
.portfolio-hero {
    padding: 3.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #0f1626, #1a1a2e);
    border-bottom: 1px solid #2a2a4a;
}

.portfolio-hero h1 {
    font-size: 3rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.portfolio-hero p {
    font-size: 1.2rem;
    color: #b0b0c0;
    margin-top: 0.75rem;
}

/* Portfolio Cards */
.portfolio {
    padding: 3rem 2rem;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    background: radial-gradient(circle, rgba(42, 42, 74, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.portfolio-card {
    background: rgba(22, 33, 62, 0.85);
    border-radius: 12px;
    border: 1px solid rgba(163, 191, 250, 0.1);
    backdrop-filter: blur(5px);
    height: 460px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(163, 191, 250, 0.15);
}

.card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.card-image {
    width: 250px;
    height: 250px;
    background: #2a2a4a;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 1rem;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Keeps aspect ratio */
}

.card-content h2 {
    font-size: 1.7rem;
    color: #98d7c2;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-content p {
    font-size: 0.95rem;
    color: #d0d0e0;
    margin-bottom: 1.25rem;
    flex-grow: 1;
    text-align: center;
}

.card-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.button {
    padding: 0.7rem 1.4rem;
    background: #a3bffa;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0f1626, #1a1a2e);
    padding: 2rem;
    border-top: 1px solid #2a2a4a;
}

.footer-content {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.contact-info h4, .footer-hours h4 {
    font-size: 1.3rem;
    color: #98d7c2;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-info p, .footer-hours p {
    font-size: 0.9rem;
    color: #d0d0e0;
}

.contact-info a {
    color: #a3bffa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #fff;
}

.footer-logo h2 {
    font-size: 1.9rem;
    color: #98d7c2;
    font-weight: 600;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: #b0b0c0;
    margin-top: 2rem;
}