/* Graphody theme styles. Design tokens (colors, fonts, sizes) live in theme.json. */

/* ---------- Base ---------- */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body .wp-site-blocks>*{margin-block-start:0;margin-block-end:0}
img,video{max-width:100%;height:auto}
[id]{scroll-margin-top:5rem}
:focus-visible{outline:2px solid var(--wp--preset--color--brand-text);outline-offset:2px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* =========================================================
   FIX LOGO JUMPING / SHIFTING-aman-231026
   ========================================================= */
html {
    overflow-y: scroll !important;
}
.gr-site-header {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* =========================================================
   NAVIGATION DROPDOWN STYLING-aman
   ========================================================= */
.wp-block-navigation { position: relative; }

.wp-block-navigation__submenu-container {
    background: #ffffff !important;
    border: 1px solid var(--wp--preset--color--gray-100) !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 10px 25px -5px rgba(0, 23, 59, 0.1), 0 8px 10px -6px rgba(0, 23, 59, 0.1) !important;
    padding: 0.5rem 0 !important;
    min-width: 220px !important;
    z-index: 100 !important;
    margin-top: 0.5rem !important;
}

.wp-block-navigation__submenu-container a {
    padding: 0.75rem 1.5rem !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--wp--preset--color--gray-700) !important;
    text-decoration: none !important;
    display: block !important;
    transition: all 0.2s ease !important;
}
.wp-block-navigation__submenu-container a:hover {
    background: var(--wp--preset--color--gray-50) !important;
    color: var(--wp--preset--color--gray-900) !important;
}
.wp-block-navigation-item.has-child:hover > .wp-block-navigation-item__content::after {
    transform: rotate(225deg) !important;
    margin-bottom: -3px !important;
}
@media (max-width: 980px) {
    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
        box-shadow: none !important;
        border: none !important;
        padding-left: 1rem !important;
        background: transparent !important;
    }
}

/* =========================================================
   MASTER HEADER LAYOUT (REPLACES ALL OLD RULES)-aman-231026
   ========================================================= */
.gr-site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
    padding-left: 64px !important;
    padding-right: 64px !important;
    margin: 0 !important;
}
@media (max-width: 1440px) {
    .gr-site-header { padding-left: 5% !important; padding-right: 5% !important; }
}
@media (max-width: 980px) {
    .gr-site-header { padding-left: 24px !important; padding-right: 24px !important; }
}
.admin-bar .gr-site-header { top: 32px !important; }
@media (max-width: 980px) { .admin-bar .gr-site-header { top: 46px !important; } }

.gr-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 1.25rem 0 !important;
    box-sizing: border-box !important;
    gap: 1rem !important;
}

.gr-brand-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
    margin: 0 !important;
}
.gr-logo-img, .gr-logo-img img, .gr-brand-wrap img {
    height: 50px !important;
    width: auto !important;
    display: block !important;
    margin: 0 !important;
}
.gr-logo-img { margin: 0 !important; line-height: 0 !important; }
.gr-brand-wrap .wp-block-image { margin: 0 !important; }
.gr-brand-wrap .wp-block-site-title,
.gr-brand-wrap .wp-block-site-title a {
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    margin: 0 !important;
    color: #00173b !important;
    text-decoration: none !important;
}

.gr-header-inner > .wp-block-navigation {
    margin-left: auto !important;
    margin-right: 2rem !important;
    display: flex !important;
    align-items: center !important;
}

.gr-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin: 0 !important;
}
.gr-header-right .wp-block-buttons { margin: 0 !important; }
.gr-header-right .wp-block-social-links { display: none !important; }

.gr-nav .wp-block-navigation__responsive-container-open { color: var(--wp--preset--color--gray-700) !important; }
.gr-nav-cta-mobile { display: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .gr-nav-cta-mobile { display: block !important; }
.gr-nav-cta-mobile a {
    background: var(--wp--preset--color--brand-green) !important;
    color: var(--wp--preset--color--gray-900) !important;
    padding: .625rem 1.25rem !important;
    border-radius: .75rem !important;
    font-weight: 600 !important;
}
.gr-hide-mobile { display: block !important; }
@media (max-width: 767px) { .gr-hide-mobile { display: none !important; } }
@media (max-width: 1023px) { .gr-hide-tablet { display: none !important; } }

/* 6. Header Typography */
.gr-header-inner,
.gr-header-inner a,
.gr-header-inner .wp-block-navigation-item__content,
.gr-header-inner .wp-block-button__link {
    font-size: 18px !important;
}

/* =========================================================
   REMOVE LOGO TEXT HOVER EFFECT-aman-231026
   ========================================================= */
.gr-logo-img a:hover,
.gr-brand-wrap a:hover {
    text-decoration: none !important;
    opacity: 1 !important;
}

/* =========================================================
   SECTIONS & UTILITIES
   ========================================================= */
.gr-section{padding:5rem 1.5rem;margin-block:0!important;box-sizing:border-box}
.gr-section.gr-hero{padding-top:5rem;padding-bottom:0;overflow:visible}
.gr-section.gr-page-hero{padding-top:4rem;padding-bottom:4rem}
@media (min-width:768px){
  .gr-section.gr-hero{padding-top:7rem}
  .gr-section.gr-page-hero{padding-top:5rem;padding-bottom:5rem}
}
.gr-maxw-2xl{max-width:42rem}
.gr-maxw-3xl{max-width:48rem}
.gr-maxw-4xl{max-width:80rem}
.gr-maxw-5xl{max-width:64rem}
.gr-subsection{position:relative}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1.gr-h1,
.wp-block-post-title.gr-h1{
  font-size:40px;font-weight:800;line-height:1.15;letter-spacing:-0.02em;
  color:#171717!important;text-align:center;padding-top:20px;padding-bottom:60px;
}
@media (min-width:768px){
  h1.gr-h1,
  .wp-block-post-title.gr-h1{font-size:72px;line-height:1.05;letter-spacing:-1.92px;}
}

h2,
h2.wp-block-heading{
  font-size:32px;line-height:1.15;letter-spacing:-0.02em;font-weight:700;
  color:#171717;margin-block:0 1rem;
}
@media (min-width:768px){
  h2,
  h2.wp-block-heading{font-size:42px;line-height:1.1;letter-spacing:-0.03em;}
}

.gr-lead{font-size:1rem;line-height:1.6;max-width:640px;margin-inline:auto}
@media (min-width:768px){.gr-lead{font-size:1.0625rem;line-height:1.55}}
.gr-relaxed{line-height:1.625}
.gr-eyebrow{font-size:.8125rem;line-height:1.43;letter-spacing:.14em;text-transform:uppercase;color:var(--wp--preset--color--gray-500)}
.gr-eyebrow-lg{font-size:1.125rem;font-weight:600;line-height:1.55}
.gr-eyebrow-md{font-weight:600}
.gr-quote{font-style:italic;line-height:1.625}
.gr-person-name{font-weight:700}

.gr-services-heading{text-align:left!important;font-size:42px!important;line-height:1.15!important;max-width:450px!important;margin-left:0!important;margin-right:auto!important}

.gr-logos{display:flex;flex-wrap:wrap;gap:2.5rem;align-items:center;justify-content:center;opacity:.7;filter:grayscale(1)}
.gr-logo{margin:0;font-size:1.5rem;font-weight:600;line-height:1.4;letter-spacing:.02em;color:var(--wp--preset--color--gray-400)}

/* =========================================================
   BUTTONS
   ========================================================= */
.wp-block-button__link{transition:background-color .15s ease,color .15s ease,border-color .15s ease,transform .15s ease;}
.wp-block-button:not(.is-style-outline) > .wp-block-button__link{background-color:#171717!important;color:#ffffff!important;border:1px solid #171717!important;border-radius:6px!important;font-size:16px!important;}
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover{background-color:#333333!important;border-color:#333333!important;transform:translateY(-2px);}

.gr-hero-buttons .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.gr-hero .wp-block-button:first-child:not(.is-style-outline) > .wp-block-button__link{background-color:var(--wp--preset--color--brand-green)!important;color:var(--wp--preset--color--gray-900)!important;border-color:transparent!important;border-radius:.75rem!important;}
.gr-hero-buttons .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
.gr-hero .wp-block-button:first-child:not(.is-style-outline) > .wp-block-button__link:hover{background-color:var(--wp--preset--color--brand-green-dark)!important;}

.gr-hero-buttons .wp-block-button.is-style-outline > .wp-block-button__link,
.gr-hero .wp-block-button.is-style-outline > .wp-block-button__link{background:transparent!important;color:var(--wp--preset--color--gray-900)!important;border:1px solid var(--wp--preset--color--gray-300)!important;border-radius:.75rem!important;padding:.875rem 2rem;}
.gr-hero-buttons .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.gr-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover{background:transparent!important;color:var(--wp--preset--color--gray-900)!important;}

.wp-block-button.is-style-outline:not(.gr-hero-buttons .is-style-outline) > .wp-block-button__link{background-color:#171717!important;color:#ffffff!important;border:1px solid #171717!important;border-radius:6px!important;padding:.875rem 2rem;}
.wp-block-button.is-style-outline:not(.gr-hero-buttons .is-style-outline) > .wp-block-button__link:hover{background-color:#333333!important;border-color:#333333!important;}

.gr-btn-sm .wp-block-button__link{padding:.625rem 1.25rem!important;font-size:.875rem!important}
.gr-btn-dark .wp-block-button__link{background:var(--wp--preset--color--gray-900)!important;color:var(--wp--preset--color--brand-green)!important}
.gr-btn-dark .wp-block-button__link:hover{background:#0a2a5a!important;color:var(--wp--preset--color--brand-green)!important}

.wp-block-buttons.gr-hero-buttons{gap:1rem;margin-top:2rem;margin-bottom:2.5rem}
@media (max-width:639px){.wp-block-buttons.gr-hero-buttons{flex-direction:column;align-items:center}}

/* =========================================================
   PORTFOLIO GRID (Used on home / service pages)
   ========================================================= */
.wp-block-shortcode { width: 100% !important; max-width: 100% !important; display: block; }

.gr-custom-work-grid {
    width: 100vw !important; 
    max-width: 1280px !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 2rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 2rem 0 !important;
    box-sizing: border-box !important;
}
@media (max-width: 1023px) { .gr-custom-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 639px) { .gr-custom-work-grid { grid-template-columns: minmax(0, 1fr) !important; } }

.gr-custom-work-grid .gr-work-card { display: flex !important; flex-direction: column !important; background: transparent !important; border: none !important; padding: 0 !important; margin: 0 !important; list-style: none !important; position: relative; width: 100% !important; }
.gr-custom-work-grid .gr-work-card-link { display: block !important; width: 100% !important; text-decoration: none !important; color: inherit !important; }
.gr-custom-work-grid .gr-work-img { margin: 0 0 1.5rem 0 !important; width: 100% !important; aspect-ratio: 16 / 9 !important; display: block !important; border-radius: 1rem !important; overflow: hidden !important; transition: transform .3s ease, box-shadow .3s ease !important; background: #e5e7eb; }
.gr-custom-work-grid .gr-work-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; border-radius: 1rem !important; }
.gr-custom-work-grid .gr-work-card-link:hover .gr-work-img { transform: translateY(-8px) !important; box-shadow: 0 20px 40px rgba(0,23,59,.2) !important; }
.gr-custom-work-grid .gr-work-title { font-size: 1.25rem !important; font-weight: 700 !important; margin: 0 0 .5rem 0 !important; color: #171717 !important; line-height: 1.4 !important; }
.gr-custom-work-grid .gr-work-text { font-size: .95rem !important; color: #6b7280 !important; margin: 0 !important; line-height: 1.5 !important; }

.gr-popup-trigger { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; background: rgba(255,255,255,0.9); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #171717; cursor: pointer; opacity: 0; transform: scale(0.8); transition: all 0.3s ease; z-index: 5; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.gr-work-card:hover .gr-popup-trigger { opacity: 1; transform: scale(1); }
.gr-popup-trigger:hover { background: #fff; color: var(--wp--preset--color--brand-text); }

/* =========================================================
   HERO VIDEO CARD
   ========================================================= */
:root{--gr-hero-overlap:5rem}
@media (max-width:767px){:root{--gr-hero-overlap:2.5rem}}
.gr-video-card{ position:relative; z-index:10; margin-top:2rem; margin-bottom:calc(var(--gr-hero-overlap) * -1)!important; border-radius:1.25rem; overflow:hidden; line-height:0; background:var(--wp--preset--color--gray-900); box-shadow:0 25px 50px -12px rgba(0,23,59,.3); }
.gr-video-card .wp-block-image,.gr-video-card figure{margin:0}
.gr-video-card img,.gr-video-card video,.gr-video-card iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;}
.gr-video-card .wp-block-embed__wrapper{position:relative}
.gr-has-video + .gr-section,.gr-hero + .gr-section{padding-top:calc(5rem + var(--gr-hero-overlap))!important;}

/* =========================================================
   CAROUSEL
   ========================================================= */
.gr-service-carousel-wrapper{position:relative;margin-top:2rem}
.gr-carousel-header{display:flex;justify-content:flex-end;margin-bottom:1.5rem}
.gr-carousel-controls button{background:var(--wp--preset--color--gray-100);border:none;border-radius:50%;width:48px;height:48px;font-size:20px;color:var(--wp--preset--color--gray-700);cursor:pointer;margin-left:10px;transition:background .3s;}
.gr-carousel-controls button:hover{background:var(--wp--preset--color--gray-200)}
.gr-service-carousel{display:flex!important;gap:24px!important;overflow-x:auto!important;scroll-behavior:smooth;padding-bottom:2rem!important;scrollbar-width:none;-ms-overflow-style:none;}
.gr-service-carousel::-webkit-scrollbar{display:none}
a.gr-service-card{display:flex!important;flex-direction:column!important;min-width:320px!important;max-width:320px!important;text-decoration:none!important;color:inherit!important;transition:transform .3s ease!important;}
a.gr-service-card:hover{transform:translateY(-5px)!important}
a.gr-service-card .gr-card-image{width:100%!important;height:220px!important;border-radius:16px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:4rem!important;margin-bottom:1.5rem!important;}
a.gr-service-card h3{font-size:1.25rem!important;font-weight:700!important;color:#171717!important;margin:0 0 .5rem 0!important;padding:0!important}
a.gr-service-card p{font-size:.95rem!important;color:#6b7280!important;line-height:1.5!important;margin:0!important;padding:0!important}

/* =========================================================
   OTHER PAGES (Cards, Pills, Forms, FAQ)
   ========================================================= */
.gr-grid{list-style:none;padding:0}
.gr-grid>*{margin-block:0!important}
.is-layout-grid.gr-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.is-layout-grid.gr-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.is-layout-grid.gr-grid-t3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1023px){.is-layout-grid.gr-grid-3,.is-layout-grid.gr-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.is-layout-grid.gr-grid-t3{grid-template-columns:minmax(0,1fr)}}
@media (max-width:639px){.is-layout-grid.gr-grid-3,.is-layout-grid.gr-grid-4{grid-template-columns:minmax(0,1fr)}}

.gr-card{overflow:hidden;box-sizing:border-box;height:100%}
.gr-card-pad-6{padding:1.5rem}
.gr-card-pad-8{padding:2rem}
.gr-card-shadow{box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}
.gr-card-hover{transition:transform .3s ease,box-shadow .3s ease}
.gr-card-hover:hover{transform:translateY(-4px);box-shadow:0 12px 24px rgba(0,0,0,.08)}
.gr-card-media{margin:0!important;line-height:0}
.gr-card-media a{display:block}
.gr-card-media img{width:100%;height:12rem;object-fit:cover;display:block}
.gr-card-body{padding:1.5rem}
.gr-card-body>*{margin-block:0!important}
.gr-card-body>*+*{margin-top:.25rem!important}
.gr-card-title{font-size:1.125rem;font-weight:700;line-height:1.55}
.gr-card-title-sm{font-size:1rem;font-weight:700;line-height:1.5}
.gr-card-text,.gr-card-text p{font-size:.875rem;line-height:1.43;color:var(--wp--preset--color--gray-500)}
.gr-card-text p{margin-bottom:20px}
.gr-card-meta{font-size:.8125rem;color:var(--wp--preset--color--gray-500)}
.gr-icon-box{width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;border-radius:.5rem;background:var(--wp--preset--color--gray-900);color:var(--wp--preset--color--brand-green);font-weight:700;margin:0;line-height:1}
.gr-split-img{margin:0}
.gr-split-img img{width:100%;height:18rem;object-fit:cover;border-radius:1rem;display:block}
.gr-split-img-sm img{height:16rem}
.gr-cta .wp-block-heading{font-size:1.875rem}

.gr-cat-pills{gap:.75rem;margin:0 0 3rem}
.gr-pagination{margin-top:3rem;gap:.5rem}
.gr-pagination a,.gr-pagination .page-numbers{padding:.5rem .875rem;border:1px solid var(--wp--preset--color--gray-200);border-radius:.5rem;color:var(--wp--preset--color--gray-700);text-decoration:none;font-size:.875rem;font-weight:500}
.gr-pagination .page-numbers.current{background:var(--wp--preset--color--brand-green);border-color:var(--wp--preset--color--brand-green);color:var(--wp--preset--color--gray-900)}

.gr-form-card{padding:2rem;border:1px solid var(--wp--preset--color--gray-100);border-radius:1rem;box-sizing:border-box}
.gr-form label{display:block;font-size:.875rem;font-weight:500;color:var(--wp--preset--color--gray-700)}
.gr-form .gr-field+.gr-field{margin-top:1rem}
.gr-form input[type=text],.gr-form input[type=email],.gr-form textarea{display:block;width:100%;margin-top:.25rem;padding:.75rem 1rem;border:1px solid var(--wp--preset--color--gray-200);border-radius:.75rem;font:inherit;color:var(--wp--preset--color--gray-800);background:#fff;box-sizing:border-box;outline:none}
.gr-form input:focus,.gr-form textarea:focus{border-color:var(--wp--preset--color--brand-green);box-shadow:0 0 0 2px var(--wp--preset--color--brand-green)}
.gr-form textarea{resize:vertical;min-height:7.5rem}
.gr-form .gr-submit{display:block;width:100%;margin-top:1rem;padding:.875rem 1rem;border:0;border-radius:.75rem;background:var(--wp--preset--color--brand-green);color:var(--wp--preset--color--gray-900);font:inherit;font-weight:700;cursor:pointer;transition:background-color .15s ease}
.gr-form .gr-submit:hover{background:var(--wp--preset--color--brand-green-dark)}
.gr-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.gr-notice{padding:.75rem 1rem;border-radius:.75rem;font-size:.875rem;margin-bottom:1rem}
.gr-notice--ok{background:#ecfdf5;color:#065f46}
.gr-notice--err{background:#fef2f2;color:#991b1b}

.wp-block-details.gr-faq{background:#fff;border:1px solid var(--wp--preset--color--gray-100);border-radius:.75rem;padding:1rem 1.25rem;margin-block:0}
.gr-faq summary{font-weight:600;color:var(--wp--preset--color--gray-900);cursor:pointer}
.gr-faq[open] summary{margin-bottom:.5rem}
.gr-faq p{margin:0}

.wp-block-social-links.gr-social-header .wp-social-link,
.wp-block-social-links.gr-social-dark .wp-social-link{background:none!important;color:var(--wp--preset--color--gray-500)!important}
.wp-block-social-links.gr-social-header .wp-social-link:hover,
.wp-block-social-links.gr-social-dark .wp-social-link:hover{color:var(--wp--preset--color--brand-text)!important}
.wp-block-social-links.gr-social-footer .wp-social-link{background:none!important;color:var(--wp--preset--color--gray-400)!important}
.wp-block-social-links.gr-social-footer .wp-social-link:hover{color:#fff!important}
.wp-block-social-links.gr-social-dark,
.wp-block-social-links.gr-social-footer{margin-top:.75rem;gap:.5rem}

.gr-footer{padding:3rem 1.5rem 2rem;box-sizing:border-box}
.gr-footer-top{gap:2.5rem;padding-bottom:2.5rem}
.gr-footer-col{min-width:10rem}
.gr-footer-about{max-width:20rem}
.gr-footer-brand,.gr-footer-brand a{margin:0;color:#fff!important;font-size:1.25rem;font-weight:800;letter-spacing:-.025em}
.gr-footer-heading{margin:0;color:#fff;font-size:.875rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.gr-footer p{margin-block:0}
.gr-footer-col>p+p{margin-top:.5rem}
.gr-footer a,.gr-footer .wp-block-navigation a{color:var(--wp--preset--color--gray-400)!important;text-decoration:none}
.gr-footer a:hover,.gr-footer .wp-block-navigation a:hover{color:#fff!important}
.gr-footer-nav{margin-top:.75rem}
.gr-footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:1.5rem;gap:1rem}

.gr-page-wrap{padding:4rem 1.5rem 5rem;box-sizing:border-box}
.gr-prose{font-size:1.0625rem;line-height:1.75}
.gr-prose a{text-decoration:underline}
.gr-prose h2{margin-top:2.5rem;margin-bottom:1rem}
.gr-single-media{margin-block:2.5rem 0}
.gr-single-media img{width:100%;height:auto;border-radius:1rem}
.gr-search{margin-top:2rem}
.wp-block-search__input{border:1px solid var(--wp--preset--color--gray-200);border-radius:.75rem;padding:.75rem 1rem}
.wp-block-search__button{background:var(--wp--preset--color--brand-green);color:var(--wp--preset--color--gray-900);border:0;border-radius:.75rem;padding:.75rem 1.25rem;font-weight:600;margin-left:.5rem}

.gr-widgets-wrap{box-sizing:border-box}
.gr-widgets-wrap--page{max-width:1232px;margin:0 auto;padding:0 1.5rem 4rem}
.gr-widgets-wrap--footer{max-width:1232px;margin:0 auto;padding:0 0 2.5rem}
.gr-widgets{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:2rem}
.gr-widgets .widget-title{margin:0 0 .75rem;font-size:.875rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.gr-widgets .widget ul{list-style:none;margin:0;padding:0}
.gr-widgets .widget li{margin:.4rem 0}
.gr-footer .gr-widgets .widget-title{color:#fff}
.gr-footer .gr-widgets,
.gr-footer .gr-widgets p,
.gr-footer .gr-widgets li{color:var(--wp--preset--color--gray-400);font-size:.875rem}

.gr-page-bg{padding-bottom:2rem;margin-block:0;background-color:#ffffff;background-size:100% auto;background-position:center top;background-repeat:repeat}
.gr-page-bg .gr-section:not(.gr-hero){width:calc(100% - 1rem);max-width:1280px;margin:0 auto 1.5rem!important;box-sizing:border-box;}

@media (min-width:768px){.gr-page-bg .gr-section:not(.gr-hero){width:calc(100% - 2rem);border-radius:1.5rem}}
[class*="gr-bg-"]{background-size:cover;background-position:center;background-repeat:no-repeat}
.gr-page-bg .gr-section.gr-hero.gr-bg-hero{background-color:transparent!important}

.gr-cta-fullwidth{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding:0!important;box-sizing:border-box!important;}
.gr-cta-fullwidth .gr-section{padding-top:4rem!important;padding-bottom:4rem!important}
@media (max-width:768px){.gr-split-hero > div{grid-template-columns:1fr!important;gap:2rem!important}}
@media (max-width:980px){
  .gr-hero-grid{grid-template-columns:1fr!important;gap:3rem!important;text-align:center!important}
  .gr-hero-grid h1,.gr-hero-grid p{text-align:center!important}
  .gr-hero-grid .wp-block-buttons{justify-content:center!important}
}

/* =========================================================
   PORTFOLIO PAGINATION-aman
   ========================================================= */
.gr-pagination-wrapper { display: flex; justify-content: center; width: 100%; margin-top: 4rem; }
.gr-pagination-wrapper ul.page-numbers { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.gr-pagination-wrapper .page-numbers { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 1rem; border: 1px solid var(--wp--preset--color--gray-200); border-radius: 0.5rem; color: var(--wp--preset--color--gray-700); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: all 0.2s ease; }
.gr-pagination-wrapper .page-numbers:hover { background: var(--wp--preset--color--gray-100); }
.gr-pagination-wrapper .page-numbers.current { background: var(--wp--preset--color--brand-green); border-color: var(--wp--preset--color--brand-green); color: var(--wp--preset--color--gray-900); font-weight: 700; }

/* =========================================================
   SINGLE PROJECT PAGE LAYOUT-aman
   ========================================================= */
.gr-single-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 3rem; margin-bottom: 3rem; }
.gr-single-gallery-item { border-radius: 1rem; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.gr-single-gallery-item img { width: 100%; height: auto; display: block; object-fit: cover; transition: transform 0.3s ease; }
.gr-single-gallery-item:hover img { transform: scale(1.02); }
.gr-single-project-content { max-width: 800px; margin: 0 auto; font-size: 1.125rem; line-height: 1.7; color: var(--wp--preset--color--gray-700); }
.gr-single-featured-img { width: 100%; max-height: 600px; object-fit: cover; border-radius: 1.5rem; margin-top: 2rem; margin-bottom: 3rem; display: block; }

/* =========================================================
   FIX SINGLE PROJECT FEATURED IMAGE-aman
   ========================================================= */
.wp-block-post-featured-image { width: 100%; margin-top: 2rem; margin-bottom: 3rem; }
.wp-block-post-featured-image img { width: 100%; height: auto !important; max-height: 700px; object-fit: contain !important; background: transparent !important; border-radius: 1.5rem; display: block; }

/* =========================================================
   SINGLE PROJECT GALLERY (Horizontal Row)-aman
   ========================================================= */
.gr-single-gallery { display: flex !important; flex-wrap: wrap !important; gap: 1.5rem !important; margin-top: 2rem !important; margin-bottom: 4rem !important; justify-content: center !important; }
.gr-single-gallery-item { flex: 1 1 300px !important; max-width: calc(33.333% - 1rem) !important; border-radius: 1rem; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
@media (max-width: 768px) { .gr-single-gallery-item { max-width: 100% !important; flex: 1 1 100% !important; } }
.gr-single-gallery-item img { width: 100%; height: auto; display: block; object-fit: cover; }

/* =========================================================
   INTERACTIVE SINGLE PROJECT GALLERY-aman
   ========================================================= */
.gr-project-gallery-wrapper { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; margin-bottom: 4rem; width: 100%; }
.gr-main-image-container { width: 100%; border-radius: 1.5rem; overflow: hidden; background: #f3f4f6; box-shadow: 0 10px 30px -10px rgba(0, 23, 59, 0.15); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.gr-main-image-container img { width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity 0.3s ease; }
.gr-thumbnail-strip { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: flex-start; }
.gr-thumb-item { width: 120px; height: 80px; border-radius: 0.5rem; overflow: hidden; cursor: pointer; border: 3px solid transparent; transition: all 0.2s ease; background: #f3f4f6; opacity: 0.7; }
.gr-thumb-item:hover { opacity: 1; }
.gr-thumb-item.active { border-color: var(--wp--preset--color--brand-green); opacity: 1; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.gr-thumb-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 767px) { .gr-thumb-item { width: 80px; height: 60px; } }

/* =========================================================
   FILTERABLE PORTFOLIO PILLS-aman
   ========================================================= */
.gr-portfolio-filter-wrapper { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.gr-filter-pills { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 0.75rem !important; margin-bottom: 3rem !important; padding-top: 1rem !important; }
.gr-filter-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; background: #ffffff !important; color: #4b5563 !important; border: 1px solid #e5e7eb !important; border-radius: 50px !important; padding: 0.6rem 1.5rem !important; font-size: 0.875rem !important; font-weight: 500 !important; text-decoration: none !important; cursor: pointer !important; transition: all 0.2s ease !important; box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important; }
.gr-filter-btn:hover { background: #f9fafb !important; border-color: #d1d5db !important; color: #111827 !important; }
.gr-filter-btn.active { background: #00173b !important; color: #ffffff !important; border-color: #00173b !important; box-shadow: 0 4px 6px -1px rgba(0, 23, 59, 0.2) !important; }

/* =========================================================
   FORCE 4-COLUMN FILTERABLE PORTFOLIO
   ========================================================= */
ul.gr-filterable-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 2.5rem 1.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 3rem 0 0 0 !important;
    width: 100% !important;
}

ul.gr-filterable-grid li.gr-filter-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

ul.gr-filterable-grid li.gr-filter-item.gr-hidden {
    display: none !important;
}

@keyframes grPremiumFadeIn {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

ul.gr-filterable-grid .gr-work-img {
    margin: 0 0 1rem 0 !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    display: block !important;
    border-radius: 0.75rem !important;
    overflow: hidden !important;
    background: #f3f4f6;
}

ul.gr-filterable-grid .gr-work-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

ul.gr-filterable-grid .gr-work-card-link:hover .gr-work-img img {
    transform: scale(1.05) !important;
}

ul.gr-filterable-grid .gr-work-card-link {
    text-decoration: none !important;
}

ul.gr-filterable-grid .gr-work-title {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: #171717 !important;
}

ul.gr-filterable-grid .gr-work-cats {
    display: none !important;
}

@media (max-width: 1024px) { ul.gr-filterable-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 768px) { ul.gr-filterable-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 480px) { ul.gr-filterable-grid { grid-template-columns: 1fr !important; } }

/* =========================================================
   FINAL BULLETPROOF MENU & DROPDOWN-aman-231026
   ========================================================= */
.wp-block-navigation__container { display: flex !important; align-items: center !important; gap: 2rem !important; }
.wp-block-navigation-item.has-child { position: relative !important; }

.wp-block-navigation-item.has-child .wp-block-navigation__submenu-container {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 10px !important;
    padding: 0.5rem 0 !important;
    min-width: 220px !important;
    background: #ffffff !important;
    border: 1px solid var(--wp--preset--color--gray-100) !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 10px 25px -5px rgba(0, 23, 59, 0.1) !important;
    z-index: 100 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s !important;
    display: block !important;
}

.wp-block-navigation-item.has-child > .wp-block-navigation-item__content::before {
    content: '' !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    height: 20px !important;
    z-index: 99;
}

.wp-block-navigation-item.has-child:hover .wp-block-navigation__submenu-container {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.wp-block-navigation-item.has-child > .wp-block-navigation-item__content {
    position: relative !important;
    padding-right: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.wp-block-navigation-item.has-child > .wp-block-navigation-item__content::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    width: 6px !important;
    height: 6px !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: translateY(-70%) rotate(45deg) !important;
    transition: transform 0.2s ease !important;
}

.wp-block-navigation-item.has-child:hover > .wp-block-navigation-item__content::after {
    transform: translateY(-30%) rotate(225deg) !important;
}

/* =========================================================
   REMOVE DUPLICATE MENU ARROWS-aman-231026
   ========================================================= */

/* Hide the default WordPress sub-menu arrow */
.wp-block-navigation__submenu-icon {
    display: none !important;
}

/* Make sure our custom arrow is the only one showing */
.gr-header-inner .wp-block-navigation-item.has-child > .wp-block-navigation-item__content::after {
    display: block !important;
}

/* Hide any extra SVG arrows */
.gr-header-inner .wp-block-navigation-item.has-child > .wp-block-navigation-item__content svg {
    display: none !important;
}
/* =========================================================
   BACK TO TOP BUTTON
   ========================================================= */
#gr-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--wp--preset--color--gray-900, #00173b);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Visible state */
#gr-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover effect */
#gr-back-to-top:hover {
    background: var(--wp--preset--color--brand-green, #0ef19f);
    color: var(--wp--preset--color--gray-900, #00173b);
    transform: translateY(-5px);
}

/* Mobile adjustment */
@media (max-width: 767px) {
    #gr-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* =========================================================
   GRAPHODY COLOR THEORY & TYPOGRAPHY (2026 UPDATE)-aman-231026
   ========================================================= */

/* --- 1. Define the Custom Variables --- */
:root {
    --gr-navy: #00173b;           /* Trust & Stability (30%) */
    --gr-green: #0ef19f;          /* Tech & Innovation (10% - CTAs only) */
    --gr-green-dark: #0bd88e;     /* Hover state for CTAs */
    --gr-green-text: #047857;     /* Readable text green */
    --gr-coral: #FF6B4A;          /* Creative Warm Accent */
    --gr-bg-subtle: #fcfcfc;      /* Subtle section background */
    --gr-bg-mint: #f6fffb;        /* Hero background tint */
}

/* --- 2. Text Links & Accessibility --- */
/* All standard links use Navy for maximum readability */
a:not(.wp-block-button__link):not(.gr-filter-btn) {
    color: var(--gr-white) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

/* Hovering over text links turns them Dark Green (Readable) */
a:not(.wp-block-button__link):not(.gr-filter-btn):hover {
    color: var(--gr-green-text) !important;
}

/* --- 3. Primary Buttons (The 10% Accent) --- */
/* Neon Green is strictly for primary actions */
.wp-block-button__link {
    background-color: var(--gr-green) !important;
    color: var(--gr-navy) !important;
    border: none !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.wp-block-button__link:hover {
    background-color: var(--gr-green-dark) !important;
    transform: translateY(-2px) !important;
}

/* --- 4. The Warm Accent (Coral) for Creative Highlights --- */
/* Apply Coral to active filter pills */
.gr-filter-btn.active {
    background-color: var(--gr-coral) !important;
    border-color: var(--gr-coral) !important;
    color: #ffffff !important;
}

/* Apply Coral to hover states on filter pills */
.gr-filter-btn:hover:not(.active) {
    border-color: var(--gr-coral) !important;
    color: var(--gr-coral) !important;
}

/* Apply Coral to the "Featured" badge/tag if it exists */
.gr-work-cats a[href*="featured"] {
    color: var(--gr-coral) !important;
    font-weight: 600 !important;
}

/* Apply Coral to the video popup magnifying glass */
.gr-popup-trigger {
    color: var(--gr-coral) !important;
}
.gr-popup-trigger:hover {
    background: var(--gr-coral) !important;
    color: #ffffff !important;
}

/* --- 5. Layered Backgrounds (Premium Feel) --- */
body {
    background-color: #ffffff !important;
}

/* Alternate sections get a very subtle gray tint 
.gr-section:nth-child(even) {
    background-color: var(--gr-bg-subtle) !important;*/
}

/* Hero section gets a soft mint gradient */
/*.gr-hero {
    background: linear-gradient(135deg, var(--gr-bg-mint) 0%, #e8fbf3 100%) !important;
}
*/
/* Portfolio cards get a subtle border instead of stark white */
ul.gr-filterable-grid .gr-work-img {
    border: 1px solid rgba(0, 23, 59, 0.05) !important;
    box-shadow: 0 4px 10px rgba(0, 23, 59, 0.03) !important;
}

/* --- 6. Typography Tweaks (Bolder & Tighter) --- */
h1.gr-h1, h2, h2.wp-block-heading {
    font-weight: 900 !important;       /* Extra Bold for impact */
    letter-spacing: -0.04em !important; /* Tighter editorial spacing */
    line-height: 1.1 !important;
    color: var(--gr-navy) !important;
}

/* Increase paragraph readability */
p, .gr-lead, .gr-relaxed {
    color: #4b5563 !important; /* Dark gray, not pure black */
    line-height: 1.7 !important;
}

/* --- 7. Header Menu Overrides --- */
/* Ensure the header matches the new palette */
.gr-header-inner a,
.gr-header-inner .wp-block-navigation-item__content {
    color: var(--gr-navy) !important;
}
.gr-header-inner a:hover,
.gr-header-inner .wp-block-navigation-item__content:hover {
    color: var(--gr-green-text) !important;
}

/* Ensure the Get a Quote button stays Neon Green */
.gr-header-right .wp-block-button__link {
    background-color: var(--gr-green) !important;
    color: var(--gr-navy) !important;
}
.gr-header-right .wp-block-button__link:hover {
    background-color: var(--gr-green-dark) !important;
}

/* =========================================================
   TESTIMONIALS SECTION-aman-231026
   ========================================================= */
/* =========================================================
   AUTO-SCROLLING TESTIMONIALS
   ========================================================= */
.gr-testimonial-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0 3rem 0;
}

.gr-testimonial-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollTestimonials 40s linear infinite;
}

.gr-testimonial-slider:hover .gr-testimonial-track {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

.gr-testimonial-card {
    background: #ffffff;
    border: 1px solid var(--wp--preset--color--gray-100);
    border-radius: 1.25rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    width: 400px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gr-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 23, 59, 0.08);
}

.gr-testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--wp--preset--color--gray-800);
    font-weight: 500;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.gr-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gr-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
}

.gr-testimonial-meta {
    display: flex;
    flex-direction: column;
}

.gr-testimonial-name {
    font-weight: 700;
    color: var(--wp--preset--color--gray-900);
    font-size: 1rem;
}

.gr-testimonial-title {
    font-size: 0.875rem;
    color: var(--wp--preset--color--gray-500);
}

@media (max-width: 768px) {
    .gr-testimonial-card { width: 300px; padding: 1.5rem; }
    .gr-testimonial-track { animation-duration: 25s; }
}
/* =========================================================
   CLEAN HEADER MENU HOVER (No Green Text)-aman-231026
   ========================================================= */

/* 1. Keep top-level menu links Navy on hover */
.gr-header-inner .wp-block-navigation-item > .wp-block-navigation-item__content:hover,
.gr-header-inner .wp-block-navigation-item > .wp-block-navigation-item__content:focus {
    color: var(--wp--preset--color--gray-900) !important; /* Navy */
    text-decoration: none !important;
}

/* 2. Ensure the arrow stays Navy too */
.gr-header-inner .wp-block-navigation-item.has-child:hover > .wp-block-navigation-item__content::after {
    border-color: var(--wp--preset--color--gray-900) !important;
}

/* 3. Keep the dropdown links turning green on hover (this looks good) */
.wp-block-navigation__submenu-container a:hover {
    color: var(--wp--preset--color--brand-text) !important; /* Dark Green */
    background: var(--wp--preset--color--gray-50) !important;
}

/*4. Target the site title link in the header and force it to stay Navy */
.gr-header-inner .wp-block-site-title a,
.gr-header-inner .wp-block-site-title a:hover,
.gr-header-inner .wp-block-site-title a:focus {
    color: var(--wp--preset--color--gray-900) !important; /* Navy */
    text-decoration: none !important;
}
/* =========================================================
   FOOTER TEXT & LINKS (White default, Green Hover)
   ========================================================= */

/* 1. Make ALL text and links in the footer White by default */
.gr-footer,
.gr-footer p,
.gr-footer p a,
.gr-footer .wp-block-navigation-item__content,
.gr-footer .wp-block-navigation a {
    color: #ffffff !important; 
    text-decoration: none !important;
    font-size: 0.8rem !important;
    transition: color 0.2s ease !important;
}

/* 2. Change hover color to Neon Green (you can change this to Coral #FF6B4A if you prefer) */
.gr-footer p a:hover,
.gr-footer .wp-block-navigation-item__content:hover,
.gr-footer .wp-block-navigation a:hover {
    color: var(--wp--preset--color--brand-green) !important; 
}

/* 3. Keep headings (EXPLORE, GET IN TOUCH) slightly faded and uppercase */
.gr-footer-heading,
.gr-footer .wp-block-heading {
    color: rgba(255, 255, 255, 0.6) !important; /* Muted white */
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    margin-bottom: 1rem !important;
}

/* 4. Stack the footer menu vertically */
.gr-footer .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important; 
    padding: 0 !important;
}

/* 5. Hide the dropdown arrows in the footer */
.gr-footer .wp-block-navigation-item.has-child > .wp-block-navigation-item__content::after {
    display: none !important;
}
/* =========================================================
   FIX INVISIBLE FOOTER LINKS (Email, Phone)
   ========================================================= */

/* 1. Target ONLY links inside the footer text (not the menu) */
.gr-footer p a,
.gr-footer .wp-block-paragraph a,
.gr-footer a[href^="mailto:"] {
    /*color: var(--wp--preset--color--gray-400) !important; /* Force Gray */
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

/* 2. Make them turn White on hover */
.gr-footer p a:hover,
.gr-footer .wp-block-paragraph a:hover,
.gr-footer a[href^="mailto:"]:hover {
    color: #ffffff !important;
}
/* =========================================================
   SEO CONTENT (HIDDEN FOR USERS, VISIBLE TO GOOGLE)-aman-241026
   ========================================================= */
.gr-seo-text {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
/* =========================================================
   FINAL PORTFOLIO CTA BUTTON-aman-241026
   ========================================================= */


a#portfolio-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    
    background-color: #00173b !important; /* Navy */
    color: #ffffff !important; /* White */
    
    padding: 16px 36px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    text-decoration: none !important;
    
    transition: all 0.3s ease !important; 
    border: 2px solid #00173b !important; 
    box-shadow: 0 4px 6px rgba(0, 23, 59, 0.1) !important;
}

/* Hover State */
a#portfolio-cta-btn:hover {
    background-color: var(--wp--preset--color--brand-green, #0ef19f) !important;
    color: #00173b !important;
    border-color: var(--wp--preset--color--brand-green, #0ef19f) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(14, 241, 159, 0.3) !important;
}

/* Ensure the text inside and the icon follow the hover color */
a#portfolio-cta-btn:hover span,
a#portfolio-cta-btn:hover svg {
    color: #00173b !important;
    stroke: #00173b !important;
}

a#portfolio-cta-btn svg {
    stroke: currentColor !important;
    transition: stroke 0.3s ease !important;
}
/* =========================================================
   FOOTER LINKS - NORMAL WEIGHT-aman-261026
   ========================================================= */

/* Target all links and menu items in the footer */
.gr-footer a,
.gr-footer .wp-block-navigation-item__content,
.gr-footer .wp-block-navigation-item__content a,
.gr-footer p a {
    font-weight: 300 !important; /* Forces normal weight */
    font-size: 0.8rem !important; /* Keeps them slightly smaller for footer style */
}

/* Keep the headings (EXPLORE, GET IN TOUCH) bold */
.gr-footer-heading,
.gr-footer .wp-block-heading {
    font-weight: 600 !important; 
}
/* =========================================================
   CLEAN HEADER MENU
   ========================================================= */
.gr-header-custom-list {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gr-header-custom-item {
    position: relative;
}

.gr-header-custom-item > a {
    color: #00173b !important;
    font-size: 16px !important;
    font-weight: 400 !important; /* Normal weight */
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.gr-header-custom-item > a:hover {
    color: var(--wp--preset--color--brand-green) !important;
}

/* Dropdown */
.gr-header-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 15px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    list-style: none;
    z-index: 100;
}

.gr-header-custom-item.has-dropdown:hover .gr-header-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gr-header-dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #4b5563 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.gr-header-dropdown li a:hover {
    background: #f9fafb;
    color: #00173b !important;
}

/* =========================================================
   CLEAN HEADER MENU & ALIGNMENT-aman-271026
   ========================================================= */

/* 1. Push the menu to the right side */
.gr-header-menu-wrapper {
    margin-left: auto !important;
    margin-right: 2rem !important;
}

/* 2. The Menu Container */
.gr-header-custom-list {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 3. The Links - NORMAL WEIGHT (No Bold) */
.gr-header-custom-item > a {
    color: #00173b !important;
    font-size: 16px !important;
    font-weight: 400 !important; 
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.gr-header-custom-item > a:hover {
    color: var(--wp--preset--color--brand-green) !important;
}

/* 4. Dropdown Styling */
.gr-header-custom-item {
    position: relative;
}

.gr-header-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 15px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    list-style: none;
    z-index: 100;
}

.gr-header-custom-item.has-dropdown:hover .gr-header-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gr-header-dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #4b5563 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.gr-header-dropdown li a:hover {
    background: #f9fafb;
    color: #00173b !important;
}
/* =========================================================
   ALIGN MENU NEXT TO CTA BUTTON
   ========================================================= */

/* 1. Target the navigation block inside the header */
.gr-header-inner > .wp-block-navigation {
    margin-left: auto !important;  /* Pushes the menu to the right */
    margin-right: 2rem !important; /* Adds a gap between the menu and the button */
    display: flex !important;
    align-items: center !important;
}

/* 2. Ensure the header container uses flexbox to handle the alignment */
.gr-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important; /* Keeps logo left, pushes everything else right */
    width: 100% !important;
}
/* =========================================================
   FORCE HEADER ALIGNMENT (LOGO LEFT, MENU RIGHT)
   ========================================================= */

/* 1. The main header container */
.gr-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important; /* This is the key */
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
}

/* 2. The logo container */
.gr-brand-wrap {
    margin-right: auto !important; /* Pushes everything else to the right */
    display: flex !important;
    align-items: center !important;
}

/* 3. The Navigation Menu */
.gr-header-inner > .wp-block-navigation {
    margin-left: 0 !important; /* Removes any old margins */
    margin-right: 2rem !important; /* Space between menu and button */
    display: flex !important;
    align-items: center !important;
}

/* 4. The Header Right (CTA) */
.gr-header-right {
    margin-left: 0 !important;
    display: flex !important;
    align-items: center !important;
}