/* RESET AND BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    /* Using system fonts as exact font is unclear */
    line-height: 1.6;
    color: #000;
    background-color: #fbfbfc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 38px;
}

/* ================= PAGE WRAPPER ================= */
.page-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    background: #fbfbfc; /* same as body */
}

/* HEADER SECTION */
        header {
             display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 130px;
    background-color: #fbfbfc;

    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10; */
        }



        .logo img {
            height: 80px;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 30px;
        }

        nav ul li a {
            text-decoration: none;
            color: #000;
            font-size: 18px;
            font-weight: bold;
            transition: all 0.3s ease;
            padding-bottom: 5px;
            position: relative;
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: #4a90e2;
            transition: width 0.3s ease;
        }

        nav ul li a:hover::after {
            width: 100%;
        }

        nav ul li a:hover {
            color: #4a90e2;
            transform: translateY(-2px);
        }

/* CONTACT SECTION */
.contact-section {
    padding: 0px 0 0px 0px
}

/* TOP AREA */
.contact-header {
    max-width: 900px;
    padding: 40px 0px 10px 0px;
}

.contact-title {
    font-size: 72px;
    font-weight: 700;
    color: #FF9800;
    margin-bottom: 10px;
}

.contact-description {
    font-size: 30px;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 500;
}

/* BOTTOM AREA */
.contact-body {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    margin-bottom: 90px;
}

/* CONTACT DETAILS */
.contact-info {
    flex: 1;
    max-width: 400px;
}

/* ONLY rows that need alignment */
.detail-align {
    display: grid;
    grid-template-columns: 120px 10px auto; /* 🔑 aligns colons */
    align-items: start;
    font-size: 18px;
    margin-bottom: 10px;
}

/* Label text */
.label {
    font-weight: 500;
}

/* Colon column */
.colon {
    text-align: center;
}

/* Link style */
.email-link {
    color: #FF9800;
    text-decoration: none;
    margin-left: 10PX;
}

/* Location remains exactly the same */
.detail-item {
    font-size: 18px;
    margin-bottom: 10px;
}

.location-div{
    margin-top: 25px;
}

.location-text {
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
}

/* FORM */
/* OUTER BORDER */
.contact-form-wrapper {
    border: 1px solid #000;
    padding: 40px 35px;
    width: 520px;
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* EACH FIELD */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 16px;
    margin-bottom: 8px;
    color: #000;
}

.form-group input {
    border: 1px solid #000;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

/* SUBMIT BUTTON */
.submit-btn {
    margin-top: 25px;
    padding: 12px;
    width: 100%;
    border: 1px solid #000;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #000;
    color: #fff;
}


/* FOOTER SECTION */

footer {
  background-color: #3C3C3C;
  color: #fff;
  padding: 60px 150px 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 28px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fff;
  display: inline-block;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-section p {
  font-size: 16px;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid #666;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.footer-bottom-right {
  display: flex;
  gap: 20px;
}

.work-footer{
  margin-top: 115px;
}

.social-cont{
  margin-top: 15px;
  margin-left: -5px;
}



.social-icon{
  height: 60px;
  width: 60px;
}

.footer-list{
  text-decoration: none;
  color: white;
}

.footer-list:hover{
  color: #5c83e6;
}

.contact {
  display: flex;
}

.label {
  width: 60px;        /* controls colon position */
}

.value {
  white-space: nowrap;
}
/* RESPONSIVE DESIGN */

/* Tablet View */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .contact-content {
        gap: 50px;
    }

    .contact-title {
        font-size: 52px;
    }

    .contact-description {
        font-size: 24px;
    }

    .contact-form-wrapper {
        flex: 0 0 400px;
        padding: 30px 25px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Header becomes stacked on mobile */
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .navigation {
        gap: 20px;
        font-size: 13px;
    }

    /* Contact section stacks vertically */
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info {
        max-width: 100%;
    }

    .contact-title {
        font-size: 42px;
    }

    .contact-description {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .contact-form-wrapper {
        flex: 1 1 auto;
        width: 100%;
    }

    /* Footer grid becomes 2 columns */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Mobile View */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .navigation {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .contact-title {
        font-size: 36px;
    }

    .contact-description {
        font-size: 18px;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    /* Footer becomes single column */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-heading {
        font-size: 18px;
    }

    .copyright {
        font-size: 11px;
    }

    .footer-links {
        font-size: 11px;
    }
}

/* ============================================
   TABLET VIEW (481px - 1024px)
   ============================================ */

@media (max-width: 1024px) {
    /* Header - prevent overflow */
    header {
        padding: 20px 60px; /* Reduced from 130px */
    }

    /* Container - adjust padding */
    .container {
        padding: 0 40px;
    }

    /* Contact header - scale down */
    .contact-header {
        padding: 40px 0 20px 0;
    }

    .contact-title {
        font-size: 60px; /* Reduced from 72px */
    }

    .contact-description {
        font-size: 26px; /* Reduced from 30px */
    }

    /* Contact body - reduce gap */
    .contact-body {
        gap: 50px; /* Reduced from 80px */
    }

    /* Contact info - adjust width */
    .contact-info {
        max-width: 350px;
    }

    .detail-align {
        grid-template-columns: 110px 10px auto; /* Slightly reduced from 120px */
        font-size: 17px;
    }

    .detail-item {
        font-size: 17px;
    }

    .location-text {
        font-size: 17px;
    }

    /* Form - adjust size */
    .contact-form-wrapper {
        width: 450px; /* Reduced from 520px */
        padding: 35px 30px;
    }

    .contact-form {
        gap: 20px;
    }

    .form-group label {
        font-size: 15px;
    }

    /* Footer - reduce padding */
    footer {
        padding: 60px 60px 30px; /* Reduced from 150px */
    }

    .work-footer {
        margin-top: 60px; /* Reduced from 115px */
    }
}

/* ============================================
   MOBILE VIEW (max-width: 480px)
   ============================================ */

@media (max-width: 480px) {
    /* Header - stack vertically */
    header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .logo img {
        height: 60px; /* Reduced from 80px */
    }

    /* Navigation - mobile friendly */
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav ul li a {
        font-size: 16px; /* Reduced from 18px */
    }

    /* Container - minimal padding */
    .container {
        padding: 0 20px;
    }

    /* Contact section */
    .contact-section {
        padding: 0;
    }

    /* Contact header - mobile optimization */
    .contact-header {
        max-width: 100%;
        padding: 0px 0 10px 0;
    }

    .contact-title {
        font-size: 40px; /* Reduced from 72px */
        margin-bottom: 0px;
    }

        .btm-email{
        margin-top: -5px;
    }

    .contact-description {
        font-size: 20px; /* Reduced from 30px */
        line-height: 1.5;
        margin-bottom: 0px;
    }

    /* Contact body - stack vertically */
    .contact-body {
        flex-direction: column; /* Stack info and form */
        gap: 20px;
        margin-bottom: 40px;
    }

    /* Contact info - full width */
    .contact-info {
        flex: 1;
        max-width: 100%;
        order: 1; /* Info first */
    }

    /* Detail items - adjust grid for mobile */
    .detail-align {
        grid-template-columns: 90px 10px auto; /* Reduced from 120px */
        font-size: 16px;
        margin-bottom: 15px;
    }

    .btm-loc{
        margin-top:-5px ;
    }

    .label {
        font-weight: 500;
    }

    .email-link {
        margin-left: 5px; /* Reduced from 10px */
        font-size: 16px;
    }

    /* Location section */
    .detail-item {
        font-size: 16px;
        /* margin-bottom: 15px; */
    }

    .location-div {
        margin-top: 20px;
    }

    .location-text {
        font-size: 16px;
        line-height: 1.4;
    }

    /* Form wrapper - full width */
    .contact-form-wrapper {
        width: 100%; /* Full width instead of fixed 520px */
        max-width: 100%;
        padding: 30px 20px; /* Reduced padding for mobile */
        order: 2; /* Form second */
    }

    /* Form fields */
    .contact-form {
        gap: 18px;
    }

    .form-group {
        width: 100%;
    }

    .form-group label {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        font-size: 15px;
    }

    /* Textarea specific */
    textarea {
        border: 1px solid #000;
        padding: 10px 12px;
        font-size: 14px;
        outline: none;
        font-family: Arial, sans-serif;
    }

    /* Submit button */
    .submit-btn {
        margin-top: 20px;
        padding: 14px;
        font-size: 15px;
        width: 100%;
    }

    /* Footer - mobile optimization */
    footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        flex-direction: column; /* Stack footer sections */
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-section h4 {
        font-size: 24px; /* Reduced from 28px */
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 14px; /* Reduced from 16px */
    }

    /* Remove large top margin when stacked */
    .work-footer {
        margin-top: 30px;
    }

    /* Footer bottom - stack vertically */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
        font-size: 12px;
    }

    .footer-bottom-right {
        justify-content: center;
    }

    /* Social icons - proper spacing */
     .social-cont {
        display: flex;
        gap: 5px;
        /* justify-content: center; */
        margin-top: 15px;
        margin-left: -5px;
    }
}

/* ============================================
   SMALL MOBILE (max-width: 380px)
   ============================================ */

@media (max-width: 380px) {
    /* Extra small screens - prevent overflow */
    .contact-title {
        font-size: 36px;
    }

    .contact-description {
        font-size: 18px;
    }

    /* Detail alignment - smaller grid */
    .detail-align {
        grid-template-columns: 80px 8px auto; /* Further reduced */
        font-size: 15px;
    }

    .detail-item {
        font-size: 15px;
    }

    .location-text {
        font-size: 15px;
    }

    /* Form wrapper - tighter padding */
    .contact-form-wrapper {
        padding: 25px 15px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 10px;
    }
}