/* =========================================================
INTAROCK & ALLIED CO. LTD
GLOBAL STYLESHEET
========================================================= */

/* =========================================================

1. CSS VARIABLES
   ========================================================= */

:root {
--primary: #123b5d;
--primary-dark: #0b2942;
--primary-light: #1c527d;

 
--accent: #d99a24;
--accent-dark: #b87d12;
--accent-light: #f0bd54;

--dark: #111827;
--dark-soft: #1f2937;

--text: #374151;
--text-light: #6b7280;

--white: #ffffff;
--light: #f5f7fa;
--light-blue: #eef4f8;
--border: #e5e7eb;

--success: #18794e;
--danger: #b42318;

--container-width: 1200px;

--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 16px;

--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
--shadow-md: 0 8px 25px rgba(0, 0, 0, 0.10);
--shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.14);

--transition: 0.3s ease;
 

}

/* =========================================================
2. RESET
========================================================= */

*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html {
scroll-behavior: smooth;
scroll-padding-top: 120px;
}

body {
font-family: "Inter", sans-serif;
font-size: 16px;
line-height: 1.7;
color: var(--text);
background: var(--white);
overflow-x: hidden;
}

img {
display: block;
max-width: 100%;
}

a {
color: inherit;
text-decoration: none;
}

button,
input,
textarea,
select {
font: inherit;
}

button {
border: 0;
cursor: pointer;
}

ul,
ol {
list-style: none;
}

/* =========================================================
3. GLOBAL TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--dark);
line-height: 1.2;
font-weight: 700;
}

h1 {
font-size: clamp(2.4rem, 5vw, 4.5rem);
}

h2 {
font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
font-size: 1.35rem;
}

h4 {
font-size: 1.1rem;
}

p {
margin-bottom: 1rem;
}

strong {
font-weight: 700;
}

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

/* =========================================================
4. LAYOUT
========================================================= */

.container {
width: min(100% - 40px, var(--container-width));
margin-inline: auto;
}

.section {
padding: 90px 0;
}

.section-sm {
padding: 60px 0;
}

.bg-light {
background: var(--light);
}

.bg-white {
background: var(--white);
}

.bg-primary {
background: var(--primary);
}

.section-heading {
max-width: 720px;
margin-bottom: 50px;
}

.section-heading.center {
margin-inline: auto;
text-align: center;
}

.eyebrow {
margin-bottom: 12px;
color: var(--accent-dark);
font-size: 0.8rem;
font-weight: 800;
letter-spacing: 0.14em;
text-transform: uppercase;
}

.section-heading h2 {
margin-bottom: 18px;
}

.section-heading p:last-child {
margin-bottom: 0;
color: var(--text-light);
}

/* =========================================================
5. BUTTONS
========================================================= */

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;

 
min-height: 48px;
padding: 12px 24px;

border-radius: var(--radius-sm);

font-size: 0.9rem;
font-weight: 700;

transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
 

}

.btn:hover {
transform: translateY(-2px);
}

.btn-primary {
background: var(--accent);
color: var(--dark);
}

.btn-primary:hover {
background: var(--accent-dark);
color: var(--white);
box-shadow: var(--shadow-md);
}

.btn-secondary {
background: transparent;
color: var(--white);
border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-secondary:hover {
background: var(--white);
color: var(--primary);
}

.btn-outline {
background: transparent;
color: var(--primary);
border: 2px solid var(--primary);
}

.btn-outline:hover {
background: var(--primary);
color: var(--white);
}

/* =========================================================
6. TOP BAR
========================================================= */

.top-bar {
background: var(--dark);
color: var(--white);
font-size: 0.8rem;
}

.top-bar-container {
min-height: 40px;

 
display: flex;
align-items: center;
justify-content: space-between;

gap: 20px;
 

}

.info-links {
display: flex;
align-items: center;
gap: 25px;
}

.info-links span {
white-space: nowrap;
}

.top-bar-link {
color: var(--accent-light);
font-weight: 700;
transition: color var(--transition);
}

.top-bar-link:hover {
color: var(--white);
}

/* =========================================================
7. MAIN NAVIGATION
========================================================= */

.main-nav {
position: relative;
z-index: 1000;

 
background: var(--white);
border-bottom: 1px solid var(--border);

box-shadow: var(--shadow-sm);
 

}

.nav-container {
min-height: 82px;

 
display: flex;
align-items: center;
justify-content: space-between;

gap: 30px;
 

}

.brand-logo {
display: inline-flex;
align-items: center;
flex-shrink: 0;
}

.site-logo {
width: auto;
max-width: 190px;
max-height: 58px;
object-fit: contain;
}

.nav-links {
display: flex;
align-items: center;
gap: 6px;
}

.nav-links li {
display: flex;
align-items: center;
}

.nav-links a:not(.btn) {
position: relative;

 
display: inline-flex;
align-items: center;

padding: 28px 14px;

color: var(--dark-soft);
font-size: 0.88rem;
font-weight: 600;

transition: color var(--transition);
 

}

.nav-links a:not(.btn)::after {
content: "";

 
position: absolute;
left: 14px;
right: 14px;
bottom: 17px;

height: 2px;

background: var(--accent);

transform: scaleX(0);
transform-origin: center;

transition: transform var(--transition);
 

}

.nav-links a:not(.btn):hover,
.nav-links a.active {
color: var(--primary);
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after {
transform: scaleX(1);
}

/* =========================================================
8. MOBILE MENU
========================================================= */

.menu-toggle {
display: none;

 
width: 46px;
height: 46px;

padding: 10px;

background: transparent;
border-radius: var(--radius-sm);
 

}

.menu-toggle .bar {
display: block;

 
width: 100%;
height: 2px;

margin: 5px 0;

background: var(--dark);

transition:
    transform var(--transition),
    opacity var(--transition);
 

}

.menu-toggle.active .bar:nth-child(1) {
transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
9. SECTION MENU
========================================================= */

.section-menu-bar {
background: var(--primary);
color: var(--white);
}

.section-menu-container {
display: flex;
align-items: center;
justify-content: center;
gap: 0;
}

.section-menu-bar a {
padding: 12px 22px;

 
color: rgba(255, 255, 255, 0.9);

font-size: 0.76rem;
font-weight: 600;

border-right: 1px solid rgba(255, 255, 255, 0.12);

transition:
    background var(--transition),
    color var(--transition);
 

}

.section-menu-bar a:first-child {
border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.section-menu-bar a:hover {
background: var(--primary-light);
color: var(--white);
}

/* =========================================================
10. HERO
========================================================= */

.hero {
position: relative;
min-height: 680px;

 
display: flex;
align-items: center;

overflow: hidden;

background: var(--primary);
 

}

.hero-slider {
position: absolute;
inset: 0;
}

.hero-slide {
position: absolute;
inset: 0;

 
opacity: 0;

transition: opacity 0.8s ease;
 

}

.hero-slide.active {
opacity: 1;
}

.hero-slide img {
width: 100%;
height: 100%;

 
object-fit: cover;
object-position: center;
 

}

.hero-overlay {
position: absolute;
inset: 0;

 
background:
    linear-gradient(
        90deg,
        rgba(5, 20, 32, 0.88) 0%,
        rgba(5, 20, 32, 0.70) 45%,
        rgba(5, 20, 32, 0.25) 100%
    );

z-index: 1;
 

}

.hero-container {
position: relative;
z-index: 2;
}

.hero-content {
max-width: 760px;
padding: 90px 0;
color: var(--white);
}

.hero-badge {
display: inline-flex;

 
margin-bottom: 22px;
padding: 8px 14px;

border: 1px solid rgba(255, 255, 255, 0.35);
border-radius: 30px;

background: rgba(255, 255, 255, 0.08);

color: var(--accent-light);

font-size: 0.75rem;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
 

}

.hero h1 {
margin-bottom: 24px;
color: var(--white);
}

.hero p {
max-width: 650px;
margin-bottom: 32px;

 
color: rgba(255, 255, 255, 0.88);

font-size: 1.05rem;
 

}

.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 14px;
}

/* =========================================================
11. HERO SLIDER CONTROLS
========================================================= */

.slider-btn {
position: absolute;
top: 50%;
z-index: 3;

 
width: 48px;
height: 48px;

display: grid;
place-items: center;

border: 1px solid rgba(255, 255, 255, 0.35);
border-radius: 50%;

background: rgba(0, 0, 0, 0.25);
color: var(--white);

font-size: 1.3rem;

transform: translateY(-50%);

transition:
    background var(--transition),
    transform var(--transition);
 

}

.slider-btn:hover {
background: rgba(0, 0, 0, 0.55);
}

.slider-prev {
left: 25px;
}

.slider-next {
right: 25px;
}

.slider-dots {
position: absolute;
bottom: 28px;
left: 50%;
z-index: 3;

 
display: flex;
gap: 8px;

transform: translateX(-50%);
 

}

.slider-dot {
width: 9px;
height: 9px;

 
padding: 0;

border-radius: 50%;

background: rgba(255, 255, 255, 0.45);

transition:
    background var(--transition),
    transform var(--transition);
 

}

.slider-dot.active {
background: var(--accent);
transform: scale(1.25);
}

/* =========================================================
12. TRUST BAR
========================================================= */

.trust-bar {
background: var(--primary);
color: var(--white);
}

.trust-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
}

.trust-item {
min-height: 125px;

 
display: flex;
flex-direction: column;
justify-content: center;

padding: 25px;

border-right: 1px solid rgba(255, 255, 255, 0.12);
 

}

.trust-item:first-child {
border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-title {
margin-bottom: 5px;

 
color: var(--white);

font-size: 0.88rem;
font-weight: 800;
 

}

.trust-desc {
color: rgba(255, 255, 255, 0.68);

 
font-size: 0.75rem;
line-height: 1.5;
 

}

/* =========================================================
13. SERVICES GRID
========================================================= */

/* drainage article background slider */
#drainage {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: transparent;
}

#drainage .service-background-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#drainage .service-background-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

#drainage .service-background-slide.active {
    opacity: 1;
}

#drainage .service-background-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
    pointer-events: none;
}

/* Keep the existing card content above the background */
#drainage .service-icon,
#drainage h3,
#drainage p,
#drainage .card-link {
    position: relative;
    z-index: 2;
}

/* Make the drainage card transparent so the slider is visible */
#drainage.service-card {
    background: transparent;
}

#drainage h3 {
    color: var(--white);
}

#drainage p {
    color: rgba(255, 255, 255, 0.86);
}

#drainage .service-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.20);
}

#drainage .card-link {
    color: var(--accent-light);
}

#drainage .card-link:hover {
    color: var(--white);
}

.services-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}

.service-card {
padding: 32px;

 
background: var(--white);
border: 1px solid var(--border);
border-radius: var(--radius-md);

box-shadow: var(--shadow-sm);

transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
 

}

.service-card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-md);
border-color: rgba(217, 154, 36, 0.45);
}

.service-icon {
width: 56px;
height: 56px;

 
display: grid;
place-items: center;

margin-bottom: 22px;

border-radius: var(--radius-md);

background: var(--light-blue);
color: var(--primary);

font-size: 1.6rem;
 

}

.service-card h3 {
margin-bottom: 14px;
}

.service-card p {
color: var(--text-light);
font-size: 0.92rem;
}

.card-link {
display: inline-flex;
align-items: center;

 
margin-top: 8px;

color: var(--primary);

font-size: 0.85rem;
font-weight: 800;

transition:
    color var(--transition),
    gap var(--transition);
 

}

.card-link:hover {
color: var(--accent-dark);
}

/* =========================================================
14. GENERAL CARDS
========================================================= */

.card-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}

.card {
background: var(--white);
border: 1px solid var(--border);
border-radius: var(--radius-md);
overflow: hidden;

 
box-shadow: var(--shadow-sm);

transition:
    transform var(--transition),
    box-shadow var(--transition);
 

}

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

.card-image {
width: 100%;
aspect-ratio: 16 / 10;
object-fit: cover;
}

.card-body {
padding: 28px;
}

.card-body h3 {
margin-bottom: 12px;
}

.card-body p {
color: var(--text-light);
}

/* =========================================================
15. PAGE HERO
========================================================= */

.page-hero {
position: relative;

 
min-height: 360px;

display: flex;
align-items: center;

background:
    linear-gradient(
        90deg,
        rgba(9, 34, 53, 0.94),
        rgba(18, 59, 93, 0.78)
    );

color: var(--white);
 

}

.page-hero-content {
max-width: 760px;
}

.page-hero h1 {
margin-bottom: 18px;
color: var(--white);
}

.page-hero p {
max-width: 650px;
margin-bottom: 0;

 
color: rgba(255, 255, 255, 0.8);
 

}

/* =========================================================
16. TWO-COLUMN CONTENT
========================================================= */

.content-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 60px;

 
align-items: center;
 

}

.content-grid.reverse {
direction: rtl;
}

.content-grid.reverse > * {
direction: ltr;
}

.content-image {
width: 100%;
border-radius: var(--radius-md);
overflow: hidden;
box-shadow: var(--shadow-md);
}

.content-image img {
width: 100%;
height: auto;
object-fit: cover;
}

.content-text h2 {
margin-bottom: 20px;
}

.content-text p {
color: var(--text-light);
}

/* =========================================================
17. FEATURE LIST
========================================================= */

.feature-list {
display: grid;
gap: 18px;
margin-top: 25px;
}

.feature-item {
display: flex;
gap: 14px;
align-items: flex-start;
}

.feature-icon {
flex: 0 0 28px;

 
width: 28px;
height: 28px;

display: grid;
place-items: center;

border-radius: 50%;

background: var(--light-blue);
color: var(--primary);

font-size: 0.8rem;
font-weight: 800;
 

}

.feature-item h4 {
margin-bottom: 4px;
}

.feature-item p {
margin-bottom: 0;
color: var(--text-light);
font-size: 0.9rem;
}

/* =========================================================
18. PROJECT GRID
========================================================= */

.project-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}

.project-card {
position: relative;

 
overflow: hidden;

border-radius: var(--radius-md);
background: var(--dark);

box-shadow: var(--shadow-sm);
 

}

.project-card img {
width: 100%;
aspect-ratio: 16 / 11;

 
object-fit: cover;

transition: transform 0.6s ease;
 

}

.project-card:hover img {
transform: scale(1.05);
}

.project-overlay {
position: absolute;
inset: auto 0 0 0;

 
padding: 30px 25px 24px;

background: linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.85)
);

color: var(--white);
 

}

.project-overlay h3 {
color: var(--white);
margin-bottom: 5px;
}

.project-overlay p {
margin-bottom: 0;

 
color: rgba(255, 255, 255, 0.75);
font-size: 0.82rem;
 

}

/* =========================================================
19. EQUIPMENT
========================================================= */

.equipment-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}

.equipment-card {
padding: 30px;

 
border: 1px solid var(--border);
border-radius: var(--radius-md);

background: var(--white);

box-shadow: var(--shadow-sm);
 

}

.equipment-card h3 {
margin-bottom: 10px;
}

.equipment-card p {
margin-bottom: 0;

 
color: var(--text-light);
font-size: 0.9rem;
 

}

/* =========================================================
20. CONTACT
========================================================= */

.contact-grid {
display: grid;
grid-template-columns: 0.8fr 1.2fr;
gap: 50px;
}

.contact-details {
display: grid;
gap: 25px;
}

.contact-item {
display: flex;
gap: 15px;
align-items: flex-start;
}

.contact-icon {
flex: 0 0 46px;

 
width: 46px;
height: 46px;

display: grid;
place-items: center;

border-radius: var(--radius-sm);

background: var(--light-blue);
color: var(--primary);
 

}

.contact-item h4 {
margin-bottom: 3px;
}

.contact-item p {
margin-bottom: 0;
color: var(--text-light);
}

/* =========================================================
21. FORMS
========================================================= */

.form-card {
padding: 35px;

 
border: 1px solid var(--border);
border-radius: var(--radius-md);

background: var(--white);
box-shadow: var(--shadow-md);
 

}

.form-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}

.form-group {
display: flex;
flex-direction: column;
gap: 7px;
}

.form-group.full {
grid-column: 1 / -1;
}

.form-group label {
color: var(--dark);
font-size: 0.85rem;
font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
width: 100%;

 
padding: 13px 15px;

border: 1px solid var(--border);
border-radius: var(--radius-sm);

background: var(--white);
color: var(--dark);

outline: none;

transition:
    border-color var(--transition),
    box-shadow var(--transition);
 

}

.form-group textarea {
min-height: 150px;
resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(18, 59, 93, 0.10);
}

/* =========================================================
22. CTA
========================================================= */

.cta {
padding: 80px 0;

 
background: var(--primary);
color: var(--white);
 

}

.cta-container {
display: flex;
align-items: center;
justify-content: space-between;

 
gap: 35px;
 

}

.cta-content {
max-width: 720px;
}

.cta h2 {
margin-bottom: 15px;
color: var(--white);
}

.cta p {
margin-bottom: 0;
color: rgba(255, 255, 255, 0.75);
}

/* =========================================================
23. TABLES
========================================================= */

.table-wrapper {
width: 100%;
overflow-x: auto;

 
border: 1px solid var(--border);
border-radius: var(--radius-md);
 

}

table {
width: 100%;
border-collapse: collapse;
min-width: 650px;
}

th,
td {
padding: 15px 18px;

 
border-bottom: 1px solid var(--border);

text-align: left;
 

}

th {
background: var(--light);
color: var(--dark);

 
font-size: 0.8rem;
font-weight: 800;
text-transform: uppercase;
 

}

td {
font-size: 0.9rem;
}

tr:last-child td {
border-bottom: 0;
}

/* =========================================================
24. BREADCRUMBS
========================================================= */

.breadcrumbs {
display: flex;
flex-wrap: wrap;
gap: 8px;

 
margin-bottom: 20px;

color: rgba(255, 255, 255, 0.65);

font-size: 0.8rem;
 

}

.breadcrumbs a:hover {
color: var(--white);
}

/* =========================================================
25. FOOTER
========================================================= */

.footer {
padding: 50px 0 35px;

 
background: var(--dark);

color: rgba(255, 255, 255, 0.65);
 

}

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

.footer p {
margin-bottom: 8px;
font-size: 0.82rem;
}

.footer-sub {
color: rgba(255, 255, 255, 0.45);
}

.footer a {
color: var(--accent-light);
}

.footer a:hover {
color: var(--white);
}

/* =========================================================
26. UTILITY CLASSES
========================================================= */

.mt-1 {
margin-top: 10px;
}

.mt-2 {
margin-top: 20px;
}

.mt-3 {
margin-top: 30px;
}

.mb-1 {
margin-bottom: 10px;
}

.mb-2 {
margin-bottom: 20px;
}

.mb-3 {
margin-bottom: 30px;
}

.hidden {
display: none !important;
}

/* =========================================================
27. RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1000px) {

 
.nav-links a:not(.btn) {
    padding-inline: 9px;
    font-size: 0.8rem;
}

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

.trust-item:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.services-grid,
.card-grid,
.project-grid,
.equipment-grid {
    grid-template-columns: repeat(2, 1fr);
}

.content-grid {
    gap: 35px;
}

.contact-grid {
    grid-template-columns: 1fr;
}
 

}

/* =========================================================
28. RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 768px) {

 
html {
    scroll-padding-top: 80px;
}

.container {
    width: min(100% - 30px, var(--container-width));
}

.section {
    padding: 65px 0;
}


/* Top Bar */

.top-bar-container {
    min-height: auto;

    flex-direction: column;
    align-items: flex-start;

    padding: 10px 0;

    gap: 5px;
}

.info-links {
    flex-wrap: wrap;
    gap: 8px 18px;
}


/* Navigation */

.nav-container {
    min-height: 72px;
}

.menu-toggle {
    display: block;
}

.nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;

    padding: 12px 15px 20px;

    background: var(--white);

    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    width: 100%;
}

.nav-links a:not(.btn) {
    width: 100%;
    padding: 14px 10px;
}

.nav-links a:not(.btn)::after {
    display: none;
}

.nav-links .btn {
    width: 100%;
    margin-top: 8px;
}


/* Section Menu */

.section-menu-bar {
    overflow-x: auto;
}

.section-menu-container {
    justify-content: flex-start;
    width: max-content;
    min-width: 100%;
}

.section-menu-bar a {
    padding: 10px 15px;
    white-space: nowrap;
}


/* Hero */

.hero {
    min-height: 620px;
}

.hero-content {
    padding: 70px 0;
}

.hero h1 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
}

.hero p {
    font-size: 0.95rem;
}

.slider-btn {
    display: none;
}

.hero-actions {
    flex-direction: column;
    align-items: flex-start;
}

.hero-actions .btn {
    width: 100%;
}


/* Trust */

.trust-grid {
    grid-template-columns: 1fr;
}

.trust-item {
    min-height: auto;

    padding: 20px;

    border-left: 0 !important;
    border-right: 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item:first-child {
    border-left: 0;
}

.trust-item:last-child {
    border-bottom: 0;
}


/* Grids */

.services-grid,
.card-grid,
.project-grid,
.equipment-grid {
    grid-template-columns: 1fr;
}


/* Content */

.content-grid,
.content-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
}

.content-grid.reverse > * {
    direction: ltr;
}


/* Forms */

.form-grid {
    grid-template-columns: 1fr;
}

.form-group.full {
    grid-column: auto;
}


/* CTA */

.cta-container {
    flex-direction: column;
    align-items: flex-start;
}

.cta-container .btn {
    width: 100%;
}


/* Footer */

.footer {
    padding: 40px 0 25px;
}
 

}

/* =========================================================
29. SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

 
.container {
    width: min(100% - 24px, var(--container-width));
}

.site-logo {
    max-width: 155px;
}

.hero {
    min-height: 570px;
}

.hero-content {
    padding: 55px 0;
}

.hero-badge {
    font-size: 0.68rem;
}

.service-card,
.card-body,
.equipment-card,
.form-card {
    padding: 24px;
}

.section-heading {
    margin-bottom: 35px;
}
 

}

/* =========================================================
30. ACCESSIBILITY
========================================================= */

:focus-visible {
outline: 3px solid var(--accent);
outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

 
html {
    scroll-behavior: auto;
}

*,
*::before,
*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}
 

}
