::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*, html, body {
    font-size: 13px;
    font-size: 1rem;
    /*font-family: Arial, Helvetica, sans-serif; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /*.background-color: var(--bg-white); 
    color: var(--text-dark);*/
}

body {
    background-color: #d6d6d6;
}

:root {
    /* Dynamic font-size: min 1rem, scalable 2vw, max 2.5rem */
    --fs-xl: clamp(1rem, 2vw + 1rem, 2.5rem);
    --theme-padding: 2rem;
    --theme-fontsize: 1rem;
    --theme-font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    --primary-green: #2e7d32;
    --light-green: #4caf50;
    --dark-green: #1b5e20;
    --dark-blue: #162441;
    --dark-gray: #2c2b2b;
    --gray-line: #cccccc;
    --bg-body: #f8f9fa;
    --bg-white: #fff;
    --theme-bg: #ccdfcd;
    --bg-rightpane: #ebebeb;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-red:var(--error);
    --transition-speed: 0.3s;
    --primary: #0f4c81;
    --primary-light: #e6f0fa;
    /*--text-dark: #333; */
    --error: #d9534f;
    --success: #5cb85c;
}

img, video {  /* Images and videos must never overflow their parent container structures. Always declare automatic proportions */
  max-width: 100%;
  height: auto;
  display: block; /* Removes unwanted baseline inline spacing */
}

h1.mystyle {
  all: revert;  /* Removes effects of other stylesheets e.g., tailwind library on this */
  font-size: var(--fs-xl);
}

h2 {
  padding-top: var(--theme-padding);
  color: var(--text-dark);
}

p {
  max-width: 65ch;  /* This is for professional look to limit characters per line */
  margin-left: auto;
  margin-right: auto;
  margin: 0;
  padding: 0;
  color: var(--text-dark);
}

p.white { color: var(--text-light);}

p.footer {
  margin: 0 auto;
  color: var(--light-green);
}

ol { color: var(--text-dark); }
ul { color: var(--text-dark); }
ul.white { color: var(--text-light); }
li { color: var(--text-dark); }
li.white { color: var(--text-light); }

main {    /* This is for the entire space between header and footer inside the body */
  width: 100%;
  color: var(--text-dark);
  /*background: #ccdfcd; */
  /*background: var(--bg-body);*/
}

.main-row {   /* This is for each highest level row in the 'main' */
  width: 100%;    /* equal to full width of screen */
  display: block;
  /*background-color: yellow;*/
}

section {   /* This is for each section in a 'main-row' - i.e. an inner row inside the 'main-row' which is smaller in width */
  max-width: 1440px;
  margin: 0 auto;   /* This centers the content */

  display: flex;  /* This aligns contents side by side, instead of default - stacked vertically */
  justify-content: center; /* Centers horizontally */
  align-items: center;  /* Stack items from top to bottom */
  color: var(--text-dark);
  /*background-color: pink; /*var(--bg-white); */
}

button {
  font-size: var(--theme-fontsize);
}

.one-column-section {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.two-column-section {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  /*gap: var(--theme-padding)*/
  /*background-color: cyan;*/
}

.column {   /* needed if two column section has only 1 column */
  flex: 1;
}

.left-column {  /* needed if two column section has two columns */
  /*margin: 0 auto;*/
  margin-top: 12px;
  padding: 0 var(--theme-padding);
  /*font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;*/
  /*background-color: #7eaaeb;*/
  color: #2d3748;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;  /* align to the right */
}

.right-column {
  /*flex: 2;*/
  padding: 0 var(--theme-padding);
  /*background-color: #0e9289; */
  padding-bottom: 25px;
  height: 100vh;
}

form.smaller-width-form {
    width: 80%;
    min-width: 300px;
    text-align: left;
    margin-left: auto; 
    padding-bottom: var(--theme-padding);
}

textarea.non-editable {   /* This makes the textarea non editable */
  pointer-events: none;
  background-color: #f5f5f5; /* Optional: gives it a visual "disabled" look */
  color: #777777;
  font-family: inherit;
  font-size: inherit;
}

/* -------------------------------------- Library ------------------------------------- */
.white { color: #fff}
.light-green { color: #a7ffac}
.bg-white { background-color: #fff;}
.bg-red { background-color: red;}
.bg-green { background-color: green;}
.bg-blueen { background-color: #0e9289;}
.bg-blueen2 { background-color: #2412ae;}
.bg-cyan { background-color: cyan;}
.bg-yellow { background-color: yellow;}

.bg-blue-grad {background: linear-gradient(to right, #0c8110 50%, #4d79ff 50%);}
.bg-grad1 { background: linear-gradient(to right, #0a2a6a, #0055ff);}

.pad-theme { padding: var(--theme-padding);}
.pad-top-theme { padding-top: var(--theme-padding);}
.pad-bottom-theme { padding-bottom: var(--theme-padding);}
.pad-none {padding: 0;}

.invisible { display: none;}

.width10percent { width: 10%;}
.width20percent { width: 20%;}
.width25percent { width: 25%;}
.width30percent { width: 30%;}
.width32percent { width: 32%;}
.width35percent { width: 35%;}
.width40percent { width: 40%;}
.width45percent { width: 45%;}
.width50percent { width: 50%;}
.width55percent { width: 55%;}
.width60percent { width: 60%;}
.width65percent { width: 65%;}
.width70percent { width: 70%;}
.width75percent { width: 75%;}
.width80percent { width: 80%;}
.width90percent { width: 90%;}
.width100percent { width: 100%;}

.block {display: block;}
.block-column {display: block; flex-direction: column;}

.a-no-decoration { text-decoration: none;}

.text-left {text-align: left;}
.text-center {text-align: center;}
.childs-left {
  display: flex;
  justify-content: flex-start; /* Aligns items to the left main axis */
  align-items: center;        /* Optional: Centers items vertically */
}
.align-right {  margin-left: auto; }
.align-center {
  display: block;
  margin: 0 auto;
}
.theme-font-size { font-size: var(--theme-fontsize);}

.fill-vertically { min-height: 100dvh; } /* Safely accounts for mobile browser bars */

/* --------------------------------------- Navbar Styling ----------------------------------- */
.navbar {
    display: flex;
    flex-wrap: wrap; /* Critical to prevent horizontal overflow */
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    /*background: linear-gradient(135deg, var(--dark-green), var(--primary-green));*/
    background: var(--dark-blue);
    padding: 0.2rem 1rem 0.2rem var(--theme-padding);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Brand/Logo */
.navbar .logo {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: left;
    padding-right: 3rem;
}

.navbar .logo a {
  text-decoration: None;
}

.logo-text-color1 {
  color: #0bc169;
  text-decoration: None;
  -webkit-text-stroke: 0.1px rgb(255, 255, 255); /* Thickness and outline color */
}
.logo-text-color2 {
  color: #2556ea;
  text-decoration: None;
  padding: 0;
}

/* Nav Links */
.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar .nav-links li a {
    color: var(--theme-bg);
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-speed) ease;
}

/* Cool Underline Animation */
.navbar .nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--light-green);
    bottom: 0;
    left: 0;
    transition: width var(--transition-speed) ease-in-out;
    box-shadow: 0 2px 5px var(--light-green);
}

.navbar .nav-links li a:hover {
    color: var(--light-green);
}

.navbar .nav-links li a:hover::after {
    width: 100%;
}

/* Search Bar Styling -------- */
.navbar-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-search-input {
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border-radius: 20px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    outline: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 180px;
}

.navbar-search-input::placeholder {
    color: rgba(128, 126, 126, 0.7);
}

.navbar-search-input:focus {
    width: 250px;
    background: var(--text-light);
    color: var(--text-dark);
    border-color: var(--light-green);
    box-shadow: 0 0 10px rgba(149, 225, 152, 0.5);
}

.navbar-search-icon {
    position: absolute;
    left: 10px;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    transition: color var(--transition-speed) ease;
}

.navbar-search-input:focus + .navbar-search-icon {
    color: var(--primary-green);
}

/* User Profile Icon Container and Link */
.user-profile {
  display: flex;
  align-items: center;
}

.user-icon-link {
  color: #cccccc;
  font-size: 28px; /* Sizes the Font Awesome vector icon */
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
}

/* Hover effects for the user icon */
.user-icon-link:hover {
  color: #4df; /* Changes color on hover */
  transform: scale(1.1); /* Slightly enlarges the icon */
}

/* ------------------------------------ Main Content-Body Styling -------------------------------- */

/* Dummy Body Content to make page scrollable */
.content {    /* for 'main' tag */
    /*padding: 3rem; */
    margin: auto;
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.content p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #555;
}

.welcome-container {
  width: 100%;
  padding: var(--theme-padding);
  /*background-color: rgb(116, 251, 86); */
}

.welcome-words {
  width: 100%;
  /* margin: 0 auto;*/ /*centering text */
  text-align: left;
  padding: var(--theme-padding)
}

/* --------------------------------- Front-Page Big Banner Styling ------------------------------ */
/* Banner Container */
.main-banner {
  width: 100%;
  background-color: #3b5998; 
  /* Or use a background image */
  background-size: cover;       
  min-height: 400px;
  position: relative;
  
  /* The magic happens here: Top-Left, Top-Right, Bottom-Right, Bottom-Left */
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);  /* added for decoration at bottom */
}

.frontpage-banner-container {
    position: relative;
    width: 100%;
    height: 750px; /* Adjust banner height as needed */
    overflow: hidden;
    /*background-color: #f0f0f0;*/
    background-color: #3b5998; 
}

/* Base styles for banner images */
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Smooth 1-second fade effect */
}

/* Show the active image */
.banner-slide.active {
    opacity: 1;
}

/* Keeps your text perfectly horizontal and readable */
.banner-content {
  padding: 100px 20px;
  color: #89c627;
}

/*-------------------------- Hero Banner Styling --------------------------------------------*/

/* Container handles background colors/gradients instead of an image */
.hero-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #084b40, #0e9289); /* 0MB Gradient Background */
  padding: 40px;
  border-radius: 12px;
  overflow: hidden;
  /*max-width: 1200px;*/
  width: 100%;
  margin: 0 auto;
}

/* Native CSS typography replaces image text */
.banner-text {
  flex: 1;
  /*color: #ffffff; */
  font-family: sans-serif;
}

.banner-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--light-green)
}

.banner-text p { 
  color: var(--text-light);
  text-align: center;
  margin: 0 auto;
}

.banner-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #116b47;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  margin-top: 15px;
}

/* The only image asset is constrained and responsive */
.banner-img {
  max-width: 40%;
  height: auto;
  object-fit: contain; /* Keeps ratio intact */
}

/*--------------------------- Front-Page Photo-Links Section Styling --------------------------*/

/* Section reset and padding */
.link-section {
  padding: 50px 20px;
  /*background-color: #f4f4f9;*/
  background-color: #fff;
  font-family: sans-serif;
}

/* Flexbox container to align the 3 cards */
.link-section .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

/* Individual Link Card styling */
.link-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 350px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Hover effect */
.link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Image container */
.link-card .image-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Text content */
.link-card .card-content {
  padding: 20px;
}

.link-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.link-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666;
}

/*----------------------------- Footer Styling ------------------------------------------------*/
/* Base Footer Styling */
.site-footer {
  background-color: var(--dark-blue); /* Dark Green Base */
  color: #e8f5e9; /* Light Mint Text */
  padding: 50px 20px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  /*background-color: #111213;*/
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
}

/* Links Styling */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #c8e6c9; /* Soft Green Links */
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

/* Social Media Icons Spacing */
.social-links i {
  width: 20px;
  margin-right: 8px;
  text-align: center;
}

/* Bottom Footer */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: #a5d6a7;
}

/* --------------------------------------- Form Styling ------------------------------ */

/*.form-section is no longer used */
.form-section { /* Ideal for card grids, dashboards, and complex page layouts. Using auto-fit lets elements flow into rows without needing media queries. */
    width: 100%;
    min-width: 50%;
    margin: 0 auto;
    background: #fff;
    padding: 30px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Forces child elements to the top */
    /*background-color: cyan;*/

    /*display: grid;
    /* Automatically wraps cards when they drop below 300px */
    /*grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); */
    gap: 1.3rem;
}

.leftPane {
  width: 100%;
  padding-bottom: var(--theme-padding);
  text-align: left;
  /*background-color: red;*/
}

h2.bottom-spacer {
    color: var(--primary);
    margin-top: 0;
    padding-bottom: 20px;
    text-align: center;
    /*background-color: #6bd751;*/
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    /*background-color: pink;*/
}

.file-upload-desc {
    font-size: 0.9em;
    color: #666;
    margin-top: 4px;
}

.btn-submit {
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1em;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #0d3d6b;
}

/* Result Alerts */
#formAlert {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    display: none;
}

.alert-error {
    background-color: #fdf2f2;
    color: var(--error);
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #f4fcf4;
    color: var(--success);
    border: 1px solid #d4edda;
}

/* ---------------------------------------------------------------------------- */

.checkout-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.checkout-container h2 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
}

.summary-box, .form-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.summary-box h3, .form-box h3 {
  margin-top: 0;
  color: #2c3e50;
  border-bottom: 2px solid #f1f1f1;
  padding-bottom: 15px;
}

.item-row {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
  color: #555;
}

.total-row {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2c3e50;
}

hr {
  border: 0;
  border-top: 1px solid #eee;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 1rem;
}

.form-group input:focus {
  border-color: #007bff;
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.checkbox-group label {
  font-size: 0.9rem;
  color: #666;
}

.pay-btn {
  width: 100%;
  background-color: #28a745;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: background-color 0.2s;
}

.pay-btn:hover {
  background-color: #218838;
}

/* ---------------------------- Payment Terms and Conditions ------------------------------- */

/* Base Styles */
/** {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f4f7f6;
  color: #333;
  line-height: 1.6;
}*/

/* Section Container */
.payment-terms-section {
  padding: 60px 20px;
}

.terms-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Layout Wrapper */
.terms-wrapper {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* Sidebar Navigation */
.terms-sidebar {
  background: #f8f9fa;
  padding: 30px;
  border-right: 1px solid #e9ecef;
}

.terms-sidebar h4 {
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.terms-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.terms-sidebar nav a {
  text-decoration: none;
  color: #6c757d;
  font-weight: 500;
  transition: all 0.3s ease;
}

.terms-sidebar nav a:hover,
.terms-sidebar nav a.active {
  color: #007bff;
  border-left: 3px solid #007bff;
  padding-left: 10px;
}

/* Content Area */
.terms-content {
  padding: 40px;
  overflow-y: auto;
  max-height: 600px;
  scroll-behavior: smooth;
}

.terms-header {
  margin-bottom: 40px;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 20px;
}

.terms-header h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 5px;
}

.terms-header p {
  color: #6c757d;
  font-size: 0.9rem;
}

.terms-block {
  margin-bottom: 40px;
}

.terms-block h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 15px;
}

.terms-block p {
  color: #495057;
}

.terms-block a {
  color: #007bff;
  text-decoration: none;
}

.terms-block a:hover {
  text-decoration: underline;
}


/* ------------------------------- Payment-Options-Page Styling --------------- */
/*
* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
}
body { 
  background-color: #f4f7f6; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  min-height: 100vh; 
} */

/* Payment Section Container */
.payment-container { background: #fff; max-width: 500px; width: 100%; padding: 30px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.payment-container h2 { text-align: center; color: #333; margin-bottom: 25px; }

/* Form Grid */
.payment-options { display: flex; flex-direction: column; gap: 15px; margin-bottom: 25px; }

/* Custom Radio Card */
.payment-card { position: relative; }
.payment-card input[type="radio"] { display: none; }

.card-label { display: flex; align-items: center; padding: 18px 20px; border: 2px solid #e1e8ed; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; background-color: #fafafa; }

/* Selected State */
.payment-card input[type="radio"]:checked + .card-label { border-color: #2980b9; background-color: #ebf5fb; box-shadow: 0 0 10px rgba(41, 128, 185, 0.1); }

.card-icon { font-size: 24px; margin-right: 15px; }
.card-text { font-size: 16px; font-weight: 600; color: #444; flex-grow: 1; }

.radio-dot { width: 16px; height: 16px; border: 2px solid #bbb; border-radius: 50%; transition: all 0.3s ease; }
.payment-card input[type="radio"]:checked + .card-label .radio-dot { border: 5px solid #2980b9; }

/* Submit Button */
.submit-btn { width: 100%; background-color: #2980b9; color: #fff; border: none; padding: 15px; font-size: 18px; font-weight: 600; border-radius: 8px; cursor: pointer; transition: background 0.3s ease; }
.submit-btn:hover { background-color: #1f6182; }

/* ----------------------Message Toasts Styling-------------------------------------- */

.toast {
  /* Layout and Positioning */
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%); /* Centers the element perfectly */
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  
  /* Dimensions and Spacing */
  width: calc(100% - 40px); /* Responsive padding on mobile */
  max-width: 400px;
  padding: 16px 20px;
  box-sizing: border-box;
  
  /* Shadow for depth */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Animation Trigger */
  animation: fadeOutEffect 5s forwards ease-in-out;
}

.error-toast {
  /* Colors and Typography */
  background-color: #fef2f2;
  border-left: 4px solid #ef4444;
  border-radius: 6px;
  color: #991b1b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--theme-fontsize);
  line-height: 1.5;
}

.success-toast {
  /* Colors and Typography */
  background-color: #fef2f2;
  border-left: 4px solid #55ef44;
  border-radius: 6px;
  color: #41991b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--theme-fontsize);
  line-height: 1.5;
}

.error-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ef4444;
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: bold;
  flex-shrink: 0;
}

.error-message {
  margin: 0;
  font-weight: 500;
}

/* 5-Second Fade Out Animation (Centered) */
@keyframes fadeOutEffect {
  0% {
    opacity: 0;
    transform: translate(-50%, -20px); /* Keeps horizontal center while sliding down */
  }
  8% {
    opacity: 1;
    transform: translate(-50%, 0); /* Visible position */
  }
  85% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -20px); /* Fades and slides up */
    visibility: hidden;
  }
}

/* ---------------------------------------------------------------------------- */

/* Mobile responsive adjustments */

@media (max-width: 3200px) {
  section {
    max-width: 80%;
  }
}

@media (max-width: 1600px) {
  section {
    max-width: 1440px;
  }
}

@media (max-width: 768px) {
  .main-banner {
    display: None;
  }
  .content {
    padding: 0rem;
  }
  section {
    width: 100%;
  }
  .two-column-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    /*gap: var(--theme-padding)*/
  }
  .left-column, .right-column {  /* needed if two column section has two columns */
    width: 100%;
    padding: 1rem;
    padding-left: 0;
  }
  .right-pane {
    margin: 0;
  }
  .hero-banner {
    flex-direction: column;
    text-align: center;
  }
  .banner-img {
    max-width: 60%;
    margin-top: 20px;
  }

  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .link-section .container {
    flex-direction: column;
    align-items: center;
  }

  .navbar {
      flex-direction: column;
      padding: 20px 10px;
  }
  .search-container, .search-input {
    width: 100%;
  }
  .search-input:focus {
      width: 100%;
  }

  .welcome-words {
    width: 100%;
    padding: 2rem;
  }

  .form-section {
      flex-direction: column;
      margin: 0;
      padding: 10px;
      gap: 0;
  }
  .leftPane {
    width: 100%;
  }
  .form-input {
      width: 100%;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
      /*background-color: greenyellow;*/
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .terms-wrapper {
    grid-template-columns: 1fr;
  }
  
  .terms-sidebar {
    border-right: none;
    border-bottom: 1px solid #e9ecef;
  }
}

/* Targets very small or older smartphones exclusively */
@media (max-width: 375px) { 
  section {
    width: 100%;
  }
  .two-column-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    /*gap: var(--theme-padding)*/
  }
  .left-column, .right-column {
    width: 100%;
    padding: 1rem;
  }
  .main-banner {
    display: None;
  }
}