/*
	Theme Name: Glo Accounts Custom Theme
	Theme URI: https://gloaccounts.com/
	Author: Sweven IT PVT LTD
	Author URI: https://www.swevenit.lk
	Description: Glo Accounts Custom Theme
	Version: 1.1
	Text Domain: Glo Accounts Custom Theme
*/

/* ============================================ Basic Styling ============================================ */

/* @import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap'); */

:root {
    --main-color: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
	background-color: #FAFAFA;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif; /* fallback */
	overflow-x: hidden;
}

.inner-div {
    position: relative;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
    padding: 120px 0;
    z-index: 10;
}

h1 {
	font-family: Instrument Sans;
	font-weight: 600;
	font-size: 56px;
	line-height: 120%;
	color: #0D1F40;
	margin: unset;
	min-height: 67px;
}

h2 {
	font-family: Instrument Sans;
	font-weight: 600;
	font-size: 48px;
	line-height: 120%;
	text-align: center;
	color: #0D1F40;
	margin: unset;
	min-height: 58px;
}

h3 {
	font-family: Instrument Sans;
	font-weight: 600;
	font-size: 14px;
	line-height: 150%;
	letter-spacing: 10%;
	text-transform: uppercase;
	color: #1570EF;
	margin: unset;
	min-height: 21px;
}

h4,
h4 p {
	font-family: Instrument Sans;
	font-weight: 600;
	font-size: 32px;
	line-height: 130%;
	color: #0D1F40;
	margin: unset;
	min-height: 42px;
}

h4 strong,
h4 p strong {
    color: #007bff;
}

h5 {
	font-family: Instrument Sans;
	font-weight: 600;
	font-size: 24px;
	line-height: 140%;
	color: #0D1F40;
	margin: unset;
}

h6 {
	font-family: Instrument Sans;
	font-weight: 600;
	font-size: 20px;
	line-height: 140%;
	color: #0D1F40;
	margin: unset;
}

footer h6 {
    font-family: Instrument Sans;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #B2DDFF;
}

p, li, a {
	font-family: Instrument Sans;
	font-weight: 400;
	font-size: 16px;
	line-height: 150%;
	color: #535862;
	margin: unset;
	text-decoration: none;
}

.copyrights {
	font-size: 14px;
	color: #D5D7DA;
}

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

.section-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
	width: 80%;
    margin: auto;
	align-items: center;
}

.button {
	display: flex;
    width: fit-content;
	opacity: 1;
	font-family: Instrument Sans;
	font-weight: 400;
	font-size: 16px;
	line-height: 150%;
	padding-top: 12px;
	padding-right: 24px;
	padding-bottom: 12px;
	padding-left: 24px;
	border-radius: 48px;
	color: #535862;
	background-color: #FFFFFF;
	box-shadow: 0px 5px 10px 5px #35353517;
    backdrop-filter: blur(12px);
}

a:hover {
	text-decoration: none;
}

.button:hover {
	color: #1570EF;
}

.button.main {
	color: #FFFFFF;
	background-color: #181D27;
}

.button.main:hover {
	background-color: #1570EF;
}

.bg-white {
    background-color: #FFFFFF;
    position: relative;
    z-index: 1;
}

.bg-lb {
	background-color: #B2DDFF;
}

.bg-lp {
	background-color: #D5C8F9;
}

.bg-db {
	background-color: #181D27;
}

/* ============================================ Mobile Menu Styling ============================================ */

.hamburger-container {
    width: 30px;
    margin: 0;
    height: 25px;
    cursor: pointer;
    float: right;
    display: none;
}

ul.hamburger li {
    height: 2px;
    background: #000000;
    content: "";
    position: relative;
    transition: 0.25s ease-in-out;
    width: 30px;
    list-style-type: none;
}

.rot45deg {
    transform: rotate(45deg);
    top: 10px !important;
}

.rot-45deg {
    transform: rotate(-45deg);
    top: 8px !important;
}

ul.hamburger {
    display: block;
    margin: unset;
    padding: unset;
}

ul.hamburger li:nth-child(1) {
    top: 0;
}

ul.hamburger li:nth-child(2) {
    top: 10px;
}

ul.hamburger li:nth-child(3) {
    top: 20px;
}

.hidden {
    display: none;
}

.mobile-nav-wrapper {
    display: none;
}

/* ============================================ Main Nav Menu Styling ============================================ */

.header-inner.inner-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-radius: 0 0 24px 24px;
    background-color: #fff;
    box-shadow: 0px 13px 21px 7px #35353512;
    backdrop-filter: blur(12px);
	width: calc(80% - 48px);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
	z-index: 99999;
}

ul#menu-header {
    display: flex;
    list-style-type: none;
    margin: unset;
    padding: unset;
    gap: 24px;
}

.main-nav-menu .sub-menu {
	display: none;
	position: absolute; 
	background: #fff;
	padding: 0;
	margin: 0;
	list-style: none;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	z-index: 1000;
	border-radius: 15px;
}

.main-nav-menu .menu-item-has-children {
  	position: relative;
}

.main-nav-menu .menu-item-has-children:hover > .sub-menu {
  	display: block;
}

.main-nav-menu .sub-menu li a {
	display: block;
	padding: 10px 15px;
	color: #333;
	text-decoration: none;
	white-space: nowrap;
}

.main-nav-menu .sub-menu li a:hover {
  	background: #f2f2f2;
}

#footer li a {
  	color: #D5D7DA;
}

#menu-footer > li.current-menu-item > a {
  	color: #FFF;
}

li.current-menu-item > a,
li.current-menu-parent > a,
ul.sub-menu li.current-menu-item a,
.main-nav-menu li:hover > a
{
    color: #007bff;
}

.main-nav-menu a {
    font-weight: 500;
}

/* ============================================ Hero Styling ============================================ */
.hero-inner.inner-div {
    gap: 96px;
    padding: 166px 0 120px;
    align-items: center;
}

.hero-col:nth-child(2) {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 24px;
}

.hero-col:first-child{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.button-container {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 24px;
    align-items: center;
}

section#hero-banner {
    background-color: #fff;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

section#hero-banner:before {
    content: '';
    position: absolute;
    width: 554px;
    height: 590px;
    transform: rotate(45deg);
    opacity: 0.2;
    top: -311px;
    right: -115px;
    border-radius: 117px;
    background: linear-gradient(180deg, #1570EF -34.74%, #B2DDFF 58.53%);
    filter: blur(150px);
    z-index: -1;

}
section#hero-banner:after {
    content: '';
    position: absolute;
    width: 928px;
    height: 1100px;
    transform: rotate(45deg);
    opacity: 0.2;
    top: 302px;
    left: -481px;
    border-radius: 117px;
    background: linear-gradient(180deg, #1570EF -34.74%, #B2DDFF 58.53%);
    filter: blur(150px);
    z-index: -1;
}

.page-template-archive-glo_services section#hero-banner {
    background: linear-gradient(to bottom, #ffffff 80%, #B2DDFF 20%);
}

/* ============================================ Services Col Styling ============================================ */
.service-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 1;
    gap: 32px;
    border-radius: 24px;
    border-width: 2px;
    padding: 32px;
	border: 2px solid #FFFFFF;
	transform: translateY(0); 
  	transition: transform 0.3s ease-in-out;
}

.service-card:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
	transform: translateY(-10px);
}

.service-card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card-link {
    padding-top: 32px;
    border-top: 1px solid #FAFAFA;
    display: flex;
    justify-content: end;
    align-items: end;
}

.page-id-34 section#services-section {
    margin-top: -250px;
    padding-top: 120px;
}
/* ============================================ Why Styling ============================================ */

.why-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 40px;
}

.why-card {
    max-width: calc(33% - 90px);
    border: 2px solid #FFFFFF;
    box-shadow: 0px 4px 8px 0px #2929290F;
    opacity: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 24px;
    padding: 32px;
	transform: translateY(0); 
  	transition: transform 0.3s ease-in-out;
}

.why-card:hover {
    background: linear-gradient(180deg, rgb(161 93 244 / 20%) 0%, rgba(255, 255, 255, 0) 100%);
    transform: translateY(-10px);
}

.why-card img {
    width: 48px;
    margin-bottom: 24px;
}

/* ============================================ FAQ Styling ============================================ */

.faq-container {
    width: 80%;
    margin: 40px auto;
}

.faq-item:hover .faq-question {
    color: #1570ef;
}

.faq-question {
	width: 100%;
	background: none;
	border: none;
	outline: none;
	text-align: left;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
}

.faq-question .icon {
	transition: transform 0.3s ease;
	font-weight: bold;
	font-size: 1.2rem;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.3s ease;
	padding: 0 20px;
}

.faq-answer p {
  	margin: 10px 0;
}

.faq-item.active .faq-answer {
	max-height: 200px;
	padding: 10px 20px;
}

button.faq-question:focus {
    outline: none !important;
}

/* ============================================ Testimonials Slider Styling ============================================ */

.testimonials-section-inner.inner-div {
    padding: 120px 0 80px;
}

.testimonial-slider {
	position: relative;
	max-width: 600px;
	width: 100%;
	overflow: hidden; 
	margin: 40px auto 0;
}

.slider-track {
	display: flex;
	transition: transform 0.5s ease;
}

.testimonial-card {
	min-width: 100%; 
	box-sizing: border-box;
	background: #fff;
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 8px 20px rgba(0,0,0,0.1);
	text-align: center;
}

.stars {
	color: #f5a623;
	font-size: 1.2rem;
	margin-bottom: 1rem;
}

.testimonial-text {
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
	color: #333;
}

.author {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.author img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
}

.slider-controls {
	margin-top: 1.5rem;
	text-align: center;
}

.slider-controls button {
	background: #fff;
	border: none;
	padding: 13px 15px;
	margin: 0 5px;
	border-radius: 50%;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	cursor: pointer;
}

.slider-controls button img {
    margin-top: 5px;
}

.slider-controls button:hover {
    opacity: 0.7;
}

/* ============================================ CTA Styling ============================================ */

.cta-section-inner.inner-div {
    padding: 120px 0 0;
}

.cta-col {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    border-radius: 24px;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

.cta-col h2.text-center {
    width: 50%;
}

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

div#frm_form_2_container fieldset {
	background-color: #ffffff00 !important;
	padding: 0 !important;
	border: 0 !important;
}

div#frm_form_2_container div#frm_field_21_container,
div#frm_form_2_container div#frm_field_20_container {
  	display: none;
}

div#frm_form_2_container input#field_29yf4d2 {
	background-color: #ffffff00 !important;
	border-radius: 48px;
	padding: 12px 24px;
	margin: unset;
}

div#frm_form_2_container button.frm_button_submit {
	border: 1px solid #ffffff47 !important;
	box-shadow: none !important;
}

#footer .frm_form_fields input {
    color: #fff !important;
}

span {
	font-family: Instrument Sans;
	font-weight: 400;
	font-size: 14px;
	line-height: 150%;
	color: #D5D7DA;
}

.footer-inner.inner-div {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	padding: 80px 0;
	gap: 40px;
}

.footer-bottom.inner-div {
    padding: 32px 0;
	border-top: 1px solid #535862;
}

.footer-col:first-child {
    padding-right: calc( 25% - 40px);
}

.frm_description p {
    color: #D5D7DA !important;
}

ul#menu-footer {
    padding-left: unset;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: unset;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

a.sm-link {
    display: flex;
    gap: 16px;
    justify-content: left;
    align-items: center;
    color: #D5D7DA;
}

#footer a:hover {
    color: #fff;
}

/* ============================================ Service Single Styling ============================================ */

.service-section-inner.inner-div {
    display: flex;
    flex-direction: column;
    gap: 90px;
    width: 70%;
}

.whats-included, 
.benefits-gain {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 32px;
    border-top: 1px solid #D5D7DA;
}

.include-col h6 {
	margin-top: 8px;
}

.include-col ul {
  list-style-type: none; 
  padding-left: 0;
}

.include-col ul li {
  position: relative; 
  padding-left: 25px; 
  margin-bottom: 16px;
}

.include-col ul li::before {
  content: ''; 
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px; 
  height: 20px;
  background-size: contain; 
  background-repeat: no-repeat;
}

.whats-included .include-col ul li::before {
  background-image: url('assets/img/includes-icon.svg');
}

.benefits-gain .include-col ul li::before {
  background-image: url('assets/img/benefits-icon.svg');
}

.single-glo_services .cta-section-inner.inner-div,
.page-template-about-us .cta-section-inner.inner-div {
    padding: 0 0 120px;
}

/* ============================================ About Styling ============================================ */

div#story, 
div#value {
    display: flex;
    align-items: center;
    gap: 125px;
    width: 80%;
    margin: auto;
}

div#value {
    align-items: flex-start;
}

.about-us-inner.inner-div {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.about-us-inner.inner-div h2 {
    text-align: left;
}

#story .content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

div#story img, 
div#value img {
    border-radius: 24px;
    width: 100%;
    height: fit-content;
}

div#value .content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

div#value .content hr {
    border-top: 0.5px solid #D5D7DA;
    width: 100%;
    color: #D5D7DA;
}

div#value .content h2 {
    margin-bottom: 24px;
}

.contact-form-inner.inner-div {
    padding: 0 0 80px;
}

.with_frm_style .frm_form_fields > fieldset {
    border-radius: 24px;
}

/* ============================================ Mobile Responsive Styling ============================================ */

@media screen and (max-width: 1200px) {
    div#story, 
    div#value {
        gap: 125px;
        width: 100%;
    }
}

@media screen and (max-width: 991px) {
    .hamburger-container {
        display: block;
    }

    .main-nav-wrapper {
        display: none;
    }

    .mobile-nav-wrapper {
        display: block;
    }

    .mobile-nav-menu {
        display: none;
        position: fixed;
        top: 0px;
        left: 0%;
        padding: 120px 100px;
        width: calc(100vw - 20%);
        height: 75vh;
        background-color: #fff;
        z-index: 15;
    }

    ul#menu-header-1 {
        top: 96px;
        left: 0;
        padding-left: 0;
        list-style-type: none;
    }

    ul#menu-header-1 ul.sub-menu {
        list-style-type: none;
        padding-left: 25px;
    }

    #menu-header-1 .sub-menu {
        display: none;
        padding-left: 15px;
    }

    #menu-header-1 .menu-item-has-children > a::after {
        content: "\25BC"; /* ▼ down chevron */
        font-size: 12px;
        margin-left: 8px;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    #menu-header-1 .menu-item-has-children.submenu-open > a::after {
        transform: rotate(180deg); /* points up */
    }

    ul#menu-header-1 li {
        padding: 16px 0;
    }

    ul#menu-header-1 > li {
        border-bottom: 2px solid #D5D7DA;
    }

    ul#menu-header-1 > li:last-child {
        border: none;
    }

    .service-cards {
        grid-template-columns: 1fr 1fr;
    }

    .inner-div {
        width: 90%;
        max-width: 890px;
        padding: 80px 0;
    }

    .header-inner.inner-div {
        width: calc(90% - 48px);
    }

    .hero-inner.inner-div {
        gap: 60px;
        padding: 130px 0 80px;
    }

    .footer-inner.inner-div {
        grid-template-columns: 1fr 1fr;
    }

    h1 {
        font-size: 36px;
        min-height: 43px;
    }

    h2 {
        font-size: 32px;
        min-height: 38px;
    }

    h3 {
        font-size: 12px;
        min-height: 17px;
    }

    h4,
    h4 p {
        font-size: 24px;
        min-height: 36px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 18px;
    }

    footer h6 {
        font-size: 16px;
        line-height: 150%;
    }

    p, li, a {
        font-size: 16px;
        line-height: 150%;
    }

    .why-card {
        max-width: calc(50% - 96px);
        padding: 24px;
    }

    .testimonials-section-inner.inner-div {
        padding: 80px 0 50px;
    }

    .cta-section-inner.inner-div {
        padding: 80px 0 0;
    }
    .button,
    .frm_style_formidable-style.with_frm_style .frm_submit button {
        font-size: 14px;
        line-height: 150%;
        padding: 8px 16px;
        border-radius: 48px;
    }

    img.site-logo {
        height: 38px;
    }

    a.site-logo-link {
        width: 70%;
    }

    .footer-col .frm_forms.frm_style_formidable-style.with_frm_style {
        margin: unset;
    }

    div#story, div#value {
        gap: 50px;
    }

    .about-us-inner.inner-div {
        gap: 80px;
    }

}

@media screen and (max-width: 768px) {
    .hero-inner.inner-div {
        flex-direction: column !important;
    }

    a.site-logo-link {
        width: 60%;
    }

    .hero-col:first-child {
        gap: 16px;
        text-align: center;
    }

    .button-container {
        flex-direction: column;
        gap: 16px;
    }

    .hero-inner.inner-div {
        gap: 45px;
        padding: 80px 0 60px;
    }

    .inner-div {
        padding: 60px 0;
    }

    .single-glo_services .cta-section-inner.inner-div, 
    .page-template-about-us .cta-section-inner.inner-div {
        padding: 0 0 80px;
    }
    .why-card {
        width: 90%;
        min-width: 500px;
        padding: 24px;
    }

    .footer-inner.inner-div {
        grid-template-columns: 1fr;
    }

    .mobile-nav-menu {
        padding: 120px 75px;
        height: 100vh;
    }

    p, li, a {
        font-size: 14px;
    }

    .cta-col h2.text-center {
        width: unset;
    }

    .whats-included, 
    .benefits-gain {
        grid-template-columns: 1fr;
    }

    .service-section-inner.inner-div {
        gap: 65px;
        width: 90%;
    }

    div#value {
        flex-direction: column;
    }

    div#story {
        flex-direction: column-reverse;
        align-items: start;
    }

    div#story img, div#value img {
        width: 70%;
    }

    div#frm_form_2_container input#field_29yf4d2 {
        border-radius: 48px;
        padding: 8px 16px;
    }

    .frm_style_formidable-style.with_frm_style .form-field {
        margin-bottom: 16px;
    }
	
	.with_frm_style .frm_hidden_container .frm_primary_label, .with_frm_style .frm_pos_hidden, .frm_hidden_container .frm_primary_label {
		display: none;
	}
}

@media screen and (max-width: 567px) {
    .service-cards {
        grid-template-columns: 1fr;
    }

    .why-card {
        width: 80%;
        min-width: 300px;
        padding: 24px;
    }

    .section-text-block, .faq-container {
        width: unset;
    }

    img.site-logo {
        height: 32px;
    }

    a.site-logo-link {
        width: 50%;
    }

    .mobile-nav-menu {
        padding: 90px 55px;
        height: 100vh;
    }

    div#story, div#value {
        gap: 30px;
    }

    div#story img, div#value img {
        width: 100%;
    }
}

@media screen and (max-width: 430px) {
    .header-inner.inner-div {
        width: calc(100% - 20px);
    }

    a.site-logo-link {
        width: 45%;
    }

    .button,
    .frm_style_formidable-style.with_frm_style .frm_submit button {
        font-size: 14px;
        padding: 8px 16px;
    }
}