/* =========================================
   OMYVERSSE 2.0 - HIGH-TECH GLASS UI
   (SEO & AI-READY EDITION - 2026)
   ========================================= */

:root {
  --bg-card: rgba(20, 20, 35, 0.72); /* legacy alias */
    /* Core Palette - Deep & Expensive */
    --bg-deep: #030308;        /* Darker, richer black */
    --bg-glass: rgba(20, 20, 35, 0.7); /* Frosted Glass Base */
    
    /* Neon Accents - Sharper */
    --primary-neon: #a855f7;   /* Refined Purple */
    --primary-glow: rgba(168, 85, 247, 0.4);
    --accent-cyan: #06b6d4;    /* Tech Cyan */
    --accent-glow: rgba(6, 182, 212, 0.4);
    
    /* Typography */
    --text-white: #ffffff;
    --text-gray: #94a3b8;      /* Slate gray, more readable */
    
    /* Layout Variables */
    --container-width: 1240px;
    --border-radius: 8px;      /* THE ROUNDED SQUARE LOOK */
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 1. GLOBAL RESET & TYPOGRAPHY */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevents scrollbar on animations */
}

a { text-decoration: none; transition: all 0.3s ease; }
ul { list-style: none; }



/* Responsive media defaults */
img{max-width:100%;height:auto;display:block;}
/* 2. UTILITY CLASSES */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* 3. NEW BUTTON SYSTEM (Rounded Squares) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--border-radius); /* 8px Square Look */
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Primary Button: The "Tech" Fill */
.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg) translateX(-150%);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
    border-color: rgba(255,255,255,0.3);
}

.btn-primary:hover::before {
    transform: skewX(-20deg) translateX(150%); /* Shine effect */
}

/* Outline Button: The "Glass" Look */
.btn-outline:hover {
    background: var(--accent-cyan);
    color: #000000 !important; /* The !important forces the text to be Black */
    box-shadow: 0 0 20px var(--accent-glow);
}

/* 4. NAVIGATION (Floating Glass Bar)
   IMPORTANT: Scope these styles to the main site navigation only.
   (Breadcrumbs also use a <nav> tag and should NOT inherit sticky/full-width nav styling.)
*/
nav[aria-label="Main Navigation"] {
    padding: 20px 0;
    position: sticky; 
    top: 0;
    z-index: 9999; 
    background: rgba(3, 3, 8, 0.8); 
    backdrop-filter: blur(12px);
    border-bottom: var(--glass-border);
}

nav[aria-label="Main Navigation"] .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
}

/* NAVIGATION LINKS - RESTORED TO WHITE & BOLD */
.nav-links { 
    display: flex; 
    gap: 32px; 
    align-items: center; 
}


/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Prevent background scrolling when the mobile menu is open */
html.nav-open,
html.nav-open body {
  overflow: hidden;
}

/* Animate hamburger into an X when open */
html.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
html.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
html.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; }
  .nav-links { 
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 100%;
    margin-top: 10px;
    flex-direction: column;
    gap: 0;
    background: rgba(3, 3, 8, 0.98);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    max-height: calc(100vh - 120px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-links.is-open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    padding: 14px 12px;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: unset;
    border: none;
    background: transparent;
    padding: 0 0 10px 0;
    display: none;
  }
  .dropdown.open > .dropdown-content { display: block; }
  .dropdown-content a { padding: 10px 14px; }
}
.nav-links > li > a { 
    color: #ffffff;       /* Pure White (Restored) */
    font-weight: 600;     /* Thicker (Restored) */
    font-size: 1.05rem;   /* Larger (Restored) */
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links > li > a:hover { 
    color: var(--accent-cyan); 
}

/* 5. HERO SECTION (Cinematic) */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
                var(--bg-deep);
}

.hero h1 {
    font-size: 4rem; /* Massive text */
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 48px;
    max-width: 600px;
    font-weight: 300;
}

/* 6. CARDS (The Glassmorphism Effect) */
/* This applies to Price Cards, Industry Cards, etc. */
article, .industry-card, .price-card {
    background: var(--bg-glass);
    border: var(--glass-border);
    border-radius: 12px; /* Slightly softer than buttons */
    backdrop-filter: blur(10px); /* The Frosted Glass Effect */
    padding: 32px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: block; /* Ensure whole card is clickable */
}

/* Hover State for Cards */
article:hover, .industry-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-neon);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
    color: var(--text-white);
}

.industry-card {
    text-align: center;
    padding: 40px 20px;
    text-decoration: none;
    color: var(--text-white);
}

.industry-card h3 { color: var(--text-white); }
.industry-card p { color: var(--text-gray); }

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

/* 7. DROPDOWN MENU (RESTORED FUNCTIONALITY) */
/* Fixed the "Hover Trap" and restored the styles */
.dropdown { 
    position: relative; 
    height: 100%; 
    display: flex; 
    align-items: center; 
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #0f0f1a; /* Dark background */
    min-width: 240px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid #333;
    border-radius: var(--border-radius);
    
    /* FIX: Changed from 150% to 100% so it attaches to the link */
    top: 100%; 
    left: 0;
    padding-top: 10px; /* Invisible bridge for mouse */
    
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
}


/* Mega dropdown for Industries (2-column) */
.dropdown-content.industries-mega {
  min-width: 520px;
  /* Keep hidden until hover/open.
     If this is 'display:flex' by default, the invisible menu can still be hovered,
     making the dropdown appear even when you're not hovering the trigger link. */
  display: none;
  gap: 10px;
  padding: 12px;
}
.dropdown-content.industries-mega .mega-column {
  display: flex;
  flex-direction: column;
  min-width: 240px;
}
@media (max-width: 768px) {
  .dropdown-content.industries-mega {
    min-width: unset;
    /* Keep closed until the user taps the dropdown trigger */
    display: none;
    padding: 0;
  }
  .dropdown-content.industries-mega .mega-column {
    min-width: unset;
  }
}
.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
}

/* Industries mega menu should be a flex layout when shown */
.dropdown:hover .dropdown-content.industries-mega {
    display: flex;
}

/* Dropdown Links - Restored to White & Thicker */
.dropdown-content a {
    color: #ffffff;        /* Pure White */
    font-weight: 600;      /* Thicker */
    font-size: 0.95rem;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.05); /* Separator line */
    background: transparent;
    border-radius: 4px;
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--accent-cyan);
    padding-left: 25px; /* Slide effect */
}

/* 8. FOOTER */
footer {
    border-top: var(--glass-border);
    background: #020205;
}

h3, h4 { color: var(--text-white); margin-bottom: 16px; }

/* 9. MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .nav-links { display: none; } /* In real prod you'd need a hamburger menu */
    .hero { padding-top: 60px; }
}

/* 10. SEO COMPONENT UPDATES */

/* Fix Address Tag Italics (Browser Default) */
address {
    font-style: normal;
}

/* =========================================
   RE-ENGINEERED SOCIAL LINKS (FOOTER)
   ========================================= */

.social-link {
    display: inline-flex; /* Changed from inline-block for better alignment */
    align-items: center;
    justify-content: center;
    width: 40px;  /* Giving the link a hit-box */
    height: 40px;
    margin-right: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link svg {
    width: 24px !important;  /* Force the size */
    height: 24px !important;
    fill: #ffffff !important; /* Force icons to be PURE WHITE */
    display: block;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px); /* Lift the icon on hover */
}

.social-link:hover svg {
    fill: var(--accent-cyan) !important; /* Turn Cyan on hover */
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

/* =========================================
   PAGE SPECIFIC: LOCAL SEO (GBP)
   ========================================= */

.map-hero {
    /* Note: Adjusted path for images since style.css is in a folder */
    background: linear-gradient(to right, #050510 40%, rgba(5,5,16,0.8)), url('../images/projects/google-maps-bg.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    display: flex;
    align-items: center;
}

.check-list {
    margin-top: 20px;
    padding-left: 0;
}

.check-list li { 
    margin-bottom: 12px; 
    display: flex; 
    align-items: center; 
    color: var(--text-gray); 
}

.check-list li span { 
    color: var(--primary-neon); 
    font-size: 1.2rem; 
    margin-right: 10px; 
}

/* Feature Table (AI Data Source) */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: var(--bg-glass);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
}

.data-table th, .data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-gray);
}

.data-table th {
    background: rgba(255,255,255,0.05);
    color: white;
    font-weight: 600;
}

/* =========================================
   FIX: NAV BUTTON SHAPE & COLOR RESTORATION
   ========================================= */

/* 1. Force the button inside the nav to ignore the generic white link style */
.nav-links a.btn {
    color: var(--accent-cyan) !important;   /* Restore Cyan Color */
    border: 1px solid var(--accent-cyan) !important; /* Restore Border */
    display: inline-flex !important;        /* Restore Box Shape */
    opacity: 1 !important;
}

/* 2. Ensure the Hover State still turns black (The "Invisible Ink" Fix) */
.nav-links a.btn:hover {
    background-color: var(--accent-cyan) !important;
    color: #000000 !important;              /* Black text on hover */
    box-shadow: 0 0 20px var(--accent-glow) !important;
}

/* =========================================
   COMPONENT: PRICING CARDS (Web Design)
   ========================================= */

.pricing-card {
    background: #121225;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 40px;
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
}

.pricing-card.featured {
    border: 2px solid var(--primary-neon);
    background: linear-gradient(145deg, #1a0b2e, #0f0f1a);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
}

.price-tag {
    font-size: 2.5rem;
    color: white;
    font-weight: 800;
    margin: 20px 0;
}

.price-tag span {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 400;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 15px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: "✓";
    color: var(--accent-cyan);
    margin-right: 10px;
    font-weight: bold;
}

/* =========================================
   PAGE SPECIFIC: CONTACT FORM
   ========================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.form-group { margin-bottom: 20px; }

.form-group label { 
    display: block; 
    color: var(--text-gray); 
    margin-bottom: 8px; 
    font-size: 0.9rem; 
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 12px;
    background: #0a0a15;
    border: 1px solid #333;
    color: white;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    border-color: var(--accent-cyan);
    outline: none;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

/* Map Container */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    margin-top: 60px;
}

/* =========================================
   PAGE SPECIFIC: PORTFOLIO / PROJECTS
   ========================================= */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.project-card {
    background: var(--bg-glass);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    group: relative; /* For hover effects */
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--accent-cyan);
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.project-content {
    padding: 25px;
}

.project-category {
    color: var(--accent-cyan);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.project-card h3 {
    margin-bottom: 10px;
    color: white;
}

.project-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* =========================================
   PAGE SPECIFIC: INDUSTRY TEMPLATE (Roofing, etc)
   ========================================= */

/* The "Pain Point" Grid */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pain-card {
    background: rgba(255, 0, 0, 0.05); /* Subtle red tint for "Problems" */
    border: 1px solid rgba(255, 0, 0, 0.2);
    padding: 30px;
    border-radius: 8px;
}

.pain-card h4 { color: #ff6b6b; margin-bottom: 15px; }
.pain-card p { color: var(--text-gray); font-size: 0.9rem; }

/* The "Solution" Grid */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: rgba(6, 182, 212, 0.05); /* Subtle blue tint for "Solutions" */
    border: 1px solid var(--accent-cyan);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.benefit-card h4 { color: white; margin-bottom: 10px; }
.benefit-icon { font-size: 2rem; margin-bottom: 15px; display: block; }

/* Update this section in your style.css */

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-cyan); /* Force a visible border */
    color: var(--accent-cyan);           /* Force visible text color */
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-cyan);     /* Fills on hover */
    color: #000000;                     /* Text turns black for contrast */
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

/* 4. NAVIGATION (Floating Glass Bar) */
nav[aria-label="Main Navigation"] {
    padding: 20px 0;
    position: sticky; 
    top: 0;
    z-index: 9999; /* HIGHEST LAYER: Dropdowns stay on top */
    background: rgba(3, 3, 8, 0.9); 
    backdrop-filter: blur(12px);
    border-bottom: var(--glass-border);
}

/* 4b. BREADCRUMBS (Subtle Path Navigation)
   Goal: the breadcrumb "bar" should align to the same container width as the rest of the site,
   not span edge-to-edge.
*/
.breadcrumb-nav {
    /* Constrain bar to site container width */
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 16px 24px;

    /* Visual bar styling */
    background: var(--bg-deep);
    border-bottom: 1px solid rgba(255,255,255,0.05);

    /* Keep breadcrumbs behind dropdowns */
    position: relative;
    z-index: 10;
}
.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--text-gray);
}

.breadcrumb-item a {
    color: var(--text-gray);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px var(--accent-glow);
}

.breadcrumb-separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

.breadcrumb-current {
    color: var(--text-white);
    opacity: 0.9;
}

/* Breadcrumb Icon Styling */
.breadcrumb-icon {
    margin-right: 8px;
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}


@media (max-width: 480px){
  .container{padding-left:16px;padding-right:16px;}
  .breadcrumb-nav{padding-left:16px;padding-right:16px;}
  .hero h1{font-size:2.3rem;letter-spacing:-1px;}
  .hero p{font-size:1.1rem;}
  .btn{width:100%;text-align:center;}
  .hero .btn{width:100%;}
}


/* =========================================
   RELATED LINKS MODULE (Internal Linking)
   ========================================= */

.related-section{
  padding: 60px 0;
  background: var(--bg-glass);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.related-heading h2{
  margin: 0 0 10px;
  color: white;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.related-heading p{
  margin: 0;
  color: var(--text-gray);
  max-width: 70ch;
}

.related-grid{
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.related-card{
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  background: #121225;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  color: inherit;
  min-height: 160px;
}

.related-card:hover{
  transform: translateY(-6px);
  border-color: var(--primary-neon);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.12);
}

.related-tag{
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-cyan);
}

.related-card h3{
  margin: 0;
  color: white;
  font-size: 1.05rem;
  line-height: 1.25;
}

.related-card p{
  margin: 0;
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Mobile tweaks */
@media (max-width: 480px){
  .related-section{ padding: 46px 0; }
  .related-heading h2{ font-size: 1.55rem; }
  .related-grid{ grid-template-columns: 1fr; }
}


/* Legal pages (Privacy Policy) */
.legal-main{padding:80px 24px;max-width:900px;}
@media (max-width: 480px){.legal-main{padding:64px 20px;}}

/* Specialized Trades grid (index) */
.portfolio-grid.trades-grid{
    grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1024px){
    .portfolio-grid.trades-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px){
    .portfolio-grid.trades-grid{ grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid.trades-grid .industry-card{ padding: 28px 16px; }
}
@media (max-width: 420px){
    .portfolio-grid.trades-grid{ grid-template-columns: 1fr; }
}

.industry-card:visited{ color: var(--text-white); }

/* =========================================================
   CTA GROUP NORMALIZATION
   Fix: uneven button heights (btn-primary vs btn-outline)
   and inconsistent spacing in multi-button rows.
   ========================================================= */

/* Ensure button groups align and wrap cleanly on mobile */
.cta-group{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: stretch; /* makes buttons equal height within the row */
}

/* Remove ad-hoc inline margins in CTA groups (e.g., margin-left) */
.cta-group .btn{
    margin: 0 !important;
}

/* Normalize outline button to match primary button sizing */
.btn.btn-outline{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    border-width: 1px;
}

