/* AC REGAS - PROFESSIONAL BLUE THEME 
   Modern, Clean, High-Performance
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800;900&display=swap');

:root {
    /* CORE BRAND COLORS */
    --brand-primary: #005BBF;
    --brand-charcoal: #36454F;
    --brand-red: #D32F2F;
    --brand-dark: #36454F; /* Charcoal */
    --brand-light: #e6f2ff; /* Lighter shade of blue */
    --brand-danger: #D32F2F;
    --brand-dark-blue: #005BBF; /* A darker shade of the primary blue */
    --brand-blue-light: rgba(0, 91, 191, 0.1);
    --brand-red-light: rgba(211, 47, 47, 0.1);

    /* TEXT COLORS */
    --text-main: #36454F; /* Charcoal */
    --text-body: #5c6a72; /* Lighter charcoal */
    --text-muted: #818c92; /* Even lighter charcoal */
}

/* --- Brand Color Utilities --- */
.bg-brand-blue { background-color: var(--brand-primary); }
.bg-brand-charcoal { background-color: var(--brand-charcoal); }
.bg-brand-red { background-color: var(--brand-red); }
.bg-brand-blue-light { background-color: var(--brand-blue-light); }
.bg-brand-red-light { background-color: var(--brand-red-light); }
.bg-brand-blue-dark { background-color: var(--brand-dark-blue); }

.text-brand-blue { color: var(--brand-primary); }
.text-brand-charcoal { color: var(--brand-charcoal); }
.text-brand-red { color: var(--brand-red); }

.border-brand-blue { border-color: var(--brand-primary); }
.border-brand-red { border-color: var(--brand-red); }

/* --- Base Reset & Typography --- */
html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: #F8F9FA; /* Very light gray for subtle contrast */
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* Custom Text Selection Color (Blue) */
::selection {
    background-color: var(--brand-primary);
    color: white;
}

/* --- Component Styling --- */

/* Navigation Backdrop */
nav {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.95);
}

/* Buttons Global Transition */
button, .btn, a {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
button:active {
    transform: scale(0.98);
}

/* Cards Hover Effects */
.group {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.group:hover {
    transform: translateY(-4px);
}

/* Admin Tables */
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.admin-table th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}
.admin-table td {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.admin-table tr:last-child td {
    border-bottom: none;
}
.admin-table tr:hover td {
    background-color: #f8fafc;
}

/* --- Animations --- */
.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Mobile Specifics --- */
.safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}

/* Scrollbar Styling (Chrome/Safari) */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Tailwind CSS Typography (Prose) Styles - Manually Appended */

.prose {
  color: #374151;
  max-width: 65ch;
}
.prose :where([class~="lead"]):not(:where([class~="not-prose"] *)) {
  color: #4b5563;
  font-size: 1.25em;
  line-height: 1.6;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}
.prose :where(a):not(:where([class~="not-prose"] *)) {
  color: #111827;
  text-decoration: underline;
  font-weight: 500;
}
.prose :where(strong):not(:where([class~="not-prose"] *)) {
  color: #111827;
  font-weight: 600;
}
.prose :where(ol):not(:where([class~="not-prose"] *)) {
  list-style-type: decimal;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}
.prose :where(ol[type="A"]):not(:where([class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}
.prose :where(ol[type="a"]):not(:where([class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}
.prose :where(ol[type="I"]):not(:where([class~="not-prose"] *)) {
  list-style-type: upper-roman;
}
.prose :where(ol[type="i"]):not(:where([class~="not-prose"] *)) {
  list-style-type: lower-roman;
}
.prose :where(ol[type="1"]):not(:where([class~="not-prose"] *)) {
  list-style-type: decimal;
}
.prose :where(ul):not(:where([class~="not-prose"] *)) {
  list-style-type: disc;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}
.prose :where(ol > li):not(:where([class~="not-prose"] *))::marker {
  font-weight: 400;
  color: #6b7280;
}
.prose :where(ul > li):not(:where([class~="not-prose"] *))::marker {
  color: #9ca3af;
}
.prose :where(hr):not(:where([class~="not-prose"] *)) {
  border-color: #e5e7eb;
  border-top-width: 1px;
  margin-top: 3em;
  margin-bottom: 3em;
}
.prose :where(blockquote):not(:where([class~="not-prose"] *)) {
  font-weight: 500;
  font-style: italic;
  color: #111827;
  border-left-width: 0.25rem;
  border-left-color: #e5e7eb;
  quotes: "\201C""\201D""\2018""\2019";
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  padding-left: 1em;
}
.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"] *))::before {
  content: open-quote;
}
.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"] *))::after {
  content: close-quote;
}
.prose :where(h1):not(:where([class~="not-prose"] *)) {
  color: #111827;
  font-weight: 800;
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}
.prose :where(h2):not(:where([class~="not-prose"] *)) {
  color: #111827;
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
}
.prose :where(h3):not(:where([class~="not-prose"] *)) {
  color: #111827;
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}
.prose :where(h4):not(:where([class~="not-prose"] *)) {
  color: #111827;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}
.prose :where(img):not(:where([class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}
.prose :where(figure > *):not(:where([class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}
.prose :where(figcaption):not(:where([class~="not-prose"] *)) {
  color: #6b7280;
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}
.prose :where(code):not(:where([class~="not-prose"] *)) {
  color: #111827;
  font-weight: 600;
  font-size: 0.875em;
}
.prose :where(code):not(:where([class~="not-prose"] *))::before {
  content: "`";
}
.prose :where(code):not(:where([class~="not-prose"] *))::after {
  content: "`";
}
.prose :where(pre):not(:where([class~="not-prose"] *)) {
  color: #e5e7eb;
  background-color: #1f2937;
  overflow-x: auto;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.375rem;
  padding: 0.8571429em 1.1428571em;
}
.prose :where(pre code):not(:where([class~="not-prose"] *)) {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: 400;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
.prose :where(pre code):not(:where([class~="not-prose"] *))::before {
  content: "";
}
.prose :where(pre code):not(:where([class~="not-prose"] *))::after {
  content: "";
}
.prose :where(table):not(:where([class~="not-prose"] *)) {
  width: 100%;
  table-layout: auto;
  text-align: left;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875em;
  line-height: 1.7142857;
}
.prose :where(thead):not(:where([class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: #d1d5db;
}
.prose :where(thead th):not(:where([class~="not-prose"] *)) {
  color: #111827;
  font-weight: 600;
  vertical-align: bottom;
  padding-right: 0.8571429em;
  padding-bottom: 0.5714286em;
  padding-left: 0.8571429em;
}
.prose :where(tbody tr):not(:where([class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: #e5e7eb;
}
.prose :where(tbody tr:last-child):not(:where([class~="not-prose"] *)) {
  border-bottom-width: 0;
}
.prose :where(tbody td):not(:where([class~="not-prose"] *)) {
  vertical-align: top;
  padding: 0.8571429em;
}
.prose :where(p):not(:where([class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}
.prose :where(img, video, figure):not(:where([class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}
.prose :where(h2 code):not(:where([class~="not-prose"] *)) {
  font-size: 0.875em;
}
.prose :where(h3 code):not(:where([class~="not-prose"] *)) {
  font-size: 0.9em;
}
.prose :where(li):not(:where([class~="not-prose"] *)) {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.prose :where(ol > li):not(:where([class~="not-prose"] *)) {
  padding-left: 0.375em;
}
.prose :where(ul > li):not(:where([class~="not-prose"] *)) {
  padding-left: 0.375em;
}
.prose > :where(ul > li p):not(:where([class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}
.prose > :where(ul > li > *:first-child):not(:where([class~="not-prose"] *)) {
  margin-top: 1.25em;
}
.prose > :where(ul > li > *:last-child):not(:where([class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}
.prose > :where(ol > li > *:first-child):not(:where([class~="not-prose"] *)) {
  margin-top: 1.25em;
}
.prose > :where(ol > li > *:last-child):not(:where([class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}
.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}
.prose :where(hr + *):not(:where([class~="not-prose"] *)) {
  margin-top: 0;
}
.prose :where(h2 + *):not(:where([class~="not-prose"] *)) {
  margin-top: 0;
}
.prose :where(h3 + *):not(:where([class~="not-prose"] *)) {
  margin-top: 0;
}
.prose :where(h4 + *):not(:where([class~="not-prose"] *)) {
  margin-top: 0;
}
.prose :where(thead th:first-child):not(:where([class~="not-prose"] *)) {
  padding-left: 0;
}
.prose :where(thead th:last-child):not(:where([class~="not-prose"] *)) {
  padding-right: 0;
}
.prose :where(tbody td:first-child):not(:where([class~="not-prose"] *)) {
  padding-left: 0;
}
.prose :where(tbody td:last-child):not(:where([class~="not-prose"] *)) {
  padding-right: 0;
}
.prose > :where(:first-child):not(:where([class~="not-prose"] *)) {
  margin-top: 0;
}
.prose > :where(:last-child):not(:where([class~="not-prose"] *)) {
  margin-bottom: 0;
}

.prose-lg {
  font-size: 1.125rem;
  line-height: 1.7777778;
}
.prose-lg :where(p):not(:where([class~="not-prose"] *)) {
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
}
.prose-lg :where([class~="lead"]):not(:where([class~="not-prose"] *)) {
  font-size: 1.2222222em;
  line-height: 1.4545455;
  margin-top: 1.0909091em;
  margin-bottom: 1.0909091em;
}
.prose-lg :where(blockquote):not(:where([class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 1.7777778em;
  padding-left: 1.1111111em;
}
.prose-lg :where(h1):not(:where([class~="not-prose"] *)) {
  font-size: 2.6666667em;
  margin-top: 0;
  margin-bottom: 0.8333333em;
  line-height: 1;
}
.prose-lg :where(h2):not(:where([class~="not-prose"] *)) {
  font-size: 1.6666667em;
  margin-top: 1.6666667em;
  margin-bottom: 1em;
  line-height: 1.2;
}
.prose-lg :where(h3):not(:where([class~="not-prose"] *)) {
  font-size: 1.3333333em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}
.prose-lg :where(h4):not(:where([class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 0.4444444em;
  line-height: 1.5555556;
}
.prose-lg :where(img):not(:where([class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 1.7777778em;
}
.prose-lg :where(video):not(:where([class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 1.7777778em;
}
.prose-lg :where(figure):not(:where([class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 1.7777778em;
}
.prose-lg :where(figcaption):not(:where([class~="not-prose"] *)) {
  font-size: 0.8888889em;
  line-height: 1.5;
  margin-top: 1em;
}
.prose-lg :where(code):not(:where([class~="not-prose"] *)) {
  font-size: 0.8888889em;
}
.prose-lg :where(h2 code):not(:where([class~="not-prose"] *)) {
  font-size: 0.8em;
}
.prose-lg :where(h3 code):not(:where([class~="not-prose"] *)) {
  font-size: 0.8888889em;
}
.prose-lg :where(pre):not(:where([class~="not-prose"] *)) {
  font-size: 0.8888889em;
  line-height: 1.75;
  margin-top: 2em;
  margin-bottom: 2em;
  border-radius: 0.5rem;
  padding: 1em 1.3333333em;
}
.prose-lg :where(ol):not(:where([class~="not-prose"] *)) {
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
  padding-left: 1.5555556em;
}
.prose-lg :where(ul):not(:where([class~="not-prose"] *)) {
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
  padding-left: 1.5555556em;
}
.prose-lg :where(li):not(:where([class~="not-prose"] *)) {
  margin-top: 0.6666667em;
  margin-bottom: 0.6666667em;
}
.prose-lg :where(ol > li):not(:where([class~="not-prose"] *)) {
  padding-left: 0.4444444em;
}
.prose-lg :where(ul > li):not(:where([class~="not-prose"] *)) {
  padding-left: 0.4444444em;
}
.prose-lg > :where(ul > li p):not(:where([class~="not-prose"] *)) {
  margin-top: 0.8888889em;
  margin-bottom: 0.8888889em;
}
.prose-lg :where(table):not(:where([class~="not-prose"] *)) {
  font-size: 1em;
  line-height: 1.5;
}
.prose-lg :where(thead th):not(:where([class~="not-prose"] *)) {
  padding-right: 0.75em;
  padding-bottom: 0.75em;
  padding-left: 0.75em;
}
.prose-lg :where(tbody td):not(:where([class~="not-prose"] *)) {
  padding: 0.75em;
}
.prose-lg > :where(:first-child):not(:where([class~="not-prose"] *)) {
  margin-top: 0;
}
.prose-lg > :where(:last-child):not(:where([class~="not-prose"] *)) {
  margin-bottom: 0;
}

/* Additional Custom Styles */
.dynamic-grid-background {
    background-color: var(--brand-dark); /* Darker base for depth */
    color: white;
    position: relative;
    overflow: hidden;
    /* More complex background layers for depth and animation */
    background-image: 
        radial-gradient(circle at 15% 85%, var(--brand-primary) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, var(--brand-dark-blue) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
        linear-gradient(135deg, rgba(0, 122, 255, 0.1) 1px, transparent 1px),
        linear-gradient(45deg, rgba(54, 69, 79, 0.1) 1px, transparent 1px);
    background-size: 200% 200%, 200% 200%, 100% 100%, 50px 50px, 50px 50px;
    background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    animation: complex-gradient-move 40s ease infinite alternate, subtle-grid-pan 120s linear infinite;
}

.dynamic-grid-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), var(--brand-primary), transparent 60%);
    opacity: 0.1; /* Very subtle initial glow */
    transition: opacity 0.8s ease-out;
    pointer-events: none;
    animation: pulse-glow 20s ease-in-out infinite alternate;
}

.dynamic-grid-background:hover::before {
    opacity: 0.3; /* More pronounced glow on hover */
}

@keyframes complex-gradient-move {
    0% { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
    25% { background-position: 10% 90%, 90% 10%, 20% 20%, 0% 0%, 0% 0%; }
    50% { background-position: 20% 80%, 80% 20%, 40% 40%, 0% 0%, 0% 0%; }
    75% { background-position: 30% 70%, 70% 30%, 60% 60%, 0% 0%, 0% 0%; }
    100% { background-position: 40% 60%, 60% 40%, 80% 80%, 0% 0%, 0% 0%; }
}

@keyframes subtle-grid-pan {
    0% { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
    100% { background-position: 0% 0%, 0% 0%, 0% 0%, 100% 100%, 100% 100%; }
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.1; }
}

.hero-section {
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

footer {
    position: relative;
    overflow: hidden;
}


.hero-content {
    position: relative;
    z-index: 1;
}

@keyframes slide-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-in-up {
    animation: slide-in-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--brand-primary);
    color: white;
    padding: 16px 32px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 122, 255, 0.4);
    transition: all 0.3s ease;
    /* Ensure the button itself doesn't have a conflicting transform */
}

.hero-cta-button:hover {
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.6); /* More pronounced shadow */
    background-color: var(--brand-dark);
    color: white;
}

.hero-cta-button span { /* Target the span inside for translateY */
    transition: transform 0.3s ease;
}

.hero-cta-button:hover span {
    transform: translateY(-4px);
}

.hero-cta-button i {
    transition: transform 0.3s ease;
}

.hero-cta-button:hover i {
    transform: translateX(5px);
}


.services-grid-wow {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Changed to 3 columns */
    gap: 30px; /* Changed to 30px gap */
    perspective: 1500px;
}

@media (max-width: 1024px) { /* Adjust for smaller screens */
    .services-grid-wow {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.service-card-wow {
    position: relative;
    /* Removed transform-style: preserve-3d as it's not needed for simple lift */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smoother transition */
    background-color: white;
    border-radius: 15px;
    border: 1px solid #e0e0e0 !important; /* Thin, light-grey border with !important */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important; /* More subtle initial shadow with !important */
}

.service-card-wow-content {
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(249,250,252,1) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.service-card-wow-border {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--brand-primary), #60a5fa);
    z-index: 1;
    transition: all 0.4s ease-out;
    opacity: 0;
}

.service-card-wow-glow {
    position: absolute;
    inset: -10px;
    border-radius: 30px;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), var(--brand-primary), transparent 40%);
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.4s ease-out;
    z-index: 0;
}

.service-card-wow:hover {
    transform: translateY(-5px); /* Slight lift effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important; /* More pronounced shadow on hover with !important */
}





.service-card-wow-icon-wrapper {
    margin: 0 auto 1.5rem;
    background: linear-gradient(145deg, var(--brand-light), white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-wow-icon {
    width: 40px;
    height: 40px;
    color: var(--brand-primary);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-wow:hover .service-card-wow-icon-wrapper {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.service-card-wow:hover .service-card-wow-icon {
    transform: rotate(-15deg);
}

.service-card-wow-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.service-card-wow-description {
    color: var(--text-body);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.service-card-wow-button-wrapper {
    margin-top: auto;
}

.service-card-wow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--brand-primary);
    color: white;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.service-card-wow-button .service-card-wow-arrow {
    transition: transform 0.3s ease;
}

.service-card-wow-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(37, 99, 235, 0.4);
    color: white;
    background-color: var(--brand-dark);
}

.service-card-wow-button:hover .service-card-wow-arrow {
    transform: translateX(4px);
}

/* Pre-Footer CTA */
.pre-footer-cta {
    background-color: #f8fafc;
    padding: 60px 1rem 4rem;
}
.pre-footer-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}
.pre-footer-cta-text {
    font-size: 1.125rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto 2rem;
}
.pre-footer-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--brand-primary);
    color: white;
    padding: 16px 32px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}
.pre-footer-cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
    background-color: #3b82f6;
    color: white;
}
.pre-footer-cta-button i {
    transition: transform 0.3s ease;
}
.pre-footer-cta-button:hover i {
    transform: translateX(5px);
}

/* Footer Styles */
.footer-heading {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.footer-links li a {
    position: relative;
    text-decoration: none;
    color: #cbd5e1; /* slate-300 */
    transition: color 0.3s ease;
}
.footer-links li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--brand-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.footer-links li a:hover {
    color: white;
}
.footer-links li a:hover::after {
    transform: scaleX(1);
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background-color: var(--brand-primary);
    transform: translateY(-3px);
}

/* Appended Styles */
#back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}
#cookie-consent-banner.show {
    display: block;
}
#lightbox.show {
    display: flex;
}
/* Style for the copy button container */
.prose pre {
    position: relative;
    padding-top: 2.5rem; /* Make space for the button */
}

.services-grid-wow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0 0;
}

.service-card-wow {
    background: white;
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.service-card-wow:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.service-card-wow-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-wow-icon-wrapper {
    margin-bottom: 1.5rem;
    background: rgba(0, 122, 255, 0.05);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.service-card-wow-icon {
    width: 32px;
    height: 32px;
    color: var(--brand-primary);
}

.service-card-wow-title {
    font-size: 1.5rem; /* Slightly smaller for better fit */
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.service-card-wow-description {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.service-card-wow-button-wrapper {
    margin-top: auto; /* Pushes button to the bottom */
}

.service-card-wow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Center text and icon */
    gap: 0.5rem;
    background-color: var(--brand-primary);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card-wow-button:hover {
    background-color: var(--brand-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.2);
}

.service-card-wow-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.service-card-wow-button:hover .service-card-wow-arrow {
    transform: translateX(4px);
}

/*
 * Sticky Footer Layout
 * Ensures the main content area expands to fill the space, pushing the
 * footer to the bottom of the viewport on short pages.
 */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
    background-color: white; /* Ensures a solid white background */
}

/*
 * Section Padding
 * Standardized vertical padding for content sections.
 */
.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/*
 * Container
 * Centralizes content with a max-width and horizontal padding.
 */
.container {
    width: 100%;
    max-width: 1280px; /* Corresponds to Tailwind's max-w-7xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/*
 * Section Heading
 * A consistent style for main section titles.
 */
.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading .eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-heading .title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-heading .subtitle {
    font-size: 1.125rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-heading .title {
        font-size: 2rem;
    }
    .section-heading .subtitle {
        font-size: 1rem;
    }
}

/*
 * Why Choose Us Section
 * Specific styles for the feature list.
 */
.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

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

.feature-item .icon-wrapper {
    margin: 0 auto 1.5rem;
    background: var(--brand-light);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item .icon {
    width: 32px;
    height: 32px;
    color: var(--brand-primary);
}

.feature-item .title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.feature-item .description {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
}

/*
 * Testimonials Section
 * Styles for the testimonial cards.
 */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #f8fafc; /* A very light grey */
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.testimonial-card .stars {
    display: flex;
    gap: 0.25rem;
    color: #facc15; /* Tailwind yellow-400 */
    margin-bottom: 1rem;
}

.testimonial-card .text {
    font-style: italic;
    color: var(--text-body);
    flex-grow: 1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-card .author-info .name {
    font-weight: 700;
    color: var(--text-main);
}

.testimonial-card .author-info .vehicle {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/*
 * Call to Action (CTA) Section
 * A prominent, visually distinct section to encourage user action.
 */
.cta-section {
    background: var(--brand-dark);
    color: white;
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.15) 0%, transparent 60%);
    animation: pulse-glow 10s ease-in-out infinite alternate;
}

.cta-section .content {
    position: relative;
    z-index: 1;
}

.cta-section .title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section .subtitle {
    font-size: 1.125rem;
    color: #cbd5e1; /* slate-300 */
    max-width: 500px;
    margin: 0 auto 2rem;
}

.cta-section .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--brand-primary);
    color: white;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 122, 255, 0.4);
    transition: all 0.3s ease;
}

.cta-section .cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.5);
    background-color: #3b82f6;
}

.cta-section .cta-button i {
    transition: transform 0.3s ease;
}

.cta-section .cta-button:hover i {
    transform: rotate(15deg);
}

.text-shadow-light {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}
/* Blog Card WOW Styles */
.blog-card-wow {
    background: white;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Ensure rounded corners are respected */
}

.blog-card-wow:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.blog-card-wow-icon-wrapper {
    margin-bottom: 1.5rem;
    background: rgba(0, 122, 255, 0.05); /* Light blue background */
    width: 80px; /* Larger icon area */
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 122, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.1); /* Subtle shadow */
}

.blog-card-wow:hover .blog-card-wow-icon-wrapper {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.blog-card-wow-icon {
    width: 40px; /* Larger icon */
    height: 40px;
    color: var(--brand-primary);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-card-wow:hover .blog-card-wow-icon {
    transform: rotate(-15deg);
}

@media (max-width: 768px) {
    .container {
        margin-left: 8px !important;
        margin-right: 8px !important;
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}