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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: large;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 2rem;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 5rem 0;
}




.divider {
    height: 1px;
    background-color: #eee;
    margin: 40px 0;
}

.divider-process {
    height: 1px;
    background-color: #eee;
    margin: 80px 0;
}


/* Header & Navigation */
header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

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

/* Mobile logo - hidden by default, only show when menu is active */
.mobile-logo {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover {
    color: #555;
}

/* Active navigation indicator line */

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #333;
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 30%;
}

.nav-item.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    
}

.close-menu {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Hero Section */
.hero {
    padding: 10rem 0 5rem;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 0 0 60%;
}

.hero-image {
    flex: 0 0 35%;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Work Gallery */
.work-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.work-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* Removed hover transform effect */
}

.work-image {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Removed hover transform effect */
}

.work-details {
    padding: 1.5rem;
    background-color: #fff;
}

.work-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.work-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #555;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #333;
    color: #333;
}

.btn-outline:hover {
    background-color: #333;
    color: #fff;
}

/* About Section */
.about {
    background-color: #fff;
}

/* Contact Section */
.contact {
    background-color: #f8f9fa;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 2rem;
}

.contact-item {
    flex: 1 0 calc(50% - 30px);
    min-width: 250px;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    list-style: none;
}

.footer-links li {
    margin-left: 2rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ccc;
}





/* Case Study Header */
.case-study-header {
    text-align: center;
    padding: 10rem 0px 5rem;
}

.case-section-header {
    justify-content: center;
    text-align: center;
    padding: 2rem 0px 5rem;

}

.case-section-header h1{
font-size: 32px;
  padding-top: 24px;
  margin-bottom: 24px;
}

.app-screenshots {
    max-width: 600px;
    margin: 0 auto 30px;
}

.case-study-header h1 {
    font-size: 32px;
    padding-top: 24px;
    margin-bottom: 24px;
}

.case-study-header p {
    max-width: 800px;
    margin: 0 auto;
}



/* Design Approach */
.design-approach {
    padding: 40px 0;
}

.approach-columns {
    display: flex;
    gap: 40px;
}

.approach-column {
    flex: 1;
}

.approach-column h2 {
    margin-bottom: 15px;
}

/* Design Process */
.design-process {
    padding: 30px 0;
    background-color: #f9f9f9;
}

.process-steps {
    display: flex;
    justify-content: space-between;
}

.process-step {
    text-align: center;
    flex: 1;
    padding: 20px;
}

.process-step h2 {
    margin-bottom: 0px;
    font-size: 3rem;
    
}


.process-step h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    
}

/* Case Study Content */
.case-study-content {
    padding: 6rem 0px 5rem;
}

.case-study-section {
    display: flex;
    margin-bottom: 80px;
    gap: 40px;
}

.cs-image {
    flex: 1;
}

.cs-gif {
    width: 48.5%;
    height: auto;
}

.cs-content {
    flex: 1;
}

.cs-content h2 {
    margin-bottom: 20px;
}

.cs-content p {
    margin-bottom: 20px;
}

.cs-content ul {
    list-style-position: inside;
    padding-left: 10px;
    padding-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;

    }
    
    .hero-text, .hero-image {
        flex: 0 0 100%;
    }
    
    .hero-image {
        margin-top: 3rem;
        text-align: center;
    }
    
    .work-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Case Study */

    .project {
        flex-direction: column;
    }
    
    .project-image {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .approach-columns {
        flex-direction: column;
        gap: 20px;
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-step {
        flex: 1 0 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }

    .hero-content {
        padding-top: 100px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .menu-toggle {
        display: block;
    }

     /* Hide mobile logo by default */
     .mobile-logo {
        display: none;
    }

    /* Only show mobile logo when nav-links has active class */
    .nav-links.active .mobile-logo {
        display: block;
        margin-bottom: 3rem;
        text-align: center;
        order: -1;
    }
    
    .nav-links.active .mobile-logo img {
        height: 40px;
        width: auto;
    }
    
    .close-menu {
        display: block;
    }
    
    .work-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-item {
        flex: 0 0 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 1.5rem;
        justify-content: center;
    }
    
    .footer-links li:first-child {
        margin-left: 0;
    }

    /* Case Study */

    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    nav ul li {
        margin-left: 20px;
    }
    
    .case-study-section {
        flex-direction: column;
    }
    
    .cs-image {
        margin-bottom: 20px;
    }
    
    .process-step {
        flex: 1 0 100%;
    }

}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;

    }

    .container {
        width: 95%;
        padding: 0px 10px;
        align-items: center;
        flex-wrap: nowrap;
    }

    
    .hero {
        padding: 8rem 0 3rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .nav-links {
        width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links li {
        margin-left: 0;
    }

     /* Case Study */
    
      /* 
     header .container {
        flex-direction: column;
    } */
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .case-study-header h1 {
        font-size: 28px;
    }
    
    .app-screenshots {
        margin-bottom: 20px;
    }
    
    .case-study-section {
        margin-bottom: 50px;
    }

}
