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

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--color-background);
}

.navbar.scrolled .nav-link,
.navbar.scrolled .nav-action,
.navbar.scrolled .logo-text,
.navbar.scrolled .hamburger .bar {
    color: #444 !important;
}

.navbar.scrolled .nav-menu.active {
    background-color: #fff;
}

.navbar.scrolled .hamburger .bar {
    background: #444;
}

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

.nav-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-background);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo-accent {
    color: var(--color-primary);
    background: var(--color-background);
    padding: 0 4px;
    border-radius: 4px;
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-right: 2rem;
}

.nav-item {
    position: relative;
    transition: transform 0.3s ease;
    border-bottom: 4px solid transparent;
}

.nav-item:hover {
    transform: translateY(-2px);
    border-bottom: var(--color-primary-hover) 4px solid;
}

.nav-link {
    color: var(--color-background);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1.2rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-background);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-action:hover {
    color: var(--color-primary);
}

.action-icon {
    font-size: 1rem;
}

.login-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    margin-left: 1rem;
    transition: opacity 0.3s ease;
}

.login-link:hover {
    opacity: 0.8;
}

.signup-btn {
    background: var(--color-primary);
    color: var(--color-background);
    padding: 0.56rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.signup-btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--color-background);
    margin: 3px 0;
    transition: 0.3s;
    color: var(--color-background);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 120, 1) 0%, rgba(60, 90, 150, 0.65) 45%, rgba(80, 120, 180, -1) 100%), var(--hero-background-image);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-background-about {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 120, 1) 0%, rgba(60, 90, 150, 0.65) 45%, rgba(80, 120, 180, -1) 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.8);
}

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

.hero-content {
    z-index: 2;
}

.typewriter {
    column-gap: 0.5rem;
}

.text-gradient {
    color: var(--color-primary);
    background-clip: text;
    font-size: 3rem;
}

.hero-title, .hero-title1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-background);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    column-gap: 0.5rem;
}

.hero-subtitle, .hero-subtitle1 {
    font-size: 2rem;
    line-height: 40px;
    font-weight: 600;
    color: var(--color-background);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-description, .hero-description1 {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
}

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

.btn-primary,
.btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.56rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-background);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-background);
    border: 2px solid var(--color-background);
}

.btn-secondary:hover {
    background: var(--color-background);
    color: var(--color-text);
}


/* Additional Sections */
.section {
    background: var(--color-background);
}

.section:nth-child(even) {
    background: var(--color-background-alt);
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.section p {
    font-size: 1.1rem;
    color: var(--color-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual {
        height: 400px;
        transform: scale(0.8);
    }

    .nav-menu {
        flex-direction: column;
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        background-color: var(--color-background);
        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;
        background-color: var(--color-primary);
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .nav-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {

    .hero-title,
    .text-gradient, .hero-title1 {
        font-size: 2.4rem;
    }

    .hero-subtitle, .hero-subtitle1 {
        font-size: 1.5rem;
    }

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

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .mobile-mockup {
        position: relative;
        right: 0;
        top: 0;
        margin: 2rem auto;
    }

    .phone-frame {
        width: 250px;
        height: 450px;
    }

    .delivery-person {
        position: relative;
        right: 0;
        bottom: 0;
        margin: 2rem auto;
    }

    .nav-container {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {

    .hero-title,
    .text-gradient, .hero-title1 {
        font-size: 2rem;
    }

    .hero-subtitle, .hero-subtitle1 {
        font-size: 1.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .phone-frame {
        width: 220px;
        height: 400px;
    }

    .nav-logo .logo-text {
        font-size: 1.5rem;
    }

    .display-flex {
        display: block !important;
    }

    .section-grid {
        grid-template-columns: 1fr !important;
        grid-row-gap: 16px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

footer {
    background-color: rgb(51, 51, 51);
    color: #fff;
    padding: 2rem 0;
}

.text-muted {
    color: rgba(255, 255, 255, 0.7);
}

.display-flex {
    display: flex;
    align-items: center;
}

.small {
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 1.6rem;
    align-items: center;
    font-size: 0.8rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-background {
    background: url('../assets/delivery-timings-bg.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
    padding: 80px 0;
}

.section-grid {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    width: 100%;
    display: grid;
    margin: 2rem auto;
}

.section-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-template-rows: auto;
    grid-auto-columns: 1fr;
    width: 100%;
    display: grid;
    margin: 2rem auto;
}

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

.section-card {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    text-align: left;
    cursor: pointer;
    background-color: var(--color-background);
    color: var(--color-text);
    border: 1px solid var(--color-primary-hover);
    border-radius: 12px;
    transition: background-color .2s;
    width: 100%;
}

.section-card:hover {
    box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.1);
    transition: background-color .2s, box-shadow .2s;
}

.section-card .section-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
}

.section-card .section-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-card .section-card-content,
.section-card-footer {
    padding: 1.5rem;
}

.section-card .section-card-content h3 {
    font-size: 1.48rem;
}

.section-card-action {
    text-decoration: none;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

#modal-viewer {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

#modal-viewer img {
    max-width: 90vw;
    max-height: 90vh;
}

#modal-viewer.close {
    display: none;
}