/*================== BACKGROUND IMAGE ====================*/

body {
  background: url("images/BackGround.png") no-repeat center center;
  background-size: cover;   /* makes sure it fills the screen */
}

/* ================= FONTS.  ================*/

P, H1, H2, H3, H4, UL, LI{
	font-family: Arial, Helvetica, sans-serif;
}


/* =====================Base reset====================== */
*, *::before, *::after { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* ==================Title bar================= */
.TitleHolder{
  width: 100%;
  background-color:#white;
  color: black;
  padding-top: 3px;
  padding-bottom: 3px;
  margin: 0;
  border-radius: 0 0 100% 100% / 0 0 25% 25%;
  /* prevents margin-collapsing from inner children */
  overflow: hidden;
}

.TitleHolder{
  text-align: center;
  padding-top: 20px;
  font-size: 4rem;
}
.TitleHolder h1{ margin: 0; }

/* =================Navbar===================== */

/* ===== NAV: base (desktop) ===== */
#site-nav{
  background:#fff;
  padding:1rem 2rem;
  margin-bottom:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 8px 16px rgba(0,0,0,.2);
}

/* logo */
#site-nav .logo{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color:#000;
  font-size:1.5rem; font-weight:bold;
}
#site-nav .logo-mark{ width:32px; height:32px; object-fit:contain; display:block; }
#site-nav .logo-text{ line-height:1; }

/* links (desktop row) */
#site-nav .nav-links{
  list-style:none; display:flex; align-items:center; gap:2rem;
  margin:0; padding:0;
}
#site-nav .nav-links li{ list-style:none; }
#site-nav .nav-links a, #site-nav a{
  color:#000; text-decoration:none; font-weight:500; transition:color .3s; white-space:nowrap;
}
#site-nav .nav-links a:hover{ color:#ff4d4d; }

/* dropdown floats so it never expands header height */
#site-nav .dropdown{ position:relative; }
#site-nav .dropdown-content{
  position:absolute; top:100%; left:0; display:none; min-width:180px;
  background:#fff; border:1px solid rgba(0,0,0,.08); box-shadow:0 8px 16px rgba(0,0,0,.12);
  border-radius:8px; padding:.5rem; z-index:1001;
}
#site-nav .dropdown:hover .dropdown-content,
#site-nav .dropdown:focus-within .dropdown-content{ display:block; }
#site-nav .dropdown-content a{ display:block; padding:.5rem .75rem; color:#111; }

/* ===== Hamburger button (hidden on desktop) ===== */
#site-nav .menu-toggle{
  display:none;                 /* desktop: hidden */
  background:none; border:0; padding:8px; margin-left:8px;
  cursor:pointer;
}
#site-nav .menu-toggle .bar{
  display:block; width:24px; height:2px; background:#000; margin:5px 0; transition:transform .2s, opacity .2s;
}

/* X animation */
#site-nav.menu-open .menu-toggle .bar:nth-child(1){ transform: translateY(7px) rotate(45deg); }
#site-nav.menu-open .menu-toggle .bar:nth-child(2){ opacity:0; }
#site-nav.menu-open .menu-toggle .bar:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ===== Mobile ===== */
@media (max-width: 900px){
  /* show hamburger, keep header compact */
  #site-nav{ padding:.75rem 1rem; }
  #site-nav .menu-toggle{ display:block; }
  #site-nav .nav-links{
    /* mobile panel: hidden by default */
    position:absolute; left:0; right:0; top:100%;
    background:#fff; border-bottom:1px solid rgba(0,0,0,.06);
    display:grid; gap:4px; padding:0; margin:0;
    max-height:0; overflow:hidden;
    transition:max-height .25s ease;
    box-shadow:0 12px 24px rgba(0,0,0,.08);
  }
  /* reveal when open */
  #site-nav.menu-open .nav-links{
    max-height: 60vh;            /* slide-down */
    padding:10px 12px;           /* inner padding only when open */
  }
  #site-nav .nav-links li{ list-style:none; }
  #site-nav .nav-links a{
    display:block; padding:12px 8px; font-size:1rem;
  }

  /* dropdown in mobile: keep floating (tap-friendly) */
  #site-nav .dropdown-content{
    position:absolute; top:calc(100% + 4px); left:12px;
  }
}

/* Prevent background scroll when menu is open */
html.no-scroll, body.no-scroll{ overflow:hidden; }


/*==========================DOCKING NAV BAR CSS ====================*/



/* Base: docked (on scroll) */
#site-nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  padding: 1rem 2rem;              /* keep your current padding */
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  border-radius: 0;
  transition: top .25s, left .25s, right .25s, border-radius .25s, box-shadow .25s, transform .25s, width .25s;
}

/* Floating look when at the very top of the page */
#site-nav.float{
  width: min(1200px, 92vw);        /* contained pill */
  left: 50%; right: auto;
  transform: translateX(-50%);
  top: 20px;                       /* drop it off the top */
  border-radius: 24px;             /* rounded pill */
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
  background: #ffffff;
}

/* Prevent content from hiding behind fixed nav */
body{ padding-top: 80px; }          /* adjust to your nav height */

/* Mobile: keep it docked full-width (simpler UX) */
@media (max-width: 768px){
  #site-nav.float{
    width: 100%;
    left: 0; right: 0;
    transform: none;
    top: 0;
    border-radius: 0;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
  }
}



/* ==========================Dropdown===================== */



.dropdown { position:relative; padding-bottom:10px; }
.dropdown-content {
  display:none;
  position:absolute;
  background:#fff;
  min-width:160px;
  box-shadow:0 8px 16px rgba(0,0,0,.2);
  z-index:1;
  border-radius:0 0 8px 8px;
  top: calc(100% - 10px);
}
.dropdown-content a { color:#000; padding:12px 16px; display:block; margin-right:0; }
.dropdown:hover .dropdown-content { display:block; }



/* =====================Web design section==================== */



#WebDesign{
  width:80%;
  margin: 2rem auto 0;
  border-radius:25px;
  min-height: 60vh;            /* was 100vh */
  padding:2rem;
}
#WebDesign h2{ text-align:center; font-size:30px; }



/* ===================Holder(s)====================== */



.holder{
  display:flex;
  gap:40px;
  align-items:stretch;         /* make children match tallest */
  max-width:1200px;
  margin:0 auto;
  padding:20px;
  width:100%;
}

/* =======================WebDev block===================== */

.WebDevholder{
  /* container size */
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  background-color: #f5f5f5;
  color: #000;
  border-radius: 25px;
  box-shadow: 0 8px 16px rgba(0,0,0,.2);

  /* layout */
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr); /* ~ 2/3 + 1/3 */
  gap: 2rem;

  /* inner spacing */
  padding: 2rem 2.25rem;
}

/* left column (your current section) */
.process-copy {
  align-self: center;
}

.process-copy h4{
  font-size: 30px;
  margin: 0 0 1rem 0;
}

.process-copy ul{
  margin: 0 0 1.5rem 1.25rem;   /* tighter list */
  padding: 0;
}

.process-copy li{
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0.35rem 0;
}

/* right column media */
.process-media{
  align-self: center;
  text-align: center;
}

.process-media img{
  width: 100%;
  height: auto;
  max-height: 550px;      /* keep it tidy */
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

/* optional: button spacing */
.process-copy .pricing-btn{
  display: inline-block;
  margin-top: 0.5rem;
}

/* Reduce the “tall card” feel: remove forced height */
.WebDevholder { min-height: unset; }

/* Responsive: stack on mobile/tablet */
@media (max-width: 900px){
  .WebDevholder{
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .process-media img{
    max-height: 400px;
  }
}


/* =======================Intro======================= */

/* Layout wrapper: equal heights via flex stretch */
.holder{
  display:flex;
  gap:40px;
  align-items:stretch;               /* <- makes both columns the same height */
  max-width:1200px;
  margin:0 auto;
  padding:0 20px 20px;
  width:100%;
}

/* LEFT: professional card, perfectly centered content */
#Intro{
  flex:1;
  background-color:#f5f5f5;
  color:#000;
  border-radius:25px;
  padding:2rem;
  box-shadow:0 8px 16px rgba(0,0,0,.2);
  display:grid;                      /* center the inner block */
  place-items:center;                /* vertical + horizontal centering */
  min-width:0;                       /* prevent overflow in flex */
}

#Intro .intro-content{
  display:grid;
  gap:1rem;
  width:100%;
  max-width:44ch;                    /* readable line length */
}

#Intro h3{ margin:0; line-height:1.25; }
#Intro h4{ margin:0.25rem 0 0; color:#222; }
.benefits{
  margin:0.25rem 0 0;
  padding-left:1.2rem;
  display:grid;
  gap:.6rem;
}
.benefits li{ line-height:1.55; }

.cta-container{ margin-top:1rem; }


#IntroImage{
  flex:1;
  min-width:0;
  padding:2rem;
  margin:0;
  position:relative;
}
#IntroImage img{
  width:100%;
  height:auto;
  max-height:500px;                  /* keep your original image size */
  object-fit:contain;
  border-radius:12px;
}


.image-caption{
  font-size:.85rem;
  color:#666;
  text-align:center;
  margin-top:8px;
  font-style:italic;
}

/* Button you already have; included here in case this file owns it */
.cta-button{
  display:inline-block;
  padding:14px 28px;
  font-size:18px;
  font-weight:700;
  border-radius:16px;
  color:#fff;
  background:#5847ff;
  text-decoration:none;
  box-shadow:0 8px 20px rgba(88,71,255,.25);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cta-button:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(88,71,255,.35);
}


/* ======================= INTRO BUTTON ====================*/


.cta-container {
  text-align: center;
  margin-top: 2rem;  /* space above button */
}

/* CTA button styling */
.cta-button {
  display: inline-block;
  background-color: #4f46e5;   /* Indigo */
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.cta-button:hover {
  background-color: #3730a3;   /* Darker Indigo */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}


/* =======================SUB INTRO ==================*/

#SubIntro{
  width:80%;
  background-color:#f5f5f5;
  color:#000;
  margin:2rem auto 0;
  border-radius:25px;
  min-height: 25vh;            /* was 115vh */
  padding:2rem;
  box-shadow:0 8px 16px rgba(0,0,0,.2);
  z-index:1;
  margin-bottom: 60px;
}



/* ===================== INTRO WEB DEV SECTION ===================*/

/* Optional: set your page bg once so the gradient fallback matches */

.feature-section {
  --radius: 16px;
  display: grid;
  grid-template-columns: 55% 45%;   /* image a bit smaller than content */
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 2rem;
  background: var(--page-bg);
}

/* IMAGE */
.feature-image {
  position: relative;
}

.feature-image img {
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.15);
  
  /* Fade the right edge to transparent so it “melts” into the content area */
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 68%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to right, rgba(0,0,0,1) 68%, rgba(0,0,0,0) 100%);
}

/* Fallback for browsers that don't support mask-image: put a white gradient on top */
.feature-image::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, transparent 68%, var(--page-bg) 100%);
  border-radius: 12px;
  mix-blend-mode: normal;
}

/* CONTENT */
.feature-content {
  display: grid;
  align-content: center;
  gap: 12px;
  padding-inline: 6vw 0; /* gentle breathing room from the fade */
}

.feature-title {
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.25rem);
  line-height: 1.2;
  margin: 0;
}

.feature-subtitle {
  margin: 0 0 10px 0;
  color: #555;
  font-size: clamp(0.95rem, 0.6vw + 0.8rem, 1.1rem);
}

/* Button (kept “glass” look, fixed a couple of details) */
.get-started-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #111;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  text-decoration: none; /* fixed casing */
  width: fit-content;
}

.get-started-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}



/* ======= Responsive ======= */

@media (max-width: 900px) {
  .feature-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-content {
    padding-inline: 0;
    text-align: left; /* or center if you prefer */
  }
  /* On narrow screens we fade the bottom instead of the right */
  .feature-image img {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 72%, rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 72%, rgba(0,0,0,0) 100%);
  }
  .feature-image::after {
    background: linear-gradient(to bottom, transparent 72%, var(--page-bg) 100%);
  }
}

.feature-section:nth-of-type(2) {
  grid-template-columns: 50% 50%; /* or adjust as needed */
}




/* ======================= SECTION TITLE ====================*/

.section-divider {
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 4rem;   /* increase spacing above */
  background: transparent;
  box-shadow: 0 8px 12px -6px rgba(0,0,0,0.2);
}

.section-divider h2 {
  font-size: 4rem;
  font-weight: 700;
  color: #0b2a45;
  margin: 0;
}


/* =======================Footer======================= */


footer { background:#0f2d40; color:#fff; text-align:center; padding:20px; margin-top:auto; }





/* ========================= Pricing ======================= */

/* Theme hooks (optional) */
:root{
  --wave-color: #0f2d40;        /* navy used elsewhere on site */
  --card-bg:    #030067;        /* your card background */
  --card-br:    #6c63ff;        /* your card border accent */
  --accent:     #4f46e5;        /* button/base accent */
  --accent-dark:#3730a3;        /* button hover */
}

/* Wrapper that stacks the text block and the cards
   + gives us a positioning context for the decorative waves */
.pricing-wrapper {
  position: relative;
  overflow: hidden;            /* hide wave bleed */
  display: flex;
  flex-direction: column;
  align-items: center;         /* center horizontally */
  gap: 1.25rem;                /* spacing between text + cards */
  padding-block: 1rem;         /* breathing room so waves don’t clip */
}

/* Decorative waves */
.has-waves .wave {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;              /* removes extra whitespace */
  pointer-events: none;        /* purely decorative */
  z-index: 0;                  /* under the content */
}

.has-waves .wave svg {
  display: block;
  width: 100%;
  height: 120px;               /* adjust as you like */
}

.has-waves .wave svg path {
  fill: var(--wave-color);
  opacity: .08;                /* subtle, not overpowering */
}

/* place waves just outside the block */
.has-waves .wave-top   { top: 0;    transform: translateY(-100%); }
.has-waves .wave-bottom{ bottom: 0; transform: translateY(100%); }

/* Top text block */
#PricingTextHolder {
  width: 100%;
  max-width: 960px;            /* comfortable line-length */
  margin: 0 auto .75rem;       /* center it, smaller bottom spacing */
  padding-inline: 1rem;        /* a touch of side breathing room on small screens */
  text-align: center;          /* ensure text is centered inside */
  z-index: 1;                  /* above the waves */
}

#PricingTextHolder h3 {
  color: #6b7280;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 0.5rem 0;
}

#PricingTextHolder h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 .5rem 0;
}

#PricingTextHolder p {
  font-size: 1.1rem;
  color: #374151;
  margin: 0;
}

/* Cards row */
.pricing-section {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;             /* responsive for smaller screens */
  margin-top: 0;
  z-index: 1;                  /* above waves */
}

/* Base card */
.pricing-card {
  background-color: var(--card-bg);
  color:#fff;
  padding:30px;
  border-radius:12px;
  width:300px;
  text-align:center;
  border:2px solid var(--card-br);
  box-shadow:0 8px 20px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;          /* for badge positioning */
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow:0 12px 26px rgba(0,0,0,.2);
}

.plan-title {
  font-size:1.5rem;
  font-weight:bold;
  margin-bottom:20px;
  color:#fff;
}

.plan-features {
  list-style:none;
  padding:0;
  margin:20px 0;
  text-align:left;
  font-size:.95rem;
}
.plan-features li { margin-bottom:10px; }

.plan-price {
  font-size:1.4rem;
  font-weight:bold;
  margin:20px 0;
}

.pricing-btn {
  display:inline-block;
  background:var(--accent);
  color:#fff;
  padding:12px 20px;
  border-radius:8px;
  font-size:14px;
  font-weight:bold;
  text-decoration:none;
  transition:.3s ease;
}
.pricing-btn:hover {
  background:var(--accent-dark);
  transform:translateY(-2px);
}

/* Featured card (Most Popular) */
.pricing-card.featured {
  background: linear-gradient(180deg, #1410a3, #030067);
  border-color: #a8a6ff;
  transform: translateY(-4px);        /* slight lift */
  box-shadow: 0 16px 32px rgba(0,0,0,.25);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Badge */
.pricing-card .badge {
  position:absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffd75a;               /* warm highlight against blue card */
  color: #0f1a2a;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.08);
}

/* Make featured card visually ‘first’ on wrap */
@media (max-width: 860px) {
  .pricing-card.featured { order: -1; }
}

/* Small screens tweak so the scale/hover doesn’t jump too much */
@media (max-width: 560px) {
  .pricing-card,
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
}

/* ======================Contact two-column================= */


.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 400px;
  gap: 20px;                 /* space between left/right */
  align-items: stretch;      /* equal height columns */
}

.form-left,
.form-right {
  padding: 20px;
}

/* Left card (text area) */
.LeftContact {
  background-color: #f5f5f5;
  border-radius: 25px;                       
  padding: 2rem;                             
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);    
  height: 100%;                              
  display: flex;                             
  flex-direction: column;
  justify-content: center;                   
}

/* Right column wrapper */
.form-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.LeftContact p{
  font-size: 1.1rem;
  color: #374151;
}

.LeftContact h2{
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 0.5rem 0;     /* small, crisp spacing */
}

.LeftContact h4{
  color: #6b7280;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 0.5rem 0;
}

.page-spacer {
  height: 6rem;   /* adjust this to whatever space you need */
}

/* Right column form */
.simple-form {
  width: 100%;
  max-width: 480px;
  display: grid;
  gap: 18px;
  background-color: #f5f5f5;      
  border-radius: 25px;            
  padding: 2rem;                  
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  align-self: stretch;            /* fill the right column’s height */
}

/* Fields */
.field { display: grid; gap: 6px; }
label { font-size: .9rem; }

.simple-form input,
.simple-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  background: #e9e9e9;
}

.simple-form textarea { 
  min-height: 120px; 
  resize: vertical; 
}

.simple-form button {
  justify-self: start;
  border: 1px solid #9a9a9a;
  background: #d6d6d6;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.simple-form button:hover { background: #cfcfcf; }

/* Mobile */
@media (max-width: 768px) {
  .form-wrapper { grid-template-columns: 1fr; }
  .form-left { display: none; }
}



/* ====================== SEO ===================== */


/* Card layout now flows top→bottom instead of vertical-centering */
.SEOholder {
  background-color: #f5f5f5;
  color: #000;
  border-radius: 24px;
  padding: 2.25rem 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  display: flex;                  /* NEW */
  flex-direction: column;         /* NEW */
  gap: 1.25rem;                   /* NEW: base spacing between blocks */
  min-width: 0;
}

/* Center the heading and refine type sizes */
.seo-title {
  margin: 0 0 1.75rem 0;   /* increase bottom margin */
  text-align: center;
  font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.2rem);
  line-height: 1.2;
}

/* Space list items to “fill” the card without feeling airy */
.seo-list{
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
  display: grid;  
  gap: 2rem;                  /* controls vertical rhythm */
}

.seo-list li{
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.125rem);
  line-height: 1.55;
}

/* Polished quote block to close the card visually */
.seo-quote{
  margin: 2.5rem 0 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid #ddd;
  background: rgba(0,0,0,0.03);
  border-radius: 12px;
  font-style: italic;
  color: #333;
}
.seo-quote cite{
  display: block;
  margin-top: .5rem;
  font-style: normal;
  color: #666;
  text-align: right;
  font-size: .95rem;
}

/* Keep the 50/50 grid + equal heights you already set */
.seo-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 40px;
  max-width: 1200px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}

/* Right image: same as before */
.SEOimage{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
}
.SEOimage img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile */
@media (max-width: 900px){
  .seo-wrapper{ grid-template-columns: 1fr; gap: 28px; }
  .SEOimage img{ height: 46vh; max-height: 520px; }
}




/* ========== Mobile layout polish (≤ 768px) ========== */
@media (max-width: 768px) {

  /* Global rhythm */
  html, body { overflow-x: hidden; }
  body { font-size: 16px; line-height: 1.5; }

  /* Navbar: tighter spacing + wrap links if needed */
  nav {
    padding: 0.75rem 1rem;
    gap: .5rem;
    flex-wrap: wrap;           /* allow wrapping instead of overflowing */
  }
  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .logo { font-size: 1.25rem; }
  .logo-mark { height: 28px; width: auto; }

  /* Title bar */
  .TitleHolder {
    border-radius: 0 0 16px 16px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .TitleHolder h1,
  .TitleHolder h2 { font-size: clamp(1.25rem, 4.5vw, 1.6rem); }

  /* Intro two-column -> single column */
  .holder {
    flex-direction: column;     /* stack */
    gap: 16px;
    padding: 12px;
  }
  #Intro,
  #IntroImage {
    width: 100%;
    min-width: 0;
  }
  #Intro {
    padding: 1rem;              /* reduce padding */
    border-radius: 18px;
  }
  #Intro h2 { font-size: 1.25rem; }
  #Intro h3 { font-size: 1.05rem; }
  #Intro p, #Intro li { font-size: 0.95rem; }
  #IntroImage img {
    max-height: 260px;          /* prevents huge hero image */
    object-fit: cover;
    border-radius: 12px;
  }

  /* Contact page columns -> single column */
  .form-wrapper {
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding: 12px;
  }
  .form-left { display: none; } /* hide the left panel on mobile */
  .form-right { padding: 0; }
  .simple-form {
    max-width: 100%;
    gap: 14px;
    padding: 1rem;              /* keep nice breathing room */
    border-radius: 18px;
  }
  .simple-form input,
  .simple-form textarea {
    font-size: 16px;            /* avoids iOS zoom on focus */
    padding: 12px;
  }
  .simple-form button {
    width: 100%;                /* thumb-friendly */
    justify-self: stretch;
  }

  /* Pricing: stack cards, full width */
  .pricing-wrapper { gap: 12px; padding: 0 12px; }
  #PricingTextHolder {
    margin-bottom: .5rem;
    padding-inline: 0;
  }
  .pricing-section {
    flex-direction: column;
    gap: 14px;
    margin-top: 0;
  }
  .pricing-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 14px;
  }
  .pricing-card .badge { top: -12px; }

  /* SEO section (text + image) -> stack */
  .seo-wrapper { flex-direction: column; gap: 16px; padding: 0 12px; }
  .SEOholder { width: 100%; padding: 1rem; border-radius: 18px; }
  .SEOimage { order: 2; } /* text first, image second */
  .SEOimage img { max-height: 260px; object-fit: cover; }

  /* Footer */
  footer {
    padding: 16px;
    text-align: center;
  }
}

/* ========== Small phones (≤ 380px) tweaks ========== */
@media (max-width: 380px) {
  .nav-links a { font-size: 0.95rem; }
  .pricing-card { padding: 16px; }
  .simple-form { padding: 0.75rem; }
}



/* Base: keep your current desktop styling as is */
.hamburger {
  display: none;              /* hidden on desktop */
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

/* The three bars */
.hamburger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #111;           /* bar color */
  border-radius: 2px;
  transform-origin: center;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

/* When menu is open -> make an X */
nav.open .hamburger span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}
nav.open .hamburger span:nth-child(2) {
  opacity: 0;
}
nav.open .hamburger span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

/* ---------- Mobile layout ---------- */
@media (max-width: 768px) {
  /* show hamburger */
  .hamburger {
    display: block;
  }

  /* hide the horizontal links */
  .nav-links {
    display: none;
    position: absolute;
    right: 1rem;
    top: calc(100% + 10px); /* below the nav bar */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
    padding: 12px;
    width: min(78vw, 260px);
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
  }

  /* show when nav is open */
  nav.open .nav-links {
    display: flex;
  }

  .nav-links li,
  .nav-links a {
    display: block;
    margin: 0;
  }

  /* dropdown in the stacked menu */
  .nav-links .dropdown { position: relative; }
  .nav-links .dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 8px;
    margin-top: 6px;
  }

  /* Optional: lighten nested items */
  .nav-links .dropdown-content a {
    font-weight: normal;
    opacity: 0.9;
  }
}

/* Optional: Improve tap targets */
.nav-links a { padding: 6px 4px; }
