/* Make header sticky */
.site-header {
    position: fixed !important;
    top: 0;
    z-index: 9999;
 /* important so content doesn't show through */
}



.small-interactive-image {
    width: 60%;
    margin: 0 auto;
}

.small-interactive-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 30px;
}






/********HomePage Contact Us********/

/* Full Section */
.contact-section {
    padding: 90px 60px;
    text-align: center;
		position: relative;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
	   width: 100vw;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
	
}

/* Title */
.contact-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 70px;
    color: #1e2a36;
}

/* 4 Column Row */
.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: auto;
    gap: 40px;
}

/* Each Column */
.contact-item {
    flex: 1;
}

/* Icon Circle EXACT STYLE */
.icon-circle {
    width: 120px;
    height: 120px;
    border: 2px solid #d4a017;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.icon-circle img {
    width: 38px;
    height: 38px;
}

/* Titles */
.contact-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
}

/* Text */
.contact-item p {
    font-size: 14px;
    margin: 4px 0;
    color: #000;
}

/* Email Gold Color */
.contact-item a {
    color: #f39c12;
    text-decoration: none;
}

/* Divider */
.divider {
    height: 1px;
    background: #cfcfcf;
    max-width: 1200px;
    margin: 60px auto 30px;
}

/* Make form wider */
.form-wrapper {
    width: 100%;
}

/* Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
}

/* Full width elements */
.full-width {
    grid-column: 1 / -1;
}

/* Inputs */
.form-grid input,
.form-grid textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
	  display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
}

/* Textarea height */
.form-grid textarea {
    min-height: 140px;
}

/* Submit button */
.form-grid input[type="submit"] {
    width: 150px;
    background: #13294b;
    color: white;
    border: none;
    cursor: pointer;
}

/* Reduce form container padding */
.contact-page-form .wpcf7 {
  padding: 25px;
}

/* Reduce space between fields */
.contact-page-form .wpcf7 input,
.contact-page-form .wpcf7 textarea,
.contact-page-form .wpcf7 select {
  margin-bottom: 12px;
  padding: 10px 14px;
}

/* Reduce textarea height */
.contact-page-form .wpcf7 textarea {
  min-height: 120px;
}

/* Reduce space under labels */
.contact-page-form .wpcf7 label {
  margin-bottom: 5px;
}

@media (max-width: 900px) {

  /* Stack columns properly */
  .contact-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  /* Make each item full width */
  .contact-item {
    width: 100%;
    max-width: 400px;
    text-align: center;
  }

  /* Fix icon stacking issue */
  .icon-circle {
    position: relative;
    width: 85px;
    height: 85px;
    margin: 0 auto 15px;
    flex-shrink: 0;
  }

  .icon-circle img {
    width: 30px;
    height: 30px;
    display: block;
  }

}









/* Container for other forms */
.wpcf7 {
  background: #e9ecef; /* Updated background */
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin: 0 auto;
}

/* Labels */
.wpcf7 label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

/* Input Fields & Textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e1e1;
  border-radius: 8px;
  font-size: 16px;
  background-color: #fafafa;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensures padding doesn't break layout */
  margin-bottom: 20px;
}

/* Focus State (when clicking inside) */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #f7c948; /* Your yellow accent color */
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(247, 201, 72, 0.1);
}

/* Submit Button */
.wpcf7 input[type="submit"] {
  background-color: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 15px 35px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  display: inline-block;
}

/* Submit Button Hover */
.wpcf7 input[type="submit"]:hover {
  background-color: #f7c948;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(247, 201, 72, 0.4);
}

/* Success/Error Messages */
.wpcf7-response-output {
  border-radius: 8px;
  padding: 15px !important;
  margin-top: 20px !important;
  border: none !important;
  text-align: center;
}

.wpcf7-mail-sent-ok {
  background-color: #d4edda;
  color: #155724;
}

.wpcf7-validation-errors {
  background-color: #f8d7da;
  color: #721c24;
}


/* Custom Headings for gallery */

.section-heading {
  font-family: 'Arial', sans-serif;       /* Clean, professional font */
  font-size: 32px;                        /* Large enough to stand out */
  font-weight: 700;                        /* Bold */
  color: #f7c948;                          /* Cement company yellow */
  text-transform: uppercase;               /* Strong corporate look */
  text-align: center;                       /* Centered on page */
  position: relative;                      /* For decorative line */
  margin: 60px 0 40px 0;                   /* Top & bottom spacing */
}

/* Decorative line under heading */
.section-heading::after {
  content: '';
  display: block;
  width: 80px;                             /* Length of line */
  height: 4px;                             /* Thickness of line */
  background-color: #000;                   /* Black line for contrast */
  margin: 12px auto 0 auto;                /* Center the line */
  border-radius: 2px;                      /* Slightly rounded ends */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);   /* Subtle shadow for depth */
}


/* Job Application Form Container */
/* ===== Full-Width Modern */
/* Force Contact Form 7 to full width */
.my-application-form {
    width: 100vw;       /* Full viewport width */
    max-width: 100vw;   /* Ignore any max-width */
    margin: 0 !important; /* Remove any centering margins */
    padding: 50px 5%;   /* Padding on edges for breathing room */
    box-sizing: border-box;
}

/* Optional: remove parent container padding/margin if needed */
.my-application-form-wrap {
    max-width: 100% !important;
    padding: 0 !important;
}

 /* Application Form ===== */
/* Force the shortcode block container to full width */
.wp-block-shortcode {
    width: 100vw;         /* Full viewport width */
    max-width: 100vw;     /* Ignore max-width */
    margin: 0 !important; /* Remove center alignment */
    padding: 0;           /* Optional: remove padding */
    box-sizing: border-box;
}

/* Force the form inside to take full width */
.my-application-form {
    width: 100%;
    max-width: 100%;
    padding: 50px 5%;
}


/* ===== Form Title ===== */
.my-application-form h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    color: #f7c948;
    margin-bottom: 50px;
    position: relative;
}

/* Decorative line under title */
.my-application-form h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #000;
    margin: 12px auto 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ===== Inputs, Textarea, Select, File, Intl Tel ===== */
.my-application-form .wpcf7-form-control,
.my-application-form .intl-tel-input input {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 25px;
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    font-size: 16px;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Focus state for all inputs */
.my-application-form .wpcf7-form-control:focus,
.my-application-form .intl-tel-input input:focus {
    border-color: #f7c948;
    box-shadow: 0 0 10px rgba(247,201,72,0.2);
    outline: none;
}

/* File input cursor */
.my-application-form input[type="file"] {
    cursor: pointer;
    padding: 10px 12px;
}

/* Labels */
.my-application-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

/* ===== Submit Button ===== */
.my-application-form .wpcf7-submit {
    background: linear-gradient(135deg, #f7c948, #f0b600);
    color: #000;
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    display: block;
    margin: 0 auto;
    width: 100%;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.my-application-form .wpcf7-submit:hover {
    background: linear-gradient(135deg, #000, #333);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ===== Validation / Error Messages ===== */
.my-application-form .wpcf7-not-valid-tip {
    color: #d9534f;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 15px;
    display: block;
}

/* ===== Success Message ===== */
.my-application-form .wpcf7-mail-sent-ok {
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

/* ===== Intl Tel Plugin Fixes ===== */
.intl-tel-input {
    width: 100%;
}

.intl-tel-input input {
    width: 100% !important;
    padding-left: 60px; /* space for flag dropdown */
}

/* ===== Responsive ===== */
@media(max-width: 1024px) {
    .my-application-form {
        padding: 40px 5%;
    }
    .my-application-form h2 {
        font-size: 36px;
    }
}

@media(max-width: 600px) {
    .my-application-form {
        padding: 30px 5%;
    }
    .my-application-form h2 {
        font-size: 28px;
    }
    .my-application-form .wpcf7-form-control {
        padding: 14px 12px;
    }
    .my-application-form .wpcf7-submit {
        padding: 16px;
    }
}



p.rtl {
    direction: rtl !important;
    text-align: right !important;
    unicode-bidi: embed;
}


   
.wpcf7 .cf7-compact-form {
    background: transparent !important;
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.cf7-compact-form {
    width: 100%;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Intro text */
.cf7-compact-form > p {
    font-size: 13px;
    color: #2d2d2d;
    margin-bottom: 10px;
}

/* 3️⃣ Grid – FIELDS ONLY */
.cf7-compact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* Labels */
.cf7-compact-grid label {
    font-size: 11px;
    font-weight: 600;
    color: #2d2d2d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Inputs / selects / textareas */
.cf7-compact-form input:not([type="submit"]):not([type="file"]),
.cf7-compact-form textarea,
.cf7-compact-form select {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
    box-sizing: border-box;
}

/* Focus */
.cf7-compact-form input:focus,
.cf7-compact-form textarea:focus,
.cf7-compact-form select:focus {
    outline: none;
    border-color: #f7c948;
    box-shadow: 0 0 0 2px rgba(247, 201, 72, 0.15);
}

/* Placeholder */
.cf7-compact-form input::placeholder,
.cf7-compact-form textarea::placeholder {
    color: #aaa;
}

/* Select arrow */
.cf7-compact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
}

/* Textareas */
.cf7-compact-form textarea {
    max-height: 40px;
    resize: none;
    line-height: 1.4;
}

/* File input */
.cf7-compact-form input[type="file"] {
    font-size: 12px;
    color: #666;
    padding: 6px 0;
}
.cf7-compact-form input[type="file"]::file-selector-button {
    padding: 6px 14px;
    margin-right: 10px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.cf7-compact-grid label:nth-child(1),
.cf7-compact-grid label:nth-child(2),
.cf7-compact-grid label:nth-child(3),
.cf7-compact-grid label:nth-child(4) {
    grid-column: span 1;
}

/* Row 2 */
.cf7-compact-grid label:nth-child(5) {
    grid-column: span 2;
}
.cf7-compact-grid label:nth-child(6),
.cf7-compact-grid label:nth-child(7) {
    grid-column: span 1;
}

/* Row 3 */
.cf7-compact-grid label:nth-child(8),
.cf7-compact-grid label:nth-child(9) {
    grid-column: span 2;
}

/* Row 4 */
.cf7-compact-grid label:nth-child(10) {
    grid-column: span 2;
}

.cf7-compact-form input[type="submit"] {
    display: block;
    width: 100%;
    margin-top: 12px;
    background: #f7c948;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 14px;
    padding: 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
}

.cf7-compact-form input[type="submit"]:hover {
    background: #e6b800;
    transform: translateY(-1px);
}

/* Validation */
.cf7-compact-form .wpcf7-not-valid-tip {
    font-size: 11px;
    color: #d32f2f;
    margin-top: 2px;
}

/* Response message */
.cf7-compact-form .wpcf7-response-output {
    margin-top: 8px;
    padding: 10px;
    font-size: 13px;
    border-radius: 4px;
}

/* Phone plugin */
.cf7-compact-form .intl-tel-input,
.cf7-compact-form .iti {
    width: 100%;
}

/* responsive */
@media (max-width: 1024px) {
    .cf7-compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cf7-compact-grid label:nth-child(5),
    .cf7-compact-grid label:nth-child(8),
    .cf7-compact-grid label:nth-child(9),
    .cf7-compact-grid label:nth-child(10) {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .cf7-compact-grid {
        grid-template-columns: 1fr;
    }

    .cf7-compact-grid label {
        grid-column: span 1 !important;
    }
}





/* Mobile Footer Responsive */
@media only screen and (max-width: 768px) {
    .site-footer {
        display: flex;
        flex-direction: column;  /* stack sections vertically */
        align-items: center;     /* center all content */
        text-align: center;      /* center text inside */
        padding: 20px 10px;      /* mobile-friendly spacing */
    }

    .site-footer .footer-section {
        width: 100%;             /* full width for each section */
        margin-bottom: 20px;     /* spacing between sections */
    }

    .site-footer .footer-logos img {
        max-width: 120px;        /* logos resize */
        margin: 10px;
        height: auto;
    }

    .site-footer iframe {
        width: 100%;             /* map fits mobile screen */
        height: 250px;           /* adjust as needed */
    }

    .site-footer a {
        display: block;          /* stack links vertically */
        margin-bottom: 5px;
    }
}