body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


/* Hero Section */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(to bottom, rgba(105, 69, 160, 1), rgba(50, 30, 100, 0.4)), url('images/hero-pic.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

nav {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

.logo img {
    height: 30px;
    margin-left: 200px;
}

nav ul {
    list-style: none;
    display: flex;
    margin-right: 200px;
}

nav ul li {
    padding-right: 50px;
}

nav ul li a {
    color: #ddd;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: center;
    margin-top: 80px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 20px;
    margin: 10px 0 20px;
}

.hero-content button {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s;
}

.hero-content button:hover {
    background: white;
    color: black;
}

.hero-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    max-height: 40vh;
    object-fit: contain;
    z-index: 1;
}


/* What We Do Section */

.what-we-do {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 100px 5%;
    background: #fff;
}

.what-we-do .container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 60px;
    align-items: flex-start;
}

.left-text h2 {
    font-size: 72px;
    line-height: 1;
    color: #e0e0e0;
    font-weight: bold;
    margin: 0;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.service-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-top: 5px;
}

.service-item h4 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.service-item p {
    margin: 0;
    font-size: 14px;
    color: #555;
}


/* Customer Service Section */

.customer-service {
    padding: 100px 5%;
    background: url('images/img-bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
}

.customer-service .container {
    float: left;
    max-width: 1200px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 60px;
    padding-right: 1000px;
    border-radius: 8px;
}

.customer-service .text-content {
    flex: 1;
}

.customer-service .text-content h2 {
    font-size: 28px;
    color: #5e2ca5;
    margin-bottom: 20px;
}

.customer-service .text-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.customer-service .text-content button {
    background-color: #5e2ca5;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.customer-service .text-content button:hover {
    background-color: #431e82;
}

.customer-service .image-content {
    display: none;
}


/* Portfolio Section */

.portfolio {
    padding: 100px 5%;
    background: #fff;
    text-align: center;
}

.portfolio .container {
    max-width: 1200px;
    margin: 100px auto;
}

.portfolio h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.portfolio p {
    color: #777;
    font-size: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.portfolio-filters button {
    background: #f2f2f2;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.portfolio-filters button.active,
.portfolio-filters button:hover {
    background: #5e2ca5;
    color: white;
}

.portfolio-section {
    padding: 60px 20px;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.portfolio-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-grid img:hover {
    transform: scale(1.05);
}


/* Counter Section */

.counters {
    background-image: linear-gradient(to bottom, rgba(105, 69, 160, 1), rgba(50, 30, 100, 0.4)), url('images/image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 80px 5%;
    text-align: center;
}

.counters .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.counter-box {
    flex: 1 1 200px;
    min-width: 150px;
}

.counter-box .icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.counter-box .icon img {
    width: 48px;
    height: auto;
}

.counter-box .count {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.counter-box p {
    font-size: 15px;
    margin: 0;
    color: #ddd;
}


/* Contact Section */

.contact {
    background: #111;
    color: #fff;
    padding: 80px 5%;
    text-align: center;
}

.contact .container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-header p {
    font-size: 16px;
    color: #bbb;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-form {
    flex: 1 1 50%;
    min-width: 300px;
    text-align: left;
}

.contact-form h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    background: #111;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
}

.contact-form button {
    background: #5e2ca5;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #431e82;
}

.contact-info {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: left;
    padding-left: 120px;
    /* Increased space between form and address */
    margin-top: 50px;
    /* Shifted address section slightly downward */
}

.contact-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-info p {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 30px;
    color: #bbb;
}

.contact-info img {
    width: 20px;
    height: auto;
    margin-right: 25px;
}


/* Footer Section*/

.footer {
    background: #0c0c0c;
    color: white;
    text-align: center;
    padding: 30px 25%;
    font-size: 14px;
}

.footer .container {
    padding-bottom: 30px;
}

.footer .container p {
    float: left;
    text-align: center;
    color: #bbbbbb;
}

.social-links {
    padding-top: 10px;
    float: right;
}

.social-links a {
    padding-left: 20px;
}

.social-links a img:hover {
    transform: scale(1.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    padding: 20px 0;
}


/* Responsiveness */


/* Overall Responsiveness */

@media (max-width: 768px) {
    h1,
    h2,
    h3 {
        font-size: 90%;
    }
    p,
    a,
    button {
        font-size: 90%;
    }
}


/* Header Responsiveness */

@media (max-width: 1024px) {
    nav {
        padding: 15px 20px;
    }
    .logo img {
        margin-left: 0;
    }
    nav ul {
        margin-right: 0;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .hero-content button {
        font-size: 16px;
        padding: 10px 20px;
    }
}


/* Hamburger Menu Styles */

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    margin-right: 20px;
}

@media (max-width: 1024px) {
    .logo img {
        padding-left: 15px;
    }
}


/* Nav Responsivess  */

@media (max-width: 768px) {
    .logo img {
        padding-left: 15px;
    }
    nav ul {
        position: absolute;
        top: 70px;
        right: 0;
        flex-direction: column;
        width: 200px;
        display: none;
        padding: 20px;
        margin: 0;
        border-radius: 4px;
    }
    nav ul.active {
        display: flex;
    }
    nav ul li {
        padding: 15px 0;
    }
    .menu-toggle {
        display: block;
    }
    nav {
        padding: 20px;
    }
    .logo img {
        margin-left: 0;
    }
    nav ul {
        margin-right: 0;
    }
}


/*  What We Do Responsivess */

@media (max-width: 768px) {
    .what-we-do .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .left-text h2 {
        font-size: 48px;
    }
}


/*  Customer Services and Counters Responsivess */

@media (max-width: 1160px),
(max-width: 1024px),
(max-width: 768px),
(max-width: 480px) {
    .customer-service .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .customer-service .text-content h2 {
        font-size: 20px;
    }
    .customer-service .text-content p {
        font-size: 13px;
    }
    .customer-service .text-content button {
        font-size: 13px;
        padding: 8px 16px;
    }
    /*  .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
    .portfolio-filters button {
        width: 100%;
        max-width: 200px;
    }
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    } */
    .counters .container {
        flex-direction: column;
        align-items: center;
    }
}


/* Portfolio Responsiveness*/

@media (max-width: 1140px) {
    .portfolio-filters {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .portfolio-filters button {
        width: auto;
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .portfolio-filters {
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: row;
    }
    .portfolio-filters button {
        width: auto;
        margin-bottom: 10px;
    }
}


/* 📱 When screen is below 991px — show 2 columns */

@media (max-width: 991px) {
    .portfolio-grid {
        padding-right: 10px;
        padding-left: 10px;
        grid-template-columns: repeat(2, 1fr);
    }
}


/* 📱 When screen is below 576px — show 1 column */

@media (max-width: 576px) {
    .portfolio-grid {
        padding-right: 10px;
        padding-left: 10px;
        grid-template-columns: 1fr;
    }
}


/* For 2 columns image - screen width between 768px and 999px */

@media (max-width: 999px) and (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .portfolio-grid img {
        width: 100%;
        max-width: 280px;
        /* Adjust size as needed */
        height: auto;
        display: block;
        margin: 0 auto;
    }
}


/* For 1 column image - screen width below 768px */

@media (max-width: 767px) {
    .portfolio-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    .portfolio-grid img {
        width: 100%;
        max-width: 240px;
        /* Smaller size */
        height: auto;
        display: block;
        margin: 0 auto;
    }
}


/*  Contact Responsiveness */

@media (max-width: 768px) {
    .contact-content {
        padding-right: 10px;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    .contact-info {
        padding-left: 0;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .contact .container {
        padding: 0 20px;
    }
    .contact-form input,
    .contact-form textarea {
        font-size: 13px;
    }
    .contact-form button {
        font-size: 13px;
        padding: 8px 16px;
    }
    .contact-info {
        padding-left: 0;
        margin-top: 20px;
    }
}


/* Footer Responsiveness */

@media (max-width: 1002px) and (min-width: 768px) {
    .social-links {
        padding-top: 0;
        padding-bottom: 20px;
        float: none;
    }
    .footer .container p {
        float: none;
    }
}

@media (max-width: 768px) {
    .footer .container p,
    .social-links {
        float: none;
        text-align: center;
        display: block;
        margin: 10px auto;
    }
    .social-links a {
        padding: 0 10px;
    }
}