/* 
Theme Name:  Engineering Theme
Text Domain: Engineering Theme
Version: 1.0
Description: Theme
Tags: responsive, simple
Author: Mariah Pinto

*/

:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --lightpurple: #622aa784;
    --darkpurple: #1a111d;
    --pink: #ee3577;
    --red: #dc3545;
    --orange: #f68e62;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #353434;
    --gray-dark: #1a1a1a;
    --primary: #6f42c1;
    --secondary: #4f4f4f;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #c2c2c2;
    --lightgray: #eeeeee;
    --light-black: #0d0d0d;
    --dark: #434242;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: "Inter", sans-serif;
    --font-family-serif: "Cardo", serif;
    /* Font Sizes */
    --font-normal: 1em;
    --font-small: 0.8125rem;

    --text-heading: #1e1b4b;
    --text-body: #475569;
    --accent-purple: #6366f1;
    --accent-bg: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(99, 102, 241, 0.05), 0 8px 10px -6px rgba(99, 102, 241, 0.05);
        
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    line-height: 1.15;
}
body {
    /*color: var(--secondary);*/
    overflow-x: hidden;
    font-family: var(--font-family-sans-serif);
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--gray-dark);
    font-family: var(--font-family-serif);
    font-weight: 300;
}
p {
    font-size: 1.20rem;
}
a {
    text-decoration: none !important;
}
main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.button {
    font-weight: 600;
    padding: .375rem 1rem;
    height: 2.75rem;
    transition: all 0.4s ease-in-out;
    background-color: var(--white);
    color: var(--light-black) !important;
    padding: 15px 30px;
    border: 1px solid var(--light-black);
    background-color: transparent;
}

.button:focus,
.button.focus {
    box-shadow: none !important;
}

.button:hover {
    cursor: pointer;
}

.button span {
    color: var(--light-black);
    margin-left: 5px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    color: var(--gray-dark);
    z-index: 20;
    border-bottom: 5px solid var(--light);
}

.navbar .logo-section {
    width: 40%;
}

.logo-section {
    margin-left: 60px;
    display: flex;
}

.navbar .logo-section a {
    display: flex;
}

.logo-navbar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.navbar .logo-navbar h1 {
    font-size: 25px;
    font-size: 600;
    margin: 0;
}

.navbar .logo-navbar h2 {
    font-size: 21px;
    letter-spacing: 0.42rem;
    color: var(--purple);
    margin: 0;
    margin-left: 2px;
}

.navbar img {
    width: 20%;
}

.navbar a {
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.12rem;
}

.navbar a:hover {
    color: inherit;
    text-decoration: none;
}


.navbar .site-title {
    width: 30%;
    display: flex;
    font-size: 2rem;
    font-style: bold;
    justify-content: center;
}

.navbar .navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 70%;
}

.navbar ul {
    display: flex;
    justify-content: space-evenly;
    gap: 40px;
    z-index: 20;
}

.navbar ul li {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

.drop-down {
    position: relative;
    cursor: pointer;
}

.sub-menu {
    visibility: hidden;
    position: absolute;
    margin: 0;
    margin-top: 7px;
    padding: 0;
    padding-top: 20px;
    top: 1rem;
    left: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    z-index: 10;
    text-align: start;
    opacity: 0;
    list-style: none;
    width: 11rem;
    transition: ease-in-out 0.3s opacity;
    background-color: var(--white);
    gap: 0 !important;
}

.drop-down:hover .sub-menu {
    visibility: visible;
    opacity: 1;
}

.sub-menu:hover {
    visibility: visible;
    opacity: 1;
}

.nav-menu {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    height: 3rem;
    border: none;
    background-color: transparent;
}

.sub-menu li {
    display: inline-block; 
    width: 100%;
    height: 3.2rem;
    margin: 0;
    background-color: var(--white);
    border-bottom: 1px solid grey;
}

.sub-menu li a {
    display: block;
    width: 100%;
    height: 100%;
    margin-left: 4px;
    margin-top: 5px;
    font-size: 1.05rem;
    font-weight: 400;
}

.second-nav {
    margin-left: 40px;
}

.nav-item-button a {
    font-weight: 600;
    padding: .275rem 1rem;
    height: 2.75rem;
    transition: all 0.4s ease-in-out;
    background-color: var(--white);
    color: var(--light-black) !important;
    padding: 10px 30px;
    border: 1px solid var(--light-black);
}

.element-button {
    font-weight: bold;
    padding: .375rem 1rem;
    height: 2.75rem;
    background-color: var(--gray-dark);
    border-radius: 5px;
    transition: all 0.4s ease-in-out
}

.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.alignwide {
    width: 80vw;
    margin-left: calc(50% - 40vw);
    max-width: none;
}

.large-font-size {
    font-size: 3rem;
}

.medium-font-size {
    font-size: 2rem;
}

.small-font-size {
    font-size: 1rem;
}

.body-font-family {
    font-weight: 600;
}

.block-spacer {
    height: 1.25rem;
}

.block-group {
    padding: 2rem;
}

.block-heading {
    margin-left: 2rem;
}

.text-align-center {
    text-align: center;
}

.text-align-left {
    text-align: left;
}

.block-buttons {
    display: flex;
    justify-content: center;
}

.center-div {
    max-width: 800px;
}

.align-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block-columns {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:10px;
}

.grid-section .block-columns {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
}

.block-column {
    margin-left: 2%;
}



.project-main-section .block-column img {
 width: 100%;
}

.project-main-section .block-button {
    margin-left: 20px;
}

.column-box h3 {
    font-size: 1.4rem !important;
    text-align: center;
    margin-left: -20px;
}

.column-box {
    min-height: 565px;
    padding: 20px 0 15px 0;
    background-color: white;
    border-radius: 5px;
    border: 13px ridge rgb(61, 49, 79);
}

.column-box:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px var(--shadow-md);
}

.column-box img {
    margin-top: -10px;
    width: 100%;
}

.column-box p {
    font-size: 1.05rem !important;
}

.block-column p {
    padding: 20px;
    margin-left: 5px;
}

/* Main section */

.main-section {
    display: flex !important;
    padding-bottom: 0;
}

.main-image {
    background-image: url("https://www.consultpinto.com/wp-content/uploads/2026/07/background.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 150%;
    height: 60vh;
}

.block-image img {
   width:95%;
   height: 650px;
   border: 10px solid var(--dark);
}

.grid-section h2 {
    font-weight: 600;
    letter-spacing: 0.1rem;
    font-size: 2.5rem;
    text-transform: uppercase;
}

.grid-section h3 {
    font-size: 1.7rem;
}

.grid-section p {
    font-size: 1.2rem;
}

.grid-section {
     background: linear-gradient(136deg,rgba(244, 240, 246, 1) 0%, rgba(255, 255, 255, 1) 50%, #f4f0f6 100%);
}

.main-projects {
      background: linear-gradient(to bottom right, #ffedc7 0%, #f4f0f6 50%, #ffffff 100%);
}

.altering-images {
    background: linear-gradient(to top left, #ffedc7 0%, #f4f0f6 60%, #ffffff 100%);
    padding-bottom: 50px;
}

.main-projects h2 {
    font-weight: 600;
    letter-spacing: 0.1rem;
    font-size: 2.5rem;
    text-transform: uppercase;
    text-align: center;
}

.main-projects h3 {
    font-weight: 600;
}

.altering-images h3 {
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight:bolder;
    letter-spacing: 0.1rem;
    text-align: center;
}

.altering-images ul {
    margin: 0;
    font-size: 1.1rem;
    list-style: none;
}

.altering-images li {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    margin-bottom: 20px;
    padding: 0px 20px 10px 20px;
    box-shadow: 2px 2px 10px grey;
}

.altering-images li p {
    line-height: 1.2rem;
}

.altering-images li p::before {
    content: "» "; 
    font-size: 2rem;
    color: goldenrod;
}

.altering-images .icon {
    height: 50px;
}

.altering-images figure {
    padding: 15px;
    border: 2px solid black;
    border-bottom: none;
}

.altering-images figure img {
    width: 100%;
}

.altering-images .figure-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.altering-images .figure-column h3 {
    margin-top: -20px;
    margin-left: -10px;
}

.altering-images h2 {
    font-weight: 600;
    letter-spacing: 0.1rem;
    font-size: 2.5rem;
    text-transform: uppercase;
}

.blog-posts {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.archive-post-content {
    height: 360px;
    border: 1px solid var(--secondary);
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 2px 2px 2px rgba(128, 128, 128, 0.309);
    padding: 20px;
}

.archive-post-content a {
    text-decoration: none !important;
}

.archive-post-content img {
    height: 220px;
    width: 100%;
    padding-bottom: 20px;
}

.archive-post-content p {
    font-size: 1rem;
    margin-left: 20px;
    padding-top: 10px;
    color: var(--gray-dark);
}

/*Main section gallery */
/* Section Container Styling */
.gallery-section {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Precise CSS Grid Layout */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(50px, auto);
  gap: 15px;
  max-width: 1200px;
  width: 100%;
}

/* Image Wrappers and Card Styling */
.main-grid-item {
    position: relative;
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 0 !important;
}

.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
  color: white;
  
  /* Flexbox to perfectly center the text vertically and horizontally */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;

  /* Crucial properties for hiding and animating */
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* When the user hovers over the container, show the overlay text */
.main-grid-item:hover .overlay-text {
  opacity: 1;
}

.overlay-text h3 {
    color: whitesmoke;
}

.main-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Grid Positioning for Each Specific Image */
.item-top-left {
  grid-column: 1 / 7;
  grid-row: 1 / 5;
}

.item-bottom-left {
  grid-column: 1 / 4;
  grid-row: 5 / 11;
}

.item-filler {
  grid-column: 4 / 7;
  grid-row: 5 / 6;
  background-color: #dedbe6; /* Matches the muted purple placeholder card */
  box-shadow: none;
}

.item-top-right-bridge {
  grid-column: 7 / 10;
  grid-row: 1 / 6;
}

.item-dam {
  grid-column: 4 / 10;
  grid-row: 6 / 11;
}

.item-crane {
  grid-column: 10 / 13;
  grid-row: 1 / 11;
}

/*Archive Project Page*/

.title-section {
    height: 150px;
    justify-content: center;
}

.title-section h1 {
    color: black;
    font-size: 3rem;
    text-transform:capitalize;
    letter-spacing: 0.25rem;
}

.horizontial-list {
    display: flex;
    flex-wrap: wrap; 
    list-style: none;
    gap: 0px;
}

.button-project {
    border: 1px solid var(--dark);
    background-color: var(--white);
    padding: 5px 10px;
    color: var(--light-black) !important;
    font-weight: bold;
    border-radius: 0 !important;
    text-align: center;
    border-radius: 5px;
}

.horizontial-list .active {
    background-color: var(--dark);
    color: var(--white) !important;
    border: 1px solid var(--dark);
}

#post-container {
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.archive-projects-posts {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1450px;
}

.archive-project-content {
    min-height: 380px;
    border: 1px solid var(--secondary);
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 2px 2px 2px rgba(128, 128, 128, 0.309);
}

.archive-project-content a {
    text-decoration: none !important;
}

.archive-project-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    margin-left: 20px;
    padding-right: 5px;
}

.archive-project-content h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-left: 20px;
}

.archive-project-content img {
    height: 240px;
    width: 100%;
    padding-bottom: 20px;
}

.archive-project-content p {
    font-size: 0.9rem;
    margin-left: 20px;
    padding-top: 10px;
    color: var(--gray-dark);
    padding-right: 7px;
}

.loader-wrapper {
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #242f3f00;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader {
    border: 8px solid #f3f3f3; /* Light grey background */
    border-top: 8px solid #3498db; /* Blue spinning part */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.loader-wrapper h4 {
    font-weight: bolder !important;
    font-size: 1.2rem;
    margin-top: 10px;
}

.loader-wrapper.hidden {
  display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.paginate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
}

.paginate .current {
    color: black;
}

.page-numbers {
    color: purple;
}

.dropdown-area {
    display: flex !important;
    justify-content: space-evenly !important;
    align-items: center !important;
}

/* Container positioning */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Button style */
.dropbtn {
  background-color: white;
  color: #313131;
  padding: 12px 25px;
  font-size: 16px;
  width: 370px;
  border: 1px solid black;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.2rem;
  border-radius: 25px;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.08rem;
}

.dropbtn:focus:not(:focus-visible) {
    outline: none;
}

.dropbtn i {
    display: flex;
    align-items: center;
    
}

/* Hidden dropdown list */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
  cursor: pointer;
  width: 370px;
}

/* Links inside the menu */
.dropdown-menu a {
  color: #313131;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.05rem;
}

.dropdown-menu .active {
    color: purple;
}

/* The toggle utility class */
.show {
  display: block;
}

.dropdown-menu .hidden {
    display: none !important;
}

.searchbar {
    position: relative;
    width: 100%;
}

.searchbar i {
    position: absolute;
    left: 10px;
    top: 5px;
    font-size: 1.2rem;
}

.searchbar input {
    width: 100%;
    height: 40px;
    text-indent: 35px; 
}

/* Single Project Page */

.single-project {
    padding-top: 0;
    padding-bottom: 100px;
}

.wp-block-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.wp-block-gallery img {
    max-height: 500px;
}

.wp-block-image {
    display: flex;
    justify-content: center;
}

.title-section {
    text-align: center;
    padding: 0;
}

.wp-block-heading {
    text-align: center;
    font-size: 1.6rem;
    padding-bottom: 40px;
}



/* Contact Form */

.contact-info-section {
    background-image: url("https://www.consultpinto.com/wp-content/uploads/2026/07/background_contact.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 110%;
    height: 30vh;
}

.contact-info-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 40px;
}

.contact-info p {
    font-size: 1rem;
}

.contact-info .contact-icon {
    display: flex;
    width: min-content;
    justify-content: center;
}

.contact-info .contact-icon i {
    color: rgb(43, 11, 61);
    font-size: 3rem;
    margin-bottom: 20px;
    margin-left: 60px;
}

.contact-text {
    display: flex;
}

.contact-text p:first-child {
    margin-right: 10px;
}

.contact-form-area {
    display: flex;
    justify-content: space-between;
}

.contact-form-section {
    width: 48%;
}

#contact-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#contact-form button {
    width: 200px;
    height: 50px;
    color: white;
    background-color: black;
    margin-top: 20px;
}

#contact-form input {
    width: 100%;
    margin-bottom: 10px;
}

#contact-form textarea {
    height: 200px;
}

#contact-form label {
    font-weight: 600;
}

.map {
    width: 48%;
}

/* Services Section */

.services-section {
    display: flex !important;
}

.services-heading {
    width: 40%;
    padding: 10px;
    padding-top: 50px;
    margin-left: 20px;
}

.services-heading p {
    margin-left: 30px;
    width: 90%;
    font-weight: 400;
    gap: 1.5rem;
    font-size: 1.1rem;
}

.service-description {
    padding-bottom: 100px;
  }

.first-title {
    font-size: 3.5rem;
    font-size: 2.75rem;
    font-weight: 400;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.second-title {
    color: rgb(85, 7, 85);
    font-size: 5.5rem;
    font-size: 3.5rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
    display: block;
    margin-top: 0.25rem;
}

.grid-container {
    display: grid;
    width: 60%;
    grid-template-columns: 1fr 1fr; 
    gap: 24px;
    max-width: 800px; /* Limits overall width for better layout */
    margin: 0 auto;
}

.grid-item {
    text-align: center; /* Centers the heading under the image */
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.grid-item:hover {
    transform: translateY(-5px);
    border-color: var(--purple);
    box-shadow: var(--shadow-md);
}

.grid-item img {/* Makes image fill the grid column */
    height: 170px;
    border-radius: 8px; /* Optional: rounded corners */
}

.grid-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    letter-spacing: 0.02rem;
    text-transform: uppercase;
}


/*e*/
/* Grid Layout */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.project-container {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

/* Card Style */
.card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Makes content fill the card space */
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--purple);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1; /* Pushes the button to the bottom */
}

.card-button {
  display: inline-block;
  text-decoration: none;
  background-color: var(--white);
  color: rgb(85, 7, 85);
  border: 1px solid grey;
  padding: 0.75rem 1.25rem;
  width: 90%;
  font-weight: 500;
  text-align: center;
  margin-left: 20px;
}

.card-button a {
    text-decoration: none;
}

/* Footer Styles */
    .site-footer {
      background-color: rgb(98, 80, 120);
      color: #eaeaea;
      padding: 60px 40px 30px 40px;
      font-size: 13px;
      line-height: 1.6;
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
    }

    /* Upper Footer Grid Layout */
    .footer-main-grid {
      display: grid;
      grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
      gap: 40px;
      margin-bottom: 60px;
    }

    /* Headings */
    .footer-heading {
      color: #ffffff;
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 15px;
    }

    /* Column 1: Capabilities Grid */
    .capabilities-intro {
      margin-bottom: 25px;
    }
    .capabilities-subgrid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 25px 30px;
    }
    .capability-item p {
      margin-top: 4px;
      font-size: 12.5px;
      color: #e5e6e6;
    }

    /* Columns 2 & 3: Standard Navigation Lists */
    .footer-nav-list {
      list-style: none;
    }
    .footer-nav-list li {
      margin-bottom: 12px;
    }
    .footer-nav-list a {
      color: #ffffff;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.2s ease;
    }
    .footer-nav-list a:hover {
      color: #8c50d6; /* Accent hover color */
    }

    /* Column 4: Contact Actions */
    .contact-column {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
    }
    .btn-contact {
      display: inline-block;
      border: 1px solid #e5e6e6;
      color: #ffffff;
      text-decoration: none;
      font-weight: 600;
      letter-spacing: 1px;
      padding: 12px 40px;
      text-align: center;
      width: 220px;
      margin-bottom: 20px;
      transition: all 0.2s ease;
    }
    .btn-contact:hover {
      background-color: #ffffff;
      color: #11161d;
      border-color: #ffffff;
    }
    .phone-number {
      color: #ffffff;
      font-size: 15px;
      font-weight: 600;
      text-decoration: none;
    }

    /* Divider Line */
    .footer-divider {
      border: 0;
      height: 1px;
      background-color: #232a35;
      margin-bottom: 25px;
    }

    /* Lower Footer Layout */
    .footer-bottom-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    /* Left Side: Brand & Legal Links */
    .footer-legal-wrap {
      display: flex;
      align-items: center;
      gap: 30px;
    }
    .footer-logo {
      display: flex;
      align-items: center;
      color: #ffffff;
      font-size: 22px;
      font-weight: 700;
      text-decoration: none;
    }
    .logo-icon {
      margin-right: 8px;
    }

    .logo-icon img {
        height: 20px;
    }
    .legal-links {
      list-style: none;
      display: flex;
      gap: 15px;
    }
    .legal-links a {
      color: #e5e6e6;
      text-decoration: none;
      font-size: 12px;
      font-weight: 500;
    }
    .legal-links a:hover {
      color: #ffffff;
    }

    /* Right Side: Social Media Icons */
    .social-links {
      display: flex;
      gap: 20px;
    }
    .social-links a {
      color: #ffffff;
      font-size: 16px;
      transition: color 0.2s ease;
    }
    .social-links a:hover {
      color: #8c50d6;
    }

    /* Bottom Fine Print Disclaimer */
    .footer-disclaimer-row {
      display: flex;
      justify-content: space-between;
      color: #e5e6e6;
      font-size: 11px;
    }
    .disclaimer-text {
      max-width: 75%;
    }
    .attribution-link {
      color: #e5e6e6;
      text-decoration: none;
    }
    .attribution-link strong {
      color: #e5e6e6;
    }


/*about section */

/* About Page */

.block-color {
    background-color: var(--lightpurple);
}

.about-hero {
    background-image: url("https://www.consultpinto.com/wp-content/uploads/2026/07/image_drawing.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: flex-end;
}

.about-text {
    background-color: whitesmoke;
    border: 1px solid grey;
    box-shadow: 2px 2px 2px grey;
    
}

.about-text h1 {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -0.05em;
}

.about-text p {
    font-size: 1.1rem;
    font-weight: 400;
}

.header-section p {
    font-size: 0.98rem;
    
}

.container-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 50px;
    background: linear-gradient(to bottom left, #ffedc7 0%, #f4f0f6 60%, #ffffff 100%);
}

    .section-header {
        margin-bottom: 3.5rem;
        position: relative;
    }

    .section-header h2 {
        font-size: 2.5rem;
        font-weight: 700;
        letter-spacing: -0.05em;
    }

    .section-header::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 4px;
        background-color: rgb(96, 70, 119);
        border-radius: 2px;
    }

    .about-grid-section {
        max-width: 1200px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .about-card {
        background-color: rgba(240, 241, 236, 0.766);
        border-radius: 12px;
        overflow: hidden;
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        box-shadow: 5px 5px 0px rgb(62, 61, 25);
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .about-card:hover {
        transform: translateY(-5px);
        border-color: rgb(96, 70, 119);
        box-shadow: 0 15px 35px rgb(96, 70, 119);
    }

    .about-card-content {
        padding: 2.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .about-card-content h3 {
        font-size: 1.35rem;
        font-weight: 600;
        margin-bottom: 1rem;
        letter-spacing: -0.02em;
    }

    .about-card-content p {
        font-size: 0.95rem;
        font-weight: 400;
    }

    .about-card-content strong {
        font-weight: 500;
    }

    .card-image {
        position: relative;
        background-size: cover;
        background-position: center;
        min-height: 280px;
    }

    #card-one {
        background-image: url('assets/images/about1-icon.png');
    }
    #card-two {
        background-image: url('assets/images/about2-icon.png');
    }
    #card-three {
        background-image: url('assets/images/about3-icon.png');
    }
    #card-four {
        background-image: url('assets/images/about4-icon.png');
    }

    /* Subtle overlay to blend images into the dark theme */
    .card-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, rgba(96, 70, 119, 0.69) 0%, rgba(31, 41, 55, 0.2) 100%);
        z-index: 1;
    }

/* Section Wrapper Styling */
.affiliations-section {
  position: relative;
  height: 750px;
  width: 110%;
  padding: 120px 50px 0 50px;
  background-image: url('assets/images/affl-background.png');
  background-size:cover;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Header Elements Styling */
.header-block {
    
  max-width: 768px;
  margin-bottom: 64px;
  margin-left: 20px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  text-transform: uppercase;
}


.section-description {
  font-size: 1rem;
  line-height: 1.625;
  margin-top: 16px;
}

/* Grid Framework (Mobile First Up To Desktop Layout) */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(20, 1fr); 
  gap: 16px;
  margin-left: 20px;
}

.logo-card.r1 {
  grid-column: span 5;
}

.logo-card.r2 {
  grid-column: span 4;
}


.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  transform: translateY(-2px);
}

/* Uniform Resizing Rules for Brand Assets */
.partner-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.logo-card:hover .partner-logo {
  filter: grayscale(0%);
  opacity: 1;
}

 .error-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-bottom: 120px;
        padding-top: 80px;
    }


    .error-code {
            font-size: 8rem;
            font-weight: 900;
            line-height: 1;
            color: #222222;
            margin-bottom: 10px;
            letter-spacing: -2px;
        }

        /* Main error title */
        .error-title {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: #111111;
        }

        /* Descriptive message */
        .error-message {
            font-size: 1.1rem;
            color: #666666;
            margin-bottom: 30px;
            line-height: 1.6;
        }

 /* Call to Action Button */
        .home-button {
            display: inline-block;
            background-color: black;
            color: #ffffff;
            text-decoration: none;
            padding: 14px 28px;
            font-weight: 600;
            border-radius: 7px;
            box-shadow: 0 4px 14px rgba(0, 112, 243, 0.3);
            transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }

        /* Button Hover and Active States */
        .home-button:hover {
            color: white;
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(0, 112, 243, 0.4);
        }

        .home-button:active {
            transform: translateY(1px);
        }

@media screen and (max-width: 1000px) {
    .navbar-collapse {
    display: none !important;
  } 

}

@media screen and (max-width: 990px) {
    

     .nav-menu {
    display: block !important;
  }

  .navbar-collapse {
    display: none !important;
  } 
  .navbar .logo-section {
    width: 80%;
    margin-left: 0 !important;
  }

  .nav-item {
    width: 100%;
    }

    .nav-item a {
    display: block;
    width: 100%;
    }

  .sub-menu {
    visibility: visible;
    opacity: 1;
    position:unset;
    width: 100%;
  }

   .sub-menu li {
    text-align: center;
   }

  .navbar .active {
    display: block !important;
  }

  .navbar {
    justify-content: space-evenly;
  }

  .block-group {
    padding-right: 10px !important;
    padding-left: 10px !important;
    }

  .contact-info-section {
    height: max-content;
  }

  .contact-info-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    
    }

    .contact-form-area {
        flex-direction: column;
    }

    .contact-form-section {
        width: 100%;
        margin-bottom: 20px;
    }

    .map {
        width: 100%;
    }

    .about-hero {
        height: max-content;
    }

    .about-text {
        width: 100%;
    }

    .block-columns {
        flex-direction: column;
    }

    .grid-section .block-columns {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .archive-projects-posts {   
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid-section {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .altering-images ul {
        padding-left: 0;
        margin-left: 0;
        list-style-position: inside;
    }

}

@media screen and (max-width: 768px) {

    .footer-main-grid {
        display: flex;
        flex-direction: column;
    }

    .footer-bottom-row {
        display: flex;
        flex-direction: column;
    }

    .footer-legal-wrap {
        display: flex;
        flex-direction: column;
    }

    .alignwide { 
        width: 95vw;
        margin-left: calc(50% - 47vw);

    }

    .grid-section .block-columns {
        grid-template-columns: repeat(1, 1fr) !important;
    }

  .grid-section {
    grid-template-columns: 1fr !important; 
  }

  .grid-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    grid-template-columns: 1fr !important; 
  }

  .project-container {
    grid-template-columns: 1fr !important; 
  }

  .wp-block-gallery {
    grid-template-columns: 1fr !important; 
  }

  .horizontial-list {
    height: fit-content;
  }

  .main-section h1 {
    font-size: 2.5rem;
  }

  .main-hero {
    padding: 0 !important;
  }

  .contact-main {
    padding: 0 !important;
  }

  .about-hero {
    width: 120%;
  }

   .services-section {
    flex-direction: column;
  }
  .services-heading {
    width: 100%;
  }

  .blog-posts {
    display: flex;
    flex-direction: column;
  }

  .archive-projects-posts {   
        grid-template-columns: repeat(1, 1fr);
    }

    .archive-projects-posts {
        padding: 0 !important;
    }

    #post-container {
        padding: 0 !important;
    }
  
    .gallery-container {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
    gap: 10px;
  }
  
  .main-grid-item {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  
  .item-filler {
    display: none; /* Hide the empty decorative block on mobile */
  }

  .affiliations-section {
    height: auto;
    padding: 10px;
    padding-bottom: 50px;
   
  }

  .affiliations-section .header-block {
    background-color: rgba(245, 245, 245, 0.603);
    padding: 5px;
    border-radius: 5px;
  }

  .logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .title-section h1 {
    font-size: 2rem !important;
  }

  .wp-block-gallery {
    flex-direction: column;
  }

  .wp-block-gallery .wp-block-image {
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-disclaimer-row {
    justify-content: center;
  }

  .footer-disclaimer-row .disclaimer-text {
    max-width: 100%;
    font-size: 1.1rem;
  }
  .dropdown-area {
    flex-direction: column !important;
  }

  .dropdown-area .dropdown {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 420px) {
   .navbar .logo-navbar h1 {
    font-size: 1.3rem !important;
   }

   .navbar .logo-navbar h2 {
    font-size: 1rem !important;
   }

   .about-card {
    display: flex !important;
   }

   .about-card .card-image {
    display: none;
   }
}
