 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
}

.contact {
    position: relative;
    min-height: 100vh;
    padding: 50px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(to right, #24d13b, #e70b0b);
    background-size: cover;
}

.contact .content {
    max-width: 800px;
    text-align: center;
}

.contact .content h2 {
    font-size: 36px;
    font-weight: bold;
    color: black;
}

.contact .content p {
    font-weight: 800;
    color: black;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap; 
}

.container .contactInfo {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.container .contactInfo .box {
    position: relative;
    padding: 20px 0;
    display: flex;
    align-items: center;
}

.container .contactInfo .box .icon {
    min-width: 60px;
    height: 60px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
}

.container .contactInfo .box .text {
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    color: #fff;
    flex-direction: column;
    font-weight: 300;
}

.container .contactInfo .box .text h3 {
    font-weight: 500;
    color: black;
}

form {
    width: 37%;
    margin: auto;
    padding: 20px;
    border: 3px solid black;
    border-radius: 10px;
    background-color: #f9f9f9;
  }

  label {
    font-size: 14px;
    margin-bottom: 5px;
   display: block; 
  }

  input, textarea, button {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  button {
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
  }
  button:hover {
background-color:darkgreen; /* Green background */
color: white; /* White text */
transform: scale(1.05);
}

h2{
    margin-left: 20px;
}


.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    text-decoration: none;
    color: #008000; 
    font-size: 1.5rem;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: darkgreen;
    transform: scale(1.1); 
}


footer {
    background-color: #008000; 
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 18px;
    margin-top: 40px;
}

footer p {
    margin: 5px 0;
}

footer .designer-name {
    font-weight: bold;
    font-size: 20px;
    color: black; 
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: orange;
    text-decoration: underline;
}

/* Responsive Design */
/* @media (max-width: 991px) {
    .contact {
        padding: 20px;
    }

    .container {
        flex-direction: column;
        gap: 20px;
    }

    .container .contactInfo,
    .contactForm {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .contact .content h2 {
        font-size: 28px;
    }

    .contactForm h2 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .contactForm .inputBox input,
    .contactForm .inputBox textarea {
        font-size: 14px;
    }

    .social-links a {
        font-size: 1.2rem;
    }

    footer {
        font-size: 0.9rem;
    }
}  */
  /* Medium Screens (991px and below) */
@media (max-width: 991px) {
    .contact {
        padding: 20px;
    }

    .container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .container .contactInfo,
    .contactForm {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }
}

/* Small Screens (768px and below) */
@media (max-width: 768px) {
    .contact .content h2 {
        font-size: 28px;
    }

    .contactForm h2 {
        font-size: 24px;
    }
}

/* Extra Small Screens (576px and below) */
@media (max-width: 576px) {
    .contactForm .inputBox input,
    .contactForm .inputBox textarea {
        font-size: 14px;
        line-height: 1.4;
        padding: 10px;
    }

    .social-links a {
        font-size: 1.2rem;
    }

    footer {
        font-size: 0.9rem;
    }
}

/* Very Small Screens (375px and below, e.g., iPhone SE) */
@media (max-width: 375px) {
    .contact .content h2,
    .contactForm h2 {
        font-size: 20px;
    }

    footer {
        font-size: 0.8rem;
    }
}

