/* C&G Merchant Services - responsive site styles */
:root {
  --ink: #1c2630;
  --muted: #66717c;
  --brand: #1769aa;
  --brand-dark: #0d4f84;
  --accent: #f3b41b;
  --surface: #ffffff;
  --soft: #f4f7fa;
  --line: #dce4ea;
  --shadow: 0 10px 30px rgba(18, 42, 60, .08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Cuprum", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.clearfix::after { content: ""; display: table; clear: both; }

header {
  background: linear-gradient(180deg, #f8fbfd 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

#site-title {
  margin: 24px 0 12px;
  text-align: center;
}

#site-title a { display: inline-block; }
#site-title img { width: min(350px, 80vw); margin-inline: auto; }

nav.header {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

nav.header ul,
nav.footer ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav.header a,
nav.footer a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

nav.header a:hover,
nav.header .current a {
  color: var(--brand);
}

#da-slider {
  position: relative;
  min-height: 360px;
  margin: 26px 0 36px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  box-shadow: var(--shadow);
}

/*.da-slide {
  position: relative;
  min-height: 360px;
  padding: 55px 46% 50px 50px;
}*/
        .da-slide {
            position: absolute;
            top: 0;
            left: 0;
			
  			padding: 35px 46% 50px 50px;
			
            width: 100%;
            min-height: 450px;

            opacity: 0;
            visibility: hidden;

            transition:
                opacity 0.8s ease-in-out,
                visibility 0.8s ease-in-out;

            z-index: 1;
        }
        .da-slide.active {
            opacity: 1;
            visibility: visible;
            z-index: 2;
        }

.da-slide h2 {
  margin: 0 0 8px;
  font-family: "Lobster", cursive;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.1;
  font-weight: 400;
}

.da-slide h3 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  letter-spacing: .12em;
}
.da-slide h4 {
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.1;
  font-weight: 400;
}
.da-slide p {
  margin: 0 0 20px;
  max-width: 560px;
}

.da-span {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 20px;
}

.da-img {
  position: absolute;
  right: 5%;
  top: 35%;
  width: 38%;
  transform: translateY(-50%);
}

.da-img img {
  max-height: 270px;
  width: auto;
  margin-inline: auto;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,.18));
}

.da-arrows {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.da-arrows-prev,
.da-arrows-next {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  cursor: pointer;
}

.da-arrows-prev::before,
.da-arrows-next::before {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 22px;
}

.da-arrows-prev::before { content: "‹"; }
.da-arrows-next::before { content: "›"; }


#content { padding: 18px 0 60px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #b8d0e1;
  box-shadow: 0 16px 34px rgba(18, 42, 60, .12);
}

.service-card-link {
  display: flex;
  gap: 20px;
  height: 100%;
  padding: 26px;
  text-decoration: none;
}

.service-icon {
  flex: 0 0 52px;
  display: grid;
  place-items: start center;
  color: var(--brand);
}

.service-icon svg {
  width: 48px;
  height: 48px;
}

.service-card-content { flex: 1; min-width: 0; }

.service-card h3,
.service-content h3 {
  margin: 0 0 8px;
  line-height: 1.2;
}

.service-card p,
.service-content p { margin: 0 0 14px; color: var(--muted); }

.divider {
  height: 1px;
  margin: 42px 0;
  background: var(--line);
}

.content-img {
  width: 30%;
  float: right;
  margin: 0 0 25px 45px;
}

.service-content { overflow: hidden; }

.service-content h1,
.payment-gateway-content h1 {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.service-content > h3,
.payment-gateway-content h3 {
  color: #334452;
  font-size: 1.25rem;
}

.payment-gateway-content p { margin: 0 0 14px; color: var(--muted); }

.branded-card {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.branded-card-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.branded-card-row:last-child { border-bottom: 0; }
.branded-card-header { font-weight: 700; color: var(--brand-dark); }

.service-strong {
  color: var(--brand-dark) !important;
  font-weight: 700;
  font-size: 1.1em;
}

.contacts {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

/* ==========================================
   CONTACT FORM
========================================== */

#contact {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 16px;
    box-sizing: border-box;
}

/* Form Groups */
#contact .form-group {
    margin-bottom: 18px;
    width: 100%;
}

/* Form Inputs */
#contact .form-control {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    border: 1px solid #d9dee5;
    border-radius: 10px;
    background: #ffffff;
    color: #222222;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease,
                background-color 0.2s ease;
}

/* Message Field */
#contact #contact_message {
    height: 110px;
    padding: 15px 18px;
    resize: vertical;
}

/* Placeholder */
#contact .form-control::placeholder {
    color: #8a929d;
    opacity: 1;
}

/* Focus */
#contact .form-control:focus {
    border-color: #1f5fae;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(31, 95, 174, 0.12);
}

/* Required / Invalid Fields */
#contact .form-control:invalid:not(:placeholder-shown) {
    border-color: #d9534f;
}

/* reCAPTCHA */
#contact .g-recaptcha {
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Send Button */
#contact .btn-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 52px;
    padding: 0 30px;
    border: none;
    border-radius: 10px;
    background: #1f5fae;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease,
                background-color 0.2s ease;
}

/* Button Hover */
#contact .btn-send:hover {
    background: #174a89;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Button Active */
#contact .btn-send:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Button Focus */
#contact .btn-send:focus-visible {
    outline: 3px solid rgba(31, 95, 174, 0.25);
    outline-offset: 3px;
}

/* Remove Bootstrap form_left behavior if present */
#contact .form_left {
    float: none;
}

.top30 { margin-top: 30px; }

.service-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.service-column { min-width: 0; }

.service-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.service-item:last-child { border-bottom: 0; }
.service-item .service-icon { flex-basis: 54px; }
.service-item-content { flex: 1; }
.service-item-content p { margin-bottom: 5px; }

.payment-gateway-content {
  display: flex;
  align-items: flex-start;
  gap: 44px;
}

.payment-gateway-content > .content-img {
  float: none;
  flex: 0 0 34%;
  width: auto;
  margin: 0;
}

.payment-gateway-content > .col-right {
  flex: 1;
  min-width: 0;
}

.news-list {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  margin-bottom: 14px;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  background: var(--soft);
  color: var(--muted);
  border-radius: 0 10px 10px 0;
}

.news-list h3 { margin: 0 0 4px; color: var(--brand-dark); }

.payment-comparison {
  overflow-x: auto;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 190px minmax(260px, 1fr) minmax(260px, 1fr);
  min-width: 780px;
}

.comparison-row > div {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.comparison-row > div:last-child { border-right: 0; }

.comparison-header {
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--soft);
}

.comparison-row:first-child > div { border-bottom: 1px solid var(--line); }

#get-started {
  relative;
  overflow-hidden;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  padding: 40px 40px 40px 40px;
  margin-bottom: 60px;
  border-radius: 18px;
  background: #eee; /* Old browsers */
  background: #eee -moz-linear-gradient(135deg, #0d4f84, #1769aa) 0%, rgba(99, 210, 251, .2) 100%); /* FF3.6+ */
  background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0d4f84), color-stop(100%, #1769aa)); /* Chrome,Safari4+ */
  background: #eee -webkit-linear-gradient(top,  #0d4f84 0%, #1769aa 100%); /* Chrome10+,Safari5.1+ */
  background: #eee -o-linear-gradient(top, #0d4f84 0%, #1769aa 100%); /* Opera11.10+ */
  background: #eee -ms-linear-gradient(top, #0d4f84 0%, #1769aa 100%); /* IE10+ */
  background: #eee linear-gradient(135deg, #0d4f84, #1769aa); /* W3C */
}

.bottom-contact {
  font-size: 30px;
  line-height: normal;
  font-weight: normal;
  color: #fff;
  font-family: Cuprum;
}

.bottom-contact h2 {
  margin: 0 0 8px;
  font-family: "Lobster", cursive;
  font-size: 2.4rem;
  font-weight: 400;
}

.bottom-contact h1 {
  max-width: 800px;
  margin: 0 auto 24px;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.25;
}

button.bottom-contact {
  margin: 0;
  padding: 13px 24px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button.bottom-contact:hover { background: #eef6fb; }

footer {
  border-top: 1px solid var(--line);
  background: #16232d;
  color: #d9e2e8;
}

.footer-bottom { padding: 22px 0; }

.footer-bottom .sixteen.columns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

nav.footer a {
  padding: 6px 12px;
  color: #d9e2e8;
}

nav.footer a:hover { color: #fff; }

.fright { font-size: .9rem; text-align: right; }

/* Compatibility with the legacy slider if jquery.cslider.js is retained. */
.da-slide { display: none; }
.da-slide:first-child { display: block; }

@media (max-width: 800px) {
  
  #da-slider {
    min-height: 460px;
  }	
	
  .da-slide {
    min-height: 460px;
    padding: 36px 28px 190px;
  }

  .da-slide h2,
  .da-slide h3,
  .da-slide h4 {
	text-align: center;
  }

  .da-span {
	font-size: 16px;
	text-align: center;
  }
	
  .da-img {
    top: auto;
    bottom: 20px;
    right: 50%;
    width: 60%;
    transform: translateX(50%);
  }

  .da-img img { max-height: 150px; }

  .service-grid,
  .service-columns { grid-template-columns: 1fr; }

  .payment-gateway-content {
    display: block;
  }

  .payment-gateway-content > .content-img {
    width: min(420px, 100%);
    margin: 0 auto 30px;
  }

  .content-img {
    width: 40%;
    margin-left: 25px;
  }

  .footer-bottom .sixteen.columns {
    display: block;
    text-align: center;
  }

  .fright { margin-top: 10px; text-align: center; }
	
   #contact .g-recaptcha {
        transform-origin: left top;
    }	
    #contact {
        max-width: 100%;
        padding: 25px 20px;
        border-radius: 12px;
    }

    #contact .form-control {
        height: 50px;
        font-size: 15px;
    }

    #contact #contact_message {
        height: 100px;
    }

    #contact .btn-send {
        width: 100%;
    }

    #contact .g-recaptcha {
        transform-origin: left top;
    }		
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1120px); }

  nav.header ul,
  nav.footer ul { gap: 0; }

  nav.header a { padding: 10px 14px; }

  #da-slider { margin-top: 18px; }

  .da-slide {
    min-height: 480px;
    padding: 30px 22px 175px;
  }

  .service-card-link {
    display: block;
    padding: 22px;
  }

  .service-card .service-icon {
    margin-bottom: 12px;
  }

  .content-img {
    width: 100%;
    float: none;
    margin: 0 0 25px;
  }

  .branded-card-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

	
  .bottom-contact h1 {
	font-size: 1.5rem;
	line-height: 1.25;
  }
	
  .bottom-contact h2 {
    margin: 0 0 4px;
    font-family: "Lobster", cursive;
    font-size: 1.5rem;
  }
	
  .bottom-contact { padding: 0 10px 20px 20px; }
	
    #contact {
        max-width: 100%;
        padding: 25px 20px;
        border-radius: 12px;
    }

    #contact .form-control {
        height: 50px;
        font-size: 15px;
    }

    #contact #contact_message {
        height: 100px;
    }

    #contact .btn-send {
        width: 100%;
    }	
}
