*{
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}


body{
    font-family: 'Inter', sans-serif;
}

img{
    width: 15rem;
    height: 15rem;
}

a{
    text-decoration: none;
    color: #fff;
}

ul{
    list-style: none;
}

/*header*/
header{
    background-color: black;
    width: 100%;
    height: 100vh;
    padding: 1rem 0;
}

.top-bar{
    position: fixed;
    display: flex;
    gap: 35rem;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    margin: 1rem  2rem 0 2rem;
    background-color: #f0f0f0;
    border-radius: 3.125rem;
}

.logo img{
    width: 5rem;
    height: 5rem;
    /*margin-left: 2rem;*/
}

.nav-bar{
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-bar ul{
    display: flex;
    gap: 2rem;
}

.nav-bar ul li a{
    color: black;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-bar ul li a:hover{
    color: #f0f0f0;
}

.button-link{
    background-color: black;
    color: white;
    padding: 1rem 1.3rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.button-link:hover{
    background-color: #f0f0f0;
    color: black;
}

.hamburger {
    display: none;
    font-size: 40px;
    cursor: pointer;
    color: #fff;
}

/*hero section*/
.heading{
    position: absolute;
    top: 62%;
}

.heading img{
    width: 100%;
    height: 100%;
}

/*Section*/

/*services*/

.services {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.service-heading h2 {
    font-size: 4rem;
    font-family: "Bruno Ace", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 2rem;
    color: #000;
}

.service-heading p {
    /*max-width: 700px;*/
    margin: 0 auto 40px;
    color: #000;
    font-size: 1.5rem;
    font-family: "Bona Nova", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
}

.service-body{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-body > div {
    background-color: #f9f9f9;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.service-body > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.service-body h3 {
    font-size: 20px;
    color: #111;
    margin-bottom: 12px;
}

.service-body p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/*projects*/

.projects {
    /*max-width: 75rem;*/
    /*margin: 3.75rem auto;*/
    padding: 4.2rem 1.25rem 4.5rem 1.25rem;
    color: #fff;
    background-color: black;
    text-align: center;
    /*font-family: 'Segoe UI', sans-serif;*/
}

.project-heading h2 {
    font-size: 4rem;
    font-family: "Bruno Ace", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 2.5rem;
    color: #ffffff;
}

/*.sub-heading4::after {
    content: '';
    width: 3.75rem;
    height: 0.25rem;
    background: #007acc;
    display: block;
    margin: 0.625rem auto 0;
    border-radius: 0.125rem;
}*/

.project-body{
    margin-top: 2rem;
}

.projects > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    gap: 2rem;
}

.project {
    /*background: #fff;*/
    border-radius: 12px;
    box-shadow: 0 0.375 1.25rem rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
    transform: translateY(-6px);
    box-shadow: 0 0.625rem 1.5rem rgba(0, 0, 0, 0.12);
}

.project img {
    width: 100%;
    height: 25rem;
    object-fit: contain;
}

.project p {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
}

/*about*/

.about{
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.about-heading h2 {
    font-size: 4rem;
    font-family: "Bruno Ace", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 2rem;
    color: #000;
}

.about-body img {
    width: 63.3125rem;
    height: 40.5625rem;
}

/*contact*/

.contact {
    padding: 60px 20px;
    background-color: #000;
    /*text-align: center;*/
}

.contact-heading h2 {
    font-size: 2rem;
    font-family: "Bruno Ace", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 2rem;
    color: #fff;
    text-align: center;
}

.contact-heading p {
    margin: 0 auto 40px;
    color: #fff;
    font-size: 1.4rem;
    font-family: "Bona Nova", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    text-align: center;
}

/* ...existing code... */
.contact-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5rem;
    align-items: flex-start;
    justify-content: center; /* optional: center horizontally */
}

.contact-info {
    flex: 1 1 300px;
    /*max-width: 350px;*/
    max-width: 31.25rem;
    min-width: 260px;
    text-align: left;
    line-height: 2.5rem;
}

.contact-body > div:last-child {
    flex: 1 1 350px;
    max-width: 500px;
    min-width: 280px;
    text-align: left;
}
/* ...existing code... */

.contact-info h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
}

.contact-body h3 {
    font-size: 1.8rem;
    color: #fff;
    }

.contact-info p,
.contact-info a {
    font-size: 1.3rem;
    margin: 8px 0;
    color: #ccc;
    text-decoration: none;
}

.contact-info a i {
    font-size: 2rem;
    margin-top: 5px;
    margin-right: 10px;
    color: #fff;
    transition: color 0.3s;
}

/*.contact-info a i:hover {
    color: #1db954;  hover effect (e.g. WhatsApp green) 
}*/

.phone a:hover {
    color: #fff;
    text-decoration: none;
}

.email a:hover {
    color: #fff;
    text-decoration: none;
}

.wapp i:hover {
    color: #1db954;
    text-decoration: none;
}

.insta i:hover {
    /*background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);*/
    text-decoration: none;
    color: #E4405F;
    border-radius: 30px;
}

.link i:hover {
    color: #0077B5;
    text-decoration: none;
}

.twit i:hover {
    color: #1DA1F2;
    text-decoration: none;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 0.95rem;
    color: #fff;
}

form input,
form select,
form textarea {
    padding: 12px 15px;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    background-color: #fff;
    color: #000;
    outline: none;
}

form textarea {
    resize: vertical;
}

form button {
    margin-top: 20px;
    padding: 12px 5px;
    width: 10rem;
    font-size: 1rem;
    background-color: #e5e5e5;
    color: #000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #ccc;
}

/*footer*/
footer {
    background-color: #ffff;
    color: #000;
    padding: 5px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 1rem;
    color: #000;
}

/* ...existing code... */

/* Responsive Styles */
@media (max-width: 1200px) {
  .top-bar {
    gap: 10rem;
    padding: 0 1rem;
    margin: 1rem 1rem 0 1rem;
  }
  .about-body img {
    width: 100%;
    height: auto;
  }
  .service-body {
    max-width: 100%;
    padding: 0 1rem;
  }
  .projects > div {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  }
}

@media (max-width: 900px) {
  .top-bar {
    gap: 1rem;
    flex-direction: row;
    align-items: flex-start;
    padding: 0.5rem 1rem;
    margin: 0.5rem 1rem 0 1rem;
  }
  .nav-bar {
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
  }
  .nav-bar ul {
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    padding: 1.8rem 0;
  }
    .nav-bar ul li a {
        font-size: 1rem;
    }
  .nav-bar .button-link {
    font-size: 1rem;
    width: 9rem;
  }
  .heading img {
    height: auto;
  }
  .about-body img {
    width: 100%;
    height: auto;
  }
  .service-heading h2,
  .about-heading h2,
  .project-heading h2 {
    font-size: 2.2rem;
  }
  .projects > div {
    grid-template-columns: 1fr;
  }
  .project img {
    height: 25rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 1rem;
    /*padding: 0.5rem 0.5rem;*/
    /*margin: 0.5rem 0.5rem 0 0.5rem;*/
    border-radius: 3rem;
    position: static;
  }
  .logo img {
    width: 3.5rem;
    height: 3.5rem;
  }
  .nav-bar {
    flex-direction: column;
    /*gap: 0.5rem;*/
    width: 100%;
    display: none;
    /*background: rgba(255,255,255,0.95);*/
    /*position: absolute;*/
    top: 103px;
    left: 0;
    z-index: 1001;
    padding: 1rem 0;
    /*border-radius: 0 0 1.5rem 1.5rem;*/
  }

  .nav-bar ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 1.8rem 0;
  }

  .nav-bar.show {
    display: flex;
  }
  .hamburger {
    display: block;
    position: absolute;
    right: 2rem;
    top: 2rem;
    z-index: 1002;
    color: #000;
    background: none;
    border: none;
  }
  .heading {
    position: absolute;
    /*margin-top: 25rem;*/
  }
  .heading img {
    width: 100%;
    height: auto;
  }
  .service-body,
  .projects > div {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }
  .about-body img {
    width: 100%;
    height: auto;
  }
  .contact-body {
    flex-direction: column;
    gap: 2rem;
  }
  .contact-info,
  .contact-body > div:last-child {
    max-width: 100%;
    /*min-width: 0;*/
    text-align: left;
  }

  .contact-info{
    text-align: center;
  }
  
  form input{
    width: 21rem;
  }

  .about-body img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .service-heading h2,
  .project-heading h2,
  .about-heading h2 {
    font-size: 1.5rem;
  }
  .about-body img {
    width: 100%;
    height: auto;
  }
  .service-heading p,
  .contact-heading p {
    font-size: 1rem;
  }
  .project img {
    height: 14rem;
  }
  .project p {
    font-size: 0.9rem;
    padding: 10px;
  }
  .button-link {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  .contact-info h3,
  .contact-body h3 {
    font-size: 1.2rem;
  }
}
