/* Base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #180958;
    color: white;
}

/* Header and Navigation */
header {
    padding: 15px 20px;
    width: 100%;
    box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    flex: 1;
    text-align: left;
    min-width: 150px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    flex: 2;
    justify-content: center;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
}

.connect-btn {
    background: transparent;
    border: 1px solid white;
    padding: 10px 15px;
    color: white;
    cursor: pointer;
    text-align: right;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('assets/computer.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-overlay {
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 20px;
}

/* Cards and Containers */
.about-container {
    display: flex;
    max-width: 1200px;
    align-items: center;
    gap: 30px;
    padding: 20px;
    flex-wrap: wrap;
}

.about-image, .about-text {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card7 {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
}

.card7 .text-content,
.card7 .image-content {
    flex: 1;
    min-width: 280px;
}

/* Footer */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 20px;
}

/* Responsive Media Queries */
@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .logo {
        text-align: center;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        padding-right: 0;
    }

    .card7 {
        flex-direction: column;
    }

    .card7 .text-content,
    .card7 .image-content {
        padding: 0;
        text-align: center;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

    .card1 {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .primary,
    .secondary {
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .social-icons {
        justify-content: center;
        width: 100%;
    }
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Image Responsiveness */
img {
    max-width: 100%;
    height: auto;
}

/* Button Responsiveness */
.primary,
.secondary {
    width: auto;
    min-width: 120px;
    margin: 5px;
}

/* Card Responsiveness */
.card {
    width: 100%;
    flex-direction: column;
}

@media screen and (min-width: 768px) {
    .card {
        flex-direction: row;
    }
}

/* Stats Section Responsiveness */
/* .card-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
} */

/* .card__content {
    width: 100%;
} */

/* Testimonials Responsiveness */
.testimonials {
    padding: 40px 20px;
}

@media screen and (max-width: 600px) {
    .card-container {
        grid-template-columns: 1fr;
    }
}
