/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #1a1a1a;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==========================================================================
   2. NAVIGATION BAR
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #4f46e5;
}

.btn-primary {
    background-color: #1a1a1a;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
}

.btn-primary:hover {
    background-color: #4f46e5;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
    background-image:url(Image/Cover-2.jpg);
    background-size: cover;      /* Fills the element without distortion */
    background-position: center; /* Centers the image inside the div */
    background-repeat: no-repeat;
    padding: 8rem 4% 6rem 4%;
    background-color: #ffffff;
    text-align: left;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -2px;
}

/* ==========================================================================
   4. SERVICES GRID (Bento Layout)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 4%;
    background-color: #f0f0f0;
}

.grid-box {
    position: relative;
    min-height: 320px;
    padding: 2.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.grid-box h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    z-index: 2;
}

.arrow {
    font-size: 1.5rem;
    align-self: flex-end;
    transition: transform 0.3s ease;
}

.grid-box:hover .arrow {
    transform: translateX(5px);
}

/* Box Variants */
.text-box {
    background-color: #ffffff;
    color: #ffffff;
}

.box-1 {
    background-image:url(Image/Identiy.jpg);
    background-size: cover;      /* Fills the element without distortion */
  background-position: center; /* Centers the image inside the div */
  background-repeat: no-repeat
}

.box-2{
    background-image:url(Image/brand.jpg);
    background-size: cover;      /* Fills the element without distortion */
    background-position: center; /* Centers the image inside the div */
    background-repeat: no-repeat

}

.image-box {
    color: #ffffff;
}

.indigo-bg {
    background-color: #4f46e5;
    background-image: url(Image/offset.jpg);
    background-size: cover;      /* Fills the element without distortion */
  background-position: center; /* Centers the image inside the div */
  background-repeat: no-repeat
}

.blue-bg {
    background-color: #0284c7;
    background-image: url(Image/digital.jpg);
    background-size: cover;      /* Fills the element without distortion */
  background-position: center; /* Centers the image inside the div */
  background-repeat: no-repeat
}

/* Mock Graphics Inside Boxes */
.mock-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    width: 80%;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mock-logo {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    border-radius: 4px;
}

.mock-logo.circle {
    border-radius: 50%;
    background-color: transparent;
    border: 3px solid #ffffff;
}

.mock-card p {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
.footer {
    background-color: #1a1a1a;
    color: #a3a3a3;
    padding: 5rem 4%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    font-size: 0.9rem;
}

.footer-col strong {
    color: #ffffff;
    display: block;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.copyright, .copyright-right {
    margin-top: 1.5rem;
    color: #666666;
    font-size: 0.8rem;
}

/* ==========================================================================
   6. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero {
        padding: 5rem 4% 3rem 4%;
    }

    .footer {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}